学生表S、课程表C和学生选课表SC,它们的结构如下:S (S#, SN,SEX, AGE, DEPT )C(C#,CN)SC (S#, C#,GRADE)其中,S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是 未知类型:{'options': ['SELECT S.SN, SC.C#,SC. GRADEFROM SWHERE S.S#=SC.S#', 'SELECT S.SN, SC.C#, SC. GRADEFROM SCWHERE S. S#=SC. GRADE', 'SELECT S. SN,SC.C#, SC . GRADEFROM S,SCWHERE S.S#=SC.S#', 'SELECT S. SN,SC.C#, SC. GRADEFROM S. SC'], 'type': 102}
学生表S、课程表C和学生选课表SC,它们的结构如下:S (S#, SN,SEX, AGE, DEPT )C(C#,CN)SC (S#, C#,GRADE)其中,S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是 未知类型:{'options': ['SELECT S.SN, SC.C#,SC. GRADEFROM SWHERE S.S#=SC.S#', 'SELECT S.SN, SC.C#, SC. GRADEFROM SCWHERE S. S#=SC. GRADE', 'SELECT S. SN,SC.C#, SC . GRADEFROM S,SCWHERE S.S#=SC.S#', 'SELECT S. SN,SC.C#, SC. GRADEFROM S. SC'], 'type': 102}
建立信息系选修了1号课程的学生视图,正确的SQL语句为() A: CREATE VIEW IS_S1 ASSELECT Student.Sno,Sname,Grade FROM Student,SCWHERE Sdept= 'IS' AND Student.Sno=SSno AND SCno= '1'; B: CREATE VIEW IS_S1 (Sno,Sname,Grade) ASSELECT Student.Sno,Sname,Grade FROM Student,SCWHERE Sdept= 'IS' AND SCno= '1'; C: CREATE VIEW IS_S1 (Sno,Sname,Grade) ASSELECT Student.Sno,Sname,GradeFROM Student,SC WHERE Sdept= 'IS' ANDStudent.Sno=SSno AND SCno= '1'
建立信息系选修了1号课程的学生视图,正确的SQL语句为() A: CREATE VIEW IS_S1 ASSELECT Student.Sno,Sname,Grade FROM Student,SCWHERE Sdept= 'IS' AND Student.Sno=SSno AND SCno= '1'; B: CREATE VIEW IS_S1 (Sno,Sname,Grade) ASSELECT Student.Sno,Sname,Grade FROM Student,SCWHERE Sdept= 'IS' AND SCno= '1'; C: CREATE VIEW IS_S1 (Sno,Sname,Grade) ASSELECT Student.Sno,Sname,GradeFROM Student,SC WHERE Sdept= 'IS' ANDStudent.Sno=SSno AND SCno= '1'
查询选修了'数据库基础'课程的同学的学号,和这些同学选修的全部课程号和分数.select sno,cno,gradefrom ______________________ A: sc where sno in (select sno from sc join course on sc.cno=course.cno where cname='数据库基础') B: sc join course on sc.cno=course.cno where cname='数据库基础' C: sc where sno in (select sno from course where cname='数据库基础') D: sc where cno in (select cno from course where cname='数据库基础')
查询选修了'数据库基础'课程的同学的学号,和这些同学选修的全部课程号和分数.select sno,cno,gradefrom ______________________ A: sc where sno in (select sno from sc join course on sc.cno=course.cno where cname='数据库基础') B: sc join course on sc.cno=course.cno where cname='数据库基础' C: sc where sno in (select sno from course where cname='数据库基础') D: sc where cno in (select cno from course where cname='数据库基础')