1
我做這樣說:如何更新第3行中的列與MySQL中第2行中的列相同?
UPDATE products
SET products_image = (SELECT products_image
FROM products
WHERE products_id = 2)
WHERE products_id = 3;
...但得到一個錯誤:
ERROR 1093 (HY000): You can't specify target table 'products' for update in FROM clause