ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0 051 154

OCP 1Z0 051 154

原创 Oracle 作者:LuiseDalian 时间:2014-05-28 08:58:46 0 删除 编辑
(154)View the Exhibit and evaluate structures of the SALES, PRODUCTS, and COSTS tables. Evaluate the following SQL statement:

SELECT prod_id FROM products

INTERSECT

SELECT prod_id FROM sales

MINUS

SELECT prod_id FROM costs;

Which statement is true regarding the above compound query?

A. It produces an error.

B. It shows products that were sold and have a cost recorded.

C. It shows products that were sold but have no cost recorded.

D. It shows products that have a cost recorded irrespective of sales.

答案:(C)

解析:

三个集合操作符的优先级相同。

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

上一篇: OCP 1Z0 051 158
下一篇: OCP 1Z0 051 153
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040916