














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of database normalization, explaining the concepts of first normal form (1nf), second normal form (2nf), third normal form (3nf), boyce-codd normal form (bcnf), and fourth normal form (4nf). It covers the purpose of normalization, the elimination of insert, update, and delete anomalies, and examples of each normal form.
Typology: Slides
1 / 22
This page cannot be seen from the preview
Don't miss anything!















First Normal Form (1 NF)
Second Normal Form (2 NF)
transitive dependency
Cust_ID Name Salesperson Region
transitive dependency
Cust_ID Name Salesperson
Salesperson Region
Cust_ID Name Salesperson Region
BCNF Example
BCNF Example (Cont...)
Definition of MVD
MVD Example
X Y Z
A B1 C
A B2 C
X Y Z
A B1 C
A B2 C
X ->-> Y
R(x, y, z)
4 NF Example
200 Arabic Singing
200 English Cooking
100 French Cooking
100 Kurdish Politic
100 English Teaching
Eid Language Skill
Assume the following relation:
Employee (Eid:pk1, Language:pk2, Skill:pk3)
4 NF Example (conti...)
200 Arabic Singing
200 English Cooking
100 French Cooking
100 Kurdish Politic
100 English Teaching
Eid Language Skill
Recall that a relation is in BCNF if all its determinant are candidate keys. Because relation Employee has only one determinant (Eid, Language, Skill) , which is the composite primary key. Since the primary is a candidate key, R is in BCNF.
Assume that there is no MVD, then this relation is 4 NF.
4 NF Example (conti...)
Thus employee 100 when she teaches, she uses English; but when she cooks, she uses French. This relation is in fourth normal form.
200 Arabic Singing
200 English Cooking
100 French Cooking
100 Kurdish Politic
100 English Teaching
Eid Language Skill
Not 4 NF Example
Assume the following relation with multivalued dependency:
Employee (Eid:pk1, Languages:pk2, Skills:pk3)
Eid --->> Languages Eid --->> Skills
Languages and Skills are independent.