Question: Sailor (Sid, Sname, Rating, Age), Reserve (Sid, Bid, Date), Boat (Bid, Bname, color) 1. Find the sailors whose ratings are better than Mark (sailor). 2.
Sailor (Sid, Sname, Rating, Age), Reserve (Sid, Bid, Date), Boat (Bid, Bname, color) 1. Find the sailors whose ratings are better than Mark (sailor). 2. Find the sailor with highest ratings. 3. Find the sailor with lowest ratings. 4. Find the details of boat whose name is not Titanic. (use !=) 5. Find the details of sailors whose names are Mark, Andrew, Smith. (use IN) 6. Find the details of boats whose colors are red, blue, black. (use =ANY) 7. Find the Sid of sailors who are not reserved on 2018-12-01, 2019-02-11,2017-12-19. (use NOT IN)
8. Find the Bid of boats which are not reserved between2018/04/19and 2019/12/01. (use BETWEEN) 9. Find the sailor names whose ratings are in between 7 to 10. 10. Find the sailor names whose ages are not in between 25 to 40.(use NOT BETWEEN) 11. Find all the sailor details where at least one sailor has been reserved. (use EXISTS) 12. Find the names of the sailors who have reserved all red boats but not black ones. (use NOT IN)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
