Skip to main contentSkip to solution

Which of the following can uniquely identify the tuples of a relation in a database?

(A) Foreign Key

(B) Primary Key

(C) Candidate Key

(D) Composite Primary Key

Solution

✅ Correct Option: 4

A primary key, a candidate key and a composite primary key can each uniquely identify every tuple in a relation.

A candidate key is a minimal set of attributes whose values are unique for each tuple, and the primary key is the candidate key chosen to identify tuples. A composite primary key is a primary key made of two or more attributes that are unique together.


Foreign key (A): it only links to the primary key of another relation. Its values can repeat and can be NULL, so it does not identify tuples uniquely. For example, many students can share the same department ID.

Keyboard Shortcuts

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