📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A table in 1NF has a composite primary key and a non-key attribute that depends on only one part of that key. Which normal form must it reach to remove this problem?

A. First normal form (1NF)
B. Second normal form (2NF) ✅
C. Third normal form (3NF)
D. Boyce-Codd normal form (BCNF)

Correct Answer: B. Second normal form (2NF)

Explanation

The dependency on part of a composite key is a partial dependency, which second normal form removes.