Query editor
WITH filtered_trades AS (SELECTDATE_TRUNC('day', block_time) AS day,amount_usdFROM dex_solana.tradesWHEREtoken_bought_symbol = 'BONK' OR token_sold_symbol = 'BONK'),aggregated_trades AS (SELECTday,SUM(amount_usd) AS total_volumeFROM filtered_tradesGROUP BY day)SELECTday,total_volumeFROM aggregated_tradesORDER BY total_volume DESCLIMIT 10