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
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
相关文章推荐
- OCP-1Z0-新051-61题版本-11
- OCP-1Z0-新051-61题版本-23
- OCP-1Z0-新051-61题版本-39
- OCP-1Z0-新051-61题版本-57
- OCP-1Z0-新051-61题版本-12
- OCP-1Z0-新051-61题版本-24
- OCP-1Z0-新051-61题版本-40
- OCP-1Z0-新051-61题版本-41
- OCP-1Z0-新051-61题版本-58
- OCP-1Z0-新051-61题版本-13
- OCP-1Z0-新051-61题版本-25
- OCP-1Z0-新051-61题版本-43
- OCP-1Z0-新051-61题版本-59
- OCP-1Z0-新051-61题版本-14
- OCP-1Z0-新051-61题版本-26
- OCP-1Z0-新051-61题版本-42
- OCP-1Z0-新051-61题版本-60
- OCP-1Z0-新051-61题版本-15
- OCP-1Z0-新051-61题版本-27
- OCP-1Z0-新051-61题版本-44