select aggregator_name,
count(distinct buyer_address),
sum(tx_fee_usd),
platform_name,
case when origin_to_address = ('') then Uniswap Agreegator
when origin_to_address = ('') then Flip Agreegator
from ethereum.core.ez_nft_sales
group by aggregator_name, platform_name