Answers for "how to update mysql column to be unique"

SQL
1

mysql alter table set column unique

ALTER TABLE contacts
ADD CONSTRAINT contacts_unique UNIQUE (reference_number);
Posted by: Guest on June-17-2020

Code answers related to "how to update mysql column to be unique"

Code answers related to "SQL"

Browse Popular Code Answers by Language