I want to modify a table of my database using this sentence:
CODE
ALTER TABLE name_of_the_table ADD ID INT NOT NULL AUTO_INCREMENT
but when I use this document, I have this error:
CODE
Incorrect table definition; there can be only one auto column and it must be defined as a key
What is wrong?
Thanks.