Query editor
SELECT active, COUNT(*) as countFROM (SELECTCASEWHEN EXISTS (SELECT 1FROM query_2673903 t2WHERE t1.address = t2.delegate --- OR t1.recipient = t2.tx_to (don't need this cause none received and was too big to run)) THEN 'ENS_delegate'ELSE 'not_ENS_delegate'END AS activeFROM dune.lamora.dataset_current_badgeholders_2024 t1) AS subqueryGROUP BY active