ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-40

OCP 1Z0-051-40

原创 Oracle 作者:LuiseDalian 时间:2014-05-12 07:03:58 0 删除 编辑
(40)View the Exhibit to examine the description for the SALES and PRODUCTS tables. You want to create a SALE_PROD view by executing the following SQL 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;

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


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

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

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

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


答案:(B)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1158775/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OCP 1Z0-051-39
下一篇: OCP 1Z0-051-31
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040893