codice:
select codice, sum(nominale) as totale
from tabella
group by codice
order by sum(nominale) desc