时间:2021-07-01 10:21:17 帮助过:22人阅读
select concat(‘insert into `tablename`(user,provinceid,cityid,dialcode,cityname,addtime,proflag)
values(\‘‘,user,‘\‘,\‘‘,provinceid,‘\‘,\‘‘,cityid,‘\‘,\‘‘,dialcode,‘\‘,\‘‘,cityname,‘\‘,\‘‘,addtime,‘\‘,\‘‘,proflag,‘\‘);‘)
FROM `tablename` where provinceid in(1,2,3) INTO OUTFILE ‘D:/data.sql‘
mysql sql 备份部分数据
标签:name dial code from dia value user rom 分数