afonsoUntitled Query
Updated 2023-01-19
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
with t as (
select
count(distinct tx_hash) as txns_count_may_2022,
count(distinct from_address) as users_count_may_2022
from ethereum.core.fact_transactions
where block_timestamp between '2022-06-01' and '2022-06-30'
),
t2 as (
select
count(distinct tx_hash) as txns_count_january_2023,
count(distinct from_address) as users_count_january_2023
from ethereum.core.fact_transactions
where block_timestamp between '2022-12-19' and '2023-01-19'
)
select *,
((txns_count_january_2023 - txns_count_may_2022) / txns_count_may_2022) * 100 as txn_percent_change,
((users_count_january_2023 - users_count_may_2022) /users_count_may_2022) * 100 as user_percent_change
from t join t2
Run a query to Download Data