举一反三
- 年龄在18~23岁之间的SQL条件语句除了用“WHERE AGE BETWEEN 18 AND 23”外,与其完全等价的还可以是。
- 与WHERE AGE BETWEEN 18 AND 23完全等价的是() A: WHERE AGE>18AND AGE<23 B: WHERE AGE>=18AND AGE<23 C: WHERE AGE>18AND AGE<=23 D: WHERE AGE>=18AND AGE<=23
- SQL语言中,条件年龄 BETWEEN 18 AND 30表示年龄在18至30之间,且
- 有学生信息表student,求年龄在20-22岁之间(含20岁和22岁)的学生姓名和年龄的SQL语句是: SELECT sname,age FORM student WHERE age 【18】
- 查询年龄不在20到23岁之间的学生的信息,所使用的语法命令为() A: select * from student where age not between 20 and 23 B: select * from student where age between 20 and 23 C: select * from student where age not between 20 to 23 D: select * from student where not age from 20 to 23
内容
- 0
查询年龄在20到23岁之间的学生的信息,所使用的语法命令为() A: select * from student where age between 20 to 23 B: select * from student where age from 20 to 23 C: select * from student where age between 20 and 23 D: select * from student
- 1
下列SQL语句,_____________可以在“学生-课程”数据库正确实现“查询年龄在20-23岁(包括20岁和23岁)之间的学生的姓名、系别和年龄”。 A: SELECT Sname,Sdept,SageFROM StudentWHERE Sage BETWEEN 20 AND 23 B: SELECT Sname,Sdept,SageFROM StudentWHERE Sage 20 AND 23 C: SELECT Sname,Sdept,SageFROM StudentWHERE Sage >=20 AND <=23 D: SELECT Sname,Sdept,SageFROM StudentWHERE Sage NOT BETWEEN 20 AND 23
- 2
设有关系表S(NO,NAME,AGE),其中AGE为年龄字段,则表达式 A: E NOT BETWEEN 18 AND 24 等价于: B: AGE<=18 OR AGE>=24 C: AGE<=18 OR AGE>24 D: AGE<18 OR AGE>=24 E: AGE<18 OR AGE>24
- 3
表达式“AGE BETWEEN 18 AND 24”等价于 A: AGE>18 AND AGE<24 B: AGE>=18 AND AGE<24 C: AGE>18 AND AGE<=24 D: AGE>=18 AND AGE<=24
- 4
设有关系表S(NO,NAME,AGE),其中AGE为年龄字段,则表达式AGE NOT BETWEEN 18 AND 24等价于() A: AGE<=18 OR AGE>=24 B: AGE<=18 0R AGE>24 C: AGE<18 OR AGE>=24 D: AGE<18 0R AGE>24