AiTeky Original Interactive Learning & Practice Intermediate
Database design: one fact in one place, reporting copies and the address stored four times
See how repeating a fact in many rows makes updates miss some, why a reporting copy drifts from the source, and how storing each fact once removes a whole class of wrong data.
When the same fact is stored in several places, someone will eventually change one place and forget the others. Good design stores each fact once and refers to it. Copies for speed are fine, but you must know how stale they can get.
This course models tables as lists in small Python programs you can run in your browser. Python stands in for SQL: the data is made up, and the logic of updates and joins is the same. Check your database's documentation for constraints, foreign keys and views.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No database design experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 20 min Free sample 🔒 AiTeky Pass Update one row, miss the rest Repeat a customer's city in every order, update it in one place only, and see two cities for one customer; then store it once and update it once.
- 02 20 min 🔒 AiTeky Pass The reporting copy Build a flattened copy of the data for fast reports, see how it goes stale when the source changes, and measure the drift so you know how much to trust it.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

