adambala101 doodles
Updated 2022-09-22Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with
Backgroundss as
(select
((count(distinct TOKEN_ID)/10000))*100 as " Backgroundss rarity ",
TOKEN_METADATA:background as Backgrounds
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2 order by 1 asc )
,bodys as
(select
((count(distinct TOKEN_ID)/10000))*100 as "bodys rarity" ,
(TOKEN_METADATA:body) as body
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2 order by 1 asc )
,facess as
(select
((count(distinct TOKEN_ID)/10000))*100 as "facess rarity",
(TOKEN_METADATA:face) as faces
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2 order by 1 asc )
,hairs as
(select
((count(distinct TOKEN_ID)/10000))*100 as " hairs rarity ",
(TOKEN_METADATA:hair) as hair
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2 order by 1 asc )
, heads as
(select
((count(distinct TOKEN_ID)/10000))*100 as "heads rarity",
(TOKEN_METADATA:head) as head
from ethereum.core.dim_nft_metadata where CONTRACT_ADDRESS ='0x8a90cab2b38dba80c64b7734e58ee1db38b8992e'
group by 2 order by 1 asc )
Run a query to Download Data