时间:2021-07-01 10:21:17 帮助过:3人阅读
use hunlian; select * into member_backup in hunlian-test.mdb from hunlian.dbo.member;
[SQL]use hunlian Affected rows: 0 Time: 0.007s [SQL] select * into member_backup in hunlian-test.mdb from hunlian.dbo.member [Err] 42000 - [SQL Server]关键字 ‘in‘ 附近有语法错误。 Affected rows: 0
use hunlian; /*因两表含有相同的id字段,直接select * from会冲突*/ select member.name,member.mail,userinfo.city,userinfo.birthday into member_backup from member inner join userinfo on member.id = userinfo.id; select * from member_backup; select * from member inner join userinfo on member.id = userinfo.id;
MySQL 表备份
标签:mysql