mz0111near 5
    WITH TAB1 AS
    (select
    count(distinct tx_signer) as users,
    project_name as pro
    from near.core.fact_transactions
    LEFT JOIN near.core.dim_address_labels
    on address = TX_RECEIVER
    where block_timestamp >= current_date - 7
    group by 2
    having users > 35
    ),

    TAB2 AS
    (select
    date_trunc('month',block_timestamp) as date,
    tx_signer,
    tx_receiver,
    tx_hash as hash,
    LABEL_TYPE
    from near.core.fact_transactions
    LEFT JOIN near.core.dim_address_labels
    on address = TX_RECEIVER
    where block_timestamp >= '{{Begining_Time}}'
    )
    select
    date,
    LABEL_TYPE,
    count(distinct hash) as txs,
    count(distinct tx_signer) as users
    from TAB2
    where LABEL_TYPE is not null
    group by 1 , 2
    Run a query to Download Data