Вопрос

i am trying to understand how to normalize a relation to BCNF. The task at hand, involves a relation and a set of functionel dependencies.

They look somewhat in the lines of;

R(A,B,C,D,E)

F {
AB->C
C->D
}

Now i am trying to calculate the keys for R, by calculating the Closure. Problem is, the E attribute is not mentioned in the FD's. So how do i find out what is the Key for the relation?

Это было полезно?

Решение

Add the trivial dependency ABCDE->ABCDE to F. Then determine the key.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top