ITPub博客

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

OCP 1Z0-051-120

原创 Oracle 作者:LuiseDalian 时间:2014-05-21 06:40:41 0 删除 编辑
(120)View the Exhibits and examine the structures of the PRODUCTS, SALES, and CUSTOMERS tables. You issue the following query:

SELECT p.prod_id, prod_name, prod_list_price, quantity_sold, cust_last_name

FROM products p NATURAL JOIN sales s NATURAL JOIN customers c

WHERE prod_id =148;

Which statement is true regarding the outcome of this query?

A. It executes successfully.

B. It produces an error because the NATURAL join can be used only with two tables.

C. It produces an error because a column used in the NATURAL join cannot have a qualifier.

D. It produces an error because all columns used in the NATURAL join should have a qualifier.

答案:(C)

解析:

虽然没有表结构,但可以猜到

A(X),作为隐式的连接条件的列,不能使用修饰符。因为products和sales在进行连接时需要使用prod_id作为连接条件

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

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

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6042967