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