Skip to main contentSkip to solution

_____ is an attribute whose value is derived from the primary key of another relation.

Solution

✅ Correct Option: 1

A foreign key is an attribute (or set of attributes) in one relation whose values refer to the primary key of another relation. It links the two tables and enforces referential integrity, so every value in it must either match an existing primary key value in the referenced table or be NULL.


Candidate key: any attribute or minimal set of attributes that can uniquely identify a tuple within its own relation. It is not tied to another relation.

Alternate key: a candidate key that was not chosen as the primary key.

Composite primary key: a primary key made of two or more attributes in the same relation, not a reference to another relation.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question