Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql concatenate select results

SELECT person_id, GROUP_CONCAT(hobbies SEPARATOR ', ')
FROM peoples_hobbies
GROUP BY person_id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #concatenate #select #results
ADD COMMENT
Topic
Name
3+8 =