Query editor
WITH layerzero_summary AS (SELECTuser_address,COUNT(*) AS transaction_count,COALESCE(SUM(amount_usd), 0) AS amount_usdFROM layerzero.sendGROUP BY1)SELECTCAST(COUNT(*) AS DECIMAL(10, 2))/1000000 AS total_user_count,CAST(SUM(transaction_count) AS DECIMAL(10, 2))/1000000 AS total_transaction_count,SUM(amount_usd)/1000000000 AS total_bridged_amountFROM layerzero_summary