Week 8 Normalization
Week 8 Normalization
Assumptions made-
A technician can operate multiple vehicles, but in this report each service
visit is associated with one technician and one vehicle.
Service (Client, Service Type) is not unique — Cost varies per entry → must
include technician or vehicle to uniquely identify.
1NF
2NF
Functional Dependencies:
ClientName → ClientAddress
TechnicianName → VehicleID
ClientName → ClientAddress
TechnicianName → VehicleID
3NF
Problem 2
Assumptions-
(A course section is taught by one instructor and has one course name.)
1NF:
2NF
Remaining FD in 2NF:
Instructor - Phone
Instructor - Phone
Enrollment.Sname - Student.Sname
3NF
Assumptions:
Instructor - Phone
This is a transitive dependency in the Course relation because
Instructor is not a key, but Phone depends on it.
Foreign Keys:
Sname - Student
Enrollment.Sname -Student.Sname
Course.Instructor - Instructor.Instructor