Query editor
WITHaddr AS (SELECTattester AS "Address",COUNT(contract_address) AS "Attestations"FROMarbitrum_eas_arbitrum.EAS_evt_AttestedGROUP BY1ORDER BY2 DESC),addr_ens AS (SELECT DISTINCTa."Address",a."Attestations",b.nameFROMaddr AS aLEFT JOIN ens.reverse_latest AS b ON a."Address" = b.address),combined_results AS (SELECTa.attester,COUNT(*) AS attest_count,COUNT(DISTINCT a.recipient) AS recipient_count,'Optimism' AS data_sourceFROMattestationstation_v1_optimism.EAS_evt_Attested aGROUP BYa.attesterUNION ALLSELECTb.attester,COUNT(*) AS attest_count,COUNT(DISTINCT b.recipient) AS recipient_count,'Base' AS data_sourceFROMattestationstation_v1_base.EAS_evt_Attested bGROUP BYb.attesterUNION ALLSELECTc.attester,COUNT(*) AS attest_count,COUNT(DISTINCT c.recipient) AS recipient_count,'Ethereum' AS data_sourceFROMethereum_attestation_service_ethereum.EAS_evt_Attested cGROUP BYc.attesterUNION ALLSELECTd.attester,COUNT(*) AS attest_count,COUNT(DISTINCT d.recipient) AS recipient_count,'Arbitrum' AS data_sourceFROMarbitrum_eas_arbitrum.EAS_evt_Attested dGROUP BY