Query editor
with base as (selectdistinct token_pair-- , token_bought_symbol-- , coalesce(token_sold_symbol, token_sold_mint_address), sum(coalesce(amount_usd,0)) as "Total USD Volume"-- , arbitrary(tx_id) as sample_txnfrom dex_solana.tradeswhere 1=1and amount_usd > 0and project ='raydium'and block_time >= NOW() - INTERVAL '180' day-- and token_pair = 'USDC-Fartcoin'group by 1order by 2 desc )select * from basewhere 1=1-- and "Total USD Volume" > 1000000order by 2 desc