Given the relational schema π = (π,π, π, π, π, π) and the set ofβ¦
2024
Given the relational schema π = (π,π, π, π, π, π) and the set of functional dependencies:
{π β π, π β π, ππ β π, ππ β π, π β π}
Which of the following functional dependencies can be derived from the above set?
Answer: A. ππ β ππ; B. ππ β ππ; D. ππ β π β Answer: The following functional dependencies can be derived from the given set: VW β YZ, WX β YZ, and VW β Y. Derive WX β YZ: The given dependencies includeβ¦
- A.
ππ βΒ ππ
- B.
ππ β ππ
- C.
ππ β π
- D.
ππ β π
Attempted by 322 students.
Show answer & explanation
Correct answer: A, B, D
Answer:
The following functional dependencies can be derived from the given set: VW β YZ, WX β YZ, and VW β Y.
Derive WX β YZ:
The given dependencies include WX β Y and WX β Z. By the union (composition) rule, these combine to give WX β YZ.
Derive VW β YZ:
From V β X, adding W gives VW β WX. Since WX β YZ (from above), transitivity yields VW β YZ.
Derive VW β Y:
Either directly from VW β YZ by projection, or by VW β WX (via V β X) together with WX β Y.
Why VW β U is not derivable:
The given FDs include U β V and U β W, but there is no FD that produces U from V or W. There is no chain of dependencies that yields U in the closure of VW, so VW β U cannot be derived.