SELECT
-- *
date_trunc('month', block_timestamp) as date,
marketplace,
count(*) as sales_count,
sum(sales_amount) as sales_volume
from solana.core.fact_nft_sales
where succeeded
-- and block_timestamp >= '2022-12-01'
group by 1,2
order by 1,4 desc
-- limit 3