在查询语句的where子句中,如果出现了“age between 30 and 40”,这个表达式等同于()A.age>=30 and age<=40B.age>=30 or age<=40C.age>30 and age<40D.age>30 or age<40
在查询语句的where子句中,如果出现了“age between 30 and 40”,这个表达式等同于()
A.age>=30 and age<=40
B.age>=30 or age<=40
C.age>30 and age<40
D.age>30 or age<40
参考答案和解析
age>=30 and age<=40
相关考题:
当你执行以下查询语句:SELECT employeesno,ename FROM employees WHERE employeesno=7782 OR employeesno=7876;在WHERE语句中,以下哪个操作符可以取代OR?() A.INB.BETWEEN……andC.LIKED.=
在SQL语言中,CREATEVIEW语句用于建立视图。如果要求对视图更新时必须满足子查询中的条件表达式,应当在该语句中使用短语______。A.WITHUPDATEB.WITHINSERTC.WITHDELETED.WITHCHECKOPTION
对于学生信息表:student(sno,sname,sex,age,dept),能够得到年龄在20岁到22岁之间的学生的姓名和学号的语句是A.SELECT * FROM student WHERE age BETWEEN 20 AND 22B.SELECT sname,sno FROM student WHERE age BETWEEN 20 AND 22C.SELECT sname,sno FROM student WHERE age>=20D.SELECT sname,sno FROM student WHERE age<=22
CREATE VIEW语句用于在SQL中建立视图。如果要求对视图更新,必须满足子查询中的条件表达式,应当在该语句中使用短语( )。A.WITH UPDATEB.WITH INSERTC.WITH DELETED.WITH CHECK OPTION
当你执行以下查询语句:SELECT employeesno,ename FROM employees WHERE employeesno=7782 OR employeesno=7876;在WHERE语句中,以下哪个操作符可以取代OR?()A、INB、BETWEEN……andC、LIKED、=
在查询语句的Where子句中,如果出现了“ageBetween30and40”,这个表达式等同于()。A、age=30andage=40B、age=30orage=40C、age30andage40D、age30orage40
在SQL中,CREATE VIEW语句用于建立视图。如果要求对视图更新时,必须满足子查询中的条件表达式,应当在该语句中使用短语()A、WITH UPDATEB、WITH INSERTC、WITH DELETED、WITH CHECKOPTION
评估以下SELECT语句: SELECT* FROM 雇员 WHERE 部门标识=34 OR 部门标识=45 OR 部门标识=67; 哪个运算符等同于此条SELECT语句中使用的OR条件?()A、INB、ANDC、LIKED、BETWEEN…AND...
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中年龄介于20和30岁之间的数据,下列哪个SQL语句是正确的?()A、Select* From Student Where Age=20 ANDAge=30B、Select* From Student Where Age=20 ANDAge=30C、Select* From Student Where Age BET WENN 20AND30D、Select* From Student Where Age=20Age=30"
SQL的查询语句的where子句中,对空值的操作,不正确的是()A、where AGE IS NULLB、where AGE IS NOT NULLC、where AGE = NULLD、where NOT (AGE IS NULL)
单选题SQL的查询语句的where子句中,对空值的操作,不正确的是()Awhere AGE IS NULLBwhere AGE IS NOT NULLCwhere AGE = NULLDwhere NOT (AGE IS NULL)
单选题在查询语句的Where子句中,如果出现了“ageBetween30and40”,这个表达式等同于()。Aage=30andage=40Bage=30orage=40Cage30andage40Dage30orage40
在数据库查询语句中,“age between 30 and 40”等同于( ) (1.0分) [单选.] A. age>=30 or age=30 and age30 and age30 or age<40