update table2 set field4=(select field3 from table1 where table1.field1 = table2.field1 and table1.field2 = table2.field2)