Multiple choice .net

A foreign key:

  1. has nothing to do with the primary key.

  2. has different values than the primary key.

  3. is found in tables that don’t have a primary key.

  4. is related to the primary key of a different table.

  5. is a unique record in a table.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A foreign key is a column or group of columns in one table that provides a link between data in two tables. It acts as a cross-reference by pointing to the primary key of another table, thereby enforcing referential integrity.