• retagged by
675 views
0 0 votes

Consider these relations :

$R = ABCDE$

$A\rightarrow BC$
$B\rightarrow E$
$D\rightarrow E$


What is the candidate key for the above relations?

  1. CA
  2. AB
  3. BD
  4. AD

1 Answer

Best answer
1 1 vote
we can solve it by verifying options.

Option A) $(CA)^+\rightarrow CABE$

Option B) $(AB)^+\rightarrow AB\rightarrow ABC\rightarrow ABCE$

Option C) $(BD)^+\rightarrow BDE$

Option D) $(AD)^+\rightarrow ABD\rightarrow ABCD\rightarrow ABCDE $

So this option covers all the attributes, unlike others.

Option (D) is correct.
• edited by
Answer:
Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
1.0k
1.0k views
Bikram asked Feb 9, 2017
1,015 views
Consider a relation $R$$\left ( A, B,C,D, E \right )$ with the following $FD$ set $F$: $A\rightarrow BC$ $CD\rightarrow E$ $B\rightarrow D$ $E\rightarrow A$The canonica...
1 1 vote
1 answers 1 answer
785
785 views
Bikram asked Feb 9, 2017
785 views
Consider the following schedule: $S =$ ${R1(A),R2(B),W2(A),W1(A)}$Assume that Transaction $T1$ has started execution before the Transaction $T2$.Then, the schedule is: ...
10 10 votes
2 answers 2 answers
1.8k
1.8k views
Bikram asked Feb 9, 2017
1,780 views
Consider three tables with the following number of tuples in each:$X$$\left ( a,b,c \right )$ $= 100$ || $Y$$\left ( a,d,e \right )$ $= 80$ || $Z$$\left ( x,d,f \...
1 1 vote
1 answers 1 answer
930
930 views
Bikram asked Feb 9, 2017
930 views
Which of the following statements are TRUE? An SQL query automatically eliminates duplicates. An SQL query will not work if there are no indexes on the relations. S...