Table 1:
id name desc ----------------------- 1 a abc 2 b def 3 c adf
Table 2:
id na
try
UPDATE Table1 T1 SET T1.name = (SELECT T2.name FROM Table2 T2 WHERE T2.id = T1.id), T1.desc = (SELECT T2.desc FROM Table2 T2 WHERE T2.id = T1.id) WHERE T1.id IN (SELECT T2.id FROM Table2 T2 WHERE T2.id = T1.id);