Chapter 5-Functional Dependency and Normalization
Chapter 5-Functional Dependency and Normalization
Systems(InSy2041)
Chapter - 5 Functional Dependency
and Normalization
• The primary key of this table is EmpId. Assuming that Empname holds scalar
values, this table is in 1NF and also 2NF.
• Moreover, the fields: Empname and Department are all directly associated
with EmpId, the primary key. The last field, Dept_tel, however, contains
the telephone number of departments and therefore is determined by the
department, which is not part of the primary key. In short, the following holds
true in this table: EmpId → Department and Department → Dept_tel
• These dependencies can be put together to show the fact that the following
transitive dependency holds true. EmpId → Department → Dept_tel
01/22/2025 Fundamentals of Database Systems 22
Third Normal Form(cont..)
• The normalization of 2NF tables to 3NF involves the
removal of transitive dependencies. We remove the
transitively dependent fields(s) from the table by placing the
field(s) in a new table along with a copy of the determinant(s).
Therefore, the above table can be decomposed into two 3NF
tables shown below.