adambala101 doodles
Updated 2022-09-22
99
1
2
3
4
5
6
7
8
9
10
›
⌄
select count(distinct TOKEN_ID) as tokens,
TOKEN_METADATA:background as Backgrounds ,
(TOKEN_METADATA:body) as body ,--IS NOT NULL THEN TOKEN_METADATA:Clothes ELSE '0' END as Clothess,
TOKEN_METADATA:face as faces,-- IS NOT NULL THEN TOKEN_METADATA:Earring ELSE '0' END AS Earrings,
TOKEN_METADATA:hair as hair,
TOKEN_METADATA:head as head
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2,3,4,5,6 --HAVING Clothess != '0' AND Earrings!='0' AND Hats !='0'
order by 1 asc
Run a query to Download Data