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.*/WITHiconics_wrapped AS (SELECT DISTINCT(token_id),player,serial,supplyFROMwrapped_strikers.wrapped_strikers_statsLEFT JOIN erc721_ethereum.evt_Transfer ON wrapped_strikers."wrapped_strikers_stats"."token_id" = erc721."ERC721_evt_Transfer"."tokenId"WHEREcontract_address = '0x11739d7bd793543a6e83bd7d8601fcbcde04e798'AND iconic = TRUEGROUP BYplayer,token_id,serial,supply)SELECTplayer,COUNT(*) AS wrapped,supplyFROMiconics_wrappedGROUP BYplayer,supply