QuestionQ91

VerifiedManipulating Data

Review the description of the EMPLOYEES table:

Question Image

Which query is valid?

Explanation

A grouped Oracle SQL query may select aggregate expressions and expressions included in its GROUP BY clause. Grouping by DEPT_ID and JOIN_DATE permits both columns in the select list, while SUM(SALARY) produces the aggregate for each such group.

Learn more

Community Discussion

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