您的位置:首页 > 其它

OCP-1Z0-新051-61题版本-45

2013-12-30 09:40 288 查看
QUESTION NO: 45

You work as a database administrator at ABC.com. You study the exhibit carefully.

Exhibit:



You want to create a SALE_PROD view by executing the following SQL statements:

Which statement is true regarding the execution of the above statement?

A. The view will be created and you can perform DLM operations on the view

B. The view will not be created because the join statements are not allowed for creating a view

C. The view will not be created because the GROUP BY clause is not allowed for creating a view

D. The view will be created but no DML operations will be allowed on the view

Answer: D

答案解析:

因为该视图的创建包含有组函数和group by,故不能使用DML操作该视图。

Explanation:

Rules for Performing DML Operations on a View

You cannot add data through a view if the view includes:

Group functions

A GROUP BY clause

The DISTINCT keyword

The pseudocolumn ROWNUM keyword

Columns defined by expressions

NOT NULL columns in the base tables that are not selected by the view
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: