create table categorys(新建的表) like category(原有的表);
insert into categorys(新建的表) select * from category(原有的表) where catid<5(条件迁移)