[August 2019] OCP latest version of the 071 certification exams test original topic - question 18

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

(Parsing: having sub-clause can be used in conjunction with the query, and the subquery can also group functions;

Oracle first packet and then filtered, like as reducing the number of processing data;

D file having said in clause used in the column must appear in the select clause, it is not required. )

Guess you like

Origin blog.51cto.com/13854012/2446028