select id,stuff((select ','+mail from tb where tiaojian for xml path('')),1,1,'') from tb group by id
11,849
社区成员
33,690
社区内容
加载中
试试用AI创作助手写篇文章吧