0

Possible Duplicate:
Building a comma separated list?
Concatenate values based on ID
How to Comma separate multiple rows obtained from a SQL Query
Combing values of a column on multiple rows.?

I have tables like this:

ID Tag
1   abc
1   def
1   ghi
2   acf
2   klv

and I want this

ID Tag
1  abc, def, ghi
2  acf, klv

How this can be done?

Thanks.

Community
  • 1
  • 1
el ninho
  • 4,183
  • 15
  • 56
  • 77

0 Answers0