Query editor
-- token pairs are most commonWith info as (select block_time, token_bought_symbol, token_sold_symbol, token_pair, token_bought_amount, token_sold_amount, amount_usd, token_bought_address, token_sold_address, taker, maker,project_contract_address, tx_hashfrom dex.trades where project = 'uniswap'),tokens as (select token_bought_address token from info where token_bought_amount > 0union allselect token_sold_address token from info where token_sold_amount > 0) ,token_counts as (select count( distinct token ) token_count from tokens )select * from token_countsleft join (select approx_distinct( project_contract_address ) token_pair_addressesfrom info)aon 1=1