摘要: 数据库表 | ID | Num | No | | | | | | 1 | 50 | A | | 1 | 50 | B | | 2 | 10 | B | | 2 | 10 | C | 查询语句 SELECT ID, SUM(Num) sum_num, STUFF((select ',' + NO fr 阅读全文
posted @ 2023-03-02 14:40 Dark华 阅读(228) 评论(0) 推荐(0) 编辑