例 id name 1 A 1 B 1 C 2 a 2 b不用修改就用查询能成这样吗?id 别名1 A,B,C2 a,b
select id,group_concat(name) from 原表 group by id