怎么去掉重复项?有个表tblA吧ID num 1 102 203 101 202 30怎么把每一个ID项的num的最大值select出来?得到结果:ID num 1 202 303 10[解决办法]select id,max(num) as numfrom tblAgroup by id