Pregunta

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 ?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top