MahrooUntitled Query
Updated 2022-10-29
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
›
⌄
with maintable as (
select 'Hyperspace' as platform,
seller,
count (distinct tx_id) as Sales_Count,
count (distinct mint) as NFTS_Count,
sum (sales_amount) as Total_SOL_Volume
from solana.core.fact_nft_sales
where marketplace = 'hyperspace'
and succeeded = 'TRUE'
group by 1,2
union ALL
select 'Coral Cube' as platform,
seller,
count (distinct tx_id) as Sales_Count,
count (distinct mint) as NFTS_Count,
sum (sales_amount) as Total_SOL_Volume
from solana.core.fact_nft_sales
where marketplace = 'coral cube'
and succeeded = 'TRUE'
group by 1,2)
select seller,
sales_count,
total_sol_volume
from maintable
where platform = 'Coral Cube'
order by 3 desc
limit 5
Run a query to Download Data