SELECT sum(prezzounitario * quantita*percentuale_provvigione/100) FROM tabella

ciao

Edit