create table Users ( id int not null, UserName varchar(20) not null, UserPassword varchar(20) not null )Use book Create view au_book (id,UserName,UserPassword) AS Select * From Usersinsert au_book(UserName,UserPassword) values('2','2')update au_book set UserName='3dd' where id=2delete from au_book where id=1
(
id int not null,
UserName varchar(20) not null,
UserPassword varchar(20) not null
)Use book
Create view au_book
(id,UserName,UserPassword)
AS
Select *
From Usersinsert au_book(UserName,UserPassword)
values('2','2')update au_book
set UserName='3dd'
where id=2delete from au_book
where id=1
A.视图能简化用户的操作
B.视图机制可以使用户以不同的方式查询同一数据
C.视图对数据库重构提供了一定程度的逻辑独立性
D.视图可以对机密的数据提供安全保护
要修改、删除和添加操作则需要使用存储过程。