SlideShare a Scribd company logo
14
Most read
19
Most read
20
Most read
Normalization and its types
Presented by:-
Shouvic Banik
DEFINITION
Normalization can be defined as :-
-A process of organizing the data in database to avoid data redundancy, insertion
anomaly, update anomaly & deletion anomaly.
-A process of organizing data into tables in such a way that the results of using
the database are always unambiguous and as intended. Such normalization is
intrinsic to relational database theory. It may have the effect of duplicating data
within the database and often results in the creation of additional tables.
Types of normalization:-
First Normal Form (1NF)
Second Normal Form (2NF)
Third Normal Form (3NF)
Boyce-Codd Normal Form (BCNF)
Fourth Normal Form (4NF)
Fifth Normal Form (5NF)
First Normal Form (1NF)
First normal form enforces these criteria:-
-Eliminate repeating groups in individual tables.
-Create a separate table for each set of related data.
-Identify each set of related data with a primary key
First Normal Form
This table is not in first normal form
because the “Color” column contains
multiple values.
After decomposing it into first normal form the
table looks like:-
Second Normal Form (2NF)
A table is said to be in 2NF if both the following conditions hold:
-Table is in 1NF (First normal farm)
-No non-prime attribute is dependent on the proper subset of any candidate key
of table(the table should not contain any partial dependency).
An attribute that is not part of any candidate key is known as non-prime
attribute.
Second Normal Form
-This table has a composite primary key i.e.,
customer id, store id. The nonprime attribute
is location. In this this case location depends
on Store_id, which is part of the primary key
After decomposing it into second normal form the
table looks like:-
Third Normal Form (3NF)
A table design is said to be in 3NF if both the following conditions hold:
-Table must be in 2NF
-Transitive functional dependency of non-prime attribute on any super key should
be removed
An attribute that is not part of any candidate key is known as non-prime attribute.
In other words, 3NF can be explained like this: A table is in 3NF if it is in 2NF
and for each functional dependency X-> Y at least one of the following conditions
hold:-
X is a super key of table
Y is a prime attribute of table
An attribute that is a part of one of the candidate keys is known as prime attribute.
Third Normal Form
In the table, book_id
determines genre_id and
genre_id determines genre
type. Therefore book_id
determines genre type via
genre_id and we have
transitive functional
dependency.
After decomposing it into third normal form the table
looks like:-
Boyce-Codd Normal Form (BCNF)
-It is an advance version of 3NF that's why it is also referred as 3.5NF. BCNF is
stricter than 3NF. A table complies with BCNF if it is in 3NF and for every
functional dependency X->Y, X should be the super key of the table.
Boyce-Codd Normal Form
>KEY: {Student, Course}
>Functional dependency
{student, course}->Teacher
Teacher-> Course
>Problem: teacher is not super key but
determines course.
After decomposing it into Boyce-Codd Normal form the
table looks like:-
Fourth normal form (4NF)
-Fourth normal form(4NF)is a level of database normalization where there
are no non-trivial multivalued dependencies other than a candidate key.
It builds on the first three normal forms (1NF, 2NF and 3NF) and the Boyce-
Codd Normal Form (BCNF). It states that, in addition to a database meeting the
requirements of BCNF, it must not contain more than one multivalued
dependency.
Fourth Normal Form
Key: {students, major, hobby}
MVD:->Major, hobby
After decomposing it into fourth normal form the
table looks like:-
Fifth Normal Form (5NF)
A database is said to be in 5NF, if and only if:
-Its in 4NF.
-If we can decompose table further to eliminate redundancy and anomaly, and
when we re-join the decomposed tables by means of candidate keys, we should
not be losing the original data, or any new record set should not arise.
In simple words, joining two or more decomposed table should not lose records
nor create new records.
Fifth Normal Form
Key: [seller company, product]
MVD: Seller ->Company, product
Product is related to company.
After decomposing it into fifth normal form the
table looks like:-
Normalization and its various types in DBMS
Thank You!

More Related Content

