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