The return from my MySQL 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