独立交易天数区间 | 用户数量 | % 百分比 | |
---|---|---|---|
1 | 1天 | 26709098 | 78.19 |
2 | 2至3天 | 3927411 | 11.5 |
3 | 4至7天 | 2017306 | 5.91 |
4 | 8至15天 | 1055916 | 3.09 |
5 | 16至30天 | 447977 | 1.31 |
6 | 30天以上 | 910 | 0 |
1999_eth用户交易独立天数
Updated 1 day ago
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
select
case
when unique_days = 1 then '1天'
when unique_days between 2 and 3 then '2至3天'
when unique_days between 4 and 7 then '4至7天'
when unique_days between 8 and 15 then '8至15天'
when unique_days between 16 and 30 then '16至30天'
when unique_days > 30 then '30天以上'
else '无交易数据' end as "独立交易天数区间",
count(user) as "用户数量",
round(count(user) * 100.0 / (select count(DISTINCT FROM_ADDRESS)
from monad.testnet.fact_transactions
where TX_SUCCEEDED=true), 2) as "% 百分比"
from
(select FROM_ADDRESS as user,
count(DISTINCT to_char(convert_timezone('UTC', 'Asia/Shanghai', inserted_timestamp), 'YYYY-MM-DD')) as unique_days
from monad.testnet.fact_transactions
where TX_SUCCEEDED=true
group by 1) as tx_counts
group by 1
order by 2 desc;
Last run: 1 day ago
6
153B
37s