Query editor
with txn as (selectdate_trunc('day', block_time) as day,avg(fee/1e9) as avg_feefrom solana.transactionswhere block_date >= date(now() - interval '2' month)group by 1),price as (select date_trunc('day', minute) as day,avg(price) as pricefrom prices.usdwhere contract_address is nulland symbol = 'SOL'and blockchain is nulland date(minute) >= date(now() - interval '2' month)group by 1)select a.day, avg_fee, avg_fee*price as avg_fee_usdfrom txn aleft join price bon a.day=b.day