时间:2021-07-01 10:21:17 帮助过:41人阅读
1.insert into `table` (con1,con2) select con1,con2 from `table2`; 从order2读取数据读入sign,其中position没有相应字段,统一输入position,city插入空值,
insert into `sign`(name,tel,weixin,email,position,source,ip,city,addtime) select name,tel,wechat,email,‘position‘,source,ip,‘‘,addtime from `order2`;
sql语句
标签:空值 wechat into 语句 读取数据 sig pos 统一 name