GATE 2024 CS (CS1) – Question 44
The symbol → indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $(X,Y)\to(Z,W)$ implies $(X,Y)\to Z$; (C) $((X,Y)\to Z$ and $W\to Y)$ implies $(X,W)\to Z$; (D) $(X\to Y$ and $Y\to Z)$ implies $X\to Z$
Explanation
B follows by decomposition. C: W→Y gives (X,W)→(X,Y)→Z by augmentation and transitivity. D is transitivity. A is false since dropping Y from the determinant is not implied.