Since I can't find any query here that works for me I've decided to ask a question.
I have table1 which has the next columns:
id | name | address | other_id
-------------------------------
1 | john | blvd 123| null
I have table2 which has the next columns:
id | other_id
--------------
1 | 20301
I would like to update table1.other_id with the table2.other_id according to the id.
What's the syntax for it ?
Thanks.