select 學號.AVG(成績) as '平均成績' ?from cj group by 學號 having avg(成績) >= 90;可不可以不用group by,select 學號,AVG(成績) as '平均成績' from cj where AVG(成績)>= 90;什么時候用group by ?
group by 的問題
玩轉(zhuǎn)IT
2016-05-11 11:54:56