Database-Management-System
August 29, 2024Database-Management-System
August 29, 2024Database-Management-System
Question 281
|
Suppose (A, B) and (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?
πC(r2) – πB(r1) = Ф
|
|
πB(r1) -πC(r2) = Ф
|
|
πB(r1) – πC(r2) ≠ Ф
|
|
πB(r1) – πC(r2) = Ф
|
Question 281 Explanation:
Since B is the foreign key that refers C in r2. So the B will contain the values that will be definitely present in C and C might contain more different values. So for sure
πB(r1) -πC(r2) = Ф
πB(r1) -πC(r2) = Ф
Correct Answer: B
Question 281 Explanation:
Since B is the foreign key that refers C in r2. So the B will contain the values that will be definitely present in C and C might contain more different values. So for sure
πB(r1) -πC(r2) = Ф
πB(r1) -πC(r2) = Ф
Subscribe
Login
0 Comments