Which SQL constraint is used to ensure that a column only contains values from a specified set?

Last Updated :
Discuss
Comments

Which SQL constraint is used to ensure that a column only contains values from a specified set?

PRIMARY KEY

UNIQUE

CHECK

FOREIGN KEY

Share your thoughts in the comments