mmdrezadaily hyper vs coral
    Updated 2022-10-29
    with hyperspace as (
    select 'Hyperspace' as platform,
    date_trunc('day',block_timestamp) as date,
    count(distinct tx_id) as sales_count,
    count(distinct purchaser) as buyers_count,
    count(distinct seller) as sellers_count,
    count(distinct mint) as mint_count,
    sum(sales_amount) as sol_volume,
    avg(sales_amount) as avg_sol_volume
    from solana.core.fact_nft_sales
    where marketplace = 'hyperspace'
    and succeeded = 'TRUE'
    group by 1,2),

    coral_cube as (
    select 'Coral Cube' as platform,
    date_trunc('day',block_timestamp) as date,
    count(distinct tx_id) as sales_count,
    count(distinct purchaser) as buyers_count,
    count(distinct seller) as sellers_count,
    count(distinct mint) as mint_count,
    sum(sales_amount) as sokl_volume,
    avg(sales_amount) as avg_sol_volume
    from solana.core.fact_nft_sales
    where marketplace = 'coral cube'
    and succeeded = 'TRUE'
    group by 1,2)

    select * from hyperspace
    union all
    select * from coral_cube

    Run a query to Download Data