【发布时间】:2012-07-23 15:54:28
【问题描述】:
我在执行 follow 语句时收到一条错误消息:
UPDATE dept d
SET city = ALL (SELECT city FROM locations l
WHERE d.location_id = l.location_id);
当我摆脱 ALL 运算符时,成功。
UPDATE dept d
SET city = (SELECT city FROM locations l
WHERE d.location_id = l.location_id);
谁能告诉我“ALL”运算符是什么?
【问题讨论】: