SQL Server 查询结果根据逗号分隔显示 数据库开发 21年11月15日 编辑 时光站长 取消关注 关注 私信 select 自定义名称 = stuff(( select ','+列名 from 表名 where 条件 for xml path('')),1,1,'')