Question: The following is an incomplete SQL query that finds the sids of suppliers who supply red parts but not green parts: SELECT DISTINCT C .

The following is an incomplete SQL query that finds the sids of suppliers who supply red parts but not green parts:
SELECT DISTINCT C.sid
FROM Catalog C, Parts P
WHERE C.pid = P.pid AND P.color =Red
?
SELECT DISTINCT C1.sid
FROM Catalog C1, Parts P1
WHERE C1.pid = P1.pid AND P1.color =Green
The missing operator (at ?) is:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!