1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olya-2409 [2.1K]
3 years ago
14

Consider the following relational database that Best Airlines uses to keep track of its mechanics, their skills, and their airpo

rt locations. Mechanic number (MECHNUM), airport name (AIRNAME), and skill number are all unique fields. SIZE is an airport’s size in acres. SKILLCAT is a skill category, such as an engine skill, wing skill, tire skill, etc. YEARQUAL is the year that a mechanic first qualified in a particular skill; PROFRATE is the mechanic’s proficiency rating in a particular skill.
Write SQL SELECT commands to answer the following queries.

a. List the names and ages of all the mechanics.

b. List the airports in California that are at least
20 acres in size and have been open since 1935.
Order the results from smallest to largest airport.

c. List the airports in California that are at least 20
acres in size or have been open since 1935.

d. FindtheaveragesizeoftheairportsinCalifornia
that have been open since 1935.

e.e. How many airports have been open in California since 1935?
f. How many airports have been open in each state since 1935?
g. How many airports have been open in each state since 1935? Include in your answer only those states that have at least five such airports.
h. List the names of the mechanics who work in California.
i. Fan blade replacement is the name of a skill. List the names of the mechanics who have a proficiency rating of 4 in fan blade replacement.
j. Fan blade replacement is the name of a skill. List the names of the mechanics who work in California who have a proficiency rating of 4 in fan blade replacement.
k. List the total, combined salaries of all of the mechanics who work in each city in California.
l. Find the largest of all of the airports.

m. Find the largest airport in California

MECHANIC Table MECHNUM MECHNAME AGE SALARY Ab SALARY AIRPORT Table AIRNAME CITY STATE SIZE YEAROPENED

images
Engineering
1 answer:
Musya8 [376]3 years ago
6 0

Answer:

Explanation:

A)

SELECT MECHNAME,AGE FROM MECHANIC;

B)

SELECT AIRNAME,SIZE FROM AIRPORT WHERE SIZE>=20 AND STATE='CALIFORNIA' AND YEAROPENED >=1935 ORDER BY SIZE ASC;

C)

SELECT AIRNAME,SIZE FROM AIRPORT WHERE (SIZE>=20 OR YEAROPENED >=1935) AND STATE='CALIFORNIA';

D)

SELECT AVG(SIZE) FROM AIRPORT WHERE STATE='CALIFORNIA' AND YEAROPENED >=1935;

E)

SELECT COUNT(AIRNAME) FROM AIRPORT WHERE STATE='CALIFORNIA' AND YEAROPENED >=1935;

F)

SELECT COUNT(AIRNAME),STATE FROM AIRPORT WHERE YEAROPENED>=1935 GROUP BY STATE;

G)

SELECT COUNT(AIRNAME),STATE FROM AIRPORT WHERE YEAR OPENED>=1935 GROUP BY STATE HAVING COUNT(*)>=5;

H)

SELECT MECHNAME FROM MECHANIC A JOIN AIRPORT B

ON A.AIRNAME=B.AIRNAME AND B.STATE='CALIFORNIA';

I)  

SELECT MECHNAME FROM MECHANIC A

JOIN QUALIFICATION B

ON A.MECHNUM=B.MECHNUM

AND B.PROFRATE=4

JOIN SKILL C

ON B.SKILLNUM=C.SKILLNUM

AND SKILLNAME='FAN BLADE RELACEMENT';

J)  SELECT MECHNAME FROM MECHANIC A

JOIN QUALIFICATION B

ON A.MECHNUM=B.MECHNUM

AND B.PROFRATE=4

JOIN SKILL C

ON B.SKILLNUM=C.SKILLNUM

AND SKILL NAME='FAN BLADE REPLACEMENT'

JOIN AIRPORT D

ON A.AIRNAME=D.AIRNAME

AND STATE='CALIFORNIA';

K)   SELECT SUM(SALARY),CITY FROM MECHANIC A

JOIN AIRPORT B

ON A.AIRNAME=B.AIRNAME

AND STATE='CALIFORNIA'

GROUP BY CITY;

L)   SELECT MAX(SIZE) FROM AIRPORT ;

M)  SELECT MAX(SIZE) FROM AIRPORT WHERE STATE='CALIFORNIA';

You might be interested in
What flow type occurs when the heat exchanger has multiple passes and baffles?
Vanyuwa [196]
I think that the answer would be B or C
4 0
3 years ago
Why is it important to know the accuracy and precision of a measuring device? Do you think that the dial caliper manufacturer’s
Leto [7]

