218
218
create table t1(x int, y int);
219
219
create table t2(x int, z int);
220
220
insert into t1(x,y) select x,z from t2 on duplicate key update x=values(x);
222
222
insert into t1(x,y) select x,z from t2 on duplicate key update x=values(z);
224
224
insert into t1(x,y) select x,z from t2 on duplicate key update x=values(t2.x);