I do the following query and I want to get the overall total.
select sum(nw1w2)||' CAA 97' totpas from caa97
where apt='MAN'
union all
select sum(nw1w2)||' CAA 98' totpas from caa98
where apt='MAN'
union all
select sum(nw1w2)||' CAA 99' totpas from caa99
where apt='MAN'
union all
select sum(nw1w2)||' CAA 00' totpas from caa00
where apt='MAN'
union all
select sum(nw1w2)||' CAA 01' totpas from caa01
where apt='MAN'
How do I do this?