Question Details

Detailed explanation and options for the selected question.

Which SQL constraint ensures that a column cannot have NULL values?

A. NOT NULL
B. UNIQUE
C. CHECK
D. DEFAULT

Explanation:

NOT NULL ensures that a column cannot have NULL values. UNIQUE ensures distinct values, CHECK enforces conditions, and DEFAULT sets a default value.