SlideShare a Scribd company logo
NORMALIZATION IN RDBMS
S.B.S.Younus M.Sc., M.Phil., NET.,
Assistant Professor,
Department of Information Technology,
Sadakathullah Appa College,
Tirunelveli.
Follow on YouTube: SBS Digital Learning
WHAT IS NORMALIZATION?
 In a relational database management system
(RDBMS), there are several normal forms
(NFs) that help structure data to minimize
redundancy and improve data integrity.
NORMALIZATION TYPES
 First Normal Form (1NF)
 Second Normal Form (2NF)
 Third Normal Form (3NF)
 Boyce Code Normal Form (BCNF)
 Fourth Normal Form (4NF)
 Fifth Normal Form (5NF)
FIRST NORMAL FORM (1NF)
 Ensures that each column in a table
contains only atomic (indivisible)
values.
 Example: Consider a table named
"Students" with a column "Phone
Numbers" that contains multiple phone
numbers in a single cell.
 To achieve 1NF, we have to split the
phone numbers into separate rows, each
associated with a student.
SECOND NORMAL FORM (2NF)
 Extends 1NF and adds the requirement
that each non-key column is
functionally dependent on the entire
primary key.
 Example: In a "Course Registration" table
with student and course data, if the
primary key is a combination of student ID
and course ID, you should ensure that any
data related to a course depends on both
student ID and course ID.
THIRD NORMAL FORM (3NF)
 Extends 2NF and ensures that there is
no transitive dependency between non-
key columns.
 Example: In a "Library Books" table with
columns for "Author" and "Author's
Address," if the author's address depends
on the author's name, you should create a
separate "Authors" table to eliminate this
transitive dependency.
BOYCE CODE NORMAL FORM (BCNF)
 BCNF is a stricter version of 3NF that
deals with certain types of anomalies
related to functional dependencies.
 It states that, for any non-trivial functional
dependency X → Y in a relation, X must
be a superkey (a set of attributes that
uniquely identifies a tuple).
BCNF EXAMPLE
 Consider a "Students" table with attributes
(columns) like StudentID, Course, and
Professor.
 If you have a functional dependency where
Course → Professor (i.e., each course is
taught by a unique professor), and Course is
not a superkey by itself, you need to
decompose the table to meet BCNF.
 You'd create a new table for Courses and
Professors, ensuring that Course (or a
combination of attributes) serves as the key
in the Courses table.
FOURTH NORMAL FORM (4NF)
 4NF addresses multi-valued
dependencies, where an attribute can
have multiple values for a single set of
other attributes.
 It requires that a relation be in BCNF and
that there are no non-trivial multi-valued
dependencies.
4NF EXAMPLE
 Imagine a "Orders" table with attributes
OrderID, CustomerName, and Item.
 If a single order can have multiple items,
you'd split the table into "Orders" (containing
OrderID and CustomerName) and
"OrderItems" (containing OrderID and Item),
ensuring that no multi-valued
dependencies exist.
FIFTH NORMAL FORM (5NF)
 5NF addresses cases where a relation
contains join dependencies, ensuring that
data can be reconstructed from decomposed
tables without loss of information.
 It is used to handle complex cases where a
relation needs to be split into multiple tables
and joined when queried.
5NF EXAMPLE
 Suppose you have a "Library" database
with a "Books" table and a "Authors" table.
 5NF would ensure that even after
decomposing, you can still accurately
retrieve information like which author
wrote which book, by performing joins
between the "Books" and "Authors" tables.
CONCLUSION
 Normal forms help organize data in a way
that reduces redundancy and anomalies in a
relational database, promoting data accuracy
and consistency.
 Higher normal forms like BCNF, 4NF and
5NF address more complex dependencies
and can be applied in specific scenarios as
needed.
Normalization in RDBMS.pptx

More Related Content

PPTX
SQL Commands
PPTX
Introduction to Data Structures & Algorithms
PPTX
Disadvantages of file management system (file processing systems)
PPTX
Data Structures - Lecture 3 [Arrays]
PPTX
Adbms 35 recoverability and serializability
PPTX
Lecture 1 introduction to vb.net
PDF
Air fiber case_study_1
PPTX
Database administrator
SQL Commands
Introduction to Data Structures & Algorithms
Disadvantages of file management system (file processing systems)
Data Structures - Lecture 3 [Arrays]
Adbms 35 recoverability and serializability
Lecture 1 introduction to vb.net
Air fiber case_study_1
Database administrator

