Query editor
with erc20 AS (SELECT distinct contract_address, symbol, decimals FROM tokens.erc20where blockchain='ethereum'unionselect distinct contract_address,symbol,decimals from prices.daywhere contract_address not in(SELECT contract_address FROM tokens.erc20where blockchain='ethereum')and blockchain='ethereum'),WL_table AS (select distinct token0 as token from supernova_ethereum.pairgenerator_evt_paircreatedunionselect distinct token1 as token from supernova_ethereum.pairgenerator_evt_paircreatedunionselect distinct token0 as token from supernova_ethereum.algebrafactory_evt_custompoolunionselect distinct token1 as token from supernova_ethereum.algebrafactory_evt_custompool)select distinct token,symbol,decimalsfrom (SELECT WL_table.token, symbol, decimalsFROM WL_tableLEFT JOIN erc20 ON erc20.contract_address = WL_table.token)