Normalisation Basics in Three Takeaways

Normalisation is a word that sounds academic but describes a common-sense idea: store each fact once, in the right place. This one-page brief explains the idea with a tiny example and three takeaways.

The issue

When people first design a database, they often copy the layout of a spreadsheet: one big table with everything in it. That works until the data starts repeating. Then a change in one place has to be made in many places, and sooner or later one copy is missed.

Before, one table for orders:

order_idcustomer_namecustomer_emailproduct
1Anaana@example.comLamp
2Anaana@example.comDesk
3Benben@example.comLamp

If Ana changes her email, you must update two rows. Miss one and the database disagrees with itself.

After, split into two tables linked by a key:

customer_idnameemail
10Anaana@example.com
11Benben@example.com
order_idcustomer_idproduct
110Lamp
210Desk
311Lamp

Now Ana's email lives in exactly one row. Orders point to her with customer_id, a foreign key.

Why it matters

Three takeaways

  1. One fact, one place. If the same piece of information appears in many rows, ask whether it belongs in its own table.
  2. Link with keys, not copies. Use a primary key to identify each row and a foreign key to point to it from elsewhere.
  3. Do not overdo it. Splitting into dozens of tiny tables makes queries harder to write. For beginners, a few well-named tables that avoid obvious repetition is the goal. Database textbooks describe formal "normal forms"; you can learn those later.

A quick self-check for your own design

QuestionIf yes
Do I type the same name or address in many rows?Move it to its own table
Does a column hold a list, like "red, blue, green"?Make a separate table with one row per item
Would deleting one row lose information I still need?Split the information apart

Further reading on this site

When repetition is acceptable

Not every repeated value is a problem. A status column that says "open" on many rows is fine: "open" is a small, fixed label, not a fact about something that can change. A date that appears on many orders is also fine, because each order genuinely happened on that day. The question to ask is whether the repeated value describes another thing that has its own life, such as a customer, a product or a city. If it does, and that thing could change, give it its own table. If it is just a label or a measurement belonging to the row, leave it where it is. This small test catches most beginner design problems without needing any formal theory.

Normalisation is less a rule to memorise than a habit of noticing repetition. Once you start seeing it, your designs improve on their own.

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.