Query editor
SELECTday,cumulative_TVL / POWER(10, 18) AS cumulative_TVL_in_ETHFROM (SELECTday,aTVL,SUM(aTVL) OVER (ORDER BY day) AS cumulative_TVLFROM (SELECTdeposit.day,deposit.deposit_count + COALESCE(withdrawal.withdrawal, 0) AS aTVLFROM (SELECTDATE(block_date) AS day,SUM(value) AS deposit_countFROM ethereum.transactionsWHEREto = 0x7574eB42cA208A4f6960ECCAfDF186D627dCC175GROUP BY1) AS depositLEFT JOIN (SELECTDATE(block_date) AS day,SUM(value) AS withdrawalFROM ethereum.transactionsWHERE"from" = 0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80GROUP BY1) AS withdrawalON deposit.day = withdrawal.day) AS aTVL_data) AS converted_dataORDER BYday