Query editor
WITH base_query AS (SELECTtransaction_id, -- Unique transaction IDwallet, -- Wallet addressamount_usd -- USD value of the transactionFROMquery_4547703)SELECTwallet, -- Wallet addressCOUNT(transaction_id) AS transaction_count, -- Total count of transactions per walletSUM(amount_usd) AS total_usd_volume -- Total USD value of transactions per walletFROMbase_queryGROUP BYwalletORDER BYtotal_usd_volume DESC -- Order by total USD volume (highest first)