SlideShare a Scribd company logo
Normalization
(1NF)
3
 Normalization is a data analysis technique to
design a database system.
 It allows the database designer to understand the
current data structures in an organization.
 Furthermore, it aids any future changes and
enhancements to the system.
 Normalization is a technique for producing
relational schema with the following properties:
 No Information Redundancy
 No Update Anomalies
 The end result of Normalization is a set of entities,
which removes unnecessary redundancy (ie
duplication of data) and avoids the anomalies which
The Process of Normalization
3
4
 Process involves applying a series of tests on a
relation to determine whether it satisfies or violates
the requirements of a given normal form.
 When a test fails, the relation is decomposed into
simpler relations that individually meet the
Normalization tests.
 The higher the normal form the less vulnerable to
update anomalies the relations become.
 Three Normal forms: 1NF, 2NF and 3NF were
initially proposed by Codd.
 All these normal forms are based on the functional
The Process of Normalization
4
Normalization
Stages
5
The Process of Normalization
5
Normalization
Stages
6
The Process of Normalization
6
Normalization
Stages
https://youtu.be/ygfikznRjpw
7
Transform a table of unnormalised data
into first normal form (1NF) any repeating
attributes to a new table.
The process is as follows:
 Identify repeating attributes.
 Remove these repeating attributes to a
new table together with a copy of the key
7
The Process of Normalization
The First Normal Form -
1NF
The Process of Normalization
The First Normal Form -
1NF
https://youtu.be/K7vzLrGCV50
Class Exercises
10
10
Class Exercises
Normalize to the 1st Form
(2NF)
The Process of Normalization
The Second Normal Form -
2NF
https://youtu.be/9L10Q1nAfyg
13
 Transform 1NF data into second normal form (2NF).
 Remove any -key attributes (partial Dependencies) that only
depend on part of the table key to a new table.
 What has to be determined "is field A dependent upon field B or
vice versa?" This means: "Given a value for A, do we then have
only one possible value for B, and vice versa?" If the answer is
yes, A and B should be put into a new relation with A becoming
the primary key. A should be left in the original relation and
marked as a foreign key.
 Ignore tables with (a) a simple key or (b) with no non-key
attributes (these go straight to 2NF with no conversion).
The Process of Normalization
13
Normalization 2NF
14
The process is as follows:
 Take each non-key attribute in turn and ask the question: is
this attribute dependent on one part of the key?
 If yes, remove the attribute to a new table with a copy of
the part of the key it is dependent upon. The key it is
dependent upon becomes the key in the new table. Underline
the key in this new table.
 If no, check against other part of the key and repeat above
process
 If still no, ie: not dependent on either part of the key, keep
attribute in current table.
The Process of Normalization
14
Normalization 2NF
15
 The first table went straight to 2NF as it has a simple key
(Project Code).
 Employee name, Department No and Department Name
are dependent upon Employee No only. Therefore, they
were moved to a new table with Employee No being the
key.
 However, Hourly Rate is dependent upon both Project
Code and Employee No as an employee may have a
different hourly rate depending upon which project they
are working on.
The Process of Normalization
15
Normalization 2NF
16
The Process of Normalization
16
Normalization
Example
Once you identify a table’s purpose, then look at each of
the table’s columns and ask yourself, “Does this column
serve to describe what the primary key identifies?”
If you answer “yes,” then the column is dependent on
the primary key and belongs in the table.
If you answer “no,” then the column should be moved
different table.
(3NF)
The Process of Normalization
Normalization to the 3NF
https://youtu.be/_K7fcFQowy8
19
The process is as follows:
If a non-key attribute is more dependent on another non-
key attribute than the table key:
 Move the dependent attribute, together with a copy of
the non-key attribute upon which it is dependent, to a
new table.
 Make the non-key attribute, upon which it is dependent,
the key in the new table. Underline the key in this new
table.
 Leave the non-key attribute, upon which it is dependent,
in the original table and mark it a foreign key (*).
 The project team table went straight from 2NF to 3NF as
it only has one non-key attribute.
 Department Name is more dependent upon Department
The Process of Normalization
19
Normalization
Example
The Process of Normalization
Normalization to the 1NF
Each table cell should contain a single value.
Each record needs to be unique.
The Process of Normalization
Normalization to the 2NF
 Rule 1- Be in 1NF
 Rule 2- Single Column Primary Key
The Process of Normalization
Normalization to the 3NF
 Rule 1- Be in 2NF
 Rule 2- Has no transitive functional dependencies
Copyright
Ad

More Related Content

What's hot (20)

Merge vs sql join vs append (horizontal vs vertical) best
Merge vs sql join vs append (horizontal vs vertical) bestMerge vs sql join vs append (horizontal vs vertical) best
Merge vs sql join vs append (horizontal vs vertical) best
Araz Abbas Zadeh
 
