• 2022-06-09
    同时选修了‘数据结构’和‘操作系统’2门课程的同学学号、姓名。select student.sno,sname from student,sc,coursewhere student.sno=sc.sno and course.cno=sc.cnoand _________________________________________________
    A: cname='数据结构' and student.sno in(select sno from sc,course where sc.cno=course.cno and cname='操作系统')
    B: cname='操作系统' and student.sno in(select sno from sc,course where sc.cno=course.cno and cname='数据结构')
    C: cname='数据结构' and cname='操作系统'
    D: student.sno in(select sno from sc,course where sc.cno=course.cno and cname='操作系统'and cname='数据结构')
  • 举一反三