Query editor
-- This query used incompatible data types from Dune SQL alpha and may need to be updated.-- More details can be found on https://dune.com/docs/query/dunesql-changes/selecttoken,t.symbol,sum(no_of_pairs) as no_of_pairsfrom(selecttokenA as token,count(*) as no_of_pairsfrom uniswap_v2_ethereum.Factory_call_createPairgroup by 1unionselecttokenB as token,count(*) as no_of_pairsfrom uniswap_v2_ethereum.Factory_call_createPairgroup by 1) pleft join tokens.erc20 ton p.token = t.contract_addressgroup by 1,2order by 3 desc