Primary key already exists (Error 1883)
You have attempted to use the ADD PRIMARY KEY clause of the ALTER TABLE command on a table that already has a primary key.
Remove the existing primary key first.
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
You have attempted to use the ADD PRIMARY KEY clause of the ALTER TABLE command on a table that already has a primary key.
Remove the existing primary key first.