OrACLE RELATIONAL
OrACLE RELATIONALOrACLE RELATIONAL
OrACLE RELATIONAL
ASHABOOPATHY
 
Excel SUMIFS Function
Excel SUMIFS FunctionExcel SUMIFS Function
Excel SUMIFS Function
Excel
 
conditional formatting
conditional formattingconditional formatting
conditional formatting
Sushmita Ghosh
 
Sql joins inner join self join outer joins
Sql joins inner join self join outer joinsSql joins inner join self join outer joins
Sql joins inner join self join outer joins
Deepthi Rachumallu
 
Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
pradesigali1
 
Sumif () ppt
Sumif () pptSumif () ppt
Sumif () ppt
Vijay Perepa
 
Confirmatory Factor Analysis
Confirmatory Factor AnalysisConfirmatory Factor Analysis
Confirmatory Factor Analysis
Economic Research Forum
 
Excel functions formulas
Excel functions formulasExcel functions formulas
Excel functions formulas
LearnIT@UD
 
Joins and unions
Joins and unionsJoins and unions
Joins and unions
baabtra.com - No. 1 supplier of quality freshers
 
Summarize Data Using a Formula
Summarize Data Using a FormulaSummarize Data Using a Formula
Summarize Data Using a Formula
coachhahn
 
Table Of Results
Table Of ResultsTable Of Results
Table Of Results
Teresa Briercliffe
 
Structural equation modeling in amos
Structural equation modeling in amosStructural equation modeling in amos
Structural equation modeling in amos
Balaji P
 
Excel Formula and Function Basics
Excel Formula and Function BasicsExcel Formula and Function Basics
Excel Formula and Function Basics
guest1c3d8c6
 
Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3
COSTARCH Analytical Consulting (P) Ltd.
 
SQL Joins
SQL JoinsSQL Joins
SQL Joins
Paul Harkins
 
MS Sql Server: Joining Databases
MS Sql Server: Joining DatabasesMS Sql Server: Joining Databases
MS Sql Server: Joining Databases
DataminingTools Inc
 
Structural Equation Modelling (SEM) Part 2
Structural Equation Modelling (SEM) Part 2Structural Equation Modelling (SEM) Part 2
Structural Equation Modelling (SEM) Part 2
COSTARCH Analytical Consulting (P) Ltd.
 
Sem with amos ii
Sem with amos iiSem with amos ii
Sem with amos ii
Jordan Sitorus
 
Bengkel smartPLS 2011
Bengkel smartPLS 2011Bengkel smartPLS 2011
Bengkel smartPLS 2011
Adi Ali
 
Merge vs sql join vs append (horizontal vs vertical) best
Merge vs sql join vs append (horizontal vs vertical) bestMerge vs sql join vs append (horizontal vs vertical) best
Merge vs sql join vs append (horizontal vs vertical) best
Araz Abbas Zadeh
 
Excel SUMIFS Function
Excel SUMIFS FunctionExcel SUMIFS Function
Excel SUMIFS Function
Excel
 
conditional formatting
conditional formattingconditional formatting
conditional formatting
Sushmita Ghosh
 
Sql joins inner join self join outer joins
Sql joins inner join self join outer joinsSql joins inner join self join outer joins
Sql joins inner join self join outer joins
Deepthi Rachumallu
 
Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
pradesigali1
 
Excel functions formulas
Excel functions formulasExcel functions formulas
Excel functions formulas
LearnIT@UD
 
Summarize Data Using a Formula
Summarize Data Using a FormulaSummarize Data Using a Formula
Summarize Data Using a Formula
coachhahn
 
Structural equation modeling in amos
Structural equation modeling in amosStructural equation modeling in amos
Structural equation modeling in amos
Balaji P
 
Excel Formula and Function Basics
Excel Formula and Function BasicsExcel Formula and Function Basics
Excel Formula and Function Basics
guest1c3d8c6
 
MS Sql Server: Joining Databases
MS Sql Server: Joining DatabasesMS Sql Server: Joining Databases
MS Sql Server: Joining Databases
DataminingTools Inc
 
Bengkel smartPLS 2011
Bengkel smartPLS 2011Bengkel smartPLS 2011
Bengkel smartPLS 2011
Adi Ali
 

Similar to Week 6 Normalization (20)

Normalization in relational database management systems
Normalization in relational database management systemsNormalization in relational database management systems
Normalization in relational database management systems
Preethi T G
 
2 normalization
2 normalization2 normalization
2 normalization
Mr Patrick NIYISHAKA
 
Normalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Normalization of Database Tablecxcxvvvvvvvvvvvs.pptNormalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Normalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Noorien3
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tables
Dhani Ahmad
 
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
cherkoswelday3
 
