...
Question 4697 – Data-Interpretation
February 12, 2024
GATE 2003
February 12, 2024
Question 4697 – Data-Interpretation
February 12, 2024
GATE 2003
February 12, 2024

SQL

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?

A
B
C
D
Question 17 Explanation: 
If we want to get distinct elements then we need to perform cross product in between the relations r1,
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.

Leave a Reply

Your email address will not be published. Required fields are marked *