Multiple choice technology databases

Can I define multiple unique constraints on a table?

  1. True

  2. False

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

A table can have multiple UNIQUE constraints, each enforcing uniqueness on a different column or combination of columns. This is different from a PRIMARY KEY, of which a table can only have one. UNIQUE constraints are commonly used on columns like email, username, or phone number where duplicates should not occur.