example Ch5 Normalization
example Ch5 Normalization
Example 1
Consider the following dependency diagram and normalize till 3NF
form
Answer
Step 1: Convert to 1NF (First Normal Form)
1NF requires that:
1. The table has only atomic values (no repeating groups or multi-
valued attributes).
The given table has no multi-valued attributes or repeating groups,
so it is already in 1NF.
ANSWER
construct a dependency diagram for the relation Table1(A, B, C, D, E,
F, G) with the given dependencies and normalize it up to BCNF
(Boyce-Codd Normal Form), we will follow these steps:
Step-by-Step Breakdown:
1. List of Functional Dependencies (FDs):
Given:
1. A → C, D, E, F, G
2. B → C, D, E, F, G
3. E → G
4. C → B
2. Dependency Diagram:
Let's create a dependency diagram to show the functional
dependencies.
● A determines C, D, E, F, and G.
● B determines C, D, E, F, and G.
● E determines G.
● C determines B.
Here's a diagram description (imagine arrows showing
dependencies):
A -----> C, D, E, F, G
B -----> C, D, E, F, G
E -----> G
C -----> B
Step 3: Analyze for Normalization up to BCNF
We will now normalize the relation step-by-step to BCNF.