List the names of any pair of boats that have the same type

Assignment Help Database Management System
Reference no: EM131112147

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.

Reference no: EM131112147

Questions Cloud

Explain the resulting impact to the business : Discuss at least three (3) reasons why you perceived the communication to be effective, and explain the resulting impact to the business.
What is its p e ratio today : Today the common stock of Gresham Technology closed at $24.60 per share, down $0.35 from yesterday. If the company has 4.6 million shares outstanding and annual earnings of $11.2 million, what is its P/E ratio today? What was its P/E ratio yesterday?
Your everyday life that reminds you of something : Find something from your everyday life that reminds you of something that we've discussed in class or you read about in our text. This can be a radio/TV/print/Internet article, advertisement, news item, entertainment piece, Youtube clip, Facebook ..
Question regarding the developing sound strategies : Evaluating a company's external environment is critical to developing sound strategies. Identify a large public company that has one or more distinct competitive advantages over its competition.
List the names of any pair of boats that have the same type : 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.
How large a per share common stock dividend will pay : Figurate Industries has 750,000 shares of cumulative preferred stock outstanding. It has passed the last three quarterly dividends of $2.50 per share and now (at the end of the current quarter) wishes to distribute a total of $12 million to its share..
Describe a time when you experienced effective communication : Describe a time when you experienced effective communication in a business environment.
What is the bullwhip measure for the retailer : a) What is the bullwhip measure for the retailer? b) What is the bullwhip measure for the manufacturer? c) What is the bullwhip measure for the supplier?
How much cash will the firm net from these stock sales : The firm is obligated by an earlier agreement to sell an additional 250,000 shares at 90% of the offering price. In total, how much cash will the firm net from these stock sales?

Reviews

Write a Review

Database Management System Questions & Answers

  Explain user activity monitoring

In this lab, you will save user activity data in a database. A record of each user's IP address and the current date and time will be created whenever a user visits the Personnel form.

  Q1with the new unsw timetabling system the lic of each

q1with the new unsw timetabling system the lic of each course is required to specify what facilities they require in

  Every professor must teach some course

Now suppose that certain courses can be taught by a team of professors jointly, but it is possible that no one professor in a team can teach the course. Model this situation, introducing additional entity sets and relationship sets if necessary.

  Metropolis toys metropolis toys is an independent

metropolis toys metropolis toys is an independent family-owned manufacturer of wooden toys. the toys are designed by

  Create and print a select query that lists the book title

Create and PRINT a select query that lists the book title and List Price for all book title startwith Life. Save this query as KellyCaseC before you print it

  Normalization procedures suggested by shome and cornell

These are normalization procedures suggested by Shome and Cornell. EQ Tools program permits any of these normalization (or scaling) approaches.

  Program to build a database concerning employee information

Company XYZ needs a program to build a database concerning employee information.

  Write sql statements to enter ten more records into table

To get me started I need SQL script example for each table and I will fill out the 9 other records.

  Improve services by using database management systems

A motor vehicle maintenance center wants to improve its services by using database management systems (DBMS) and data mining. What tables are needed in such a database and how can it help improve their 2.2, 3.2services

  Write the select statement to show all records

Write the SELECT statement to show all records

  Create the class diagram and write the pseudocode

What is the screen output of the following code segment? Explain the reasoning behind your answer.

  Write program that models an employee

Write a program that models an employee. An employee has an employee number, a name, an address, and a hire date. A name consists of a first name and a last name.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd