insert into table2 select * from table1 where not in (select * from table2)