...
Question 3142 – Research Aptitude
April 21, 2024
Question 4575 – Higher-Education-and-Politics
April 22, 2024
Question 3142 – Research Aptitude
April 21, 2024
Question 4575 – Higher-Education-and-Politics
April 22, 2024

Database-Management-System

Question 21

Suppose R1(A, B) and R2(C, D) are two relation schemas. Let r1 and r2 be the corresponding relation instances. B is a foreign key that refers to C in R2. If data in r1 and r2 satisfy referential integrity constraints, which of the following is ALWAYS TRUE?

A
B (r1) – ∏C (r2) = ∅
B
C (r2) – ∏B (r1) = ∅
C
B (r1) = ∏C (r2)
D
B (r1) – ∏C (r2) ≠ ∅
Question 21 Explanation: 
Referential integrity means, all the values in foreign key should be present in primary key.
So we can say that r2(C) is the superset of r1(B).
So (subset – superset) is always empty.
Correct Answer: A
Question 21 Explanation: 
Referential integrity means, all the values in foreign key should be present in primary key.
So we can say that r2(C) is the superset of r1(B).
So (subset – superset) is always empty.
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!!