Query editor
with latest as(SelecttokenId,max(evt_block_number) max_blockfromforeverland_ethereum.ethernal_love_bridge_evt_TransferGroup by 1)SelectCASEwhen C.name is not null then C.namewhen lower(A.to) = 0x8624F88B45cfac0510693C5e8dd4B31927337025 then 'Foreverland Vault'when lower(A.to) = 0x39d41cee703931c10e409756645cd621efde74b0 then 'Foreverland'else A.toEnd as owner,A.to as owner_address,count (A.tokenId) tokens_ownedfrom foreverland_ethereum.ethernal_love_bridge_evt_Transfer AJoin latest B on A.evt_block_number = max_block and A.tokenId = B.tokenIdleft join ens.reverse_latest Con lower(C.address) = lower(A.to)Group by 1,2order by 3 desc