📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

How do you test whether a set of attributes is a candidate key?

A. Check it contains a foreign key
B. Check it is numeric
C. Check it is unique and that removing any attribute destroys uniqueness ✅
D. Check it has at least two columns

Correct Answer: C. Check it is unique and that removing any attribute destroys uniqueness

Explanation

Both uniqueness and minimality must be tested to confirm candidate-key status.