Concatenate multiple MySQL rows into one field

Copy and paste sample for concatenate multiple MySQL rows into one field.

SELECT GROUP_CONCAT(name SEPARATOR ', ') AS names
FROM peoples

Leave a Comment

Your email address will not be published. Required fields are marked *