Answers for "how to use join in update query in sql"

SQL
2

join update query in sql

UPDATE A
SET foo = B.bar
FROM TableA A
JOIN TableB B
    ON A.col1 = B.colx
WHERE ...
Posted by: Guest on August-03-2020
0

joins in update query

update a
join b 
on a.a_id=b.b_id 
set b.is_active = 1 
where ....;
Posted by: Guest on January-20-2021

Code answers related to "how to use join in update query in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language