Refer to the schemas for Sailors, Boats and Reserves introduced in the class, specify the following queries in SQL:Retrieve the names of the boats that have been reserved by either “John Smith” or “James Brown”.Retrieve the bids of the red boats that are not reserved by any one in “August,3, 2007”.Retrieve the names of the sailors who have reserved a red boat but not green boat. Use different copies of relevant relation to specify this query. Can youuse except operator? Why or why not?For each boat color, retrieve the total number of reservations made by “John Smith”.For each sailor who has reserved more than three red boats, give his/her name and sid, and total number of red boats he/she has reserved.For each green boat which has been reserved by more than three sailors, give the total number of sailors who have reserved it and the maximum age of thesesailors.For each rating level with at least two sailors who have made some reservations and at most five boats reserved by the sailors at that level, retrieve theaverage age of the sailors who have made at least one reservatio" border="0" alt="uploadedimage" />


Are there any questions left?
New questions in the section Engineering
Sign up for the IQClass
Answers from experts with no ads!
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Made with love
This website uses cookies to make IQClass work for you. By using this site, you agree to our cookie policy

Pleased to see you again

IQClass unlocks the learning potential of every child
  • Master useful skills
  • Improve learning outcomes
  • Share your knowledge
Create an account
Sign in
Recover lost password
Or log in with

Create an account

IQClass unlocks the learning potential of every child
  • Master useful skills
  • Improve learning outcomes
  • Share your knowledge
Create an account
Sign Up
Or sign up with
By signing up, you agree to the Terms of use and Privacy policy.
Looking for an answer to a question you need help with?
you have баллов