Consider the following SQL query select distinct a1, a2, ..., an from r1,…

PYQ GATE 2003

Consider the following SQL query

select distinct a1, a2, ..., an
from r1, r2,........, rm
where P 

For an arbitrary predicate P, this query is equivalent to which of the following relational algebra expressions ?

image.png

  1. A.

    A

  2. B.

    B

  3. C.

    C

  4. D.

    D

Attempted by 608 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…