joins in update query
snippet in c

how to add where command in update comand with joins

user7699

UPDATE A
SET foo = B.bar
FROM TableA A
JOIN TableB B
    ON A.col1 = B.colx
WHERE ...

joins in update query

user7524

update a
join b 
on a.a_id=b.b_id 
set b.is_active = 1 
where ....;