MLDZMNAlls17
Updated 2022-10-11
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 tb1 as (select
'Degan Apes' as collection,
purchaser,
count(TX_ID) as no_sale,
sum(sales_amount) as volume,
avg(sales_amount) as average_price
from solana.core.fact_nft_sales s left outer join solana.core.dim_nft_metadata b on s.mint=b.MINT
where SUCCEEDED='TRUE' and PROJECT_NAME ilike '%Degen Apes%'
and TOKEN_METADATA:Clothing in ('Police Uniform','Leather Jacket','Jungle Explorer','Denim Vest','Pilots Jacket')
group by 1,2),
tb2 as (select
'DeGods' as collection,
purchaser,
count(TX_ID) as no_sale,
sum(sales_amount) as volume,
avg(sales_amount) as average_price
from solana.core.fact_nft_sales s left outer join solana.core.dim_nft_metadata b on s.mint=b.MINT
where SUCCEEDED='TRUE' and PROJECT_NAME ilike '%DeGods%'
and TOKEN_METADATA:Clothes in ('Mythic War Armor',' War Armor', 'Hazmat Suit',' God Beater', 'Top God Jumper')
group by 1,2),
tb3 as (select
'Catalina Whales' as collection,
purchaser,
count(TX_ID) as no_sale,
sum(sales_amount) as volume,
avg(sales_amount) as average_price
from solana.core.fact_nft_sales s left outer join solana.core.dim_nft_metadata b on s.mint=b.MINT
where SUCCEEDED='TRUE' and PROJECT_NAME ilike '%Catalina Whale%'
and TOKEN_METADATA:Clothing in ('Round Jacket', 'White Tank', 'Desert Storm', 'Camo', 'Bullet Proof', 'Squid')
group by 1,2)
select
'Degan Apes' as collection,
count(distinct purchaser) as buyers
Run a query to Download Data