Updated 2022-11-23
    --this code is thankfully burrowed from 0xHaM☰d:https://app.flipsidecrypto.com/dashboard/Jfmu0z
    with sorare_buyer as (
    select
    block_timestamp::date as buy_sorare_date,
    TX_HASH,
    BUYER_ADDRESS,
    PRICE_USD
    from ethereum.core.ez_nft_sales
    where NFT_ADDRESS = '0x629a673a8242c2ac4b7b8c5d8735fbeac21a6205'
    and PRICE_USD > 0
    )
    , other_collec_buyer as (
    select
    block_timestamp::date as buy_other_collec_date,
    TX_HASH,
    BUYER_ADDRESS,
    PRICE_USD
    from ethereum.core.ez_nft_sales JOIN sorare_buyer USING(BUYER_ADDRESS)
    where NFT_ADDRESS != '0x629a673a8242c2ac4b7b8c5d8735fbeac21a6205'
    and PRICE_USD > 0
    and buy_other_collec_date > buy_sorare_date
    )
    SELECT
    'Sorare Collection' as type,
    COUNT(DISTINCT tx_hash) sales_Cnt,
    COUNT(DISTINCT BUYER_ADDRESS) buyer_Cnt,
    sum(PRICE_USD) as sales_usd_vol
    FROM sorare_buyer

    UNION
    SELECT
    'Other Collection' as type,
    COUNT(DISTINCT tx_hash) sales_Cnt,
    COUNT(DISTINCT BUYER_ADDRESS) buyer_Cnt,
    sum(PRICE_USD) as sales_usd_vol
    Run a query to Download Data