mattkstewGroundhog total 4
Updated 2023-01-13Copy 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
29
30
31
32
33
34
35
36
›
⌄
with tab1 as (
select
date_trunc('week', block_timestamp) as date1,
'Ethereum' as Chain,
count(*) as Active_users
from ethereum.core.fact_transactions
where date1 > current_date - 365
group by 1,2
UNION
select
date_trunc('week', block_timestamp) as date1,
'Solana' as Chain,
count(*) as Active_users
from solana.core.fact_transactions
where date1 > current_date - 365
group by 1,2
UNION
select
date_trunc('week', block_timestamp) as date1,
'NEAR' as Chain,
count(*) as Active_users
from near.core.fact_transactions
where date1 > current_date - 365
group by 1,2
UNION
select
date_trunc('week', block_timestamp) as date1,
Run a query to Download Data