DBMS Module 3.2 PDF
DBMS Module 3.2 PDF
MCA 104
Module-3
3.2 Normal Forms, Decompositionin to Normalized Relations
Normal Forms
There are higher normal forms like Fourth Normal Form (4NF) and Fifth
Normal Form (5NF), which further refine the normalization process and
address additional anomalies, but they are less commonly encountered
in practical database design.
StudentName
To convert the table into 1NF, we need to break down the multivalued
attribute "Courses" into individual rows for each course registered by a
student. The resulting table would look like this:
StudentName
CourseName
Grade
1. Table - Students:
2. Table - Courses:
CourseID CourseName
1 Mathematics
2 Science
3 History
4 English
5 Computer Science
101 1 A
101 2 B
101 3 A-
102 1 B+
102 4 A
103 2 A-
103 5 B
EmployeeName
DepartmentName
ManagerName
Here's the initial table without being in 3NF:
1. Table - Employees:
EmployeeID EmployeeName
2. Table - Departments:
D001 HR 201
3. Table - Managers:
ManagerID ManagerName
EmployeeName
ProjectName
Role
EmployeeID EmployeeName
2. Table - Projects:
ProjectID ProjectName
P001 ProjectA
P002 ProjectB
P003 ProjectC
3. Table - EmployeeRoles:
6. Ensure Fourth Normal Form (4NF) and Fifth Normal Form (5NF)
(if applicable):Address multi-valued and join dependencies that
arise in certain complex scenarios. Decompose the table
further to achieve higher normal forms if necessary.
Title
Author
Genre
ISBN
ShelfNumber
Step-by-Step Decomposition:
The "Books" table is already in 1NF since each cell contains atomic
values, and there are no repeating groups or composite attributes.
Table - Titles:
Table - BookDetails:
9780061120084 1 A-101
9780451524935 2 B-205
9780743273565 3 A-101
9780132145198 4 C-303
9781491912058 5 D-408
6. Optimization (Optional):