HadisehFlow 1
    Updated 2022-07-19
    with tb_flow as ( select date(BLOCK_TIMESTAMP) as daily , count(DISTINCT(buyer)) as buyers
    from flow.core.fact_nft_sales
    where block_timestamp::date >= CURRENT_DATE - 60
    group by 1
    order by 1),

    tb_solana as (select date(BLOCK_TIMESTAMP) as daily , count(DISTINCT(PURCHASER)) as buyers
    from solana.core.fact_nft_sales
    where block_timestamp::date >= CURRENT_DATE - 60
    group by 1
    order by 1),
    tb_ethereum as (select date(BLOCK_TIMESTAMP) as daily , count(DISTINCT(BUYER_ADDRESS)) as buyers
    from ethereum.core.ez_nft_sales
    where block_timestamp::date >= CURRENT_DATE - 60
    group by 1
    order by 1)


    select 'Flow' as platform , daily , buyers from tb_flow
    UNION
    select 'Solana' as platform , daily , buyers from tb_solana
    UNION
    select 'Ethereum' as platform , daily , buyers from tb_ethereum

    Run a query to Download Data