Farei semplicemente
codice:
select SUM(quantita1) from tabella where prodotto = 'nome'