StangFASToverall of users' activity broken out by Avalanche label types at all times
    Updated 2023-05-28
    -- forked from 01 - retention @ https://flipsidecrypto.xyz/edit/queries/200ad8cc-28a1-499e-a343-5937b30d8215

    -- forked from 01 - retention @ https://flipsidecrypto.xyz/edit/queries/e632616f-a55a-4098-a959-76940090ff21

    -- forked from 04 @ https://flipsidecrypto.xyz/edit/queries/f431b852-e4e4-4cf8-85ce-fd78606f618c

    -- forked from 03 @ https://flipsidecrypto.xyz/edit/queries/53b58cc2-8541-4173-9793-0997bc597215

    -- forked from 02 @ https://flipsidecrypto.xyz/edit/queries/476d368e-4f5a-4b8c-bf32-996e2bcd6761

    -- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/9ca44268-9d38-4372-86b0-d145ddd26dd3

    with

    ava_price AS
    (
    SELECT
    date_trunc( 'day' , a.hour ) AS day
    , avg( a.price ) AS price_usd
    FROM
    avalanche.core.fact_hourly_token_prices a
    WHERE
    a.symbol = 'WAVAX'
    GROUP BY
    1
    ORDER BY
    1 DESC
    )
    ,
    min AS
    (
    SELECT
    min( a.block_timestamp ) AS min_date
    , a.from_address AS min_users
    , b.label_type AS type
    FROM
    Run a query to Download Data