SyntaxFix
Write A Post
Hire A Developer
Questions
Using table aliases in the join condition:
update addresses a set cid = b.id from customers b where a.id = b.id