group_concat函数使用

t1表  

语句:

select type,group_concat(name) from t1 group by type

结果

原文地址:https://www.cnblogs.com/kaynet/p/4819467.html