Forum FAQ: Normalisation Questions From New Learners
Normalisation is a big word for a simple idea: store each fact once. It still confuses lots of learners, and forums are full of the same questions. Here they are, answered in plain words.
"What does normalisation actually mean?"
It means organising your tables so the same piece of information is not repeated in many places. If a customer's address is stored once, you only need to change it once. If it is stored in every order, you might change some copies and forget others.
"Why can't I keep everything in one big table?"
You can, at first. Problems start as the data grows:
- Repeated data takes more space and gets out of sync.
- Adding something can be awkward: you cannot add a new course until a student takes it, if courses only exist inside student rows.
- Deleting can lose information: removing the last student in a course might delete the only record of the course.
These are called update, insert and delete anomalies.
"How do I know when to split a table?"
Ask: "Does this column describe the thing this table is about?" In a students table, a student's name describes the student. A teacher's phone number does not; it describes the teacher, so it belongs in a teachers table.
"What are first, second and third normal form?"
In plain words:
| Form | Rule of thumb |
|---|---|
| First | One value in each cell; no lists like "red, blue, green" in one column |
| Second | In a table with a two-part key, every column must depend on both parts |
| Third | No column should depend on another non-key column |
For most beginner projects, reaching third normal form is plenty.
"What do I do with a list, like a student's courses?"
Create a separate linking table:
CREATE TABLE enrolments (
student_id INTEGER,
course_id INTEGER,
PRIMARY KEY (student_id, course_id)
);
Each row says "this student takes this course". One student can have many rows, and so can one course.
"Now I have so many tables. Isn't that slow?"
Joins are what relational databases are built for. A few joins on small or well-indexed tables are fast. Beginners worry about this far more than they need to.
"Is it ever OK to repeat data?"
Yes, sometimes, and on purpose. For example, an order might store the price at the time of purchase, because the product's price may change later. That is not really a repeat; it is a different fact ("what the customer paid"). Professionals also sometimes copy data to make reading faster, but only when they have a clear reason and a way to keep the copy correct.
"Do I have to memorise all the rules?"
No. Understanding the goal, one fact in one place, gets you most of the way. When a design feels awkward, come back to the rules to see what is wrong.
Where to practise
Try untangling a messy spreadsheet in our written walkthrough of normalisation basics, then read how far to normalise a first project.
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 is a static page of sample discussion topics. There is no live forum, membership or user community on this site.