Query editor
SELECTlabels.symbol AS symbol,labels."type" AS type,transactions.*,case when CAST(value AS DECIMAL)/1e+18 < 1then CAST(value AS DECIMAL)*1e+12 else CAST(value AS DECIMAL) end as value_ajustedFROMerc20_ethereum.evt_Transfer AS transactionsJOIN(SELECT DISTINCT contract_address, symbol, "type"FROM query_2207391) AS labelsONtransactions.contract_address = labels.contract_addressWHEREtransactions.contract_address IN (SELECT contract_addressFROM query_2207391);