📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which of the following is a primary key, candidate key and alternate key relationship?

A. All primary keys are candidate keys; alternate keys are candidate keys not chosen as primary ✅
B. Primary keys are never candidate keys
C. All foreign keys are candidate keys
D. All alternate keys are primary keys

Correct Answer: A. All primary keys are candidate keys; alternate keys are candidate keys not chosen as primary

Explanation

A primary key is one selected candidate key, and the rest of the candidates are alternate keys.