SlideShare a Scribd company logo
CIS282
Normalizing a database
   Process of organizing data in database
      Avoid duplicate values
      Inconsistent dependencies
   Each table describes one entity
   Goal is Typically 3rd Normal Form
      Each Form represents a different level
      Each subsequent form requires that previous forms
      already in place
          To be in Third Normal Form, must already be in First
           and Second Normal Form
First Normal Form
 Each row/column combination has only one value
 Eliminate repeating groups
    Instead of using a single field for all items purchased, set up item and
      quantity fields


                                                  1st Normal Form
           Not Normalized                            OrderID
           OrderID                                   CustomerID
           CustomerID                                OrderDate
           OrderDate                                 ItemID
           Items Purchased                           Quantity
                                                     ItemName
Second Normal Form
 Remove fields that are not fully dependent on the key, and place in separate
  table(s)
 ItemID is not dependent on the CustomerID and OrderID; it is dependent on
  OrderID.


      1st Normal Form
                                              2nd Normal Form
         OrderID
         CustomerID                     OrderID        OrderID
         OrderDate                      CustomerID     ItemID
         ItemID                         OrderDate      Quantity
         Quantity                                      ItemName
         ItemName
Third Normal Form
 All non-key columns are mutually independent
    ItemName depends on ItemID




                                             3rd Normal Form
      2nd Normal Form                 OrderID         OrderID
OrderID        OrderID                CustomerID      ItemID
CustomerID     ItemID                 OrderDate       Quantity
OrderDate      Quantity
               ItemName              ItemID
                                     ItemName
Normalization Summary
 A change in one field should not require change in
  another field in the table
   No calculations
 All fields help describe the key
    Each record is unique
    Each table stores information about one “thing”

More Related Content

PPTX
ERP web based system
Bill Chea
 
DOCX
procurement database model -documentation-draft-20150515
Rawntech Mak
 
PPT
Slowly changing dimensions informatica
InformaticaTrainingClasses
 
PPTX
SAP MM Training in Chennai Demo Part-5
Thecreating Experts
 
DOC
Otc
Naresh Gupta
 
PPT
Xml
Abhishek Raj
 
PPTX
Managing your tech career
Greg Jensen
 
PDF
5 data storage_and_indexing
Utkarsh De
 
ERP web based system
Bill Chea
 
procurement database model -documentation-draft-20150515
Rawntech Mak
 
Slowly changing dimensions informatica
InformaticaTrainingClasses
 
SAP MM Training in Chennai Demo Part-5
Thecreating Experts
 
Managing your tech career
Greg Jensen
 
5 data storage_and_indexing
Utkarsh De
 

Viewers also liked (20)

PDF
4 the sql_standard
Utkarsh De
 
PDF
1 introduction
Utkarsh De
 
PDF
6 relational schema_design
Utkarsh De
 
PPT
Best Practices for Database Schema Design
Iron Speed
 
PPTX
Webinar: Build an Application Series - Session 2 - Getting Started
MongoDB
 
PDF
3 relational model
Utkarsh De
 
PDF
MySQL Replication: Pros and Cons
Rachel Li
 
PDF
Distributed Postgres
Stas Kelvich
 
ZIP
Week3 Lecture Database Design
Kevin Element
 
PPTX
Database Design
learnt
 
PPTX
English gcse final tips
mrhoward12
 
PDF
2 entity relationship_model
Utkarsh De
 
PDF
Postgres-XC Write Scalable PostgreSQL Cluster
Mason Sharp
 
PDF
Escalabilidade, Sharding, Paralelismo e Bigdata com PostgreSQL? Yes, we can!
Matheus Espanhol
 
PPTX
Database design concept
Shashwat Shriparv
 
PPT
Database design
FLYMAN TECHNOLOGY LIMITED
 
PDF
Database Schema
Jimmy Chu
 
PPT
Best Practices for Database Schema Design
Iron Speed
 
PPT
Database design
Jennifer Polack
 
PDF
Advanced Postgres Monitoring
Denish Patel
 
4 the sql_standard
Utkarsh De
 
1 introduction
Utkarsh De
 
6 relational schema_design
Utkarsh De
 
Best Practices for Database Schema Design
Iron Speed
 
Webinar: Build an Application Series - Session 2 - Getting Started
MongoDB
 
3 relational model
Utkarsh De
 
MySQL Replication: Pros and Cons
Rachel Li
 
Distributed Postgres
Stas Kelvich
 
Week3 Lecture Database Design
Kevin Element
 
Database Design
learnt
 
English gcse final tips
mrhoward12
 
