For every boat, list the marina number, slip number, boat name, owner

  1. For every boat, list the marina number, slip number, boat name, owner number, owner’s first name, and owner’s last name.
     
  2. For every completed or open service request for routine engine maintenance, list the slip ID, description, and status.
     
  3. For every service request for routine engine maintenance, list the slip ID, marina number, slip number, estimated hours, spent hours, owner number, and owner’s last name.
     
  4. List the first and last names of all owners who have a boat in a 30-foot slip. Use the IN operator in your query.
     
  5. Repeat Question 4, but this time use the EXISTS operator in your query.
     
  6. List the names of any pair of boats that have the same type. For example, one pair would be Anderson II and Escape, because the boat type for both boats is Sprite 4000. The first name listed should be the major sort key and the second name should be the minor sort key.
     
  7. List the boat name, owner number, owner last name, and owner first name for each boat in marina 1.
     
  8. Repeat Question 7, but this time only list boats in 40-foot slips.
     
  9. List the marina number, slip number, and boat name for boats whose owners live in Glander Bay or whose type is Sprite 4000.
     
  10. List the marina number, slip number, and boat name for boats whose owners live in Glander Bay and whose type is Sprite 4000.
     
  11. List the marina number, slip number, and boat name for boats whose owners live in Glander Bay but whose type is not Sprite 4000.
     
  12. Find the service ID and slip ID for each service request whose estimated hours is greater than the number of estimated hours of at least one service request on which the category number is 3.
     
  13. Find the service ID and slip ID for each service request whose estimated hours is greater than the number of estimated hours on every service request on which the category number is 3.
     
  14. List the slip ID, boat name, owner number, service ID, number of estimated hours, and number of spent hours for each service request on which the category number is 2.
     
  15. Repeat Question 14, but this time be sure each slip is included regardless of whether the boat in the slip currently has any service requests for category number 2.

 

When you have all of your commands ready to run, test them in MySQL and save it as a sql script. 

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.