SlideShare a Scribd company logo
1 of 14
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

What's hot

1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
koolkampus
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
Shanthi Mukkavilli
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
pcherukumalla
 

What's hot (20)

Fundamentals of Database Design
Fundamentals of Database DesignFundamentals of Database Design
Fundamentals of Database Design
 
Star schema PPT
Star schema PPTStar schema PPT
Star schema PPT
 
Entity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalizationEntity relationship diagram - Concept on normalization
Entity relationship diagram - Concept on normalization
 
Unit I Database concepts - RDBMS & ORACLE
Unit I  Database concepts - RDBMS & ORACLEUnit I  Database concepts - RDBMS & ORACLE
Unit I Database concepts - RDBMS & ORACLE
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Rdbms
RdbmsRdbms
Rdbms
 
Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and Answers
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Database management system
Database management system Database management system
Database management system
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
 
SQL
SQLSQL
SQL
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
 
Data Management
Data Management Data Management
Data Management
 
Normalization PRESENTATION
Normalization PRESENTATIONNormalization PRESENTATION
Normalization PRESENTATION
 
OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
 

Similar to Normalization in RDBMS.pptx

Dependencies in various topics like normalisation and its types
Dependencies in various topics like normalisation and its typesDependencies in various topics like normalisation and its types
Dependencies in various topics like normalisation and its types
nsrChowdary1
 
Advance Sqlite3
Advance Sqlite3Advance Sqlite3
Advance Sqlite3
Raghu nath
 
Advance sqlite3
Advance sqlite3Advance sqlite3
Advance sqlite3
Raghu nath
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
emailharmeet
 
Normalization of database_tables_chapter_4
Normalization of database_tables_chapter_4Normalization of database_tables_chapter_4
Normalization of database_tables_chapter_4
Farhan Chishti
 

Similar to Normalization in RDBMS.pptx (20)

Dependencies in various topics like normalisation and its types
Dependencies in various topics like normalisation and its typesDependencies in various topics like normalisation and its types
Dependencies in various topics like normalisation and its types
 
Research gadot
Research gadotResearch gadot
Research gadot
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
data Normalization.pdf
data Normalization.pdfdata Normalization.pdf
data Normalization.pdf
 
Normalization case
Normalization caseNormalization case
Normalization case
 
Advance Sqlite3
Advance Sqlite3Advance Sqlite3
Advance Sqlite3
 
09.01 normalization
09.01 normalization09.01 normalization
09.01 normalization
 
Advance sqlite3
Advance sqlite3Advance sqlite3
Advance sqlite3
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
 
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
 
Database system the final assignment for this course is an eight to
Database system the final assignment for this course is an eight toDatabase system the final assignment for this course is an eight to
Database system the final assignment for this course is an eight to
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
 
Normalization
NormalizationNormalization
Normalization
 
Normalization of database_tables_chapter_4
Normalization of database_tables_chapter_4Normalization of database_tables_chapter_4
Normalization of database_tables_chapter_4
 
Bc0041
Bc0041Bc0041
Bc0041
 
Normal forms fourth and fifth.pptx
Normal forms fourth and fifth.pptxNormal forms fourth and fifth.pptx
Normal forms fourth and fifth.pptx
 
Data processing
Data processingData processing
Data processing
 
Assignment#11
Assignment#11Assignment#11
Assignment#11
 

More from YounusS2

More from YounusS2 (12)

Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxBabel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptx
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Contextual Classes SBS.pptx
Contextual Classes SBS.pptxContextual Classes SBS.pptx
Contextual Classes SBS.pptx
 
Topology by SBS.pptx
Topology by SBS.pptxTopology by SBS.pptx
Topology by SBS.pptx
 
Bootstrap by SBS.pptx
Bootstrap by SBS.pptxBootstrap by SBS.pptx
Bootstrap by SBS.pptx
 
Cloud by SBS.pptx
Cloud by SBS.pptxCloud by SBS.pptx
Cloud by SBS.pptx
 
Html events with javascript
Html events with javascriptHtml events with javascript
Html events with javascript
 
Digital twin
Digital twinDigital twin
Digital twin
 
Education Definitions
Education DefinitionsEducation Definitions
Education Definitions
 
Education
EducationEducation
Education
 
Python & Data Science
Python & Data SciencePython & Data Science
Python & Data Science
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

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.