Find out the average amount of money

Assignment Help Computer Engineering
Reference no: EM1333301

Consider the 3 tables with these attributes:

TABLE MECHANIC
(
LAST_NAME VARCHAR(50),
BIRTHDATE DATETIME,
PHONE_NO CHAR(10)
)

TABLE AIRPLANE
(
SERIAL_NO CHAR(12),
MODEL VARCHAR(40),
CAPACITY INT
)

TABLE WORKS_ON
(
MECHANIC_LAST_NAME VARCHAR(50),
MECHANIC_BIRTHDATE DATETIME,
AIRPLANE_SERIAL_NO CHAR(12),
CONTRACT_AMOUNT MONEY
)

Write SQL queries to answer the following questions:

(a) Find the last names, birth dates, and phone numbers of all mechanics who have earned at least $50000 from contracts on Boeing 747 airplanes.

(b) Find the average amount of money that it has taken to do maintenance on each different model of jumbo jet (defined to be any airplane model whose capacity is at least 150).

(c) Double the capacity of each DC-10 airplane.

(d) Add to the database, for each DC-9 model airplane,
a DC-10 model airplane with a capacity 50 greater than that of the DC-9 and a serial number the same as that of the DC-9 except with an extra leading "1".

Reference no: EM1333301

Questions Cloud

Explain environmental policy : Explain Environmental Policy and Discuss the relationship between the Interstate Commerece Clause and environmental law
Financial information management evaluate in making decision : Which one of the following is non financial information that management might evaluate in making a decision?
Government actions that create barriers to exit : Government actions that create barriers to exit can have the unintended effect of retarding industrial development.
Necessary variables to form contract : What are the four elements necessary to form a contract? What is the effect of legal capacity on any of the three elements?
Find out the average amount of money : Find out the average amount of money that it has taken to do maintenance on each different model of jumbo jet (defined to be any airplane model whose capacity is at least 150).
Human resource management plan : Human Resource Management Plan - A human resources management plan for a Special Education Teacher employment position
Find expectations that his business will continue to grow : Fernando Culebra has always been fascinated by skateboards. Fernando has won many contests, both locally and nationally. His interest in skateboards led him to open Fernando's Skate Shop in Denton, Maine.
Strategies teams to improve decision making ability : Identify 2 strategies teams can use to improve their decision making ability. Would you argue that different types of decisions require different strategies.
Hr issue within the health care industry : Health Care Administration- HR training - Show training as an HR issue within the health care industry.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe the object-oriented databases

Describe the database planning and development process. What steps are involved, and what tools may be appropriate or helpful.

  Why didn''t the vendor just bid fewer disks

Why didn't the vendor just bid fewer disks

  Identifying the malicious activity in the program

State the most effective method in order to find if an attack has been made on the computer network? Specify the malicious activities does your recommendation recognize?

  Make a method to calculate the value of entire inventory

Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in..

  How proposed business is a lawnmower business

Main function, this will provide the menu interface to get to all the rest of them, it will basically be the switch statement that calls the other functions and returns their values.

  Program has to convert feet into meters

The program must also convert feet into meters. The program prompts the user to enter a number in feet, converts it to meters, and displays the result. One foot is 0.305 meters.

  Make java class that creates an array of integers

Write down a Java class that creates an array of integers, fills it with values, prints the unsorted values, sorts the values into ascending order, and finally prints the sorted values.

  What are the advantages of using voip

Conduct an Internet search to locate a case study that shows how VoIP was beneficial to the organization.

  Provide a java class named "input"

Provide a Java class named "Input" containing the method "readInt" (prototype given below) that displays the prompt string, reads an integer, and tests either it is between the supplied minimum and maximum. If not, it prints an error message and r..

  Recoginizing the error in given code

Identify the problem in the above code, If ( toupper( response[ 0 ] ) == 'Y' )

  Developing the class square

Write down the class definition of the subclass of Square known as Fancy Square which has a method known as getDiagonal.

  Describe what you consider to be some attributes

explain what you consider to be some attributes of a well-written program. What would you look for when reviewing a programmer's code during a quality assurance review.

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