in Databases retagged by
7,107 views
18 votes
18 votes

Suppose the following functional dependencies hold on a relation $U$ with attributes $P,Q,R,S$, and $T$:

  • $P \rightarrow QR$
  • $RS \rightarrow T$

Which of the following functional dependencies can be inferred from the above functional dependencies?

  1. $PS \rightarrow T$
  2. $R \rightarrow T$
  3. $P \rightarrow R$
  4. $PS \rightarrow Q$
in Databases retagged by
by
7.1k views

3 Answers

21 votes
21 votes
Best answer
Option A: $(PS)^+ = {P, Q, R, S, T}.$ So, $PS\rightarrow T$ holds.

Option B: $(R)^+ = {R}.$ So, $R\rightarrow T$ does not hold.

Option C: $(P)^+ = {P, Q, R}.$ So, $P\rightarrow R$ holds.

Option D: $(PS)^+ = {P, Q, R, S, T}.$ So, $PS\rightarrow Q$ holds.
edited by

2 Comments

So option A, C and D are inferred  or concluded TRUE from the given FD.
1
1

Given : 

P → QR

RS  → T

we can apply the decomposition rule for  P → QR  it gives P → Q and P → R which satisfies option C.

For all remaining, we can follow the closure property Rule.

0
0
1 vote
1 vote

Option A , C and D can be inferred true from the given FD.

Caption

1 vote
1 vote

Check for the reachability using the Closer operation...

Answer:

Related questions