LN344 0910 Normal Forms
LN344 0910 Normal Forms
Lecture 09-10
Redundancy Redundancy
Delete Anomaly
◼ When a project is deleted, it will result in deleting all the
employees who work on that project. Alternately, if an employee is
the sole employee on a project, deleting that employee would result
in deleting the corresponding project.
Design a schema that does not suffer from the
insertion, deletion and update anomalies. If there
are any present, then note them so that applications
can be made to take them into account
Decomposition
If X → YZ, then X → Y and X → Z
Union
If X → Y and X → Z, then X → YZ
Pseudotransitivity
If X → Y and WY → Z, then WX → Z
Closure of a set F of FDs is the set F+ of all FDs that
can be inferred from F