• 2022-06-07
    如果有学生表student,sno代表学号,sage代表年龄,则想要得到年龄在18到20之间的学生学号的SQL语句是()
    A: SELECT sno
    FROM student
    WHERE sage>18 or sage<20
    B: SELECT sno
    FROM student
    WHERE sage=18
    C: SELECT sno
    FROM student
    WHERE sage in (18,20)
    D: SELECT sno
    FROM student
    WHERE sage between18 and 20
  • 举一反三