I want to select one row in a table and insert it into another table like this:
INSERT INTO positionenneu
select *
from positionenneu_0603 where belegnummer like '4106192%'
I got an error because of duplicating id values. In both tables is id primary key AUTO_INCREMENT. How can I do this without id column? Thank you for the answer. Have a nice day!
select *, then.select all,the,fields,except,the,ones,you,dont,want ...