English

Give one difference between alternate key and candidate key.

Advertisements
Advertisements

Questions

Give one difference between alternate key and candidate key.

Differentiate between candidate key and alternate key.

Distinguish Between
Advertisements

Solution

Basis of Difference Candidate Key Alternate Key
Meaning A unique key that is eligible to become the primary key. A candidate key that is not selected as the primary key.
Selection It may be selected as the primary key. It has already not been selected as the primary key.
Number A table may have several candidate keys. There may be one or more alternate keys.
Example AdNo and Name are candidate keys. If AdNo is primary, Name becomes the alternate key.
shaalaa.com

Notes

Students should refer to the answer according to their question.

Keys in a Relational Database
  Is there an error in this question or solution?
Chapter 9: Databases Concepts and SQL - EXERCISE [Page 174]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 9 Databases Concepts and SQL
EXERCISE | Q 16. | Page 174
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×