HadisehUser on solana
    Updated 2022-06-22
    with unretention_sol as ( select min(block_timestamp::date) as day , signers
    from solana.core.fact_transactions
    where block_timestamp::date >= '2022-05-01'
    and block_timestamp::date < '2022-05-30'
    group by 2),
    retention_sol as ( select min(block_timestamp::date) as day , signers
    from solana.core.fact_transactions
    where signers in ( select signers from unretention_sol)
    and block_timestamp::date >= '2022-06-01'
    and block_timestamp::date <= '2022-06-30'
    group by 2)

    select 'Unretention_user' as user_type , count(DISTINCT(signers)) as unique_user from unretention_sol
    group by 1
    UNION
    select 'Retention_user' as user_type, count(DISTINCT(signers)) as unique_user from retention_sol
    group by 1
    Run a query to Download Data