Self-Check: Does My Table Need Normalising?
Normalising a table means organising it so each fact is stored once, in the right place. You do not need the formal rules to spot most problems. Answer the questions below about one of your own tables. Each "yes" is a warning sign, with a beginner-friendly fix.
Question 1: does any cell hold more than one value?
Example: a hobbies column containing "chess, tennis, piano".
Why it matters: finding everyone who plays tennis means searching inside text, and spelling differences ("Tennis", "tennis ") break the search.
Fix: create a separate table with one row per person per hobby.
| person_id | hobby |
|---|---|
| 1 | chess |
| 1 | tennis |
Question 2: do you have numbered columns like phone1, phone2, phone3?
Why it matters: what happens when someone has four phones? And to find a number, you must check three columns.
Fix: same as above, a phones table with one row per phone number.
Question 3: is the same information typed out in many rows?
Example: every order row repeats the customer's full name and address.
Why it matters: when the address changes, you must update every copy, and a missed copy means two different truths.
Fix: move the repeated information into its own table and point to it with an id. See payback math for removing duplicated data.
Question 4: does the table describe two different things?
Example: a students_and_courses table mixing student details and course details.
Why it matters: deleting the last student in a course might delete the only record of the course itself.
Fix: one table per kind of thing (students, courses), and a third table that links them, often called a junction table:
| student_id | course_id |
|---|---|
| 1 | 101 |
| 1 | 102 |
Question 5: can you identify each row uniquely?
Why it matters: without a unique identifier, you cannot reliably update or delete exactly one row, and duplicates creep in.
Fix: add a primary key, usually an id column that the database fills in for you.
Scoring
| Number of "yes" answers | What it suggests |
|---|---|
| 0 | Your table is in good shape for a beginner project |
| 1 to 2 | Worth fixing now while the data is small |
| 3 or more | Redesign before adding more data; it gets harder later |
When a "yes" is fine
Sometimes repeating data on purpose is correct, for example keeping the price a customer actually paid on each order, even if the product price changes later. That records history rather than duplicating by accident. The question to ask is: "If this value changes in one place, should it change everywhere?" If yes, store it once.
Want the formal version?
The rules behind these questions are called first, second and third normal form. Our essay Inside Normalisation explains them gently, with the same kind of small tables.
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.