lindyyBase Q1 vs Q2 User Metrics copy
Updated 2024-10-18
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
›
⌄
-- forked from Jor-el / Base Q1 vs Q2 User Metrics @ https://flipsidecrypto.xyz/Jor-el/q/eHBR57kEL4sr/base-q1-vs-q2-user-metrics
WITH user_activity_q1 AS (
SELECT
from_address AS user,
COUNT(DISTINCT tx_hash) AS total_transactions
FROM
base.core.fact_transactions
WHERE
block_timestamp BETWEEN '2024-01-01' AND '2024-03-31'
GROUP BY
from_address
),
active_users_q1 AS (
SELECT
user
FROM
user_activity_q1
WHERE
total_transactions > 1
),
new_users_q1 AS (
SELECT
user
FROM
user_activity_q1
WHERE
total_transactions = 1
),
user_activity_q2 AS (
SELECT
from_address AS user,
COUNT(DISTINCT tx_hash) AS total_transactions
FROM
base.core.fact_transactions
WHERE
QueryRunArchived: QueryRun has been archived