flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
hilarious-beige
Mahroo
hilarious-beige
Updated 2024-11-10
Copy Reference
Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
›
⌄
SELECT
DATE_TRUNC
(
'day'
,
hour
)
AS
day
,
AVG
(
price
)
AS
avg_yearly_price
FROM
bitcoin
.
price
.
ez_prices_hourly
WHERE
hour
>=
'2024-10-01'
AND
hour
<
'2024-11-04'
GROUP
BY
DATE_TRUNC
(
'day'
,
hour
)
ORDER
BY
day
;
Results
QueryRunArchived: QueryRun has been archived