[单选题]

检索学生姓名及其所选修课程的课程号和成绩,正确的SELECT语句是______。

A.SELECT S.SN,SC.C#,SC.GRADE FROMS WHERE S.S#=SC.S#

B.SELCECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADE

C.SELECT S.SN,SC.C#,SC,GRADE FROM S,SC WHERE S.S#:SC.S#

D.SELSECT S.SN,SC.C#,SC.GRADE FROM S,SC

参考答案与解析:

相关试题

检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是______。

[单选题]检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是______。A.SELECT S.SN,SC.C#,SC.GRADE FROM S WHERE S.S#=SC.S#B.SELECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADEC.SELECT S.SN, SC.C#,SC.GRADE FROM S,SC WHERE S.S#=SC.S#D.SELECT S.SN,SC.C#,SC.GRADE FROM S,SC

  • 查看答案
  • 查询学生姓名及其所选修课程的课程号和成绩,正确的SQL语句是

    [单选题]查询学生姓名及其所选修课程的课程号和成绩,正确的SQL语句是A.SELECT S.SNAME,SC.C#,GRADE FROM S WHERE S.S#=SC.S#B.SELECT S.SNAME,SC.C#,GRADE FROM SC WHERE S.S#=SC.S#C.SELECT S.SNAME,SC.C#,GRADE FROM S,SC WHERE S.S#=SC.S#D.SELECT S.SNAME,SC.C#,GRADE FROM S,SC WHERE S.S#=SC.C#

  • 查看答案
  • 查找学生姓名及其所选修课程的课程号和成绩,正确的SQL语句是

    [单选题]查找学生姓名及其所选修课程的课程号和成绩,正确的SQL语句是A.SELECT sname FROM student,SELECT cno,grade FROM sc WHERE student.sno=sc.snoB.SELECT sname,cno,grade FROM student,course WHERE student.sno=course.cnoC.SELECT sname,cname,grade FROM student,course,sc WHERE student.sno=sc

  • 查看答案
  • ( 3 2 )查询学生姓名及其所选修课程的课程号和成绩,正确的 SQL 语句是

    [单选题]( 3 2 )查询学生姓名及其所选修课程的课程号和成绩,正确的 SQL 语句是A. ) SELECT S . SNAME , SC.C# , GRADE FROM S WHERE S . S # = SC . S#B. ) SELECT S . SNAME , SC.C #, GRADE FROM SC WHERE S . S # = = SC . S#C. ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S . S# = SC . S#

  • 查看答案
  • (40)查找学生姓名及其所选修课程号和成绩,正确的 SQL 语句是 A)SELE

    [单选题](40)查找学生姓名及其所选修课程号和成绩,正确的 SQL 语句是A.)SELECT sname FROM student, SELECT cno,grade FROM sc WHERE student.sno =sc.snoB.) FROM sname,cno,grade FROM student,course WHERE student.sno =course.cnoC.) SELECT sname ,canme,grade FROM student,course,sc WHERE stud

  • 查看答案
  • 检索选修课程“C2”的学生中成绩最高的学生的学号。正确的SELECT的语句是__

    [单选题]检索选修课程“C2”的学生中成绩最高的学生的学号。正确的SELECT的语句是______。A.SELECT S# FROM SC WHERE C#="C2" AND GRADE> =(SELECT GRADE FROM SC WHERE C#="C2")B.SELECT S# FROM SC WHERE C#="C2" AND GRADE IN(SELECT GRADE FROM SC WHERE C#="C2")C.SELECT S# FROM SC WHERE C#="C2

  • 查看答案
  • 检索选修课程"C2”的学生中成绩最高的学生的学号,正确的SELECT语句是___

    [单选题]检索选修课程"C2”的学生中成绩最高的学生的学号,正确的SELECT语句是______。A.SELECT S# FORM. SC WHERE C#="C2"AND GRADE>=(SELECT GRADE FORM. SC WHERE C#="C2")B.SELECT S# FORM. SC WHERE C#="C2"AND GRADE IN(SELECT GRADE FORM. SC) WHERE C#="C2"C.SELECT S# FORM. SC WHERE C#="

  • 查看答案
  • 检索“至少选修课程号为′C1′的学生姓名(SNAME) ”的SQL语句是

    [单选题]检索“至少选修课程号为′C1′的学生姓名(SNAME) ”的SQL语句是A.SELECT s.sname FROM s,sc WHERE c.cno=′C1′B.SELECT s.sname FROM s,sc WHERE c.cno=′C1′AND s.sno=sc.snoC.SELECT s.sname FROM s,sc FOR c.cno=′C1′D.SELECT s.sname FROM s,sc FOR c.cno=′C1′AND s.sno=sc.sno

  • 查看答案
  • 设有学生选课表SC(学号,课程号,成绩),用SQL检索同时选修课程号为“C1”和

    [单选题]设有学生选课表SC(学号,课程号,成绩),用SQL检索同时选修课程号为“C1”和“C5”的学生的学号的正确命令是______。A.SELECT 学号 FROM SC WHERE 课程号='C1' AND 课程号='C5'B.SELECT 学号 FROM SC WHERE 课程号='C1' AND 课程号=(SELECT 课程号 FROM SC WHERE 课程号='C5')C.SELECT 学号 FROM SC WHERE 课程号='C1' AND 学号=(SELECT 学号

  • 查看答案
  • 检索“至少选修课程号为\'C1\',的学生姓名(SNAME)”的SQL语句是(

    [单选题]检索“至少选修课程号为/'C1/',的学生姓名(SNAME)”的SQL语句是( )。A.SELECT S.sname FROM S,SC WHERE C.cno='C1'B.SELECT S.sname FROM S,SC WHERE C.cno='C1'AND S.sno=SC.snoC.SELECT S.sname FROM S,SC FOR C.cno='C1'D.SELECT S.sname FROM S,sc FOR C.cno='C1' AND S.sno=SC.

  • 查看答案
  • 检索学生姓名及其所选修课程的课程号和成绩,正确的SELECT语句是______。