Query editor
/*daily and cumulative srUSD minted by Enso on Reservoirfor Contango looping*/with t as (selectdate_trunc('day', time) as "date", sum(srUSD_minted) as daily_srUSD_mintedfrom query_4786547group by date_trunc('day', time)order by date_trunc('day', time) desc)select "date", daily_srUSD_minted, (select sum(daily_srUSD_minted) from t t1 where t."date" >= t1."date") as total_srUSD_mintedfrom torder by "date" desc