Query editor
WITH total_deposits AS (SELECTSUM(amount) / 1e18 AS total_ethFROM stakestone_v2_ethereum.StoneBeraVault_evt_DepositWHERE evt_block_time >= TIMESTAMP '2024-12-25'),latest_price AS (SELECTprice AS eth_priceFROM prices.usdWHERE blockchain = 'ethereum'AND symbol = 'WETH'ORDER BY minute DESCLIMIT 1)SELECTtd.total_eth AS total_deposits_in_eth,td.total_eth * lp.eth_price AS total_deposits_in_usdFROM total_deposits tdCROSS JOIN latest_price lp;