修改视图vsex以查询stinfo表中女学生信息的正确语句是( )。
A: ALTER VIEW vsex AS SELECT * FROM stinfo WHERE 姓名 ='女'
B: MODIFY TABLE vsex AS SELECT * FROM stinfo WHERE 性别= '女'
C: ALTER VIEW vsex AS SELECT * FROM stinfo WHERE 性别 ='女'
D: ALTER TABLE vsex AS SELECT * FROM stinfo WHERE 性别= '女'
A: ALTER VIEW vsex AS SELECT * FROM stinfo WHERE 姓名 ='女'
B: MODIFY TABLE vsex AS SELECT * FROM stinfo WHERE 性别= '女'
C: ALTER VIEW vsex AS SELECT * FROM stinfo WHERE 性别 ='女'
D: ALTER TABLE vsex AS SELECT * FROM stinfo WHERE 性别= '女'
举一反三
- 从学生表student查询所有女学生的信息,正确的语句是( )。 A: SELECT B: FROM student where 性别="女"; C: SELECT * FROM student where 性别="女"; D: SELECT ? FROM student where 性别="女"; E: SELECT FROM student where 性别="女";
- 语句 SELECT * FROM StInfo WHERE ClName = (SELECT ClName FROM StInfo WHERE StName='金萍') 是查询和金萍同班的同学的信息
- 用SQL语言描述“在学生表中查找女学生的全部信息”,以下语句中正确的是( )。 A: SELECT FROM学生表IF(性别=’女’) B: SELECT性别FROM学生表IF(性别=’女’) C: SELECT*FROM学生表WHERE(性别=’女’) D: SELECT*FROM性别WHERE(性别=’女’)
- 从学生表student查询所有女学生的信息,正确的语句是( )。 A: SELECT B: FROM student where 性别="女"; C: SELECT * FROM student where 性别="女"; D: SELECT ? FROM student where 性别="女"; E: SELECT FROM student where 性别="女";
- 以下代码,创建St_view视图以查询StInfo表中女生的所有信息。(注:请用大写字母答题)CREATE ______ St_viewAS SELECT * FROM StInfo WHERE St_sex=‘女’