Question: SELECT S . sid FROM Sailors S , Boats B , Reserves R WHERE S . sid = R . sid AND R . bid
SELECT Ssid
FROM Sailors S Boats B Reserves R
WHERE SsidRsid AND RbidBbid AND Bcolorred
UNION
SELECT Ssid
FROM Sailors S Boats B Reserves R
WHERE SsidRsid AND RbidBbid AND Bcolorgreen
Which of the following is equivalent with the above query?
SELECT Ssid
FROM Sailors S Boats B Reserves R
WHERE SsidRsid AND RbidBbid AND Bcolorred OR Bcolorgreen
WHERE SsidRsid AND RbidBbid AND Bcolorred OR Bcolorgreen
WHERE SsidRsid AND RbidBbid AND Bcolorred AND Bcolorgreen
WHERE SsidRsid AND RbidBbid AND Bcolor blue
None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
