MLDZMNAlls2
    Updated 2022-10-10

    select
    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,
    count(TX_ID) as no_sale,
    count(distinct purchaser) as no_buyer,
    sum(sales_amount) as volume,
    avg(sales_amount) as average_price
    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 having gp is not null
    Run a query to Download Data