mysql concatenate select results
snippet in sql

mysql concatenate select results

user163

SELECT person_id, GROUP_CONCAT(hobbies SEPARATOR ', ')
FROM peoples_hobbies
GROUP BY person_id;