加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

【12c OCP】CUUG OCP认证071考试原题解析(36)

发布时间:2020-12-14 04:23:17 所属栏目:大数据 来源:网络整理
导读:36.choose the best answer View the Exhibits and examine the structures of the PRODUCTS,SALES,and CUSTOMERS tables. ? You issue the following query: SQLSELECT p.prod_id,prod_name,prod_list_price, quantity_sold,cust_last_name FROM products p

36.choose the best answer

View the Exhibits and examine the structures of the PRODUCTS,SALES,and CUSTOMERS tables.

?

You issue the following query:

SQL>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 a column used in the NATURAL join cannot have a qualifier.

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

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

Answer:B

(解析:执行该语句时返回错误:

SELECT p.prod_id,

*

第 1 行出现错误:

ORA-25155: NATURAL 联接中使用的列不能有限定词

)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读