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

  Create the class named pizza

build an application named TestPizza that instantiates on Pizza object and demonstrates the use of Pizza set and get methods. Save as TestPizza.java

  Plan a network diagram for the tasks

imagine you have a project with seven activities Labeled A-G, as shown below. Derive the earliest completion time (or early finish time - EF), the latest completion time (or late finish - LF) and slack for each of the following tasks (begin at tim..

  Introduce relationship sets or additional entity sets

Introduce relationship sets or additional entity sets

  Explain the osi reference model and tcp/ip protocol

Describe protocols at the different layers of the OSI model and explain their functionality.explain the Differentiate between a confirmed service and a nonconfirmed service with respect to service primitives.

  Estimaitng the cost of ordering and management

If company utilizing the best inventory policy, what would be the total cost of ordering and management?

  Routers concept

Suppose a BGPv4 router receives an update for the prefix P which indicates AS1 as the next hop (and router has never seen P before).

  What is mflops rating of the system

What is MFLOPS rating of the system

  Describe why software objects more "reusable"

define why software objects more "reusable" than other types of computer code.

  The advantages and disadvantages of using functions

Show how you might write the "case" statement using only the "if" statement in its place an actual case statement. Hint: Nested if statements. Explain your code.

  Compute the entropy and clarity of each cluster

Compute the entropy and clarity of each cluster

  Get the cylinder class from the base circle class

Get the cylinder class from the base circle class

  Define the quicksort algorithm to sort vector v

define the quicksort algorithm to sort vector v. During each pass, list all exchanges of a pair of elements in the lower and upper sublist.

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