📜  使用内部连接 sql server 更新 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:28.729000             🧑  作者: Mango

代码示例2
UPDATE ProductReviews
SET    ProductReviews.status = '0'
FROM   ProductReviews
       INNER JOIN products
         ON ProductReviews.pid = products.id
WHERE  ProductReviews.id = '17190'
       AND products.shopkeeper = '89137'