...
Searching
August 26, 2024
Searching
August 26, 2024

Relational-databases

Question 6
Consider the following statements regarding relational database model:
(a) NULL values can be used to opt a tuple out of enforcement of a foreign key.
(b) Suppose that table T has only one candidate key. If Q is in 3NF, then it is also in BCNF.
(c) The difference between the project operator (Π) in relational algebra and the SELECT keyword in SQL is that if the resulting table/set has more than one occurrences of the same tuple, then Π will return only one of them, while SQL SELECT will return all.
One can determine that:
A
(a) and (b) are true.
B
(a) and (b) are true
C
(b) and (c) are true
D
(a), (b) and (c) are true
Question 6 Explanation: 
Option(A) is correct. ​ NULL values can be used to opt a tuple out of enforcement of a foreign key.
Option(B) is correct. ​ Suppose that table T has only one candidate key. If Q is in 3NF, then it is also in BCNF.
Option (C) is correct because the main difference between Project operator and SELECT keyword is that SELECT keyword will return Duplicate values if the exist in the result of a query but Project Operator Do not return Duplicate values if the exist in the result of the query.
Correct Answer: D
Question 6 Explanation: 
Option(A) is correct. ​ NULL values can be used to opt a tuple out of enforcement of a foreign key.
Option(B) is correct. ​ Suppose that table T has only one candidate key. If Q is in 3NF, then it is also in BCNF.
Option (C) is correct because the main difference between Project operator and SELECT keyword is that SELECT keyword will return Duplicate values if the exist in the result of a query but Project Operator Do not return Duplicate values if the exist in the result of the query.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!