Intermediate SQL
Q73 / 100

What is the purpose of "CHECK" constraints?

Correct! Well done.

Incorrect.

The correct answer is B) To enforce that values in a column satisfy a specific boolean condition before being accepted

B

Correct Answer

To enforce that values in a column satisfy a specific boolean condition before being accepted

Explanation

A CHECK constraint defines a condition that every row must satisfy, e.g. "CHECK (age >= 0)", rejecting inserts/updates that violate it.

Progress
73/100