Query editor
1with solana_price as (2 select price3 from prices.usd_latest4 where symbol = 'SOL' and blockchain = 'solana'5)67select sum(token_value/(select price from solana_price)) as sol_staked8from query_4239734
with solana_price as (
select price
from prices.usd_latest
where symbol = 'SOL' and blockchain = 'solana'
)
select sum(token_value/(select price from solana_price)) as sol_staked
from query_4239734