如统计班级和班级人数,语句:select ID,NAME,AGE,GREADE,班级人数 from Ainner join(select GREADE,sum(id) 班级人数 from Agroup by GREADE) bon A.GREADE = b.GREADE