I have a question about MySql. I have a table with 7.479.194 records. Some records are duplicated. I would like to do this:
insert into new_table select *
MySQL has a INSERT IGNORE. From the docs:
[...] however, when INSERT IGNORE is used, the insert operation fails silently for the row containing the unmatched value, but any rows that are matched are inserted.
So you could use your query from above b just adding a IGNORE
IGNORE