8.1.5 Normalisation: First Normal Form
First Normal Form (1NF) requires each field to contain one value and removes repeating groups.
By the end of this page, you should be able to:
- define and use the key terms accurately;
- explain how the idea works using a new example;
- apply the idea to a database design or SQL task.
1. Why normalise?
Normalisation is a step-by-step way to organise related data into tables. It helps reduce duplicated facts and the problems that can happen when the same fact is changed in several places. Each normal form has a separate rule; check them in order.
2. One cell, one value
A field should store one value for the purpose of the database. A row such as “Nia | Robotics, Art” puts two course values into one field. It is difficult to search for everyone in Art without first separating that list.
3. Remove repeating groups
Create a separate row for each learner-course pairing, or use a related CourseJoin table. Avoid repeated fields such as Course1, Course2 and Course3. A suitable key must identify each row; a combination of LearnerID and CourseID may identify one pairing.
4. Check what counts as one value
A value can contain several characters and still be one value, such as a single postal code or date. The design question is whether the field is intended to store one item or a list of independently used items.
Worked example
Before: Registration(EntryID, LearnerName, Activities) where Activities is “Chess; Coding”. After: EntryActivity(EntryID, ActivityID), with one activity in each row and a key such as (EntryID, ActivityID).
Common mistake to avoid
Do not confuse a long text value with a list. The problem is multiple separate values stored in a single field, not simply that the value has many characters.
Interactive check
Choose an answer, read the explanation, and continue to the next example.
Independent practice
Try this original question before opening the suggested response.
A campsite table stores PitchID and “Tent, Bicycle” in EquipmentUsed. Explain how to make the equipment information 1NF. (3)
Suggested response
Do not keep a list of equipment in one field. Make one row for each PitchID–EquipmentID pairing, with one equipment value in each field. Use a key that identifies each pairing, such as PitchID plus EquipmentID if duplicate pairings are not allowed.
Answering clearly
Use the technical term, state what it does, and connect your explanation to the details in the question.