博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【12c OCP】CUUG OCP认证071考试原题解析(36)
阅读量:7078 次
发布时间:2019-06-28

本文共 837 字,大约阅读时间需要 2 分钟。

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,prod_name,prod_list_price,

*

第 1 行出现错误:

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

)

转载于:https://www.cnblogs.com/cnblogs5359/p/10430423.html

你可能感兴趣的文章
判断对象属性中是否有空值
查看>>
语境驱动测试7原则
查看>>
解读cdsn 600万 用户信息泄露事件,打开CSDN 600万用户数据之迷
查看>>
Nagios监控搭建与配置详细步骤
查看>>
Tomcat内存设置
查看>>
20经典英语谚语
查看>>
设计模式概述
查看>>
java axis webservice 开发实例
查看>>
OOA/OOP/OOD
查看>>
css-reset
查看>>
Maven镜像
查看>>
响应式Web设计(二):响应式Web设计的概念
查看>>
AngularJS' Internals In Depth(深入理解 AngularJS)
查看>>
Keras实现的文本情感分类例子
查看>>
StringBuilder和StringBuffer有什么区别?
查看>>
定制MyBatis Generator输出内容
查看>>
JAVA流之管道流PipedInputStream,PipedOutputStream
查看>>
golang gopath的新用法
查看>>
Java线程中断的本质深入理解
查看>>
Git---基础(转)
查看>>