freemartianETH Versus AAVE Price
Updated 2022-11-23Copy Reference Fork
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
›
⌄
with ETH as (
select
hour,
avg(price) as asset_price
from ethereum.core.fact_hourly_token_prices
where symbol = 'WETH'
and hour >= '2022-11-20'
group by hour),
AAVE as (
select
hour,
avg(price) as asset_price
from ethereum.core.fact_hourly_token_prices
where symbol = 'AAVE'
and hour >= '2022-11-20'
group by hour
)
select ETH.hour, AAVE.asset_price as aave, ETH.asset_price as eth
from AAVE inner join ETH on AAVE.hour = ETH.hour
-- select distinct symbol from ethereum.core.fact_hourly_token_prices
Run a query to Download Data