select top 5 nft_address, sum(total_tranasctions) as total_all_tranasctions
from (select count(distinct tx_hash) as total_tranasctions,
nft_address,
date_trunc('day', block_timestamp) as time_d
from optimism.core.ez_nft_sales
where currency_symbol in ('ETH')
and event_type in ('sale')
and platform_name ilike '%quixotic%'
group by nft_address, time_d)
where nft_address not in ('0x81b30ff521d1feb67ede32db726d95714eb00637', '0x69a68eb548a37ee475d9f89646945588558796d1')
group by nft_address
order by total_all_tranasctions desc