Mysql中将查询出来的多列的值用逗号拼接

select group_concat(字段名) from 表名 

原文地址:https://www.cnblogs.com/jiayongchao/p/4118625.html