] > Additional Dependencies and Normalizations

Additional Dependencies and Normalizations

13.1 Multivalued Functional Dependencies (MVDs)

CourseQuarterDays
670SpringTR
670AutumnMWF
CourseQuarterDays
670SpringMWF
670AutumnTR

Testing Algorithm:

CourseQuarterDays
670AutumnMWF
670AutumnTR
670SpringMWF
670SpringTR

680AutumnMWF
680AutumnTR
equal?
CourseQuarterDays
670 Autumn, Spring MWF, TR

680 Autumn MWF, TR

13.2 Inference Rules for MVDs

The set of inference rules is sound and complete.

Given:
A BCD
B C
Implied:
B C
From:
               ||||| --||        --||   |||- -B|----||-||-   -||   --  |||    ------||C|-   -| -A ------  ---       --  ||-         ||||||||-

Additional Inference Rules

13.3 Fourth Normal Form

Result: The decomposition X Y , R Y is lossless join if X Y .

The following relation R is in BCNF, but not in 4NF
ABCD
1111
1211
2111
2211
3112
1332
4122

The decomposition {C,D,A} and {C,D,B} has the lossless join property.

13.4 Degrees of Decompositions

13.5 Join Dependencies (JDs)

13.6 Fifth (Project-Join) Normal Form

A relation R is in 5NF iff in every join dependency each Ri is a super key of R.

13.7 Assignment #7

Due: Mo, Mar 2

Problems 11.24, 11.29 (page 359 4th ed; 409 5th ed),

Notes

Q&A