flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
Q69-4
mehrancrypto-dxoepq
Q69-4
Updated 2022-10-19
Copy Reference
Fork
9
1
2
3
4
5
6
7
8
›
⌄
SELECT
TIMESTAMP
::
date
as
daily
,
avg
(
price_usd
)
as
price
,
case
when
daily
>=
CURRENT_DATE
-
90
then
'Last 90 days'
else
'Earlier'
end
as
type
from
near
.
core
.
fact_prices
where
SYMBOL
ilike
'%NEAR%'
group
by
1
,
3
Results
Run a query to Download Data