Skip to main contentSkip to solution

A candidate key is -

Solution

✅ Correct Option: 1

A candidate key is a minimal set of attributes that uniquely identifies every tuple in a relation. "Minimal" means that no attribute can be removed without losing uniqueness. Every such minimal set is eligible to be chosen as the primary key.


Option 2: this describes the primary key, which is the one candidate key the designer picks.

Option 3: this describes a composite key, which may or may not be minimal.

Option 4: this describes a foreign key, which links two relations.

A relation can have several candidate keys, but only one of them becomes the primary key. The rest are called alternate keys.

Keyboard Shortcuts

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