S
Stephane Pelletier
Hi
I need to know if it's possible to do one thing and if yes how !!!
Here's an example of an output of my DB (DB is Fiction of course,but the
question that follow is for real)
ID report# Test# Location depth
Serial
10951 1 1 CH: 0+100 -900
10952 1 2 CH: 0+110 -900
AB-05
10953 1 3 CH: 0+100 -300
10954 1 4 CH: 0+110 -300
AB-06
10955 1 5 CH: 0+100 Final
AB-07
10956 1 6 CH: 0+110 Final
10957 2 1 xxxxxxxxxx Final
Now I would like to have a query that would give me the following output
Report count(location) ListOfSerial
1 6 AB-05,AB-06,AB-07
2 1
Ok I know that the first two column are easy to have using the GROUP BY
clause, my problem is on the third column ... I'm not even sure it's possible
to do so but if it's possible to do it ... I'd like very much to have a hint
cause i'm clueless for now.
IF Any one can help ... Please do so !!!
Many Thanks for your help,
Stephane Pelletier
I need to know if it's possible to do one thing and if yes how !!!
Here's an example of an output of my DB (DB is Fiction of course,but the
question that follow is for real)
ID report# Test# Location depth
Serial
10951 1 1 CH: 0+100 -900
10952 1 2 CH: 0+110 -900
AB-05
10953 1 3 CH: 0+100 -300
10954 1 4 CH: 0+110 -300
AB-06
10955 1 5 CH: 0+100 Final
AB-07
10956 1 6 CH: 0+110 Final
10957 2 1 xxxxxxxxxx Final
Now I would like to have a query that would give me the following output
Report count(location) ListOfSerial
1 6 AB-05,AB-06,AB-07
2 1
Ok I know that the first two column are easy to have using the GROUP BY
clause, my problem is on the third column ... I'm not even sure it's possible
to do so but if it's possible to do it ... I'd like very much to have a hint
cause i'm clueless for now.
IF Any one can help ... Please do so !!!
Many Thanks for your help,
Stephane Pelletier