1Z0-007 · Question #32
Which clause should you use to exclude group results?
The correct answer is B. HAVING. HAVING clause is used to weed out unwanted data once the data is grouped using the GROUP Incorrect Answers A: WHERE clause cannot be used for this purpose. C: There is no RESTRICT command in Oracle. D: GROUP BY cannot be used itself to exclude group results. E: ORDER BY clause…
Question
Which clause should you use to exclude group results?
Options
- AWHERE
- BHAVING
- CRESTRICT
- DGROUP BY
- EORDER BY
How the community answered
(43 responses)- A9% (4)
- B81% (35)
- C5% (2)
- D2% (1)
- E2% (1)
Explanation
HAVING clause is used to weed out unwanted data once the data is grouped using the GROUP Incorrect Answers A: WHERE clause cannot be used for this purpose. C: There is no RESTRICT command in Oracle. D: GROUP BY cannot be used itself to exclude group results. E: ORDER BY clause may be used only to sort final results, not to exclude group results.
Topics
Community Discussion
No community discussion yet for this question.