Query editor
select t1.address as addr, count(distinct hash) as txn_cnt_before_airdropfrom(select to as addressfrom erc20_zksync.evt_Transferwhere "from" = 0x0000000000000000000000000000000000000000and contract_address = 0x5a7d6b2f92c77fad6ccabd7ee0624e64907eaf3eand evt_block_time >= CAST('2024-06-17 6:45' as timestamp)group by 1) t1left join(select *from zksync.transactionswhere block_time <= CAST('2024-06-17 6:45' as timestamp)and success = true) t2on t1.address = t2."from"group by t1.address