Du skal tilføje ON DUBLIKAT NØGLE IGNORER :
INSERT INTO `tableName` (SELECT * FROM `anotherTable`) ON DUPLICATE KEY IGNORE
Info her-> http://dev.mysql.com/doc /refman/5.5/da/insert.html
Du skal tilføje ON DUBLIKAT NØGLE IGNORER :
INSERT INTO `tableName` (SELECT * FROM `anotherTable`) ON DUPLICATE KEY IGNORE
Info her-> http://dev.mysql.com/doc /refman/5.5/da/insert.html