📜  mysql代码示例中同一用户的concat列值

📅  最后修改于: 2022-03-11 15:05:05.505000             🧑  作者: Mango

代码示例1
SELECT person_id,
   GROUP_CONCAT(hobbies SEPARATOR ', ')
FROM peoples_hobbies
GROUP BY person_id;