📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A table has attributes A, B, C. If {A, B} is a candidate key and {A} alone is not unique, is {A, B} minimal?

A. Yes, because removing A or B destroys uniqueness ✅
B. No, because it has two attributes
C. Yes, because it is a super key
D. No, because B alone may be unique

Correct Answer: A. Yes, because removing A or B destroys uniqueness

Explanation

A candidate key is minimal if no proper subset is a super key; here neither {A} nor {B} alone is unique, so {A, B} is minimal.