Chinaunix首页 | 论坛 | 博客
  • 博客访问: 593618
  • 博文数量: 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-10-28 16:57:13

Choose two

Which two statements are true about the WHERE and HAVING clouses in a SELECT statement?

A) The WHERE clause can be used to exclude rows after divding them into groups

B) WHERE and HAVING clauses can be used In the same statement only if applied to dfferent table columns.

C) The HAVING clause can be used with aggregating functions in subqueries.

D) Aggregating functions and columns used in HAVING clauses must be spectfied in thes SELECT list of a query.

E) The WHERE clause can be used to exclude rows before dviding them into goups.

Answer:CE

(解析:having 子句是可以跟子查询进行配合使用,而且子查询中也可以有分组函数;

Oracle 先过滤再分组,照样子可以减少数据的处理数量;

D 档案说在 having 子句中用到列必须出现在 select 子句中,这是不需要的。)

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