Question

I have a relation with the following functional dependencies :

A  -> B
AC -> D
EF -> AG
AG -> H

the couple (EG) is unique.

I want to calculate the candidate keys, should i add a functional dependency from the unique couple ?

Was it helpful?

Solution

You should absolutely add the FD EG->ABCDFH. If you don't you'll never determine that EG is a candidate key. That is, you can't derive EG as a candidate key from the four FDs you've explicitly listed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top