求sql如何把这些结果合并成一条记录

tomcat CSDN会员 tomcat 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
求sql如何把这些结果合并成一条记录

ES_GUID Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 9 NULL NULL NULL NULL NULL NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL 9 NULL NULL NULL NULL NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL 9 NULL NULL NULL NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL NULL 9 NULL NULL NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL NULL NULL 9 NULL NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL NULL NULL NULL 9 NULL NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL NULL NULL NULL NULL Yes NULL
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 NULL NULL NULL NULL NULL NULL NULL

合并成
ES_GUID Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8
3ef937f5-ebc6-4e2c-b66d-5ecfea54c130 9 9 9 9 9 9 Yes

十分感谢~
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部
tomcat CSDN会员
MS-SQL Server 34,876 成员 254,635 内容