多选题
MySQL中,查找分数低于60和分数高于90的选课信息,正确的SQL语句是()。
A
select * from sc where grade not between 60 and 90
B
select * from sc where grade between 60 and 90
C
select * from sc where grade<60 or grade>90
D
select * from sc where grade<60 and grade>90
答案解析
正确答案:AC
解析:
MySQL中,查找分数低于60和分数高于90的选课信息,正确的SQL语句是()。 A.select * from sc where grade not between 60 and 90 B.select * from sc where grade between 60 and 90 C.select * from sc where grade<60 or grade>90 D.select * from sc where grade<60 and grade>90 答案:AC
解析: 这个问题要求查找分数低于60和分数高于90的选课信息。选项A使用"not between"操作符来查找分数不在60到90之间的选课信息,符合题意。选项C使用"or"操作符来查找分数低于60或高于90的选课信息,也符合题意。因此,选项A和C都是正确的答案。
相关知识点:
分数范围选课查询要记对
