English

Explain the concept of “Alternate Key” in a Relational Database Management System with an appropriate example.

Advertisements
Advertisements

Question

Explain the concept of “Alternate Key” in a Relational Database Management System with an appropriate example.

Explain
Advertisements

Solution

Alternate keys refer to all candidate keys that are not primary keys.

Example: Consider the table student as per the following structure:

Table: Student
Roll Name Phone Aadhar Marks

In the student table:
Candidate keys: Roll, Phone, Aadhar
If the Primary key is: Roll
Alternate keys: Aadhar, Phone

shaalaa.com
Keys in a Relational Database
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×