QuestionQ72

VerifiedReporting Aggregated Data Using the Group Functions

Review the data in the ORD_ITEMS table:

Question Image

Consider the following query:

Question Image

Which statement is true about the result of the query?

Explanation

A HAVING clause is written after the GROUP BY clause in a grouped SQL query. Placing HAVING before GROUP BY produces a syntax error.

Community Discussion

No comments yet. Be the first to start the discussion!