In a relation, if more than one attribute can have distinct values, such attributes are called _______.
In a relation, if more than one attribute can have distinct values, such attributes are called _______.
Solution
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.
Related questions:
2025: 20 May Shift 1
2026: 31 May Shift 1
2026: 18 May Shift 2