select
symbol_out as symbol,
count(tx_hash) as number_of_swap,
sum(amount_out_usd) as swap_volume
from ethereum.sushi.ez_swaps
where block_timestamp::date >= current_date - 90
and amount_out_usd is not null
and amount_out is not null
and symbol_out is not null
and symbol_in is not null
group by symbol
order by number_of_swap desc, swap_volume desc
limit 10