christer99
IS-IT--Management
- Dec 3, 2001
- 247
I need to get the results of the query below into one record (and not multiple rows). The query below produces the following rows/results:
1
2
4
5
8
Using a SQL select statement, can I get the result to be '1, 2, 4, 5, 8' I will not ahead of time how many records or what is the range, but we are talking fewer than 20 records as the max.
SELECT BRCH
FROM INS
WHERE (BRCH IS NOT NULL)
GROUP BY BRCH
ORDER BY BRCH
1
2
4
5
8
Using a SQL select statement, can I get the result to be '1, 2, 4, 5, 8' I will not ahead of time how many records or what is the range, but we are talking fewer than 20 records as the max.
SELECT BRCH
FROM INS
WHERE (BRCH IS NOT NULL)
GROUP BY BRCH
ORDER BY BRCH