i got 2 tables that i want to combine its data. the id is my key field (incremental and distinct). table 1 and table 2 field description for example: id - name - value
i want to insert all of table 2 data into table 1, they have different data but in some rows the same id.
so when i try to: INSERT INTO ladatabase.table2 SELECT * from ladatabase.table1;
i get duplicate entry error.
please help me to suggest how can i solve it and combine the data with different id values for the new data.
Alex.