Relational Data Modeling
Turn requirements into a normalized relational schema with correct keys, relationships and constraints, and know when to denormalize deliberately.
4 objectives 6 steps about 145 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Derive entities, attributes, relationships and cardinalities from written requirements and draw them as an ER diagram.
- Map an ER model to tables with primary, foreign, natural and surrogate keys, including junction tables for many-to-many relationships.
- Normalize a schema to third normal form by identifying functional dependencies and the insert, update and delete anomalies they cause.
- Enforce business rules with NOT NULL, UNIQUE, CHECK and foreign-key actions, and justify any deliberate denormalization.
Lesson plan
6 steps, about 145 min · 5 of 5 lessons available so far
- From Requirements to Entities and Relationships Concept · 20 min
- Choosing Keys: Natural, Surrogate and Composite Concept · 20 min
- Worked Example: An Order Management Schema Worked example · 30 min
- Spotting Anomalies and Normalizing to 3NF Lab · 30 min
- Constraints as Executable Business Rules Lab · 25 min
- Check: Review and Repair a Flawed Schema Knowledge check · 8 questions
Practise it
Model a clinic appointment-booking domain: deliver an ER diagram, a PostgreSQL DDL script in third normal form with keys and constraints, five INSERT statements the constraints must reject, and a short note on one place you would denormalize and the cost of doing so.
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.