jackguyinj 111
Updated 2023-06-01
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
›
⌄
SELECT
*,
sum(new_users) over (ORDER BY first_day) as total_users
FROM (
SELECT
first_day,
count(*) as new_users
FROM (
SELECT
trader,
min(date_trunc('day', block_timestamp)) as first_day
FROM osmosis.core.fact_swaps
WHERE pool_ids[0] = '725' OR pool_ids[1] = '725'
GROUP BY 1
) GROUP BY 1
)
Run a query to Download Data