1Z0-007

单选题You are granted the CREATE VIEW privilege. What does this allow you to do?()A Create a table view.B Create a view in any schema.C Create a view in your schema.D Create a sequence view in any schema.E Create a view that is accessible by everyone.F Creat

题目
单选题
You are granted the CREATE VIEW privilege. What does this allow you to do?()
A

Create a table view.

B

Create a view in any schema.

C

Create a view in your schema.

D

Create a sequence view in any schema.

E

Create a view that is accessible by everyone.

F

Create a view only of it is based on tables that you created.

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下列SQL语句中,包含了不正确定义语句的组是( )。

Ⅰ. CREATE TABLE CREATE VIEW CREATE INDEX

Ⅱ. DROP TABLE DROP VIEW DROP INDEX

Ⅲ. ALTER TABLE ALTER VIEW ALTER INDEX

A)只有I

B)只有Ⅱ

C)只有Ⅲ

D)Ⅰ和Ⅱ


正确答案:C
关系数据库由模式、外模式和内模式组成,即关系数据库的基本对象是表、视图和索引。因此,SQL的数据定义功能包括定义表、定义视图和定义索引,如下表所示。由于视图是基于基本表的虚表,索引是依附于基本表的,因此SQL通常不提供修改视图定义和修改索引定义的操作。
   

第2题:

You need to perform these tasks:1. Create and assign a MANAGER role to Blake and Clark2. Grant CREATE TABLE and CREATE VIEW privileges to Blake and ClarkWhich set of SQL statements achieves the desired results? ()

A. CREATE ROLE manager; GRANT create table, create view TO manager; GRANT manager TO BLACK, CLARK;

B. CREATE ROLE manager; GRANT create table, create voew TO manager; GRANT manager ROLE TO BLACK, CLARK;

C. GRANT manager ROLE TO BLACK, CLARK; GRANT create table, create voew TO BLACK CLARK; ***MISSING***


参考答案:A

第3题:

( 31 )下列 SQL 语句中,哪一(些)组包含了不正确的定义语句?

I . CREATE TABLE … CREATE VIEW … CREATE INDEX …

II . DROP TABLE … DROP VIEW … DROP INDEX …

III . ALTER TABLE … ALTER VIEW … ALTER INDEX …

A )只有 I

B )只有 II

C )只有 III

D ) I 和 II


正确答案:C

第4题:

SQL命令中建立表的命令是A) CREATE VIEW B)CREATE LABELC)CREATE DABATE D)CREATE TABLE


正确答案:D
SQL命令中建立表义件约命令是CREATE TABLE,它可以实现表设计器所完成的所有功能。故选项D为正确答案。

第5题:

You need to create a view EMP_VU. The view should allow the users to manipulate the records of only the employees that are working for departments 10 or 20. Which SQL statement would you use to create the view EMP_VU? ()

A. CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department _ id IN (10,20);

B. CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH READ ONLY;

C. CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH CHECK OPTION;

D. CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WITH department_id IN (10,20);

E. CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) NO UPDATE;


参考答案:C

第6题:

Your network contains a server named Server1 that runs Windows Server 2008 R2.You need to ensure that an administrator is notified by e-mail if the Event Viewer logs any error.What should you do from the Event Viewer console?()

A. Create a custom view, and then click the Filter Current Custom View action.

B. Create a custom view, and then click the Attach Task to This Custom View action.

C. From the System log, click the Filter Current Log action.

D. From the System log, select an Error event, and then click the Attach Task to This Event action.


参考答案:B

第7题:

You are granted the CREATE VIEW privilege. What does this allow you to do? ()

A. Create a table view.

B. Create a view in any schema.

C. Create a view in your schema.

D. Create a sequence view in any schema.

E. Create a view that is accessible by everyone.

F. Create a view only of it is based on tables that you created.


参考答案:C

第8题:

(32)下列 SQL 的数据定义语句组中,( )包含了不正确的数据定义语句。

Ⅰ.CREATE TABLE? CREATE VIEW? CREATE INDEX?

Ⅱ.DROP TABLE? DROP VIEW? DROP INDEX?

Ⅲ.ALTER TABLE? ALTER VIEW? ALTER INDEX?

A)仅Ⅰ

B)仅Ⅱ

C)仅Ⅲ

D)都包含


正确答案:C

(32)【答案】C)
【解析】由SQL中数据定义语句的格式可知,III中的ALTER VIEW…应为UPDATE VIEW

第9题:

下列SQL的数据定义语句组中,哪一组是正确的?

A.CREATE SCHEMA...,DROP SCHEMA…,ALTER SCHEMA…

B.CREATE TABLE......,DROP TABLE....,ALTER TABLE....

C.CREATE VIEW..:,DROP VIEW...,ALTER VIEW…

D.CREATE INDEX...,DROP INDEX…,ALTER INDEX…


正确答案:B

第10题:

下列SQL语言的定义语句组中,哪一(些)组包含了不正确的定义语句?

I . CREATE TABLE...CREATE VIEW... CREATE INDEX...

Ⅱ. DROP TABLE... DROP VIEW... DROP INDEX...

Ⅲ. ALTER TABLE...ALTER VIEW...ALTER INDEX...


正确答案:C
关系数据库由模式、外模式和内模式组成,即关系数据库的基本对象是表、视图和索引。因此,SQL的数据定义功能包括定义表、定义视图和定义索引,如下表所示。由于视图是基于基本表的虚表,索引是依附于基本表的,因此SQL通常不提供修改视图定义和修改索引定义的操作。

更多相关问题