见代码: set group_concat_max_len=3096;//保证可以拼接足够长的字符串,没它 数据量大时会截断结果1 select group_concat(instanceId) from table1 where videoType=1 group by videoType 效果如下: 相关文章: