Elprognerd2 daily new buyers
Updated 2023-03-16
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
›
⌄
with first_t as (
SELECT
PURCHASER,
min(block_timestamp) as date0
FROM
solana.core.fact_nft_sales
WHERE
SUCCEEDED = 'true'
AND MARKETPLACE = 'tensorswap'
GROUP BY
1
)
SELECT
date0::date as date,
CASE
WHEN date >= '2023-03-06' then 'Second Season'
ELSE 'First Season'
END as "Season",
COUNT(distinct PURCHASER) as "Daily New Buyers",
SUM("Daily New Buyers") OVER (ORDER BY date) as "Cumulative New Buyers"
FROM
first_t
GROUP BY
1,
2
order by
1
Run a query to Download Data