QuestionQ182

VerifiedReporting Aggregated Data Using the Group Functions

Review the structure of the EMP_DEPT_VU view:

Question Image

Which SQL statement results in an error?

Explanation

All listed SELECT statements are valid. The view contains every referenced column, and each query that uses SUM or AVG includes every nonaggregated selected column in its GROUP BY clause. The WHERE predicate and aggregate HAVING predicate are also valid.

Community Discussion

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