What's hot (20)

PPTX
PPT
Er & eer to relational mapping
PPTX
Basic SQL and History
DOCX
Software requirements specification of Library Management System
PPTX
Presentation slides of Sequence Query Language (SQL)
PPTX
SQL(DDL & DML)
PPTX
Normal forms
PPT
3 Tier Architecture
PPTX
Unix OS & Commands
PDF
Database User and Administrator
PPTX
Entity Relationship Model
DOC
SQL practice questions - set 3
PPT
PPTX
Entity relationship diagram - Concept on normalization
PPT
Oracle locking
PDF
VTU DSA Lab Manual
PPT
Database Presentation
PPTX
Introduction to vb.net
PDF
8 python data structure-1
PPTX
Object Oriented Programming
Er & eer to relational mapping
Basic SQL and History
Software requirements specification of Library Management System
Presentation slides of Sequence Query Language (SQL)
SQL(DDL & DML)
Normal forms
3 Tier Architecture
Unix OS & Commands
Database User and Administrator
Entity Relationship Model
SQL practice questions - set 3
Entity relationship diagram - Concept on normalization
Oracle locking
VTU DSA Lab Manual
Database Presentation
Introduction to vb.net
8 python data structure-1
Object Oriented Programming
Ad

Similar to Normalization in RDBMS.pptx (20)

PDF
Dependencies in various topics like normalisation and its types
DOCX
Research gadot
PPT
Databases: Normalisation
PPTX
Structured system analysis and design
PPTX
Relational Database Design
PDF
Lecture no 7 Database. For Bs IT Semester Fall Spring
PDF
data Normalization.pdf
PPT
Normalization case
PPTX
Advance Sqlite3
PPTX
09.01 normalization
PPTX
Advance sqlite3
PPT
database administration level 3 _lecture5.ppt
PDF
Concepts of Database Management 8th Edition Pratt Solutions Manual
PPTX
DBMS: Week 04 - Relational Model in a Database
PDF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
PDF
RELATIONAL DBMS, what is a man that goes around me that you NOTE.pdf
PPTX
Chapter Four Logical Database Design (Normalization).pptx
DOCX
Database system the final assignment for this course is an eight to
PPT
Lecture 04 normalization
PPTX
Normalization
Dependencies in various topics like normalisation and its types
Research gadot
Databases: Normalisation
Structured system analysis and design
Relational Database Design
Lecture no 7 Database. For Bs IT Semester Fall Spring
data Normalization.pdf
Normalization case
Advance Sqlite3
09.01 normalization
Advance sqlite3
database administration level 3 _lecture5.ppt
Concepts of Database Management 8th Edition Pratt Solutions Manual
DBMS: Week 04 - Relational Model in a Database
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
RELATIONAL DBMS, what is a man that goes around me that you NOTE.pdf
Chapter Four Logical Database Design (Normalization).pptx
Database system the final assignment for this course is an eight to
Lecture 04 normalization
Normalization
Ad

More from YounusS2 (12)

PPTX
Babel Compiler - Transforming JavaScript for All Browsers.pptx
PPTX
Basic Building Blocks of Internet of Things.
PPTX
Contextual Classes SBS.pptx
PPTX
Topology by SBS.pptx
PPTX
Bootstrap by SBS.pptx
PPTX
Cloud by SBS.pptx
PPTX
Html events with javascript
PPTX
Digital twin
PPTX
Education Definitions
PPTX
Education
PPTX
Python & Data Science
PPTX
Deep learning: Mathematical Perspective
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Basic Building Blocks of Internet of Things.
Contextual Classes SBS.pptx
Topology by SBS.pptx
Bootstrap by SBS.pptx
Cloud by SBS.pptx
Html events with javascript
Digital twin
Education Definitions
Education
Python & Data Science
Deep learning: Mathematical Perspective

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
RMMM.pdf make it easy to upload and study
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Cell Types and Its function , kingdom of life
PPTX
master seminar digital applications in india
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Insiders guide to clinical Medicine.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Business Ethics Teaching Materials for college
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
01-Introduction-to-Information-Management.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
RMMM.pdf make it easy to upload and study
Renaissance Architecture: A Journey from Faith to Humanism
Anesthesia in Laparoscopic Surgery in India
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Cell Types and Its function , kingdom of life
master seminar digital applications in india
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Complications of Minimal Access Surgery at WLH
Insiders guide to clinical Medicine.pdf
PPH.pptx obstetrics and gynecology in nursing
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Business Ethics Teaching Materials for college
Week 4 Term 3 Study Techniques revisited.pptx

