mattkstewGroundhog total 4
    Updated 2023-01-13
    with tab1 as (
    select
    date_trunc('week', block_timestamp) as date1,
    'Ethereum' as Chain,
    count(*) as Active_users

    from ethereum.core.fact_transactions
    where date1 > current_date - 365
    group by 1,2

    UNION

    select
    date_trunc('week', block_timestamp) as date1,
    'Solana' as Chain,
    count(*) as Active_users

    from solana.core.fact_transactions
    where date1 > current_date - 365
    group by 1,2
    UNION

    select
    date_trunc('week', block_timestamp) as date1,
    'NEAR' as Chain,
    count(*) as Active_users

    from near.core.fact_transactions
    where date1 > current_date - 365
    group by 1,2

    UNION

    select
    date_trunc('week', block_timestamp) as date1,
    Run a query to Download Data