Test Index
Database Concepts
© 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
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.
| RegNo | AadhaarNo | Name |
| 123456 | 123456789012 | Abraham Sen |
| 123458 | 123456789123 | Umeed Singh |
© examsnet.com
Go to Question: