A3.2 Database design - IB Diploma Class 12 Computer Science Notes, Diagrams and Solved Questions

Designing a database properly: ERDs with cardinality, the anomalies a flat table causes, normalizing step by step to 3NF, data dictionaries, and when to denormalize.

In this chapter

  • Entity–relationship diagrams, crow's foot cardinality and link entities
  • Insert, update and delete anomalies, shown in a real database
  • First normal form: atomic values and no repeating groups
  • Functional and partial dependencies and second normal form
  • Transitive dependencies and third normal form, with a join that proves nothing is lost
  • Writing a data dictionary
  • Denormalization trade-offs and designing tables from a scenario
  • Iteration 3: finding dependencies, a full cinema normalization, weighing denormalization with numbers