0
2.1kviews
Define foreign key.
2 Answers
0
18views

FOREIGN KEY:

  • Foreign Key is a column or a combination of columns whose values match a Primary Key in a different table.
  • It acts as a cross-reference between tables because it references the primary key of another table, thereby establishing a link between them.
  • For example, a table called Player …

Create a free account to keep reading this post.

and 4 others joined a min ago.

0
3views

Foreign Key:

  • Primary key of one relation is used as an attribute in another relation is called as foreign key.

  • It is a part of referential integrity where one relation is referenced in another relation.

  • Consider two relations as:

emp(empNo, EN, FN, email)

Dept(DeptNo, Name, Location)

  • To establish a relation …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.