PDF
Trees, Binary Search Tree, AVL Tree in Data Structures
PPTX
File Structures(Part 2)
PPT
PDF
Normalization in SQL | Edureka
PPTX
Python Data Structures and Algorithms.pptx
PPT
Chapter 8 ds
PDF
View & index in SQL
PPTX
Normalization
Trees, Binary Search Tree, AVL Tree in Data Structures
File Structures(Part 2)
Normalization in SQL | Edureka
Python Data Structures and Algorithms.pptx
Chapter 8 ds
View & index in SQL
Normalization

What's hot (20)

PPTX
Learn Normalization in simple language
PPTX
Find and locate
PPT
Data Structure and Algorithms AVL Trees
PPTX
Python Programming Essentials - M21 - Exception Handling
PDF
Indexing and-hashing
PPTX
Linked List
PPTX
Merging files (Data Structure)
PPTX
B and B+ tree
PPTX
Normalization in DBMS
PPT
Normalization
PPT
Lecture2 oracle ppt
PPT
B trees dbms
PPT
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
PPT
Unit 4 external sorting
PPTX
PPT
Python GUI Programming
PPT
B trees and_b__trees
PPTX
Binary expression tree
Learn Normalization in simple language
Find and locate
Data Structure and Algorithms AVL Trees
Python Programming Essentials - M21 - Exception Handling
Indexing and-hashing
Linked List
Merging files (Data Structure)
B and B+ tree
Normalization in DBMS
Normalization
Lecture2 oracle ppt
B trees dbms
Database Normalization 1NF, 2NF, 3NF, BCNF, 4NF, 5NF
Unit 4 external sorting
Python GUI Programming
B trees and_b__trees
Binary expression tree
Ad

Similar to Normalization and its various types in DBMS (20)

PDF
1-161103092724 (1).pdf
PDF
1-161103092724 (1).pdf
PPTX
Database Normalization.pptx
PPTX
Database Normalization.pptx
PPTX
1-161103092724.pptx
PPTX
1-161103092724.pptx
PPTX
Jai dbms
PPTX
Jai dbms
PPT
Normalization
PPT
Normalization
PPTX
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
PPTX
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
PPTX
normalization .pptx types and the examples
PPTX
normalization .pptx types and the examples
PDF
Advanced Normalization
PDF
Advanced Normalization
PPTX
Normalization
PPTX
Normalization
DOCX
Normalization in relational database management systems
DOCX
Normalization in relational database management systems
1-161103092724 (1).pdf
1-161103092724 (1).pdf
Database Normalization.pptx
Database Normalization.pptx
1-161103092724.pptx
1-161103092724.pptx
Jai dbms
Jai dbms
Normalization
Normalization
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
1-161103092724.pzxsdfdsdrgdrgdfgdfgdfgdfgptx
normalization .pptx types and the examples
normalization .pptx types and the examples
Advanced Normalization
Advanced Normalization
Normalization
Normalization
Normalization in relational database management systems
Normalization in relational database management systems
Ad

Recently uploaded (20)

PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
history of c programming in notes for students .pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
medical staffing services at VALiNTRY
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Digital Strategies for Manufacturing Companies
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
System and Network Administration Chapter 2
PPTX
Introduction to Artificial Intelligence
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
AI in Product Development-omnex systems
PPTX
Essential Infomation Tech presentation.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Softaken Excel to vCard Converter Software.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
history of c programming in notes for students .pptx
Odoo Companies in India – Driving Business Transformation.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
medical staffing services at VALiNTRY
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Digital Strategies for Manufacturing Companies
2025 Textile ERP Trends: SAP, Odoo & Oracle
System and Network Administration Chapter 2
Introduction to Artificial Intelligence
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How Creative Agencies Leverage Project Management Software.pdf
Nekopoi APK 2025 free lastest update
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
wealthsignaloriginal-com-DS-text-... (1).pdf
AI in Product Development-omnex systems
Essential Infomation Tech presentation.pptx
CHAPTER 2 - PM Management and IT Context
Softaken Excel to vCard Converter Software.pdf

