mmdrezaAverage stats before and After (bar chart)
Updated 2022-12-31Copy Reference Fork
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
›
⌄
with main_tab as (
select
date_trunc('day',block_timestamp) as date,
case
when date <= '2022-12-14' then 'before Holiday Quest'
else 'during Holiday Quest' end as type,
count(distinct tx_hash) as tx_count,
count(distinct seller_address) as sellers,
count(distinct buyer_address) as buyers,
sum(price_usd) as volume_usd,
sum(tx_fee) as fees,
sum(tx_fee_usd) as fees_usd
from ethereum.core.ez_nft_sales
where platform_name like 'looksrare'
and block_timestamp >= '2022-12-01'
group by date,type
order by date asc)
select
type,
avg(tx_count) as avg_tx_count,
avg(sellers) as avg_sellers,
avg(buyers) as avg_buyers,
avg(volume_usd) as avg_volume,
avg(fees_usd) as avg_fees_usd
from main_tab
group by type
Run a query to Download Data