Afonso_DiazPeak Days of the Week
Updated 2025-05-07
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
›
⌄
with main as (
select
tx_hash,
block_timestamp,
project_name,
buyer_address,
seller_address,
platform_fee_usd,
total_price_usd as price_usd,
platform_name
from
aptos.nft.ez_nft_sales
where
platform_exchange_version ilike 'tradeport%'
)
select
case
when extract(dow from block_timestamp) = 0 then 'Sunday'
when extract(dow from block_timestamp) = 1 then 'Monday'
when extract(dow from block_timestamp) = 2 then 'Tuesday'
when extract(dow from block_timestamp) = 3 then 'Wednesday'
when extract(dow from block_timestamp) = 4 then 'Thursday'
when extract(dow from block_timestamp) = 5 then 'Friday'
when extract(dow from block_timestamp) = 6 then 'Saturday'
end as transaction_day_of_week,
count(tx_hash) as transaction_count
from
main
group by
transaction_day_of_week
order by
transaction_day_of_week
QueryRunArchived: QueryRun has been archived