insert into b select * from a where not exist(select * from a,b where a.name=b.name and a.model=b.model);