mysql不同数据库不同数据表导入数据
2017-02-06
24
背景现在我有这么一个需求:数据库A的user表需要导入到数据库B的account表user表字段:uid,username,email,password,regdate,saltaccount表字段:id,name,email,password,type,salt导入的字段只有username,email,password,salt,并且regdate需要符合某个条件下面分几种情况来写sql,主要区分insert into和replace into情况导入...