codice:select nominativo,importo from tabella where nominativo = 'aaa' union all select 'totale',sum(importo) from tabella where nominativo = 'aaa' group by nominativo
codice:select nominativo,importo from tabella where nominativo = 'aaa' union all select 'totale',sum(importo) from tabella where nominativo = 'aaa' group by nominativo