UPDATE dept d SET city = ALL (SELECT city FROM locations l WHERE d.location_id = l.location_id);
UPDATE dept d SET city = (SELECT city FROM locations l) WHERE d.location_id = l.location_id;
UPDATE dept d SET city = ANY (SELECT city FROM locations l)
UPDATE dept d SET city = (SELECT city FROM locations l WHERE d.location_id = l.location_id);