Query editor
withminter as (selectto as addressfrombinance_bnb.SBT_evt_Attest),revoke_address as(select"from" as addressfrombinance_bnb.SBT_evt_Revoke),babt_holder as(selectminter.addressfromminterleft join revoke_address on minter.address = revoke_address.addresswhererevoke_address.address is null), active_babt_holder_7_day as(with active_address_7_day as(select"from" as addressfrom ethereum.transactionswhereblock_date > current_date - interval '7' daygroup by"from"unionselect"from" as addressfrom bnb.transactionswhereblock_date > current_date - interval '7' daygroup by"from"unionselect"from" as addressfrom polygon.transactionswhereblock_date > current_date - interval '7' daygroup by"from"unionselect"from" as addressfrom arbitrum.transactionswhereblock_date > current_date - interval '7' daygroup by