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

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

文章分类

全部博文(487)

文章存档

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-03-01 13:56:06

-------------------------------------------------------

51、(12-10)choose the best answer:

Evaluate the following SQL statement:

SQL> SELECT cust_id, cust_last_name

FROM customers

WHERE cust_credit_limit IN

(select cust_credit_limit

FROM customers

WHERE cust_city ='Singapore');

Which statement is true regarding the above query if one of the values generated by the subquery is NULL?

A) It ignores the NULL value and generates output for the other values produced by the subquery.

B) It produces an error.

C) It generates output for NULL as well as the other values produced by the subquery.

D) It executes but returns no rows.

Answer:A

(解析,子查询中如果有出现某行值为 null,则忽略该行,其它的正常处理,原来 051 的考题。

类似的语句:

select ename from emp where empno in (select mgr from emp);

ENAME

----------

FORD

BLAKE

KING

JONES


CLARK

阅读(704) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~