sqlserver多个值拼接并去重
摘要:
STUFF( (SELECT DISTINCT ', ' + FK_EXPERT_PHONES FROM T_RISK_TASK_SERVICE WHERE FK_RISK_CONTROL_ID=__T1.ID AND FK_EXPERT_IDS != '' FOR XML PATH(''), TY 阅读全文
posted @ 2024-06-20 08:52 五官一体即忢 阅读(4) 评论(0) 推荐(0) 编辑