© examsnet.com
Question : 9 of 13
Marks: +1, -0
Explain the concept of “Alternate Key” in a Relational Database Management System with an appropriate example.
[CBSE 2023 Set 4]
Solution:  
Concept:
A candidate key is any attribute (or set of attributes) that can uniquely identify each row of a table. One candidate key is chosen as the primary key; the remaining candidate keys are called alternate keys.
Example: Table STUDENT
RegNoAadhaarNoName
123456123456789012Abraham Sen
123458123456789123Umeed Singh
Both RegNo and AadhaarNo are unique for every student, so both are candidate keys. If RegNo is chosen as the primary key, then AadhaarNo is the alternate key.
© examsnet.com
Advertisements
Go to Question: