select
project_name as nft_collection,
sum(price_usd) as sales_volume
from optimism.core.ez_nft_sales left join optimism.core.dim_labels on address = nft_address
where
event_type = 'sale' and
price_usd is not null and
block_timestamp::date >= '2022-01-01' and
project_name is not null and
platform_name ilike '%quixotic%'
group by 1
order by 2 desc
limit 5