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

  Where the size is the number of doubles to be sorted

Asks for values and stores them into an array of double. Sorts the values in ascending order according to the following algorithm, where size is the number of doubles to be sorted.

  Structured error handling in appropriate places in program

Add a form that includes the RichTextBox control and several predefined template letters. This part of the program would be used to write letters to your customers when there is a specific issue you will like to address with them, so use your imag..

  How to develop a simple scientific calculator

make a Clear button to clear the result text box and reset all controls.

  Reconnaissance tools

Enlist some of the popular reconnaissance tools, comparing three of the reconnaissance tools describing the advantages.

  Why this move to pcs bring new architecture

I can understand about the shift from old big mainframes to PCs that are becoming more and more powerful. But why not just link these PCs to the big mainframes and keep the similar architecture we used before i.e. a mainframe architecture? (Just h..

  Find the number rounded to the nearest hundredth

For each value read, the program should display the original value, the number rounded to the nearest integer, the number rounded to the nearest tenth, the number rounded to the nearest hundredth and the number rounded to nearest thousandth.

  Moidifying the depth first search

Describe how to alter the depth-first search so that every vertex v is allocated an integer label cc[v] between 1 and k.

  What will do to get deadline to receive a passing grade

What will do to get deadline to receive a passing grade? You have to complete and submit course project previous to the deadline to receive a passing grade for this course.

  Prompts the user to enter the number of students

Write down a Java program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score and the student with second-highest score.

  Multiple functions with input/output parameters

Write down a menu program which will print different formulas and perform the calculations. For every menu choice, show the formula and prompt for essential values. Then calculate and print area and perimeter.

  Make an abstract class called aqualife

Fish has an attribute that stores whether the fish is an herbivore or a carnivore. Its eats method checks whether herbivore or carnivore, and prints 'This fish eats veggies' for herbivores and 'This fish eats other fish' for carnivores.

  Deducing an expression for pp

Utilizing the information above, deduce an expression for the PP, and provide comment on resulting expression. Also, what the ATM services would you utilize in order to obtain the best possible performance?

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