您的位置:首页 > 产品设计 > UI/UE

OCP 1Z0 051 QUESTION NO: 45

2014-06-03 17:36 417 查看
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?

CREATE VIEW sale_prod

AS SELECT p.prod_id, cust_id, SUM(quantity_sold) "Quantity" , SUM(prod_list_price) "Price"

FROM products p, sales s

WHERE p.prod_id=s.prod_id

GROUP BY p.prod_id, cust_id;

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

与正式题库40重复

/article/8014241.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: