Multiple choice

Which constraint is used to ensure that all the values in the column are different?

  1. NOT NULL constraint

  2. DEFAULT constraint

  3. PRIMARY key

  4. UNIQUE constraint

  5. FOREIGN key

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

UNIQUE Constraint: Ensures that all values in a column are different.