Omitting the primary key attribute – leads to ambiguous records.
Using many‑to‑many relationships without an associative entity – cannot be directly implemented in a relational database.
Over‑normalising – creates excessive tables and unnecessary joins.
Forgetting to indicate optional participation (zero vs. one) in cardinalities.
8. Summary
An E‑R diagram is a powerful tool for documenting the logical structure of a database before implementation. By following a systematic approach—identifying entities, attributes, relationships, and cardinalities—students can produce clear designs that translate cleanly into relational schemas.
9. Practice questions
Identify the entities, key attributes, and relationships for a library system that tracks Books, Members, and Loans.
Draw an E‑R diagram (use the suggested diagram placeholder) for the scenario in Question 1, indicating cardinalities.
Convert your E‑R diagram from Question 2 into a set of relational tables, specifying primary and foreign keys.
Explain why a many‑to‑many relationship must be resolved with an associative entity before creating a relational schema.