nerdexam
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

1Z0-071 question #387 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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    86% (25)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice