Reduce Data Redundancy
Reduce Data Redundancy
• 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
FULL JOIN
theory.
• It may have the effect of duplicating data within the database and often results in the creation
of additional tables.
TYPES OF NORMALIZATION
Normal Forms:
• All attributes depend on the key, the whole key and nothing but the key.
FULL JOIN
102 Jack Lee Java • Each column should have a unique
name.
John Tony Tom C, C#
• Each Column should contain values that
are the same type.
Example:
VIOLATION OF
A 1NF This Table is in the 1NF
SECOND NORMAL FORM (2NF)
Rule
Roll No Name Course
101 John C • The Data should be in the first normal form 1NF
FULL
102
JOINJack Java
• Table should only contain a data about one type
103 Tony C
thing
101 John C++
103 Tony C# • If there is more than one type of thing, the data
should be split into separate tables
SECOND NORMAL FORM (2NF)
Student
Roll No Name
101 John Enrollment
102 Jack Roll No CourseID Faculty
103 Tony 101 GU299 ICT
102 GU487 Computer Sc
FULL JOIN 103 GU345 Software Eng
Course
101 GU299 Telecom
CourseID CourseName 102 GU345 Statistics
GU299 C++
GU487 C#
GU345 Java
Third NORMAL FORM (2NF)
Rule:
• No transitive dependencies