0
在MySQL中,這不運行:MySQL的選擇重構
delete from robottinosino where date = (select max(date) from robottinosino);
錯誤消息:
ERROR 1093(HY000):您不能指定目標表 'robottinosino' 在 更新FROM子句
問:
- 爲什麼? (強調「爲什麼」,所以Q沒有不準確地標記爲「重複」)
- 如何解決?
http://stackoverflow.com/questions/4562787/how-to-delete-from-select-in-mysql – ethrbunny 2012-07-17 14:48:34
http://stackoverflow.com/questions/45494/mysql-error-1093 -cant-specified-target-table-for-update-in-from-clause,http://stackoverflow.com/questions/4471277/mysql-delete-from-with-subquery-as -條件 – 2012-07-17 14:50:04