please answer these true and false questions . note ple.pdf
please answer these true and false questions . note ple.pdfplease answer these true and false questions . note ple.pdf
please answer these true and false questions . note ple.pdf
ezonesolutions
 
Presentation on Normalization.pptx
Presentation on Normalization.pptxPresentation on Normalization.pptx
Presentation on Normalization.pptx
kshipra sony
 
normalization .pptx types and the examples
normalization .pptx types and the examplesnormalization .pptx types and the examples
normalization .pptx types and the examples
jayapriya060226
 
Distributed database
Distributed databaseDistributed database
Distributed database
NasIr Irshad
 
Normalization
NormalizationNormalization
Normalization
Altafsoomro
 
Normalization work as through a series of stages called normal forms .pdf
Normalization work as through a series of stages called normal forms .pdfNormalization work as through a series of stages called normal forms .pdf
Normalization work as through a series of stages called normal forms .pdf
deepaarora22
 
Chapter – 4 Normalization and Relational Algebra.pdf
Chapter – 4 Normalization and Relational Algebra.pdfChapter – 4 Normalization and Relational Algebra.pdf
Chapter – 4 Normalization and Relational Algebra.pdf
TamiratDejene1
 
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptxSS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
oforjose30
 
Chapter Four Logical Database Design (Normalization).pptx
Chapter Four Logical Database Design (Normalization).pptxChapter Four Logical Database Design (Normalization).pptx
Chapter Four Logical Database Design (Normalization).pptx
haymanot taddesse
 
Assignment 3
Assignment 3Assignment 3
Assignment 3
SneaK3
 
Sql interview q&a
Sql interview q&aSql interview q&a
Sql interview q&a
Syed Shah
 
Database Normalization.docx
Database Normalization.docxDatabase Normalization.docx
Database Normalization.docx
SHARMISTHAlearning
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal form
college
 
What's database normalization
What's database normalizationWhat's database normalization
What's database normalization
Harish Gyanani
 
Penormalan/Normalization
Penormalan/NormalizationPenormalan/Normalization
Penormalan/Normalization
Joan Ador
 
Normalization in relational database management systems
Normalization in relational database management systemsNormalization in relational database management systems
Normalization in relational database management systems
Preethi T G
 
Normalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Normalization of Database Tablecxcxvvvvvvvvvvvs.pptNormalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Normalization of Database Tablecxcxvvvvvvvvvvvs.ppt
Noorien3
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tables
Dhani Ahmad
 
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
04 CHAPTER FOUR - INTEGRITY CONSTRAINTS AND NORMALIZATION.pptx
cherkoswelday3
 
please answer these true and false questions . note ple.pdf
please answer these true and false questions . note ple.pdfplease answer these true and false questions . note ple.pdf
please answer these true and false questions . note ple.pdf
ezonesolutions
 
Presentation on Normalization.pptx
Presentation on Normalization.pptxPresentation on Normalization.pptx
Presentation on Normalization.pptx
kshipra sony
 
normalization .pptx types and the examples
normalization .pptx types and the examplesnormalization .pptx types and the examples
normalization .pptx types and the examples
jayapriya060226
 
Distributed database
Distributed databaseDistributed database
Distributed database
NasIr Irshad
 
Normalization work as through a series of stages called normal forms .pdf
Normalization work as through a series of stages called normal forms .pdfNormalization work as through a series of stages called normal forms .pdf
Normalization work as through a series of stages called normal forms .pdf
deepaarora22
 
Chapter – 4 Normalization and Relational Algebra.pdf
Chapter – 4 Normalization and Relational Algebra.pdfChapter – 4 Normalization and Relational Algebra.pdf
Chapter – 4 Normalization and Relational Algebra.pdf
TamiratDejene1
 
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptxSS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
SS3 NORMALISATION HANDOUT EASY TO UNDERSTAND(1).pptx
oforjose30
 
Chapter Four Logical Database Design (Normalization).pptx
Chapter Four Logical Database Design (Normalization).pptxChapter Four Logical Database Design (Normalization).pptx
Chapter Four Logical Database Design (Normalization).pptx
haymanot taddesse
 
Assignment 3
Assignment 3Assignment 3
Assignment 3
SneaK3
 
Sql interview q&a
Sql interview q&aSql interview q&a
Sql interview q&a
Syed Shah
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal form
college
 
What's database normalization
What's database normalizationWhat's database normalization
What's database normalization
Harish Gyanani
 
Penormalan/Normalization
Penormalan/NormalizationPenormalan/Normalization
Penormalan/Normalization
Joan Ador
 
Ad

