基于教材上的选课表SC,使用嵌套查询查找所有超过所选课程平均分的学生选课记录,正确的SQL语句是________。
A. SELECTSno, Cno, Grade FROMSC SC1WHERE Grade>(SELECT AVG(Grade) FROMSC SC2);
B. SELECTSno, Cno, Grade FROMSC SC1WHERE Grade>(SELECT AVG(Grade) FROMSC SC2 WHERE SC2.Cno=SC1.Cno);
C. SELECTSno, Cno, Grade FROMSC SC1WHERE Grade>(SELECT AVG(Grade) FROMSC SC2 GROUP BY SC2.Cno);
D. SELECTSno, Cno, Grade FROMSC SC1WHERE AVG(Grade)>(SELECT Grade FROMSC SC2 WHERE SC2.Cno=SC1.Cno);