Choose twoapp
Which two statements are true about the WHERE and HAVING clouses in a SELECT statement?ide
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.it
C) The HAVING clause can be used with aggregating functions in subqueries.io
D) Aggregating functions and columns used in HAVING clauses must be spectfied in thes SELECT list of a query.table
E) The WHERE clause can be used to exclude rows before dviding them into goups.function
Answer:CEclass
(解析:having 子句是能够跟子查询进行配合使用,并且子查询中也能够有分组函数;sed
Oracle 先过滤再分组,照样子能够减小数据的处理数量;select
D 档案说在 having 子句中用到列必须出如今 select 子句中,这是不须要的。)