More from oudesign (20)

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
oudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
oudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
oudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
oudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
oudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
oudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
oudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
oudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
oudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
oudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
oudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Models
oudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
oudesign
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
oudesign
 
Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
oudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
oudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
oudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
oudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
oudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
oudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
oudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
oudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
oudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
oudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
oudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Models
oudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
oudesign
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
oudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
oudesign
 
Ad

Recently uploaded (20)

Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 

Week 6 Normalization

  • 3. 3  Normalization is a data analysis technique to design a database system.  It allows the database designer to understand the current data structures in an organization.  Furthermore, it aids any future changes and enhancements to the system.  Normalization is a technique for producing relational schema with the following properties:  No Information Redundancy  No Update Anomalies  The end result of Normalization is a set of entities, which removes unnecessary redundancy (ie duplication of data) and avoids the anomalies which The Process of Normalization 3
  • 4. 4  Process involves applying a series of tests on a relation to determine whether it satisfies or violates the requirements of a given normal form.  When a test fails, the relation is decomposed into simpler relations that individually meet the Normalization tests.  The higher the normal form the less vulnerable to update anomalies the relations become.  Three Normal forms: 1NF, 2NF and 3NF were initially proposed by Codd.  All these normal forms are based on the functional The Process of Normalization 4 Normalization Stages
  • 5. 5 The Process of Normalization 5 Normalization Stages
  • 6. 6 The Process of Normalization 6 Normalization Stages https://youtu.be/ygfikznRjpw
  • 7. 7 Transform a table of unnormalised data into first normal form (1NF) any repeating attributes to a new table. The process is as follows:  Identify repeating attributes.  Remove these repeating attributes to a new table together with a copy of the key 7 The Process of Normalization The First Normal Form - 1NF
  • 8. The Process of Normalization The First Normal Form - 1NF https://youtu.be/K7vzLrGCV50
  • 11. (2NF)
  • 12. The Process of Normalization The Second Normal Form - 2NF https://youtu.be/9L10Q1nAfyg
  • 13. 13  Transform 1NF data into second normal form (2NF).  Remove any -key attributes (partial Dependencies) that only depend on part of the table key to a new table.  What has to be determined "is field A dependent upon field B or vice versa?" This means: "Given a value for A, do we then have only one possible value for B, and vice versa?" If the answer is yes, A and B should be put into a new relation with A becoming the primary key. A should be left in the original relation and marked as a foreign key.  Ignore tables with (a) a simple key or (b) with no non-key attributes (these go straight to 2NF with no conversion). The Process of Normalization 13 Normalization 2NF
  • 14. 14 The process is as follows:  Take each non-key attribute in turn and ask the question: is this attribute dependent on one part of the key?  If yes, remove the attribute to a new table with a copy of the part of the key it is dependent upon. The key it is dependent upon becomes the key in the new table. Underline the key in this new table.  If no, check against other part of the key and repeat above process  If still no, ie: not dependent on either part of the key, keep attribute in current table. The Process of Normalization 14 Normalization 2NF
  • 15. 15  The first table went straight to 2NF as it has a simple key (Project Code).  Employee name, Department No and Department Name are dependent upon Employee No only. Therefore, they were moved to a new table with Employee No being the key.  However, Hourly Rate is dependent upon both Project Code and Employee No as an employee may have a different hourly rate depending upon which project they are working on. The Process of Normalization 15 Normalization 2NF
  • 16. 16 The Process of Normalization 16 Normalization Example Once you identify a table’s purpose, then look at each of the table’s columns and ask yourself, “Does this column serve to describe what the primary key identifies?” If you answer “yes,” then the column is dependent on the primary key and belongs in the table. If you answer “no,” then the column should be moved different table.
  • 17. (3NF)
  • 18. The Process of Normalization Normalization to the 3NF https://youtu.be/_K7fcFQowy8
  • 19. 19 The process is as follows: If a non-key attribute is more dependent on another non- key attribute than the table key:  Move the dependent attribute, together with a copy of the non-key attribute upon which it is dependent, to a new table.  Make the non-key attribute, upon which it is dependent, the key in the new table. Underline the key in this new table.  Leave the non-key attribute, upon which it is dependent, in the original table and mark it a foreign key (*).  The project team table went straight from 2NF to 3NF as it only has one non-key attribute.  Department Name is more dependent upon Department The Process of Normalization 19 Normalization Example
  • 20. The Process of Normalization Normalization to the 1NF Each table cell should contain a single value. Each record needs to be unique.
  • 21. The Process of Normalization Normalization to the 2NF  Rule 1- Be in 1NF  Rule 2- Single Column Primary Key
  • 22. The Process of Normalization Normalization to the 3NF  Rule 1- Be in 2NF  Rule 2- Has no transitive functional dependencies