Query editor
with uniswap_trades_last_week as (select casewhen token_a_symbol > token_b_symbol then token_b_symbol || '-' || token_a_symbolelse token_a_symbol || '-' || token_b_symbolend "trading pair",usd_amountfrom dex.tradeswhere block_time > now() - interval '7 days'and project='Uniswap'and token_a_symbol is not nulland token_b_symbol is not null)select count(*)from uniswap_trades_last_week