Updated 2022-11-25
    /* Idea Generating from : https://app.flipsidecrypto.com/velocity/queries/ddf191e3-ba0c-4b6c-9e1f-18677a7dc9e0 Author :JackTheGuy */

    with today_price as (
    select avg(price) as today_token_price
    from ethereum.core.fact_hourly_token_prices
    where symbol ='WETH'
    and hour::date = (select MAX(HOUR::date) from ethereum.core.fact_hourly_token_prices)),

    January as (
    select avg(price) as Jan_token_price
    from ethereum.core.fact_hourly_token_prices
    where symbol ='WETH'
    and hour::date = '2022-01-01')

    select
    today_token_price,
    Jan_token_price,
    ((today_token_price - Jan_token_price) / Jan_token_price) * 100 as percentage_change
    from today_price
    join January
    Run a query to Download Data