SlideShare a Scribd company logo
1 of 9
Normalization
Normalization is a database design technique which
organizes tables in a manner that reduces redundancy and
dependency of data.
Reasons for Normalization
Insert Anomaly:
In our example we cannot record a new sales office until
we also know the sales person. Why? Because in order to
create the record, we need provide a primary key. In our
case this is the EmployeeID.
CSE-311(C) 2
Reasons for Normalization
Update Anomaly:
The same information is recorded in multiple rows. For
instance if the office number changes, then there are multiple
updates that need to be made. If these updates are not
successfully completed across all rows, then an inconsistency
occurs.
CSE-311(C) 3
Reasons for Normalization
Deletion Anomaly:
Deletion of a row can cause more than one set of facts to
be removed. For instance, if John Hunt retires, then
deleting that row cause use to lose information about the
New York office.
CSE-311(C) 4
Normalization Rule
Database Normal Forms:
 1NF (First Normal Form) Rules
oEach table cell should contain single value.
oEach record needs to be unique
oNo rows of data should have repeating group of column values
 2NF (Second Normal Form) Rules
oRule 1- Be in 1NF
oRule 2- Single Column Primary Key
 3NF (Third Normal Form) Rules
oRule 1- Be in 2NF
oRule 2- Has no transitive functional dependencies
CSE-311(C) 5
First Normal Form(1NF)
Repeated groups
CSE-311(C) 6
Second Normal Form(2NF)
CSE-311(C) 7
Third Normal Form(3NF)
 Let’s add three more columns - STREET, CITY and ZIP to
STUDENT table to explain 3NF
 simplest to think of transitive dependence to mean a column’s
value relies upon another column through a second intermediate
column
STUDENT ZIP CITY
CSE-311(C) 8
Third Normal Form(3NF)

CSE-311(C) 9

More Related Content

What's hot

Advances in ms excel
Advances in ms excelAdvances in ms excel
Advances in ms excel
Mohit Kumar
 
How To Use vLookup for Excel
How To Use vLookup for ExcelHow To Use vLookup for Excel
How To Use vLookup for Excel
mikenobile
 
Database Management Systems 4 - Normalization
Database Management Systems 4 - NormalizationDatabase Management Systems 4 - Normalization
Database Management Systems 4 - Normalization
Nickkisha Farrell
 
Inner join and outer join
Inner join and outer joinInner join and outer join
Inner join and outer join
Nargis Ehsan
 
Using excel to convert raw score to z score
Using excel to convert raw score to z scoreUsing excel to convert raw score to z score
Using excel to convert raw score to z score
Sandra Nicks
 

What's hot (18)

Fill Command - R.D.Sivakumar
Fill Command - R.D.SivakumarFill Command - R.D.Sivakumar
Fill Command - R.D.Sivakumar
 
Advances in ms excel
Advances in ms excelAdvances in ms excel
Advances in ms excel
 
Spreadsheet for Year 8
Spreadsheet for Year 8Spreadsheet for Year 8
Spreadsheet for Year 8
 
How To Use vLookup for Excel
How To Use vLookup for ExcelHow To Use vLookup for Excel
How To Use vLookup for Excel
 
Database Management Systems 4 - Normalization
Database Management Systems 4 - NormalizationDatabase Management Systems 4 - Normalization
Database Management Systems 4 - Normalization
 
Powerpoint school
Powerpoint schoolPowerpoint school
Powerpoint school
 
USING VLOOKUP FUNCTION
USING VLOOKUP FUNCTIONUSING VLOOKUP FUNCTION
USING VLOOKUP FUNCTION
 
Sql joins
Sql joinsSql joins
Sql joins
 
Inner join and outer join
Inner join and outer joinInner join and outer join
Inner join and outer join
 
Fill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel TutorialFill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel Tutorial
 
Fsg reporting
Fsg reportingFsg reporting
Fsg reporting
 
Simple Spreadsheet Tips
Simple Spreadsheet TipsSimple Spreadsheet Tips
Simple Spreadsheet Tips
 
Excel Slope Instruction
Excel Slope InstructionExcel Slope Instruction
Excel Slope Instruction
 
Rick Watkins Docs
Rick Watkins DocsRick Watkins Docs
Rick Watkins Docs
 
Bis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.comBis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.com
 
Bis 155 Effective Communication / snaptutorial.com
Bis 155  Effective Communication / snaptutorial.comBis 155  Effective Communication / snaptutorial.com
Bis 155 Effective Communication / snaptutorial.com
 
Excel 3
Excel 3Excel 3
Excel 3
 
Using excel to convert raw score to z score
Using excel to convert raw score to z scoreUsing excel to convert raw score to z score
Using excel to convert raw score to z score
 

Similar to Normalization

What is Database NormalizationExplain the guidelines for ensuring t.pdf
What is Database NormalizationExplain the guidelines for ensuring t.pdfWhat is Database NormalizationExplain the guidelines for ensuring t.pdf
What is Database NormalizationExplain the guidelines for ensuring t.pdf
arjunstores123
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzation
Ehtisham Ali
 
