A
Amin
So this is my query:
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE > 100000 AND STARTQUEUE IN("4ADIV","4BDIV","4CDIV","4DDIV",)
UNION
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE BETWEEN 100000 AND 1 AND STARTQUEUE
IN("4ADIV","4BDIV","4CDIV","4DDIV",)
UNION
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE = 0 AND STARTQUEUE IN("4ADIV","4BDIV","4CDIV","4DDIV",);
So this produces a table that has one Field--called Occurences) and three
records with different numbers. What I would like to do is to insert another
field to the left with three records with values "A", "B" and "C". Is this
possible without creating another table?
Thanks!
Amin
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE > 100000 AND STARTQUEUE IN("4ADIV","4BDIV","4CDIV","4DDIV",)
UNION
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE BETWEEN 100000 AND 1 AND STARTQUEUE
IN("4ADIV","4BDIV","4CDIV","4DDIV",)
UNION
SELECT COUNT(REGBASE) AS Occurences
FROM WFLOW
WHERE REGBASE = 0 AND STARTQUEUE IN("4ADIV","4BDIV","4CDIV","4DDIV",);
So this produces a table that has one Field--called Occurences) and three
records with different numbers. What I would like to do is to insert another
field to the left with three records with values "A", "B" and "C". Is this
possible without creating another table?
Thanks!
Amin