StreakPeaked· Practice

ExamsGATETechnical

The symbol → indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?

  1. (X,Y) → (Z,W) implies X → (Z,W)
  2. (X,Y) → (Z,W) implies (X,Y) → Z
  3. ((X,Y) → Z and W → Y) implies (X,W) → Z
  4. (X → Y and Y → Z) implies X → Z

Correct answer: (X → Y and Y → Z) implies X → Z

Solution

This statement is an application of the transitive property of functional dependencies, which states that if one attribute functionally determines a second, and that second attribute functionally determines a third, then the first attribute must also functionally determine the third.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →