📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

How would you fix the 2NF violation in the Order-Product example?

A. Remove the primary key
B. Move ProductName into a separate Product table keyed by ProductID ✅
C. Add more duplicate ProductName values
D. Delete the OrderID column

Correct Answer: B. Move ProductName into a separate Product table keyed by ProductID

Explanation

Splitting the table removes the partial dependency and stores ProductName once.