title是唯一索引,使用ignore忽略错误
insert ignore into table_1(`title`,`slug`,`type`) select `title`,`slug`,`type` from table_2;