Ali3NAverage Purchasers Stats Ovols vs Claynosaurz
Updated 2023-05-31
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 ovolt as (select * from solana.core.dim_labels where label = 'elixir: ovols'),
clayt as (select * from solana.core.dim_labels where label = 'claynosaurz'),
maintable as (
select 'Elixir: Ovols' as fox_type,
purchaser,
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 ovolt)
and succeeded = 'TRUE'
group by 1,2
union ALL
select 'Claynosaurz' as fox_type,
purchaser,
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 clayt)
Run a query to Download Data