Query editor
WITH interest_accrual AS(SELECT borrow_amount_usd, time FROM query_3957464WHERE action = 'borrow interest')SELECT SUM(borrow_amount_usd) OVER (ORDER BY time) as total_interest,timeFROM interest_accrualORDER BY time DESC
Query editor
1WITH interest_accrual AS2(SELECT borrow_amount_usd, time FROM query_39574643WHERE action = 'borrow interest')45SELECT SUM(borrow_amount_usd) OVER (ORDER BY time) as total_interest,6time7FROM interest_accrual8ORDER BY time DESC