Which SQL constraint is used to ensure that all values in a column are unique?

Last Updated :
Discuss
Comments

Which SQL constraint is used to ensure that all values in a column are unique?

PRIMARY KEY

UNIQUE

CHECK

FOREIGN KEY

Share your thoughts in the comments