Answers for "sql server update select inner join"

SQL
1

update with inner join sql server

UPDATE R 
SET R.status = '0' 
FROM dbo.ProductReviews AS R
INNER JOIN dbo.products AS P 
       ON R.pid = P.id 
WHERE R.id = '17190' 
  AND P.shopkeeper = '89137';
Posted by: Guest on November-10-2021
0

update with inner join sql server

UPDATE ProductReviews
SET    ProductReviews.status = '0'
FROM   ProductReviews
       INNER JOIN products
         ON ProductReviews.pid = products.id
WHERE  ProductReviews.id = '17190'
       AND products.shopkeeper = '89137'
Posted by: Guest on November-10-2021

Code answers related to "sql server update select inner join"

Code answers related to "SQL"

Browse Popular Code Answers by Language