sql remove unique code example
Example 1: how to remove unique key in mysql
ALTER TABLE mytable DROP INDEX key_Name;
Example 2: how to drop a unique constraint in sql
SHOW CREATE TABLE [tableName]
-- Find the constraintID after CONSTRAINT 'constraintID'
ALTER TABLE [tableName] DROP FOREIGN KEY constraintID
Example 3: mysql drop key
ALTER TABLE tbl_quiz_attempt_master
DROP INDEX `PRIMARY`;