What is the main function of a foreign key in a relational database?

Practice Questions

Q1
What is the main function of a foreign key in a relational database?
  1. To uniquely identify a record
  2. To establish a relationship between two tables
  3. To enforce data integrity
  4. To improve query performance

Questions & Step-by-Step Solutions

What is the main function of a foreign key in a relational database?
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely