|
Relation R = (A, B, C, D, E, F) |
℉1 covers ℉2 because
℉2 = { A → B } 1. A → B can be inferred from ℉1 as follows: A → A (Reflexivity rule) A → BC (A → A and A → BC) A → B (Subset rule) |
For each functional dependency X → Y ∈ ℉2 do: { compute X+ using the FDs in ℉1 if ( Y ⊄ X+ ) return(NO); } return(YES); |
Relation R = (A, B, C, D, E, F) ℉1 = { A → C AC → D E → AD E → F } ℉2 = { A → CD E → DF } |
|
Check each functional dependency in ℉2:
|
Conclusion: ℉1 covers ℉2
Check each functional dependency in ℉1:
|
Conclusion: ℉2 do not cover ℉1