A
antmorano
I have a query where I need to total two numbers that are inputted
from two other queries. What I mean is that lets say under 65 has a
12 and over 65 has an 8 then I want a total to show 20. Here is the
SQL of the query. Please can anyone help me.
SELECT SUM([TOTALS]), "H&W UNDER" AS queryNumber
FROM [H&W UNDER AGE 65 RETIREE COUNT]
UNION ALL
SELECT Sum([TOTALS]), "H&W OVER" AS queryNumber
FROM [>65 H&W TOTAL RETIREES]
ORDER BY queryNumber;
-AM
from two other queries. What I mean is that lets say under 65 has a
12 and over 65 has an 8 then I want a total to show 20. Here is the
SQL of the query. Please can anyone help me.
SELECT SUM([TOTALS]), "H&W UNDER" AS queryNumber
FROM [H&W UNDER AGE 65 RETIREE COUNT]
UNION ALL
SELECT Sum([TOTALS]), "H&W OVER" AS queryNumber
FROM [>65 H&W TOTAL RETIREES]
ORDER BY queryNumber;
-AM