Answers for "how to add unique constraint to a column that has duplicate values mysql"

SQL
3

how to add unique constraint in mysql table

ALTER TABLE mytbl ADD UNIQUE (columnName);
Posted by: Guest on March-06-2020

Code answers related to "how to add unique constraint to a column that has duplicate values mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language