2. DBMS Experiment - Lab 2 Made in SQL Used
2. DBMS Experiment - Lab 2 Made in SQL Used2. DBMS Experiment - Lab 2 Made in SQL Used
2. DBMS Experiment - Lab 2 Made in SQL Used
TheVerse1
 

Similar to Normalization (20)

Normalization
NormalizationNormalization
Normalization
 
Dwh lecture slides-week5&6
Dwh lecture slides-week5&6Dwh lecture slides-week5&6
Dwh lecture slides-week5&6
 
Correlated update vs merge
Correlated update vs mergeCorrelated update vs merge
Correlated update vs merge
 
SQL Database Performance Tuning for Developers
SQL Database Performance Tuning for DevelopersSQL Database Performance Tuning for Developers
SQL Database Performance Tuning for Developers
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
 
Database design normalization note and exercise
Database design normalization note and exerciseDatabase design normalization note and exercise
Database design normalization note and exercise
 
denormalization.ppt
denormalization.pptdenormalization.ppt
denormalization.ppt
 
Normalization.ppt
Normalization.pptNormalization.ppt
Normalization.ppt
 
Normalization
NormalizationNormalization
Normalization
 
Lecture 6.pptx
Lecture 6.pptxLecture 6.pptx
Lecture 6.pptx
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
What is Database NormalizationExplain the guidelines for ensuring t.pdf
What is Database NormalizationExplain the guidelines for ensuring t.pdfWhat is Database NormalizationExplain the guidelines for ensuring t.pdf
What is Database NormalizationExplain the guidelines for ensuring t.pdf
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Database Normalization.docx
Database Normalization.docxDatabase Normalization.docx
Database Normalization.docx
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzation
 
2. DBMS Experiment - Lab 2 Made in SQL Used
2. DBMS Experiment - Lab 2 Made in SQL Used2. DBMS Experiment - Lab 2 Made in SQL Used
2. DBMS Experiment - Lab 2 Made in SQL Used
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Nunes database
Nunes databaseNunes database
Nunes database
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 

More from Amin Omi (20)

Chapter 8 : Memory
Chapter 8 : MemoryChapter 8 : Memory
Chapter 8 : Memory
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
Pipelining
PipeliningPipelining
Pipelining
 
Sad lecture 1
Sad lecture 1Sad lecture 1
Sad lecture 1
 
Sad lecture 2
Sad lecture 2Sad lecture 2
Sad lecture 2
 
Sad lecture 3
Sad lecture 3Sad lecture 3
Sad lecture 3
 
Sad lecture 4
Sad lecture 4Sad lecture 4
Sad lecture 4
 
Sad lecture 5
Sad lecture 5Sad lecture 5
Sad lecture 5
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Chapter04
Chapter04Chapter04
Chapter04
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter01
Chapter01Chapter01
Chapter01
 
Transaction
TransactionTransaction
Transaction
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Basic health tips
Basic health tipsBasic health tips
Basic health tips
 
Style of living
Style of livingStyle of living
Style of living
 
0/1 knapsack
0/1 knapsack0/1 knapsack
0/1 knapsack
 
Basic SQL Command
Basic SQL CommandBasic SQL Command
Basic SQL Command
 
Chapter 5 : Link Layer
Chapter 5 : Link LayerChapter 5 : Link Layer
Chapter 5 : Link Layer
 
Chapter 2 : Application Layer
Chapter 2 : Application LayerChapter 2 : Application Layer
Chapter 2 : Application Layer
 

Recently uploaded

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 

Recently uploaded (20)

Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 

Normalization

  • 1. Normalization Normalization is a database design technique which organizes tables in a manner that reduces redundancy and dependency of data.
  • 2. Reasons for Normalization Insert Anomaly: In our example we cannot record a new sales office until we also know the sales person. Why? Because in order to create the record, we need provide a primary key. In our case this is the EmployeeID. CSE-311(C) 2
  • 3. Reasons for Normalization Update Anomaly: The same information is recorded in multiple rows. For instance if the office number changes, then there are multiple updates that need to be made. If these updates are not successfully completed across all rows, then an inconsistency occurs. CSE-311(C) 3
  • 4. Reasons for Normalization Deletion Anomaly: Deletion of a row can cause more than one set of facts to be removed. For instance, if John Hunt retires, then deleting that row cause use to lose information about the New York office. CSE-311(C) 4
  • 5. Normalization Rule Database Normal Forms:  1NF (First Normal Form) Rules oEach table cell should contain single value. oEach record needs to be unique oNo rows of data should have repeating group of column values  2NF (Second Normal Form) Rules oRule 1- Be in 1NF oRule 2- Single Column Primary Key  3NF (Third Normal Form) Rules oRule 1- Be in 2NF oRule 2- Has no transitive functional dependencies CSE-311(C) 5
  • 6. First Normal Form(1NF) Repeated groups CSE-311(C) 6
  • 8. Third Normal Form(3NF)  Let’s add three more columns - STREET, CITY and ZIP to STUDENT table to explain 3NF  simplest to think of transitive dependence to mean a column’s value relies upon another column through a second intermediate column STUDENT ZIP CITY CSE-311(C) 8