select
distinct to_LABEL,
sum (amount_usd) as swap_volume2
from ethereum.udm_events
where from_LABEL='paraswap'
and to_LABEL_TYPE='dex'
and block_timestamp between '2021-01-01' and '2022-01-01'
group by 1 having swap_volume2 is not null
order by 2 desc limit 10