headitmanagerTotal Count over time
Updated 2022-07-23
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
›
⌄
with total_volume as (select sum(price),play_type from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type)
, total_count as (select count(price),play_type from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type)
, total_unique_buyer as (select count(distinct buyer),play_type from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type)
, total_unique_seller as (select count(distinct seller),play_type from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type)
,total_volume_overtime as (select sum(price),play_type,block_timestamp::date from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type,block_timestamp::date)
,total_count_overtime as (select count(price),play_type,block_timestamp::date from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type,block_timestamp::date)
, total_unique_buyer_overtime as (select count(distinct buyer),play_type,block_timestamp::date from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type,block_timestamp::date)
, total_unique_seller_overtime as (select count(distinct seller),play_type,block_timestamp::date from flow.core.fact_nft_sales inner join flow.core.dim_topshot_metadata
on flow.core.dim_topshot_metadata.nft_id=flow.core.fact_nft_sales.nft_id
where flow.core.fact_nft_sales.nft_collection='A.0b2a3299cc857e29.TopShot'
group by play_type,block_timestamp::date)
select * from total_count_overtime
Run a query to Download Data