retagged by
1,250 views

2 Answers

2 votes
2 votes

Minimal cover means the smallest set of FDs which can derive all other FDs. The given FDs are

$AB \to C$
$AC \to B$
$AD \to E$
$B \to D$
$BE \to A$
$B \to G$

Take each FD and see if any attribute on the LHS can be avoided. There is no such reductions possible. Also, the RHS of the FDs are unique. So, I suppose the given FDs are already a minimal cover. 

The candidate keys can be found as follows. If any attribute is not on the right side of any FD, it must be in any candidate key. So, here $H$ must be in any candidate key. 

Trial and error with $AB$ shows it can determine, $C, D,E$. So, $ABH$ must be a candidate key. Since $AC \to B$, $ACH$ is another candidate key. Since $BE \to A$, $BEH$ is another candidate key. So, totally 3 candidate keys $\left\{ABH, ACH, BEH\right\}$.  

1 votes
1 votes

I think here we should check the LHS.  At the LHS reduction is possible. Check it yourself.If anything wrong or you can't understand ,then comment..Thank you

Related questions

1 votes
1 votes
4 answers
1
Himanshu1 asked Jan 2, 2016
3,100 views
4 votes
4 votes
1 answer
2
0 votes
0 votes
1 answer
3
Shamim Ahmed asked Dec 20, 2018
592 views
I came across the questions where questions are asked about finding minimal cover and number of different minimal cover possible. Are they same?https://gateoverflow.in/28...
7 votes
7 votes
7 answers
4
srestha asked Feb 5, 2017
3,575 views
Consider the following FD set {A → BC,B → AC, C → AB}. The number of different minimal covers possible for the above FD set __________ .