📘 First Normal Form (1NF)
1NF (First Normal Form) is the basic level of normalization.
A table is in 1NF if:
- All columns contain atomic (indivisible) values
- Each row is unique
- Each column contains values of a single type
- There are no repeating groups or arrays
❌ Example: Not in 1NF
Table: Students
| StudentID | Name | Subjects |
|---|---|---|
| 1 | Alice | Math, Physics |
| 2 | Bob | Chemistry |
- ❌ The
Subjectscolumn has multiple values in one field → not atomic - This is not in 1NF
✅ Example: In 1NF
To convert to 1NF, we split multivalued fields into separate rows:
Table: StudentSubjects
| StudentID | Name | Subject |
|---|---|---|
| 1 | Alice | Math |
| 1 | Alice | Physics |
| 2 | Bob | Chemistry |
- ✅ Now each field is atomic
- ✅ No repeating groups
- ✅ 1NF is satisfied
🧠 Tip to Remember:
“No lists or arrays in cells, just one value per column per row.”