mahdishUntitled Query
Updated 2022-09-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
with first_txs as (
select
tx_signer as user,
min(block_timestamp::date) as min_date
from near.core.fact_transactions
group by 1
having min_date >= current_date - 90),
new_users as (
select min_date as date,
count(distinct user) as "new users"
from first_txs
group by 1
order by 1)
select
date,
"new users",
sum("new users") over (order by date) as "cum new users"
from new_users
order by date desc
limit 90
Run a query to Download Data