In a single SQL statement, can one provide a GRAND total of grouped by totals?
EG.
select
part, sum(qty)
from
partsinstock
group by part
produces:
Part Sum(qty)
A 100
B 20
C 100
D 80
and I want
Part Sum(qty)
A 100
B 20
C 100
D 80
TOTAL 300
Possible? Please!
Applications Support
UK
EG.
select
part, sum(qty)
from
partsinstock
group by part
produces:
Part Sum(qty)
A 100
B 20
C 100
D 80
and I want
Part Sum(qty)
A 100
B 20
C 100
D 80
TOTAL 300
Possible? Please!
Applications Support
UK