Query editor
with tvl_by_chain as (selectday,blockchain,total_tvlfrom (select day, blockchain, total_tvl from query_3665272 -- e-clps on ethereumunion allselect day, blockchain, total_tvl from query_3667724 -- e-clps on polygon PoSunion allselect day, blockchain, total_tvl from query_3681532 -- e-clps on Optimismunion allselect timestamp as day, 'arbitrum' as blockchain, tvl_usd as total_tvl from query_3681548 -- e-clps and 2-clps on Arbitrumunion allselect day, 'polygon zkEVM' as blockchain, tt_tvl as total_tvl from query_3755764 --zkEVM polygong eclpsunion allselect day, blockchain, tt_tvl as total_tvl from query_3913285 -- base eclpsunion allselect day, blockchain, total_tvl from query_3886830 -- gnosis eclpsunion allselect day, blockchain, total_tvl from query_4349920 -- avalanche eclpsunion allselect day, blockchain, tvl as total_tvl from query_4936413 --sei eclpsunion allselect day, blockchain, total_tvl from query_4752565 -- sonic eclps))select *, sum(total_tvl) over (partition by day) as tt_tvl from tvl_by_chainwhere blockchain is not nullgroup by 1,2,3order by day desc