nerdexam
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

1Z0-071 question #142 exhibit 1
1Z0-071 question #142 exhibit 2

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)
  • A
    4% (1)
  • B
    4% (1)
  • C
    12% (3)
  • D
    81% (21)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice