• 2022-06-09
    以下命令是相关子查询的嵌套查询是:
    A: SELECT * FROM student WHERE sno IN (SELECT sno FROM sc WHERE cno = '1')
    B: SELECT * FROM student WHERE EXISTS (SELECT * FROM sc WHERE cno = '1' AND sc.sno = student.sno)
    C: SELECT sno, cno FROM sc x WHERE grade>(SELECT AVG(grade) FROM sc y WHERE y.sno = x.sno)
    D: 以上都是
  • 举一反三