Oracle Database 12c SQL 1z0-071 Question # 66 Topic 7 Discussion

Oracle Database 12c SQL 1z0-071 Question # 66 Topic 7 Discussion

1z0-071 Exam Topic 7 Question 66 Discussion:
Question #: 66
Topic #: 7

Examine the description of the EMPLOYEES table:

1z0-071 Question 66

Which statement increases each employee's SALARY by the minimum SALARY for their DEPARTM

ENT_ID?


A.

UPDATE employees e1

SET salary =(SELECT e2. salary + MIN(e2.salary)

FROM employees e2

WHERE e1.department_ id = e2. department_id GROUP BY e2. department_id) ;


B.

UPDATE employees e1

SET salary = salary +

(SELECT MIN(e1. salary)

FROM employees e2

WHERE e1.department_id = e2 .department_id);


C.

UPDATE employees e1

SET salary = salary+(SELECT MIN (salary)

FROM employees e2) ;


D.

UPDATE employees e1

SET salary=

(SELECT e1.salary + MIN(e2.salary)

FROM employees e2

WHERE e1. department_ id = e2.department_id);


Get Premium 1z0-071 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.