select sum(balance) as "Total Balance",
'1133901992' AS "NEAR Total Supply", -- BASED ON 'https://explorer.near.org/stats' DATA
(sum(balance)/1133901992) * 100 as "Percent of Total Supply Staked"
from near.core.fact_staking_pool_daily_balances
where date=current_date-1