Hi all,
I have two queries to pull data which is used in one spreadsheet and i am having trouble putting them into one query:
SELECT COUNT(*), CAUSER, CADATE, CAFEE
FROM CALDET
WHERE (CADATE = 1041209 AND CATYPE = '2' AND CARETN = 'Y')
GROUP BY CAUSER
SELECT CAUSER, COUNT(*), CADATE, CAFEE
FROM CALDET
WHERE (CARETN = 'Y' AND CADATE = 1041209)
GROUP BY CAUSER, CADATE, CAFEE
is it possible to put these into one query? these are from an old data select system..
many thanks
Alex
“It is a mistake to think you can solve any major problems just with potatoes.”
Douglas Adams
I have two queries to pull data which is used in one spreadsheet and i am having trouble putting them into one query:
SELECT COUNT(*), CAUSER, CADATE, CAFEE
FROM CALDET
WHERE (CADATE = 1041209 AND CATYPE = '2' AND CARETN = 'Y')
GROUP BY CAUSER
SELECT CAUSER, COUNT(*), CADATE, CAFEE
FROM CALDET
WHERE (CARETN = 'Y' AND CADATE = 1041209)
GROUP BY CAUSER, CADATE, CAFEE
is it possible to put these into one query? these are from an old data select system..
many thanks
Alex
“It is a mistake to think you can solve any major problems just with potatoes.”
Douglas Adams