olavtotal data before, current and after merge
    Updated 2022-09-26
    select
    'Pre Merge' as status,
    count (distinct tx_hash) as tx_number,
    count (distinct from_address) as unique_senders,
    count (distinct to_address) as unique_receivers,
    count (distinct block_number) as block_number_total,
    sum(tx_fee) as fee_total,
    avg(tx_fee) as avg_fee,
    tx_number / 604800 as tps
    from ethereum.core.fact_transactions
    where 1 = 1
    and block_timestamp::date >= '2022-09-08'
    and block_timestamp::date < '2022-09-15'
    and status = 'SUCCESS'

    union
    select
    'Day of Merge' as status,
    count (distinct tx_hash) as tx_number,
    count (distinct from_address) as unique_senders,
    count (distinct to_address) as unique_receivers,
    count (distinct block_number) as block_number_total,
    sum(tx_fee) as fee_total,
    avg(tx_fee) as avg_fee,
    tx_number / 604800 as tps
    from ethereum.core.fact_transactions
    where 1 = 1
    and block_timestamp::date = '2022-09-15'
    and status = 'SUCCESS'

    union
    select
    'Post Merge' as status,
    count (distinct tx_hash) as tx_number,
    Run a query to Download Data