在数据库查询语句中,“age between 30 and 40”等同于( ) (1.0分) [单选.] A. age>=30 or age=30 and age30 and age30 or age<40
在数据库查询语句中,“age between 30 and 40”等同于( ) (1.0分) [单选.]
A. age>=30 or age<=40 B. age>=30 and age<=40 C. age>30 and age<40 D. age>30 or age<40
相关考题:
使用SQL语句将学生表S中年龄(AGE)大于30岁的记录删除,正确的命令是( )。A.DELETE FOR AGE30B.DELETE FROM S WHERE AGE30C.DELETE S FOR AGE30D.DELETE S WHERE AGE30
使用SQL语句将学生表S中年龄(AGE)大于30岁的记录删除,正确的命令是A)DELETE FOR AGE30 B)DELETE FROM S WHERE AGE30C)DELETE S FOR AGE30 D)DELETE S WHERE AGE30
数据库SQL语言中,AGE IN(15,35)短语的正确含义是(14)。A.AGE=15AND AGE=35B.AGE=15 OR AGE=35C.AGE<=35 AND AGE>=15D.AGE<35 AND AGE>15
使用SQL语句将学生表S中年龄(AGE)大于30岁的记录删除,正确的命令是______。A.DELETE FOR AGE>30B.DELETE FROM S WHERE AGE>30C.DELETE S FOR AGE>30D.DELETE S WHERE AGE>30
如果学生表STUDENT是使用下面的SQL语句创建的CREATE TABLE STUDENT(SNO C(4) PRIMARY KEY NOT NULL,;SN C(8),;SEX C(2),;AGE N(2) CHECK(AGE>15 AND AGE<30))下面的SQL语句中可以正确执行的是A.INSERT INTO STUDENT(SNO,SEX,AGE)VALUES (“S9”,“男”,17)B.INSERT INTO STUDENT(SN,SEX,AGE)VALUES (“李安琦”,“男”,20)C.INSERT INTO STUDENT(SEX,AGE)VALUES (“男”,20)D.INSERT INTO STUDENT(SNO,SN)VALUES (“S9”,“安琦”,16)
对于学生信息表STUDENT(SNO, SNAME,SEX,AGE,DEPT)(STUDENT由学号SNO、姓名SNAME、性别SEX、年龄AGE、所在系DEPT 5个属性组成,其中SNO为主码),求年龄20~23岁之间的学生姓名和年龄,正确的语句是( )。A.SELECT SNAME,AGE FROM STUDENT WHERE AGE20 AND AGE23B. SELECT*FROM STUDENT WHERE AGE BETWEEN 20 AND 23C.SELECT SNAME,AGE FROM STUDENT WHERE AGE BETWEEN 20 AND 23D.以上均不正确
在Visual FoxPro中,使用SQL命令将学生表STUDENT中的学生年龄AGE字段的值增加1岁,应该的使用命令是( )。A. REPLACE AGE WITH AGE+1B. MODIFY STUDENT SET AGE=AGE+1C. ALTER STUDENT SET AGE WITH AGE+1D. UPDATE STUDENT SET AGE=AGE+1
如果学生表STUDENT是使用下面的SQL语句创建的CREATE TABLE STUDENT (SNO C (4) PRIMARY KEY NOT NULL , ;SN C (8) , ;SEX C (2) , ;AGE N (2) CHECK (AGE15 AND AGE30 ))下面的SQL语句中可以正确执行的是A)INSERT INTO STUDENT(SNO,SEX,AGE)VALUES("S9","男",17)B)INSERT INTO STUDENT(SN,SEX,AGE)VALUES("李安琦","男",20)C)INSERT INTO STUDENT(SEX,AGE)VALUES("男",20)D)INSERT INTO STUDENT(SNO,SN) VALUES("S9","安琦",16)
Given the following query:SELECT last_name, first_name, age, hire_date FROM employee WHERE age >40Which of the following clauses must be added to return the rows sorted by AGE, oldest first, and by LAST_NAME, from A to Z?()A.SORT BY age ASC, last_nameB.SORT BY age DESC, last_nameC.ORDER BY age DESC, last_nameD.ORDER BY age ASC, last_name
与WHERE AGE BETWEEN 18 AND 23完全等价的是( )。A.WHERE AGE>18AND AGEB.WHERE AGE>=18AND AGEC.WHERE AGE>18AND AGED.WHERE AGE>=18AND AGE
如果学生表STUDENT是使用下面的SQL语句创建的:CREATE TABLE STUDENT(SNO C(4) PRIMARY KEY NOT NULL,,;SN C(8),;SEX C(2),;AGE N(2) CHECK(AGE>15 AND AGE<30))下面的SQL语句中可以正确执行的是( )。AA.BB.CC.DD.答案
在查询语句的Where子句中,如果出现了“ageBetween30and40”,这个表达式等同于()。A、age=30andage=40B、age=30orage=40C、age30andage40D、age30orage40
对于学生信息表(XSB),包含字段:学号(SNO),姓名(SNAME),性别(SEX),年龄(AGE),所在系(DEPT),其中SNO为主码,检索年龄在20~30之间的学生姓名和年龄,正确的语句是()A、select sname,age from xsb where age20and age23B、select*from xsb where age between20 and 23C、select sname,age from xsb where agebetween20 and 23
在C#中〃下列代码的运行结果是()。int[]age1=newint[]{10,20};int[]age2=age1;age2[1]=30;Console.WriteLine(age1[1]);A、0B、10C、20D、30
使用SQL语句将学生表S中年龄(AGE)大于30岁的记录删除,正确的命令是()A、DELETE FOR AGE30B、DELETE FROM S WHERE AGE30C、DELETE S FOR AGE30D、DELETE S WHERE AGE30
数据库中有一张表名称为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)
与WHERE AGE BETWEEN 18 AND 23完全等价的是()A、WHERE AGE>18AND AGE<23B、WHERE AGE>=18AND AGE<23C、WHERE AGE>18AND AGE<=23D、WHERE AGE>=18AND AGE<=23
单选题对于学生信息表(XSB),包含字段:学号(SNO),姓名(SNAME),性别(SEX),年龄(AGE),所在系(DEPT),其中SNO为主码,检索年龄在20~30之间的学生姓名和年龄,正确的语句是()Aselect sname,age from xsb where age20and age23Bselect*from xsb where age between20 and 23Cselect sname,age from xsb where agebetween20 and 23
单选题SQL的查询语句的where子句中,对空值的操作,不正确的是()Awhere AGE IS NULLBwhere AGE IS NOT NULLCwhere AGE = NULLDwhere NOT (AGE IS NULL)
单选题与WHERE AGE BETWEEN 18 AND 23完全等价的是()AWHERE AGE>18AND AGE<23BWHERE AGE>=18AND AGE<23CWHERE AGE>18AND AGE<=23DWHERE AGE>=18AND AGE<=23
单选题Given the following query:SELECT last_name, first_name, age, hire_date FROM employee WHERE age 40Which of the following clauses must be added to return the rows sorted by AGE, oldest first, and by LAST_NAME, from A to Z?()ASORT BY age ASC, last_nameBSORT BY age DESC, last_nameCORDER BY age DESC, last_nameDORDER BY age ASC, last_name
单选题在C#中〃下列代码的运行结果是()。int[]age1=newint[]{10,20};int[]age2=age1;age2[1]=30;Console.WriteLine(age1[1]);A0B10C20D30
单选题使用SQL语句将学生表S中年龄(AGE)大于30岁的记录删除,正确的命令是()ADELETE FOR AGE30BDELETE FROM S WHERE AGE30CDELETE S FOR AGE30DDELETE S WHERE AGE30