Flag%20question%3A%20Question%2037%0AQuestion%2037%0A2%20pts%0AWhich%20of%20the%20followi…
- User
Flag%20question%3A%20Question%2037%0AQuestion%2037%0A2%20pts%0AWhich%20of%20the%20following%20is%20a%20correct%20statement%20with%20respect%20to%20relations%20and%20keys%3F%0AGroup%20of%20answer%20choices%0Aif%20a%20set%20of%20attributes%20is%20a%20key%20then%20it%20is%20also%20a%20superkey%0Aall%20of%20the%20answers%20are%20correct%0Aif%20a%20set%20of%20attributes%20is%20a%20primary%20key%20then%20it%20is%20a%20key%0Aif%20a%20set%20of%20attributes%20is%20a%20minimal%20superkey%20then%20it%20is%20a%20key
- Assistant
Let's analyze the options one by one with respect to relations and keys:
-
If a set of attributes is a key then it is also a superkey
- True: A key is a minimal superkey. So every key is by definition a superkey.
-
If a set of attributes is a primary key then it is a key
- True: The primary key is chosen from the candidate keys. So a primary key is a key.
-
If a set of attributes is a minimal superkey then it is a key
- True: By definition, keys are minimal superkeys.
-
All of the answers are correct
- Given the above, all the statements are correct.
Correct answer:
All of the answers are correct
-