2 entity relationship_model
Utkarsh De
 
Postgres-XC Write Scalable PostgreSQL Cluster
Mason Sharp
 
Escalabilidade, Sharding, Paralelismo e Bigdata com PostgreSQL? Yes, we can!
Matheus Espanhol
 
Database design concept
Shashwat Shriparv
 
Database design
FLYMAN TECHNOLOGY LIMITED
 
Database Schema
Jimmy Chu
 
Best Practices for Database Schema Design
Iron Speed
 
Database design
Jennifer Polack
 
Advanced Postgres Monitoring
Denish Patel
 
Ad

Similar to Normalization (20)

PDF
Normalization2
rupaliz
 
PPTX
Normalization in a Database
Bishrul Haq
 
PDF
Normalization
Samir Sabry
 
PPT
Normalization
wax4u
 
PPTX
3rd Form Normalisation
Mark Rotondella
 
PPTX
DBMS Lecture 8 - Normalization
Ericka Tagarda
 
PPT
Normalization
AabKunal Grover
 
PPT
Normalization.ppt
NIDHISAHU71
 
PPT
Normalization
Shakila Mahjabin
 
PPTX
Normalisation lesson plan
Mohamed Maguid
 
PPTX
Normalisation lesson plan
Mohamed Maguid
 
PPTX
Karan normalization in sql
KARANKOTECHA123
 
PPTX
normaliztion
Ramadhani S. Zuberi
 
PPT
Jason Park Normalization
Renu Kewalramani
 
PPT
Normalization
Masud Parves
 
PPTX
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
oforjose30
 
PPTX
Database Normalization
Dan D'Urso
 
ODP
BIS04 Data Modelling - II
Prithwis Mukerjee
 
PPTX
2020.11.10 SISTEM BASIS DATA PERTEMUAN 12 - Normalization_new.pptx
BigBoss599305
 
Normalization2
rupaliz
 
Normalization in a Database
Bishrul Haq
 
Normalization
Samir Sabry
 
Normalization
wax4u
 
3rd Form Normalisation
Mark Rotondella
 
DBMS Lecture 8 - Normalization
Ericka Tagarda
 
Normalization
AabKunal Grover
 
Normalization.ppt
NIDHISAHU71
 
Normalization
Shakila Mahjabin
 
Normalisation lesson plan
Mohamed Maguid
 
Normalisation lesson plan
Mohamed Maguid
 
Karan normalization in sql
KARANKOTECHA123
 
normaliztion
Ramadhani S. Zuberi
 
Jason Park Normalization
Renu Kewalramani
 
Normalization
Masud Parves
 
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
oforjose30
 
Database Normalization
Dan D'Urso
 
BIS04 Data Modelling - II
Prithwis Mukerjee
 
2020.11.10 SISTEM BASIS DATA PERTEMUAN 12 - Normalization_new.pptx
BigBoss599305
 
Ad

More from Randy Riness @ South Puget Sound Community College (20)

Recently uploaded (20)

PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Basics and rules of probability with real-life uses
ravatkaran694
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Virus sequence retrieval from NCBI database
yamunaK13
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 

Normalization

  • 2. Normalizing a database  Process of organizing data in database  Avoid duplicate values  Inconsistent dependencies  Each table describes one entity  Goal is Typically 3rd Normal Form  Each Form represents a different level  Each subsequent form requires that previous forms already in place  To be in Third Normal Form, must already be in First and Second Normal Form
  • 3. First Normal Form  Each row/column combination has only one value  Eliminate repeating groups  Instead of using a single field for all items purchased, set up item and quantity fields 1st Normal Form Not Normalized OrderID OrderID CustomerID CustomerID OrderDate OrderDate ItemID Items Purchased Quantity ItemName
  • 4. Second Normal Form  Remove fields that are not fully dependent on the key, and place in separate table(s)  ItemID is not dependent on the CustomerID and OrderID; it is dependent on OrderID. 1st Normal Form 2nd Normal Form OrderID CustomerID OrderID OrderID OrderDate CustomerID ItemID ItemID OrderDate Quantity Quantity ItemName ItemName
  • 5. Third Normal Form  All non-key columns are mutually independent  ItemName depends on ItemID 3rd Normal Form 2nd Normal Form OrderID OrderID OrderID OrderID CustomerID ItemID CustomerID ItemID OrderDate Quantity OrderDate Quantity ItemName ItemID ItemName
  • 6. Normalization Summary  A change in one field should not require change in another field in the table  No calculations  All fields help describe the key  Each record is unique  Each table stores information about one “thing”