KaskoazulTrending NFT Projects Crossover buyers RAW TABLE
    Updated 2022-06-14
    with raw as (
    select distinct buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('TopShot', 'AllDay', 'PackNFT', 'UFC_NFT', 'CricketMoments')
    ),

    TS_buyers as (
    select distinct buyer as TS_buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('TopShot')
    ),

    AD_buyers as (
    select distinct buyer as AD_buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('AllDay')
    ),

    P_buyers as (
    select distinct buyer as P_buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('PackNFT')
    ),
    U_buyers as (
    select distinct buyer as U_buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('UFC_NFT')
    ),

    CM_buyers as (
    select distinct buyer as CM_buyer
    from flow.core.fact_nft_sales
    where split_part(nft_collection,'.',3) in ('CricketMoments')
    ),
    Run a query to Download Data