对于学生信息表:student(sno,sname,sex,age,dept),如果把学生“张明”的姓名改为“张岩”,则正确的语句是A.UPDATE SET sname='张明'WHERE sname='张岩'B.UPDATE student SET shame='张明'WHERE shame='张岩'C.UPDATE student SET sname='张岩'D.UPDATE student SET sname='张岩'WHERE sname='张明'
对于学生信息表:student(sno,sname,sex,age,dept),如果把学生“张明”的姓名改为“张岩”,则正确的语句是
A.UPDATE SET sname='张明'WHERE sname='张岩'
B.UPDATE student SET shame='张明'WHERE shame='张岩'
C.UPDATE student SET sname='张岩'
D.UPDATE student SET sname='张岩'WHERE sname='张明'
相关考题:
( 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),如果把学生“小明”的姓名改为“小强”,则正确的语句是( )。A)UPDATE SET sname=‘小明’WHERE sname=‘小强’B)UPDATE student SET sname=‘小明’WHERE sname=‘小强’C)UPDATE student SET sname=‘小强’D)UPDATE student SET sname=‘小强’WHERE sname=‘小明’
设有学生信息关系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),如果把学生“张明”的姓名改为“张岩”,则正确的语句是A.UPDATE SET sname='张明'WHERE sname='张岩'B.UPDATE student SET sname='张明' WHERE sname='张岩'C.UPDATE student SET sname='张岩'D.UPDATE student SET sname='张岩' WHERE sname='张明'
对于学生信息表:student(sno,shame,sex,age,dept),如果把学生“张明”的姓名改为“张岩”,则正确的语句是A.UPDATE SET sname='张明'WHERE sname='张岩'B.UPDATE student SET sname='张明'WHERE sname='张岩'C.UPDATE student SET sname='张岩'D.UPDATE student SET sname='张岩'WHERE sname='张明'
对于学生信息表:student(sno,sname,sex,age,dept),如果把学生“张明”的姓名改;“张岩”,则正确的语句是A.UPDATE SET sname='张明'WHERE sname='张岩'B.UPDATE student SET sname='张明'WHERE sname='张岩'C.UPDATE student SET sname='张岩'D.UPDATE student SET sname='张岩'WHERE sname='张明'
学生表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);