select sum (balance/ power(10, 6)) AS balance, avg (balance/ power(10, 6)) AS AVG_balance,
median (balance/ power(10, 6)) AS median_balance, count(distinct(address)) AS holders
from osmosis.core.fact_daily_balances--- I US GENERAL TABEL
where 1 = 1 and date_trunc('day', date) = '2022-10-26'
and currency = 'uosmo'---BLOCKCHAON OSMOS