Query editor
/* Migration success :)There are some cases such as unnest/sequence and array/json functions the migrator won't take care of for you(but we have examples of in the docs linked below!)If you're still running into issues, check out the doc examples https://dune.com/docs/reference/dune-v2/query-engine/or reach out to us in the Dune discord in the #dune-sql channel.*/WITHeth AS (SELECTDATE_TRUNC('week', block_time) AS eweek,COUNT(*) AS etxsFROMethereum.creation_tracesWHEREaddress IN (SELECT DISTINCTcontract_addressFROMerc20_ethereum.evt_Transfer)GROUP BY1),arb AS (SELECTDATE_TRUNC('week', block_time) AS aweek,COUNT(*) AS atxsFROMarbitrum.creation_tracesWHEREaddress IN (SELECT DISTINCTcontract_addressFROMerc20_arbitrum.evt_Transfer)GROUP BY1),opt AS (SELECTDATE_TRUNC('week', block_time) AS oweek,COUNT(*) AS otxsFROMoptimism.creation_tracesWHEREaddress IN (SELECT DISTINCTcontract_addressFROMerc20_optimism.evt_Transfer)GROUP BY1),poly AS (SELECTDATE_TRUNC('week', block_time) AS oweek,