SQL查询 表中字段A、B A B 苹果 10 香蕉 15 橘子 20 苹果 20 橘子 15...答:create table sg(a varchar(20), b int)GO insert into sg(a, b)select '苹果', 10 union all select '香蕉', 15 union all select '橘子', 20 union all select '苹果', 20 union all select '橘子', 15 GO select Max(A) A, SUM(B) B, Max(C) C, SUM(D) D, Max(E) ...