MySQL INSERT SELECT - Duplicate rows

后端 未结 2 1498
孤城傲影
孤城傲影 2021-01-23 23:45

I want to do an INSERT SELECT query like this:

INSERT INTO `tableName` (SELECT * FROM `anotherTable`) 

The problem is when it finds a duplicate

2条回答
提交回复
热议问题