What does the SQL constraint "FOREIGN KEY" do?

Last Updated :
Discuss
Comments

What does the SQL constraint "FOREIGN KEY" do?

Ensures that all values in a column are unique

Specifies a default value for a column

Links a column to a primary key in another table

Enforces a condition on the values allowed in a column

Share your thoughts in the comments