What is the purpose of a foreign key in an Entity-Relationship Diagram (ERD)?

  • Ensures referential integrity
  • Primary identifier of a table
  • Represents a one-to-one relationship
  • Used for sorting records
A foreign key in an ERD serves the purpose of ensuring referential integrity between tables. It establishes a connection between two tables by referencing the primary key of one table as a foreign key in another, maintaining consistency and relational structure.
Add your answer
Loading...

Leave a comment

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