Oracle
1Z0-071 · Question #387
Examine this data in the EMPLOYEES table: Which statement will execute successfully?
The correct answer is C. SELECT dept_id, MAX(last_name), SUM(salary) FROM employees GROUP BY dept_id. See the full explanation below for the reasoning.
Question
Examine this data in the EMPLOYEES table:
Which statement will execute successfully?
Exhibit
Options
- ASELECT dept_id, INSTR(last_name, `A'), SUM(salary) FROM employees GROUP BY dept_id;
- BSELECT dept_id, STDDEV(last_name), SUM(salary) FROM employees GROUP BY dept_id;
- CSELECT dept_id, MAX(last_name), SUM(salary) FROM employees GROUP BY dept_id;
- DSELECT dept_id, LENGTH(last_name), SUM(salary) FROM employees GROUP BY dept_id;
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- C86% (25)
- D7% (2)
Community Discussion
No community discussion yet for this question.