Answer:

Accuracy and precision allow us to know how much we can rely on a measuring device readings. ±.001 as a "accuracy" claim is vague because there is no unit next to the figure and the claim fits better to the definition of precision.

Explanation:

Accuracy and Precision: the golden couple.

Accuracy and precision are key elements to define if a measuring device is reliable or not for a specific task. Accuracy determines how close are the readings from the ideal/calculated values. On the other hand, precision refers to repeatability, that is to say how constant the readings of a device are when measuring the same element at different times. One of those two key concepts may not fulfill the criteria for measuring tool to be used on certain engineering projects where lack of accuracy (disntant values from real ones) or precision (not constant readings) may lead to malfunctons and severe delays on the project development.

±.001 what unit?

The manufacturer says that is an accuracy indicator, nevertheless there is now unit stated so this is not useful to see how accurate the device is. Additionally, That notation is more used to refer to device tolerances, that is to say the range of possible values the instrument may show when reading and element. It means it tells us more about the device precision during measurments than actual accuracy. I would recommend the following to the dial calipers manufacturers to better explain its measurement specifications:

  1. Use  ±.001 as  a reference for precision. It is important to add the respective unit for that figure.
  2. Condcut test to define the actual accuracy value an present it using one of the common used units for that:  Error percentage or ppm.

3 0
3 years ago
A(n) _____ is done to test each individual component (often a program) to ensure that it is as defect-free as possible.
lyudmila [28]

Answer:

Unit test

Explanation:

Defintion: A test of each individual component (often a program) to ensure that it is as defect-free as possible.

6 0
2 years ago
Match the words with their definitions
Pavlova-9 [17]

Wooden 2 X 8's, 10's, or 12's that run parallel to one another and support a floor or ceiling, and supported in turn by larger beams, girders, or bearing walls- <u>Joist</u>

Explanation:

  1. Wooden 2 X 8's, 10's, or 12's that run parallel to one another and support a floor or ceiling, and supported in turn by larger beams, girders, or bearing walls- <u>Joist</u>
  2. A point where a bearing/structural weight is concentrated and transferred to the foundation-<u>Point Load</u>
  3. Includes all exterior walls and any interior wall that is aligned above a support beam or girder-<u>Load Bearing Wall</u>
  4. Plywood substitute made of coarse sawdust that is mixed with resin and pressed into sheets-<u>Particleboard</u>
  5. The replacement of excavated earth into a trench around or against a basement/crawl space foundation wall- <u>Backfill</u>
  6. Continuous 8m" or 10" thick concrete pad installed before and supports the foundation wall or monopost-<u>Footing</u>
  7. Ribbed steel bars installed in foundation concrete walls, footers and poured in place concrete structures designed to strengthen concrete-<u>Rebar</u>
  8. The end, upper, triangular area of a home, beneath the roof-<u>Gable</u>
  9. A manufactured 4X8 wood panel made out of 1-2 wood chips and glue. Often used as a substitute for plywood-<u>OSB</u>
  10. The incline slope of a roof or the ratio of the total width of a house-<u>Pitch</u>
  11. A manufactured structual wood beam. It is constructed of pressure and adhesive wood strands of wood-<u>Microlam</u>

5 0
3 years ago
Select the correct answer.
bonufazy [111]

Answer:

OD.

plate

Explanation:

3 0
3 years ago
Other questions:
  • A structural component in the shape of a flat plate 25.0 mm thick is to be fabricated from a metal alloy for which the yield str
    7·2 answers
  • "From the earth to the moon". In Jules Verne’s 1865 story with this title, three men went to the moon in a shell fired from a gi
    5·1 answer
  • A soil had a liquid limit of 44, a plastic limit of 21, and a shrinkage limit of 14. In the summer, the in situ water content wa
    14·1 answer
  • simply supported beam is subjected to a linearly varying distributed load ( ) 0 q x x L 5 q with maximum intensity 0 q at B. The
    6·1 answer
  • Memory Question!
    7·1 answer
  • Which of the following has nothing to do with insulating glass? Group of answer choices
    10·2 answers
  • How much heat (Btu) is prod uced by a 150-W light bulb that is on for 20-hours?
    14·1 answer
  • Why won't Brainly let me make a account or log in? It's always telling me that it can't take my registration at this time or it
    9·1 answer
  • Quản trị học là gì ? ý nghĩa của quản trị học với thực tế xã hội
    10·1 answer
  • Algorithm for sum 2+4+6+….+n
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!