Normalization in RDBMS.pptx

  • 1. NORMALIZATION IN RDBMS S.B.S.Younus M.Sc., M.Phil., NET., Assistant Professor, Department of Information Technology, Sadakathullah Appa College, Tirunelveli. Follow on YouTube: SBS Digital Learning
  • 2. WHAT IS NORMALIZATION?  In a relational database management system (RDBMS), there are several normal forms (NFs) that help structure data to minimize redundancy and improve data integrity.
  • 3. NORMALIZATION TYPES  First Normal Form (1NF)  Second Normal Form (2NF)  Third Normal Form (3NF)  Boyce Code Normal Form (BCNF)  Fourth Normal Form (4NF)  Fifth Normal Form (5NF)
  • 4. FIRST NORMAL FORM (1NF)  Ensures that each column in a table contains only atomic (indivisible) values.  Example: Consider a table named "Students" with a column "Phone Numbers" that contains multiple phone numbers in a single cell.  To achieve 1NF, we have to split the phone numbers into separate rows, each associated with a student.
  • 5. SECOND NORMAL FORM (2NF)  Extends 1NF and adds the requirement that each non-key column is functionally dependent on the entire primary key.  Example: In a "Course Registration" table with student and course data, if the primary key is a combination of student ID and course ID, you should ensure that any data related to a course depends on both student ID and course ID.
  • 6. THIRD NORMAL FORM (3NF)  Extends 2NF and ensures that there is no transitive dependency between non- key columns.  Example: In a "Library Books" table with columns for "Author" and "Author's Address," if the author's address depends on the author's name, you should create a separate "Authors" table to eliminate this transitive dependency.
  • 7. BOYCE CODE NORMAL FORM (BCNF)  BCNF is a stricter version of 3NF that deals with certain types of anomalies related to functional dependencies.  It states that, for any non-trivial functional dependency X → Y in a relation, X must be a superkey (a set of attributes that uniquely identifies a tuple).
  • 8. BCNF EXAMPLE  Consider a "Students" table with attributes (columns) like StudentID, Course, and Professor.  If you have a functional dependency where Course → Professor (i.e., each course is taught by a unique professor), and Course is not a superkey by itself, you need to decompose the table to meet BCNF.  You'd create a new table for Courses and Professors, ensuring that Course (or a combination of attributes) serves as the key in the Courses table.
  • 9. FOURTH NORMAL FORM (4NF)  4NF addresses multi-valued dependencies, where an attribute can have multiple values for a single set of other attributes.  It requires that a relation be in BCNF and that there are no non-trivial multi-valued dependencies.
  • 10. 4NF EXAMPLE  Imagine a "Orders" table with attributes OrderID, CustomerName, and Item.  If a single order can have multiple items, you'd split the table into "Orders" (containing OrderID and CustomerName) and "OrderItems" (containing OrderID and Item), ensuring that no multi-valued dependencies exist.
  • 11. FIFTH NORMAL FORM (5NF)  5NF addresses cases where a relation contains join dependencies, ensuring that data can be reconstructed from decomposed tables without loss of information.  It is used to handle complex cases where a relation needs to be split into multiple tables and joined when queried.
  • 12. 5NF EXAMPLE  Suppose you have a "Library" database with a "Books" table and a "Authors" table.  5NF would ensure that even after decomposing, you can still accurately retrieve information like which author wrote which book, by performing joins between the "Books" and "Authors" tables.
  • 13. CONCLUSION  Normal forms help organize data in a way that reduces redundancy and anomalies in a relational database, promoting data accuracy and consistency.  Higher normal forms like BCNF, 4NF and 5NF address more complex dependencies and can be applied in specific scenarios as needed.