Updated 2022-07-27
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
with raws as
(select * from ethereum.core.fact_hourly_token_prices
where symbol = 'WETH'
and hour > CURRENT_DATE - 90
)
select
hour,
price,
LAG(price) over (order by hour asc) as prev_price,
price - prev_price as diff
from raws
order by hour desc
Run a query to Download Data