select count(tx_id) as sale_count, sum(price) as volume, team
from flow.core.fact_nft_sales s
inner join flow.core.dim_topshot_metadata m on s.nft_id = m.nft_id
where block_timestamp between '2022-05-17' and '2022-05-29'
and s.nft_collection = 'A.0b2a3299cc857e29.TopShot'
group by team
order by volume DESC
limit 10