题目内容

创建视图需要具有什么权限?( )

A. CREATE VIEW
B. SHOW VIEW
C. DROP VIEW
DROP

查看答案
更多问题

不可对视图执行的操作有( )。

A. SELECT
B. INSERT
C. DELETE
D. CREATE INDE

在tb_name表中创建一个名为name_view的视图,并设置视图的属性为name、pwduser,执行语句是什么?( )

A. CREATE VIEW name_view(name,pwd,user)AS SELECT name.pwd,user FROM tb_mame;
B. SHOW VIEW name_view(name,pwd,user) AS SELECT name,pwd,user FROM tb_mame:
C. DROP VIEW name_view(name,pwd,user) AS SELECT name,pwd,user FROM tb_mame:
D. SELECT * FROM name_view(name,pwd,user) AS SELECT name,pwd,user FROM tb_ name:

下面哪条语句创建的视图是不可以更新的?()

A. CREATE VIEW book view1(a_sort,a_book) AS SELECT sort,books,count(name)FROM tb_book;
B. CREATE VIEW book view1(a_sort,a_book) AS SELECT sort,books,FROM ib_book;
CREATE VIEW book viewl(a_sort,a_book) AS SELECT sort,books.WHERE FROM tb_ book;
D. 以上都不对

请解释视图与表的区别有哪些。

答案查题题库