📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which attribute can NEVER be a candidate key?

A. A unique national identity number
B. An email address that is unique for each user
C. A system-generated serial number
D. An attribute that allows NULLs and duplicate values ✅

Correct Answer: D. An attribute that allows NULLs and duplicate values

Explanation

A candidate key must uniquely identify each row, so an attribute that allows NULLs and duplicates can never be one.