I have these tables and values:
Table1 ------------------------ ID | Value ------------------------ 2 | asdf 4 | fdsa 5 | aaaa Table2 ---------------------
None of above answers worked for me in MySQL, the following query worked though:
UPDATE Table1 t1 JOIN Table2 t2 ON t1.ID=t2.ID SET t1.value =t2.value WHERE ...