Hi,
I'm looking for a possebility to concat data from several rows of one
table into one field.
Example Table:
No. Name
------------------
1 Peter
1 Alec
1 Jane
2 Annie
2 Louis
I'd like to receive a result like this:
1 Peter, Alec, Jane
2 Annie, Louis
Is it possible to manage this using one SQL-Statement?
Any help is appreciated.
Thanks in advance
Benjamin
using IBM DB2 7.2
I'm looking for a possebility to concat data from several rows of one
table into one field.
Example Table:
No. Name
------------------
1 Peter
1 Alec
1 Jane
2 Annie
2 Louis
I'd like to receive a result like this:
1 Peter, Alec, Jane
2 Annie, Louis
Is it possible to manage this using one SQL-Statement?
Any help is appreciated.
Thanks in advance
Benjamin
using IBM DB2 7.2
Comment