Normalization and its various types in DBMS

  • 1. Normalization and its types Presented by:- Shouvic Banik
  • 2. DEFINITION Normalization can be defined as :- -A process of organizing the data in database to avoid data redundancy, insertion anomaly, update anomaly & deletion anomaly. -A process of organizing data into tables in such a way that the results of using the database are always unambiguous and as intended. Such normalization is intrinsic to relational database theory. It may have the effect of duplicating data within the database and often results in the creation of additional tables.
  • 3. Types of normalization:- First Normal Form (1NF) Second Normal Form (2NF) Third Normal Form (3NF) Boyce-Codd Normal Form (BCNF) Fourth Normal Form (4NF) Fifth Normal Form (5NF)
  • 4. First Normal Form (1NF) First normal form enforces these criteria:- -Eliminate repeating groups in individual tables. -Create a separate table for each set of related data. -Identify each set of related data with a primary key
  • 5. First Normal Form This table is not in first normal form because the “Color” column contains multiple values.
  • 6. After decomposing it into first normal form the table looks like:-
  • 7. Second Normal Form (2NF) A table is said to be in 2NF if both the following conditions hold: -Table is in 1NF (First normal farm) -No non-prime attribute is dependent on the proper subset of any candidate key of table(the table should not contain any partial dependency). An attribute that is not part of any candidate key is known as non-prime attribute.
  • 8. Second Normal Form -This table has a composite primary key i.e., customer id, store id. The nonprime attribute is location. In this this case location depends on Store_id, which is part of the primary key
  • 9. After decomposing it into second normal form the table looks like:-
  • 10. Third Normal Form (3NF) A table design is said to be in 3NF if both the following conditions hold: -Table must be in 2NF -Transitive functional dependency of non-prime attribute on any super key should be removed An attribute that is not part of any candidate key is known as non-prime attribute. In other words, 3NF can be explained like this: A table is in 3NF if it is in 2NF and for each functional dependency X-> Y at least one of the following conditions hold:- X is a super key of table Y is a prime attribute of table An attribute that is a part of one of the candidate keys is known as prime attribute.
  • 11. Third Normal Form In the table, book_id determines genre_id and genre_id determines genre type. Therefore book_id determines genre type via genre_id and we have transitive functional dependency.
  • 12. After decomposing it into third normal form the table looks like:-
  • 13. Boyce-Codd Normal Form (BCNF) -It is an advance version of 3NF that's why it is also referred as 3.5NF. BCNF is stricter than 3NF. A table complies with BCNF if it is in 3NF and for every functional dependency X->Y, X should be the super key of the table.
  • 14. Boyce-Codd Normal Form >KEY: {Student, Course} >Functional dependency {student, course}->Teacher Teacher-> Course >Problem: teacher is not super key but determines course.
  • 15. After decomposing it into Boyce-Codd Normal form the table looks like:-
  • 16. Fourth normal form (4NF) -Fourth normal form(4NF)is a level of database normalization where there are no non-trivial multivalued dependencies other than a candidate key. It builds on the first three normal forms (1NF, 2NF and 3NF) and the Boyce- Codd Normal Form (BCNF). It states that, in addition to a database meeting the requirements of BCNF, it must not contain more than one multivalued dependency.
  • 17. Fourth Normal Form Key: {students, major, hobby} MVD:->Major, hobby
  • 18. After decomposing it into fourth normal form the table looks like:-
  • 19. Fifth Normal Form (5NF) A database is said to be in 5NF, if and only if: -Its in 4NF. -If we can decompose table further to eliminate redundancy and anomaly, and when we re-join the decomposed tables by means of candidate keys, we should not be losing the original data, or any new record set should not arise. In simple words, joining two or more decomposed table should not lose records nor create new records.
  • 20. Fifth Normal Form Key: [seller company, product] MVD: Seller ->Company, product Product is related to company.
  • 21. After decomposing it into fifth normal form the table looks like:-