Show that the decomposition in Exercise 7.1 is not a dependency-preserving decomposition.


There are several functional dependencies that are not preserved. We discuss one example here. The dependency is not preserved. , the restriction of to is . , the restriction of to is

is easily seen not to contain since the only FD in with as the left side is , a trivial FD. Thus is not preserved.

A simpler argument is as follows: contains no dependencies with on the right side of the arrow. contains no dependencies with on the left side of the arrow. Therefore for to be preserved there must be a functional dependency in and in (so would follow by transitivity). Since the intersection of the two schemas is , . Observe that is not in since .