Detailed explanation and options for the selected question.
Which of the following SQL constraints ensures that a column cannot contain duplicate values?
A.
UNIQUE
B.
NOT NULL
C.
CHECK
D.
DEFAULT
Explanation:
The UNIQUE constraint ensures all column values are distinct. NOT NULL prevents NULL values, CHECK enforces conditions, and DEFAULT sets a default value.