Query editor
SELECThour,acid_amount,lsdoge_amount,SUM(acid_amount) OVER (ORDER BY hour) AS cum_acid_amount,SUM(lsdoge_amount) OVER (ORDER BY hour) AS cum_lsdoge_amountFROM(SELECTDATE_TRUNC('hour', time) AS hour,SUM(acid_amount) AS acid_amount,SUM(acid_amount/bond_ratio) AS lsdoge_amountFROM(query_2419654)GROUP BY 1)ORDER BY 1 DESC