• 2022-05-30
    查询选修了课程号为C2的学生号和姓名,用下列SQL的SELECT语句表达时,哪一个是错误的( )
    A: SELECT S.S#,SNAME FROM S WHERE S.S#
    B: =(SELECT SC) S# FROM SC WHERE C#=‘C2’)
    C: SELECT S.S#,SNAME FROMS,SC
    D: WHERE S.S# S
    E: S# AND C#=‘C2’C) SELECT S. S#,SNAME FROM S,SC
    F: WHERE S.S# SC) S# AND C#=‘C2’ORDER BY S.S#
    G: SELECT S.S#,SNAME FROM S
  • 举一反三