转自
update table1 t1 left join table2 t2 on t1.key=t2.key set t1.field1=t2.field1, t1.field2=t2.field2, t1.field3=t2.field3 where t1.field4 is null and t2.field4 > '2017-04-27';
本文共 241 字,大约阅读时间需要 1 分钟。
转自
update table1 t1 left join table2 t2 on t1.key=t2.key set t1.field1=t2.field1, t1.field2=t2.field2, t1.field3=t2.field3 where t1.field4 is null and t2.field4 > '2017-04-27';
转载于:https://www.cnblogs.com/lijingran/p/9034839.html