建立计算所有学生(不含未选课学生)平均成绩的视图(包含学生学号,姓名,平均成绩)
A. CREATE VIEW AVGGradeView(Sno,sname,AVGGrade)ASSELECT student.sno,sname,avg(grade)FROM student,scWHERE student.sno=sc.snoGROUP BY student.sno,sname
B. CREATE VIEW AVGGradeViewASSELECT student.sno,sname,avg(grade) avg_gradeFROM student,scWHERE student.sno=sc.snoGROUP BY student.sno,sname
CREATE VIEW AVGGradeViewASSELECT student.sno,sc.sno,sname,avg(grade) avg_gradeFROM student,scWHERE student.sno=sc.snoGROUP BY student.sno,sname
D. CREATEVIEWAVGGradeViewASSELECTstudent.sno,sname,avg(grade)avg_gradeFROMstudent,scWHEREstudent.sno=sc.snoGROUPBYstudent.sno