freemartianETH Versus AAVE Price
    Updated 2022-11-23
    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