HadisehUnique buyer per day
    Updated 2022-06-14
    with flow as ( select date(BLOCK_TIMESTAMP) as day , count(DISTINCT(buyer)) as unique_buyer
    from flow.core.fact_nft_sales
    where block_timestamp::date >= '2022-05-09'
    group by 1
    order by 1),
    ethereum as (select date(BLOCK_TIMESTAMP) as day , count(DISTINCT(BUYER_ADDRESS)) as unique_buyer
    from ethereum.core.ez_nft_sales
    where block_timestamp::date >= '2022-05-09'
    group by 1
    order by 1),
    solana as (select date(BLOCK_TIMESTAMP) as day , count(DISTINCT(PURCHASER)) as unique_buyer
    from solana.core.fact_nft_sales
    where block_timestamp::date >= '2022-05-09'
    group by 1
    order by 1)

    select 'Flow' as blockchain , day , unique_buyer from flow
    UNION
    select 'Ethereum' as blockchain , day , unique_buyer from ethereum
    UNION
    select 'Solana' as blockchain , day , unique_buyer from solana
    Run a query to Download Data