vendredi 27 février 2015

Combining multiple rows into single column


The return from my SQL statement displays an example below:



id 1 | status | id 2 | name | category
001 | open | 011 | john | person
001 | open | 011 | john | male


How would I combine the multiple rows to the category column? Like the example below.



id 1 | status | id 2 | name | category
001 | open | 011 | john | person, male




Aucun commentaire:

Enregistrer un commentaire