Skip to content
Contents/CH 18
Normalization/Intermediate · 14 min

Normalization: 1NF

First normal form is simple: every value must be atomic. No lists, no repeating groups, no hidden multiple values in one cell.

In plain English

One fact per box. Do not stuff a whole shopping list into one cell.

The one idea

First normal form: every attribute holds one atomic value, and no relation contains repeating groups.

Relational operations assume a value is a value. A comma-separated list cannot be joined, filtered, or constrained like a proper relation.

By the end

  1. 01State the 1NF rule.
  2. 02Recognize multivalued and repeating attributes.
  3. 03Decompose a non-1NF table.
  4. 04Choose a primary key for the decomposed tables.
01

The rule

A relation is in first normal form if every attribute contains only atomic values and there are no repeating groups. A cell holding "555-0100, 555-0101" is a multivalued attribute, not an atomic value. A table with Phone1, Phone2, Phone3 columns has a repeating group.

02

Decomposition

Move the multivalued attribute into a separate relation with a foreign key back to the original entity. Student(id, name, phones) becomes Student(id, name) and StudentPhone(student_id, phone). The new table's primary key is the combination of student_id and phone.

chapter-18.db
before:
Student(id, name, phones)
1, Ada, "555-0100, 555-0101"

after:
Student(id, name)
StudentPhone(student_id, phone)
1, 1, 555-0100
1, 1, 555-0101
03

Why it matters

Atomic values make queries, constraints, and updates predictable. You can index a phone number, enforce a format, or count phones without parsing a comma-separated string. 1NF is the foundation for every later normal form.

Worked example3 steps

The phone list in one cell

Student(id, name, phones) stores 555-0100, 555-0101 in a single cell.

01

Try to find every student with phone 555-0101.

A substring search is required; an index on the list cannot answer it cleanly.

02

Split the list into StudentPhone(student_id, phone).

Each phone becomes one atomic value and one row.

03

Declare (student_id, phone) as the key.

The same phone cannot be attached to the same student twice.

ConclusionA repeating group becomes a child relation. The parent keeps its identity; the child carries the many values.

Instrument

Watch it happen.

Step through one operation at a time

Step player01 / 03
01

Start with the unnormalized table

The table violates 1NF: atomic values.

Student (not 1NF)
idnamephones
1Ada555-0100, 555-0101
2Grace555-0200

The trade-off

No free correctness.

Gain

Values can be indexed, joined, constrained, and updated independently.

Cost

More rows and one more join to reconstruct the list.

Verdict

Always normalize operational data to 1NF; store arrays only in systems designed for them.

Recap

What to keep.

Takeaways

  • +1NF requires atomic values and no repeating groups.
  • +Multivalued attributes become separate relations.
  • +Repeating columns such as Phone1, Phone2 are not 1NF.
  • +The decomposed relation usually has a composite key.
  • +1NF makes constraints and queries simpler.

Traps

  • !Storing comma-separated lists in a single column.
  • !Using repeating columns instead of a child table.
  • !Thinking 1NF requires a single-column primary key.

Focus

  • →Identify a non-atomic attribute.
  • →Decompose a multivalued attribute into a child table.
  • →Explain why atomic values help constraints.

Check yourself

Before you turn the page.

0 / 2 answered
01

What is required for 1NF?

02

How do you represent a multivalued attribute in 1NF?

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep