根据SQL标准,创建一个视图,应该使用下面哪个语句?()
A CREATE TABLE
B CREATE INDEX
C CREATE VIEW
D CREATE DATABASE
第1题
根据SQL标准,创建一个视图abc,通过该视图只能对表student中系dept为‘IS’的记录进行更新操作。下面哪条语句适用?()
A create view abc as select * from student where dept=’IS’
B create view abc as select * from student where dept=’IS’ with check option
C create view abc as student where dept=’IS’
D create view abc as select dept=’IS’ from student
第2题
根据SQL标准,增加一个新的字段sdate到表student中,该字段为可容纳7个字符的定长字符串,下面哪条语句可以参考表述?()
A insert into student sdate char(7)
B add sdate char(7) to student
C append sdate varchar(7) to table student
D alter table student add sdate varchar(7)
E alter table student add sdate char(7)
F alter table student modify sdate char(7)
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!