Oracle
1Z0-071 · Question #312
Examine the description of the EMPLOYEES table: Which query is valid?
The correct answer is D. SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id. See the full explanation below for the reasoning.
Question
Examine the description of the EMPLOYEES table:
Which query is valid?
Exhibit
Options
- ASELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id;
- BSELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id;
- CSELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date;
- DSELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id;
How the community answered
(56 responses)- A5% (3)
- B2% (1)
- C7% (4)
- D86% (48)
Community Discussion
No community discussion yet for this question.
