3,298 views
0 votes
0 votes
Let R(ABCDE) be a relational schema and F={AB->CD, ABC->E,C->A}. The number of candidate keys are

a) 1

b) 2

c) 3

d) 4

Is there some standard way to solve such problem.. or we have to consider each Functional Dependency...?Please explain...

2 Answers

3 votes
3 votes
by lookin at the RHS side u willcome to know B is nowhere so B has to be a part of CK so u vil get two CK AB and BC
0 votes
0 votes
Option B.

Super key is AB, BC and ABC
->A candidate key is minimal super key  
 Candidate key is AB and BC but not ABC
so,

2 is Right  Answer

Related questions

5 votes
5 votes
3 answers
2
GateAspirant999 asked Oct 29, 2016
2,399 views
A relation R(A,B,C,D,E,F) holds following FDs$AB\rightarrow C$$C\rightarrow D$$D\rightarrow EA$$E\rightarrow F$$F\rightarrow B$The number of minimal candidate keys of R a...
3 votes
3 votes
2 answers
3
5 votes
5 votes
2 answers
4
Vikrant Singh asked Jan 29, 2015
1,788 views