What is a foreign key constraint in database management?

  • A key that identifies the relationship between two tables
  • A key that is not related to any other table
  • A key that is not unique
  • A key that uniquely identifies each record in a database table
A foreign key constraint is used to enforce referential integrity in a relational database. It ensures that a value in a column (or a group of columns) of one table matches a value in another table's primary key or unique key.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *