Chinaunix首页 | 论坛 | 博客
  • 博客访问: 673889
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4936
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2024年(2)

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-02-25 13:24:45

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 联接中使用的列不能有限定词
)
阅读(789) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~