Question Details

Detailed explanation and options for the selected question.

What is the function of the FOREIGN KEY constraint in a table?

A. To enforce referential integrity between tables
B. To allow duplicate values in a column
C. To ensure all values are unique
D. To create an index on the column

Explanation:

The FOREIGN KEY constraint enforces referential integrity by linking columns between tables. It does not allow duplicates or enforce uniqueness unless specified.