Query editor
-- select * from solana_utils.daily_balances where token_mint_address = 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So' and token_balance_owner ='123EYgyuAUuXT48eg7aowenUfqz6J9UgbKDMtHtTeB86'WITH time_t AS(selectcast(date_column as date) as dayfrom(valuessequence(cast('2023-01-01' as date),cast(date_trunc('day', current_timestamp) as date), interval '1' day)) as t1(date_array)cross join unnest(date_array) as t2(date_column)),net_deposit as(select dt,sum(wbeth_net_deposit) wbeth_net_depositfrom(select * from query_3866787union allselect * from query_3866844)tgroup by dt)select *,sum(wbeth_net_deposit) over(order by t.day asc) cumulative_wbeth_net_deposit from time_t tleft join net_deposit non t.day = n.dtorder by day desc