A Structured Look at How Far to Normalise a First Project
Normalisation means organising tables so each fact is stored in one place. Textbooks describe several "normal forms", which can feel overwhelming. This paper asks a practical question: how far should a beginner take it in a first real project?
The problem
Beginners often start with one big table, much like a spreadsheet. It works at first. Then the same customer's address appears in fifty rows, someone updates it in only one row, and the data no longer agrees with itself. These are called update anomalies. The opposite mistake also happens: splitting data into so many tiny tables that simple questions need many joins.
Background: the normal forms in plain words
| Normal form | Plain-language rule | Example of breaking it |
|---|---|---|
| First (1NF) | One value per cell; no lists in a column | A phones column holding "0123, 0456" |
| Second (2NF) | Every column depends on the whole key, not part of it | In a table keyed by (order, product), storing the order date in every row |
| Third (3NF) | Columns depend only on the key, not on other non-key columns | Storing a city's postcode area next to the city in every customer row |
There are higher normal forms, but most everyday schemas aim for third normal form.
Options
Option A: one big table. Quick to start; problems grow with the data.
Option B: normalise to third normal form. Each fact lives in one place; you use keys and joins to bring data together.
Option C: normalise beyond third normal form everywhere. Very tidy in theory, often more tables than a small project needs.
Option D: normalise, then deliberately repeat a little data where it clearly helps. Common in real systems for speed or simplicity, but it requires care to keep copies in sync.
Recommendation
Aim for third normal form (option B) in your first project. In practice that means:
- Make a table for each kind of thing: students, courses, teachers.
- Give each table a primary key.
- Use a separate table for many-to-many links, such as which students take which courses.
- Never store lists inside one column.
- If a fact describes something else, move it to that thing's table.
Here is a tiny example of step 3:
CREATE TABLE enrolments (
student_id INTEGER REFERENCES students(id),
course_id INTEGER REFERENCES courses(id),
PRIMARY KEY (student_id, course_id)
);
When to bend the rule
Option D is for later. Professionals sometimes store a copy of data, such as a total, to make reading faster. Do it only when you can explain why, and when you know how the copy will be kept correct.
Conclusion
Third normal form is a sensible, achievable target for beginners. It prevents the most common data problems without turning a small project into a puzzle. Our long read on why we split data into tables explains the ideas behind it step by step.
A free learning page for beginners. Practise on a test database, never on real customer data, and check the official documentation for your database version.
This page is a free outline. No downloadable files, paid content, courses or certificates are offered on this site.