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