update table a, table b
set a.filed1= b.field2, a.field2= b.field1
where a.id = b.id
转载于:https://www.cnblogs.com/refuge/p/9635599.html
update table a, table b
set a.filed1= b.field2, a.field2= b.field1
where a.id = b.id
转载于:https://www.cnblogs.com/refuge/p/9635599.html