Database Management System (DBMS) / Normalization in DBMS

1NF

πŸ“˜ What is 1NF (First Normal Form)?

A table is in First Normal Form (1NF) if:

  1. All attributes (columns) contain only atomic (indivisible) values.

  2. There are no repeating groups or arrays in a row.

  3. Each column contains only one type of data.


πŸ” Why is 1NF Important?

  • It removes multi-valued and grouped data.

  • Prepares the data for further normalization (2NF, 3NF, etc.).

  • Prevents basic data redundancy and inconsistency.

🧾 Example: Table Not in 1NF

Suppose we have a table like this:

Student_ID

Name

Courses

101

Swati

DBMS, OS

102

Ravi

AI

103

Neha

OS, AI, DBMS

❌ Problem:

  • The Courses column contains multiple values, which violates 1NF.

  • It is not atomic.


🧠 Key Points of 1NF:

Feature

Required in 1NF

Atomic values only

βœ… Yes

No multivalued columns

βœ… Yes

Same type per column

βœ… Yes

Unique column names

βœ… Yes

Unordered rows

βœ… Yes


🎯 Real-Life Analogy:

Imagine a form that asks:

"List your hobbies"

And someone writes:

Reading, Singing, Painting

That’s not in 1NF. To make it 1NF, you'd enter one hobby per line.