Query editor
WITHweeks (week_id, id) AS (VALUES(1, 583),(1, 1654),(2, 611),(3, 674),(4, 853),(5, 1006),(6, 1007),(7, 1416),(8, 1417),(9, 1418),(10, 1577)),tb1 AS (SELECT"to","evt_block_time","evt_tx_hash",t."id",week_idFROMerc1155_polygon.evt_TransferSingle AS tINNER JOIN weeks AS w ON t."id" = w.idWHERE"contract_address" = 0x60576a64851c5b42e8c57e3e4a5cf3cf4eeb2ed6)SELECTCOUNT(DISTINCT ("to")) AS Address_cnt,week_idFROMtb1GROUP BY2ORDER BY2 NULLS FIRST