mysql中的group_concat 有点类似于sqlserver中的for xml path select group_concat(id)from information_schema.processlist; 结果: 会以逗号形式隔开