문제

In the definition, it says minimal key is a minimal set of attributes needed to identify the table. Does the "minimal" part mean "minimal number of attributes" or "cannot be eliminated"?

For example:

  • For a relation R(A, B, C, D, E, F), the closure of A, BC, and DEF are all {A, B, C, D, E, F}.

Are they all minimal keys? Or is only A the minimal key?

도움이 되었습니까?

해결책

They are all minimal keys.

Minimal means there is no proper subset with the same property.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top