Query editor
SELECTROW_NUMBER() OVER (ORDER BY SUM(amount_usd) DESC) AS rank,token_bought_symbol AS token,COUNT(*) AS trade_count,SUM(amount_usd) AS total_volume_usdFROM dex.tradesWHERE blockchain = 'ethereum'AND block_time >= NOW() - INTERVAL '7' DAYAND amount_usd > 0AND token_bought_symbol IS NOT NULLGROUP BY token_bought_symbolORDER BY total_volume_usd DESCLIMIT 10