Oracle
1Z0-071 · Question #156
Which two statements are true regarding the WHERE and HAVING clauses in a SELECT statement? (Choose two.)
The correct answer is D. The HAVING clause can be used with aggregate functions in subqueries. E. The WHERE clause can be used to exclude rows before dividing them into groups. See the full explanation below for the reasoning.
Question
Which two statements are true regarding the WHERE and HAVING clauses in a SELECT statement? (Choose two.)
Options
- AThe WHERE and HAVING clauses can be used in the same statement only if they are applied to
- BThe aggregate functions and columns used in the HAVING clause must be specified in the
- CThe WHERE clause can be used to exclude rows after dividing them into groups.
- DThe HAVING clause can be used with aggregate functions in subqueries.
- EThe WHERE clause can be used to exclude rows before dividing them into groups.
How the community answered
(55 responses)- A4% (2)
- B5% (3)
- C11% (6)
- D80% (44)
Community Discussion
No community discussion yet for this question.