trpnbillie
Programmer
Hi. I have a table Employee with ID, Name and Country column
1 John Doe USA
1 John Doe CAN
1 John Doe GBR
2 Sally Jo CAN
2 Sally Jo MEX
I want to produce this result set:
1 John Doe USA, CAN, GBR
2 Sally Jo CAN, MEX
Is there an efficient way to do this without a cursor? (or is cursor my only option?)
thanks for your help!!!
1 John Doe USA
1 John Doe CAN
1 John Doe GBR
2 Sally Jo CAN
2 Sally Jo MEX
I want to produce this result set:
1 John Doe USA, CAN, GBR
2 Sally Jo CAN, MEX
Is there an efficient way to do this without a cursor? (or is cursor my only option?)
thanks for your help!!!