1

Topic: Field values of different lines in one - a comma

There is a table:

id | nam
----------
1 | vasya
1 | ivan
2 | petr
1 | masha

It is necessary that the request returned:
-------------------------------

1 | vasya, ivan, masha
2 | petr

Whether it is possible such to make?

2

Re: Field values of different lines in one - a comma

http://www.sql.ru/forum/afsearch.aspx?s … &bid=4

3

Re: Field values of different lines in one - a comma

Yes a pancake...
http://www.sql.ru/forum/afsearch.aspx?s … &bid=4

4

Re: Field values of different lines in one - a comma

still it look