Is there a way to insert into one table a particular row from another table in one statement? Both tables are identical in terms of columns. Or do I have to select * from the latter and insert into values() into the first table?
Another question. My main table has an autoincrement field. I am adding to it a line from another identically structured table. This line will probably have a number in the autoincrement field which will clash with the preexisting (unique) autoincrementing number in the main table.
How do I 'write over' the old entry which had that same number? I need that field to be autoincrementing and unique.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.