ciao,
sono un po' arrugginito con SQL...
qualcosa tipo:

select ProdId, UtenteId, SUM(QTA) from nome_tabella
group by ProdID, UtenteId;