Query editor
with tvl as (selectdate_trunc('day', CAST(SUBSTRING(date, 1, 10) AS DATE)) as time,chain,max(tvl) as tvlfrom dune.marcov.dataset_convex_tvlwhere chain<>'staking'group by 1,2)select * from tvlorder by time desc, tvl desc
Query editor
1with tvl as (2select3date_trunc('day', CAST(SUBSTRING(date, 1, 10) AS DATE)) as time,4chain,5max(tvl) as tvl6from dune.marcov.dataset_convex_tvl7where chain<>'staking'8group by 1,2)910select * from tvl11order by time desc, tvl desc