一、 如果两张表(导出表和目标表)的字段一致
mysql> insert into student_part1 select * from student_part2;
Query OK, 4 rows affected (0.00 sec)
Records: 4 Duplicates: 0 Warnings: 0
二:字段不一致:
mysql> insert into student_part1(stu_no,stu_name,gender,score) select stu_no,stu_name,gender,score from student_part2;
Query OK, 4 rows affected (0.00 sec)
Records: 4 Duplicates: 0 Warnings: 0
表student_part1:
表student_part2:
插入成功: