I know that if Y-->Z then XY-->XZ but does it work the other way? That is, if XY-->XZ then does that mean Y-->Z?
Is this true or false? and how do I justify?
I know that if Y-->Z then XY-->XZ but does it work the other way? That is, if XY-->XZ then does that mean Y-->Z?
Is this true or false? and how do I justify?
Copyright © 2021 Jogjafile Inc.
The statement is false. Consider for istance a relation Person with attributes SSN, Name, BirthDate, where SSN is unique, and Name and BirthDate can be not unique. The following FD holds in this relation:
but from this you cannot infer that:
since different persons with the same name could have different birth dates.
What is true is the so called decomposition rule:
{x → YZ} ⊢ X → Y
So, for instance, from
you can safely derive: