首页 试题广场 > 试题详情
单选题

【C400165】在MySQL中,现有分数表scores设计如下: courseID(课程编号) studentID(学生编号) score(分数)  另有一个学生信息表student,包含studentID,sname(学生姓名)。  已知并非所有学生都参加了考试,现在查询所有及格学生的学生姓名,下面正确的是(  )。

  • A.select sname from student where exists (select studentID from score where score>60) 
  • B.select sname from student where studentID  not in (select studentID from score where score<60) 
  • C.select sname from student where studentID = (select studentID from score where score>60) 
  • D.select sname from student where studentID  in (select studentID from score where score>=60)
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 103个回答
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部