Database-Management-System
August 29, 2024Database-Management-System
August 29, 2024Database-Management-System
Question 472
|
Given two relations R1(A, B) and R2(C, D), the result of following query
Select distinct A, B
from R1, R2
is guaranteed to be same as R1 provided one of the following condition is satisfied.
R1 has no duplicates and R2 is empty.
|
|
R1 has no duplicates and R2 is non – empty.
|
|
Both R1 and R2 have no duplicates.
|
|
R2 has no duplicates and R1 is non – empty.
|
Question 472 Explanation:
Option(A): Cartesian product with a empty table will result in zero tuple because we can’t have any ordered pair with a empty table. Hence option(A) is incorrect option.
Option(B):
Option(B):
Correct Answer: B
Question 472 Explanation:
Option(A): Cartesian product with a empty table will result in zero tuple because we can’t have any ordered pair with a empty table. Hence option(A) is incorrect option.
Option(B):
Option(B):
Subscribe
Login
0 Comments