nerdexam
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

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

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice