Beginner SQL
Q18 / 100

What is the purpose of the FOREIGN KEY constraint?

Correct! Well done.

Incorrect.

The correct answer is B) To link a column to the primary key of another table, enforcing referential integrity

B

Correct Answer

To link a column to the primary key of another table, enforcing referential integrity

Explanation

A FOREIGN KEY establishes a relationship between two tables by referencing the primary key (or unique key) of another table.

Progress
18/100