A trivial functional dependency is one which satisfies X Y. Can a key be the set of all attributes if there is at least one non-trivial functional dependency in a schema? Explain.

What will be an ideal response?

Suppose a key, k, contained all attributes. Suppose there is a non-trivial FD X?Y. Since k contains all attributes, it contains X and Y. But the FD says that X determines Y. Hence we can delete Y (X Y) from k and the remaining attributes still form a key. This means that k is not minimal, a contradiction.

Computer Science & Information Technology

You might also like to view...

After you import Word outline content into PowerPoint, it is a good idea to wait until the presentation is complete to add a theme

Indicate whether the statement is true or false

Computer Science & Information Technology

The text-based emoticon :-0 indicates ________

A) anger B) confused C) just kidding D) surprise

Computer Science & Information Technology