Query editor
SELECTtoken_bought_mint_address,token_bought_symbol,MIN(block_time) as first_pumpswap_trade,COUNT(*) as trades_since_migration,COUNT(DISTINCT trader_id) as unique_buyers,SUM(amount_usd) as volume_since_migrationFROM dex_solana.tradesWHERE block_time >= date_add('hour', -18, NOW())AND project = 'pumpswap'AND amount_usd > 0AND token_bought_symbol != 'WSOL'GROUP BY token_bought_mint_address, token_bought_symbolHAVING COUNT(*) > 20ORDER BY first_pumpswap_trade DESCLIMIT 50