Question 4697 – Data-Interpretation
February 12, 2024GATE 2003
February 12, 2024SQL
Question 17 |
Consider the following SQL query
select distinct al, a2,........., an from rl, r2,........, rm where P
For an arbitrary predicate P, this query is equivalent to which of the following relational algebra expressions?
![]() | |
![]() | |
| |
|
Question 17 Explanation:
If we want to get distinct elements then we need to perform cross product in between the relations r1,
r2, …. rm.
r2, …. rm.
Correct Answer: A
Question 17 Explanation:
If we want to get distinct elements then we need to perform cross product in between the relations r1,
r2, …. rm.
r2, …. rm.
Subscribe
Login
0 Comments