📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is the main difference between a candidate key and a primary key?

A. A candidate key is always composite
B. They are identical in every case
C. A primary key is the candidate key actually chosen; other candidate keys become alternate keys ✅
D. A candidate key allows NULL; a primary key does not always

Correct Answer: C. A primary key is the candidate key actually chosen; other candidate keys become alternate keys

Explanation

All primary keys are candidate keys, but only one candidate is selected as the primary key.