I have a relation R(A,B,C,D,E,G,H) which the functional dependencies :
AB -> CD
E -> D
ABC -> DE
E -> AB
D -> AG
ACD -> BE
H is not dependant on anything but its not in the dependencies.
My question is that is {HE} the candidate key as {HE}+ = R
?
OR
E is the candidate key because {E}+ = R