Consider the following relations given below: SQL: select sid from supply S1…

Consider the following relations given below:

image.png


SQL: select sid from supply S1 where region = 'mumbai' and NOT EXISTS (select pid from parts P1 where colour = 'red' and NOT EXISTS(select pid from catalog C1 where C1.pid = P1.pid and C1.sid = S1.sid))

  1. A.

    select sid of all the suppliers in mumbai region who supply all red parts

  2. B.

    select sid of all the suppliers in mumbai region who supply some red parts

  3. C.

    select sid of some of the suppliers in mumbai region who supply all red parts

  4. D.

    return empty relation

Attempted by 89 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…