首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【2019年8月】OCP 071认证考试最新版本的考试原题-第18题

【2019年8月】OCP 071认证考试最新版本的考试原题-第18题

原创
作者头像
用户5892232
修改2019-10-28 18:02:39
3620
修改2019-10-28 18:02:39
举报

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 子句中,这是不需要的。)

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档