danhanUntitled Query
    Updated 2022-07-17
    with flow as (
    select min(block_timestamp::date) as date , PAYER
    from flow.core.fact_transactions
    where block_timestamp::date >= '2022-07-02' and block_timestamp::date < '2022-07-10'
    group by 2
    ),

    flow_retention as (
    select min(block_timestamp) as date , PAYER
    from flow.core.fact_transactions
    where block_timestamp::date >= '2022-07-10' and block_timestamp::date < '2022-07-17'
    and payer in ( select payer from flow)
    group by 2
    ),
    solana as (
    select min(block_timestamp::date) as date , SIGNERS
    from solana.core.fact_transactions
    where block_timestamp::date >= '2022-07-02' and block_timestamp::date < '2022-07-10'
    group by 2
    ),
    solana_retention as (
    select min(block_timestamp::date) as date , SIGNERS
    from solana.core.fact_transactions
    where block_timestamp::date >= '2022-07-10' and block_timestamp::date < '2022-07-17'
    and SIGNERS in ( select SIGNERS from solana)
    group by 2
    ),
    Ethereum as (
    select min(block_timestamp::date) as date , FROM_ADDRESS
    from ethereum.core.fact_transactions
    where block_timestamp::date >= '2022-07-02' and block_timestamp::date < '2022-07-10'
    group by 2
    ),
    Run a query to Download Data