ArioFLOW User Retention vs Other Chains - BSC
    Updated 2022-12-18
    with
    TX_table_bsc as (
    select
    block_timestamp,
    tx_hash,
    FROM_ADDRESS as user_address,
    row_number() over (
    partition by
    FROM_ADDRESS
    order by
    block_timestamp
    ) as Rank
    from
    bsc.core.fact_transactions
    where
    1 = 1
    and STATUS = 'SUCCESS'
    and block_timestamp >= current_date - 180
    ),
    TX_table_with_lag_bsc as (
    select
    block_timestamp,
    tx_hash,
    FROM_ADDRESS as user_address,
    row_number() over (
    partition by
    FROM_ADDRESS
    order by
    block_timestamp
    ) as Rank
    from
    bsc.core.fact_transactions
    where
    1 = 1
    and STATUS = 'SUCCESS'
    and block_timestamp >= current_date - 180
    Run a query to Download Data