MLDZMNAlls8
    Updated 2022-10-10

    select
    date_trunc('week',first_transaction_stamp) as weeks,
    gp,
    count (distinct sender) as new_users
    from (
    select
    distinct purchaser as sender,
    case
    when TOKEN_METADATA:Clothes in ('Gym Tee', 'World Champion Robe', 'FTX Jersey','God Scout Uniform') then 'Sport-related cloth'
    when TOKEN_METADATA:Clothes in ('Mythic War Armor',' War Armor', 'Hazmat Suit',' God Beater', 'Top God Jumper') then 'Army-type cloth'
    else 'Other cloth'
    end as gp,
    min(block_timestamp) as first_transaction_stamp
    from solana.core.fact_nft_sales s left outer join solana.core.dim_nft_metadata b on s.mint=b.MINT
    where SUCCEEDED='TRUE' and PROJECT_NAME ilike '%DeGods%'
    group by 1,2 having gp is not null
    )
    group by 1,2


    Run a query to Download Data