Ali3NDistribution of Sellers By Their Sold Tokens (CatsSharksSquirrels )
Updated 2022-12-12
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 degencats as (
select * from solana.core.dim_labels
where label = 'degen fat cats'),
sharx as (
select * from solana.core.dim_labels
where label = 'sharx by sharky.fi'),
squirrels as (
select * from solana.core.dim_labels
where label = 'liberty square: the sinister squirrel syndicate'),
maintable as (
select 'Degen Fat Cats' as fox_type,
seller,
count (distinct tx_id) as Sales_Count,
count (distinct purchaser) as Purchasers_Count,
count (distinct seller) as Sellers_Count,
count (distinct mint) as Tokens_Count,
sum (sales_amount) as Total_Sale_Volume,
avg (sales_amount) as Average_Sale_Price,
median (sales_amount) as Median_Sale_Price,
min (sales_amount) as Minimum_Sale_Price,
max (sales_amount) as Maximum_Sale_Price
from solana.core.fact_nft_sales
where mint in (select address from degencats)
and succeeded = 'TRUE'
group by 1,2
union ALL
select 'Sharx' as fox_type,
seller,
count (distinct tx_id) as Sales_Count,
count (distinct purchaser) as Purchasers_Count,
count (distinct seller) as Sellers_Count,
Run a query to Download Data