Oracle
1Z0-071 · Question #142
View the Exhibit and examine the structure of the PRODUCTS table. You must display the category with the maximum number of items. You issue this query: What is the result?
The correct answer is D. It generate an error because the subquery does not have a GROUP BY clause. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the structure of the PRODUCTS table. You must display the category with the maximum number of items. You issue this query:
What is the result?
Exhibits
Options
- AIt generates an error because = is not valid and should be replaced by the IN operator.
- BIt executes successfully but does not give the correct output.
- CIt executes successfully and gives the correct output.
- DIt generate an error because the subquery does not have a GROUP BY clause.
How the community answered
(26 responses)- A4% (1)
- B4% (1)
- C12% (3)
- D81% (21)
Community Discussion
No community discussion yet for this question.

