Foreign key
What is a foreign key?
A foreign key is an ID field in one database table that corresponds to the entity key (a.k.a. the primary key) of another table, establishing a relationship between the two tables.
A foreign key is an ID field in one database table that corresponds to the entity key (a.k.a. the primary key) of another table, establishing a relationship between the two tables.