对于学生信息表: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 shame,sno FROM student WHERE age<=22

对于学生信息表:student(sno, sname, sex, age, dept),能够得到年龄在20岁于22岁之间的学生的姓名和学号的语句是

A.SELECT * FROM student WHERE age BETWEEN 20 AND 22

B.SELECT sname, sno FROM student WHERE age BETWEEN 20 AND 22

C.SELECT sname,sno FROM student WHERE age>=20

D.SELECT shame,sno FROM student WHERE age<=22


相关考题:

( 32 ) 设有学生信息关系 STUDENT ( sno , sname , sex , age , dept ) 。 “ 查找信息系 ( IS 系 ) 中年龄小 于20 岁的学生的姓名 ” ,该操作正确的关系代数表达式是Ⅰ . π sname ( σ dept= ’ IS ’ ∧ age20( STUDENT ))Ⅱ . σ dept= ’ IS ’ ∧ age20 ( π sname ( STUDENT ))Ⅲ . σ sname ( π dept= ’ IS ’ ∧ age20( STUDENT ))A )仅 ⅠB )仅 ⅡC ) Ⅰ 和 ⅡD ) Ⅱ 和 Ⅲ

对于学生信息表: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

对于学生信息表:student(sno,sname,sex,age,dept),把所有的学生的年龄加2的操作是【 】。

设有学生数据库:student(sno,sname,sex,age,dept)。现要查询所有刘姓学生的信息,可使用如下的 SQL语句:SELECT*FROM student WHERE【 】。

设有学生信息关系STUDENT(sno, sname, sex, age, dept)。“查找信息系(IS系)中年龄小于20岁的学生的姓名”,该操作正确的关系代数表达式是______。Ⅰ.πsname(σdept='IS'∧age<20(STUDENT))Ⅱ.σdept='IS'∧age<20(πsname(STUDENT))Ⅲ.σsname(πdept='IS'∧age<20(STUDENT))A.仅ⅠB.仅ⅡC.Ⅰ和ⅡD.Ⅱ和Ⅲ

对于学生信息表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.以上均不正确

对于学生信息表: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

对于学生信息表:student(sno,sname,sex,age,dept),要查询所有刘姓学生的信息,正确的语句是A.SELECT * FROM student WHERE sname LIKE'刘 * 'B.SELECT * FROM student WHERE sname LIKE'刘 $'C.SELECT * FROM student WHERE sname LIKE'刘%'D.SELECT * FROM student WHERE sname LIKE'刘'

学生表student包含学号sno、学生姓名sname、性别sex、年龄age、所在院系dept、籍贯native等字段,其中age为整型,其余字段均为字符型。现插入一条计算机学院学生的记录,学号为s320078,姓名为张强,性别为男,年龄为20,下列语句错误的是________。A.INSERT INTO tb_student (sno, sname, sex, age, dept, native) VALUES('s320078', '张强','男',20, '计算机');B.INSERT INTO tb_student (sno, sname, sex, age, dept) VALUES('s320078', '张强','男',20, '计算机');C.INSERT INTO tb_student VALUES('s320078', '张强','男',20, '计算机',null);D.INSERT INTO tb_student (dept, sno, sname, sex, age) VALUES('计算机', 's320078', '张强','男',20);