Query editor
with ethereum_profile_detail as (select evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,"to" as ownerfrom link3_ethereum.ProfileNFT_evt_CreateProfile),-- BNB profiles contains all handle created on ethereum (minted through airdrop)bnb_profile_detail as (select b.evt_block_time,b.evt_block_number,b.evt_tx_hash,b.profileId,b.handle,b."to" as ownerfrom link3_profile_bnb.ProfileNFT_evt_CreateProfile bleft join ethereum_profile_detail e on b.handle = e.handlewhere e.handle is null),all_profile_detail as (select evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,ownerfrom ethereum_profile_detailunion allselect evt_block_time,evt_block_number,evt_tx_hash,profileId,handle,ownerfrom bnb_profile_detail),multiple_profile_owner as (select owner,count(profileId) as own_profile_countfrom all_profile_detailgroup by 1having count(profileId) > 1),multiple_profile_owner_summary as (select count(*) as multiple_profile_owner_count,sum(own_profile_count) - count(*) as multiple_profile_owner_secondary_profile_countfrom multiple_profile_owner),profile_summary as (select count(*) as created_profile_count,sum(case when owner = 0x0000000000000000000000000000000000000000 then 0 else 1 end) as active_profile_count,