MySQL-1093 - You can't specify target table 'product' for update in FROM clause

原來的SQL語句sql UPDATE product p SET p.price_strategy = 'FREE' WHERE p.id IN ( SELECT p1.id FROM product p1 LEFT JOIN price_info price ON p1.id = price.product_id WHERE p1.tag = 1 AND
相關文章
相關標籤/搜索