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

GATE · 2003 · CS

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 504 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…