三级三级数据库技术03年9月计算机等级考试三级数据库技术试卷
题目内容

查询选修了课程号为'C2'的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?

2024-07-09

A.SELECT S.S#,SNAME FROM S WHERE S.S#= (SELECT SC.S# FROM SC WHERE C# = 'C2' )

B.SELECT S.S#,SNAME FROM S,SCWHERE S.S# = S

C.S# FROM SC WHERE C# = 'C2' )B.SELECT S.S#,SNAME FROM S,SCWHERE S.S# = SC.S# AND C# = 'C2'C.SELECT S.S#,SNAME FROM S,SCWHERE S.S# = SC.S# AND C# = 'C2' ORDER BY S.S#

D.SELECT S.S#,SNAME FROM S WHERE S.S#IN (SELECT SC.S# FROM SC WHERE C# ='C2' )

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端