Hello i have table which has a primary key now on the basis of my need i have to create another primary key means the second primary key but its showing this error message
"ALTER TABLE `abc` ADD PRIMARY KEY(`zzz`)
MySQL said: Documentation
#1068 - Multiple primary key define"
Here is the command:
ALTER TABLE `ABC` ADD PRIMARY KEY(`ZZZ`)