andycape
try a group by clause
create table #fruit ( fruit varchar(40), cost money ,tax money)
go
insert into #fruit values ('potatoes', 100,17.5)
insert into #fruit values ('potatoes', 200,35)
insert into #fruit values ('potatoes', 300,52.5)
go
select fruit, sum(cost + tax) 'Total Amount'...