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
If there’s an unidentified puddle under your car, it means ______.
algol13
Someone dropped a gallon of milk and you parked over it
6 0
4 years ago
What are things that need to be considered with respect to the environment when design and construction is occurring?
Law Incorporation [45]

Answer:

If you are destroying the environment or habitats or trees. Also if people live nearby. Also if its legal.

Explanation:

8 0
3 years ago
A trapezoidal section has a 5.0-ft bed width, 2.5-ft depth, and 1:1 side slope. Evaluate its geometric elements (Area, water dep
aleksley [76]

Answer:

a) 18.75 ft^2

b) 2.5 ft

c) 12.07 ft

d) 10 ft

e) 1.553 ft

f) 1.875 ft

Explanation:

Given data :

5.0-ft bed width, ( b )

2.5-ft depth ( y )

1 : 1 side slope

Evaluate

a) Area of trapezoidal section

A = by + my^2

we assume m = 1

A = [5 + (1 * 2.5 ) ] *2.5

   = ( 7.5 ) 2.5  = 18.75 ft^2

b) Calculate water depth

water depth = 2.5 ft

c) Calculate wetted perimeter

P = b + 2y √ 1 + m^2

  = 5 + (2.5*2) √ 1 + 1 ^2  =   12.07 ft

d) calculate top width

    T = b + 2my

       = 5 + 2 ( 1 * 2.5 ) = 10 ft

e) calculate hydraulic radius

R = A / P = 18.75 / 12.07

               = 1.553 ft

f) calculate hydraulic depth

 D = A / T = 18.75 / 10 = 1.875 ft

4 0
3 years ago
A heat engine does 210 J of work per cycle while exhausting 440 J of waste heat. Part A What is the engine's thermal efficiency?
Oxana [17]

Answer:

The engine's thermal efficiency is 0.32

Explanation:

Thermal efficiency = work done ÷ quantity of heat supplied

Work done = 210 J

Quantity of heat supplied = work done + waste heat = 210 + 440 = 650 J

Thermal efficiency = 210 ÷ 650 = 0.32

6 0
4 years ago
What is the difference between available and unavailable energy?
Anon25 [30]

Answer:

The heat absorbed portion that is transformed into work is therefore helpful and accessible for our use, hence it is termed as available energy. But the energy or heat which is of no use is termed as unavailable energy.

Explanation:

A engine requires heat from the reservoir and transforms portion of it into function. The extra heat is expelled (generally atmosphere) to  cold reservoir. The refused heat can't be equal to zero, as per the 2nd law of thermodynamics. The heat absorbed portion that is transformed into work is therefore helpful and accessible for our use, hence it is termed as available energy. But the energy or heat which is of no use is termed as unavailable energy.

5 0
4 years ago
Other questions:
  • Show that -40 F is approximately equal to -40 C.
    12·1 answer
  • Read an excerpt from Benito Mussolini’s "The Doctrine of Fascism.” In the Fascist State, the individual is not suppressed, but r
    7·1 answer
  • At high altitude air temperature is low and ice formation on wings can cause serious issues for air crafts.A solution to this pr
    5·1 answer
  • Need Answers Quick!!!! What is the purpose of structural components such as frames, bearings, and mounts? A.) Connect two rotati
    9·1 answer
  • It is proposed to deposit a 5 μm thick nickel coating uniformly on all surfaces of a ceramic strip measuring 15 cm x 5 cm x 2 cm
    7·1 answer
  • 2. A
    12·1 answer
  • g Design of a spindle present in an existing design needs to be reviewed for use under new loading needs. It is currently design
    6·1 answer
  • A single phase molor is located
    14·1 answer
  • Please. my brain isn’t working right now
    13·1 answer
  • Question 4(Multiple Choice Worth 2 points)
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!