Skip to main contentSkip to solution

In a relation, if more than one attribute can have distinct values, such attributes are called _______.

Solution

✅ Correct Option: 2

Every attribute that can uniquely identify each tuple (that is, one whose values are all distinct) is a candidate key. A relation can have several of these, for example both Roll_No and Email in a student table.

One candidate key is then chosen as the primary key.


Option 1: a relation has only one primary key, selected from among the candidate keys.

Option 3: a foreign key refers to the primary key of another table and can contain repeated values, so it does not identify tuples uniquely.

Option 4: a composite key is a key made of two or more attributes combined, and it does not describe several separate attributes that are each distinct.

Keyboard Shortcuts

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