Professional Documents
Culture Documents
What is Normalization?
Example of Anomalies:
Insert Anomaly:
Consider a case of a new student joining IBS gurgaon in
Section D but he doesn’t have any club memberships
.Since Club Memebership is a primary key and Primary
key cannot be left blank or have NULL Value we cannot
insert the details of the new student till he becomes a
member of atleast one club.This is refereed to as Insert
Anomaly.
Delete Anomaly:
Consider a case where Gokul (Row 5 of the table) is no
longer a member of Finance Club. We will have to delete
Gokuls record since Club Membership cannot be NULL or
blank since it’s a primary key.If we delete Gokuls record
we loose all information about gokuls section ,mailing
address etc.This is a Delete Anomaly.
First normal form (1NF) sets the very basic rules for an
organized database:
• Remove all multivalued attributes. No comma
separated values are allowed in a single field of the
database.
For example
Customer
Customer First Telephone
Surname
ID Name Number
555-861-
123 Robert Ingram
2025
555-403-
1659,
456 Jane Wright
555-776-
4100
555-808-
789 Maria Fernandez
9633
Remedies:
555-861-
123 Robert Ingram
2025
555-403- 555-776-
456 Jane Wright
1659 4100
555-808-
789 Maria Fernandez
9633
Customer Telephone
Customer Number
555-776-
456
4100
555-808-
789
9633
For egs:
Employee