Question Details

Detailed explanation and options for the selected question.

Which SQL keyword is used to ensure that no two rows have the same value in a column?

A. UNIQUE
B. NOT NULL
C. CHECK
D. FOREIGN KEY

Explanation:

UNIQUE ensures no two rows have the same value in a column. NOT NULL prevents NULLs, CHECK enforces conditions, and FOREIGN KEY links tables.