View the Exhibit and examine the descriptions of the DEPT and LOCATIONS tables.
You want to update the CITY column of the DEPT table for all the rows with the
corresponding value in the CITY column of the LOCATIONS table for each department.
Which SOL statement would you execute to accomplish the task?
A.
UPDATE deptd
SET city = ANY (SELECT city FROM locations I);
B.
UPDATE deptd
SET city = (SELECT city
FROM locations I)
WHERE d.location_id = l.location_id;
C.
UPDATE deptd
SET city = (SELECT city
FROM locations I
WHERE d.location_id = l.location_id);
D.
UPDATE deptd
SET city = ALL (SELECT city
FROM locations I
WHERE d.location_id = l.location_id);
C