📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which design error confuses an entity with a relationship?

A. Normalising a table to third normal form
B. Using a primary key in every table
C. Using a foreign key in a child table
D. Storing Enrols as a separate table with no attributes when a simple foreign key would do, or storing Student as an attribute of Course ✅

Correct Answer: D. Storing Enrols as a separate table with no attributes when a simple foreign key would do, or storing Student as an attribute of Course

Explanation

Relationships should be implemented by the simplest correct mechanism, and entities should not be reduced to attributes of another entity.