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
La probabilidad de que un nuevo producto tenga éxito es de 0.85. Si se eligen 10 personas al azar y se les pregunta si compraría
liq [111]

Answer:

La probabilidad pedida es 0.820196

Explanation:

Sabemos que la probabilidad de que un nuevo producto tenga éxito es de 0.85. Sabemos también que se eligen 10 personas al azar y se les pregunta si comprarían el nuevo producto. Para responder a la pregunta, primero definiremos la siguiente variable aleatoria :

X: '' Número de personas que adquirirán el nuevo producto de 10 personas a las que se les preguntó ''

Ahora bien, si suponemos que la probabilidad de que el nuevo producto tenga éxito se mantiene constante (p=0.85) y además suponemos que hay independencia entre cada una de las personas al azar a las que se les preguntó ⇒ Podemos modelar a X como una variable aleatoria Binomial. Esto se escribe :

X ~ Bi(n,p) en donde ''n'' es el número de personas entrevistadas y ''p'' es la probabilidad de éxito (una persona adquiriendo el producto) en cada caso.

Utilizando los datos ⇒ X ~ Bi(10,0.85)

La función de probabilidad de la variable aleatoria binomial es :

p_{X}(x)=P(X=x)=\left(\begin{array}{c}n&x\end{array}\right)p^{x}(1-p)^{n-x}    con x=0,1,2,...,n

Si reemplazamos los datos de la pregunta en la función de probabilidad obtenemos :

P(X=x)=\left(\begin{array}{c}10&x\end{array}\right)(0.85)^{x}(0.15)^{10-x} con x=0,1,2,...,10

Nos piden la probabilidad de que por lo menos 8 personas adquieran el nuevo producto, esto es :

P(X\geq 8)=P(X=8)+P(X=9)+P(X=10)

Calculando P(X=8), P(X=9) y P(X=10) por separado y sumando, obtenemos que P(X\geq 8)=0.820196

7 0
3 years ago
Shows a closed tank holding air and oil to which is connected a U-tube mercury manometer and a pressure gage. Determine the read
damaskus [11]

Answer:

P_2-P_1=27209h

Explanation:

For pressure gage we can determine this by saying:

The closed tank with oil and air has a pressure of P₁ and the pressure of oil at a certain height in the U-tube on mercury is p₁gh₁. The pressure of mercury on the air in pressure gauge is p₂gh₂. The pressure of the gage is P₂.

P_1+p_1gh_1=p_2_gh_2+P_2

We want to work out P₁-P₂: Heights aren't given so we can solve it in terms of height: assuming h₁=h₂=h

P_1-P_2=p_1gh_1-p_2gh_2=(55)\cdot{32.2}h-845\cdot{32.2}h

P_2-P_1=27209h

3 0
3 years ago
I have to find the critical points of this function of two variables <img src="https://tex.z-dn.net/?f=%5C%5Cf%28x%2Cy%29%3Dx%5E
liraira [26]

Answer:

no i dont think there is

Explanation:

because theres not

4 0
3 years ago
An example of a transient analysis involving the 1st law of thermodynamics and conservation of mass is the filling of a compress
pickupchik [31]

Answer:

<em>The temperature will be greater than 25°C</em>

Explanation:

In an adiabatic process, heat is not transferred to or from the boundary of the system. The gain or loss of internal heat energy is solely from the work done on the system, or work done by the system. The work done on the system by the environment adds heat to the system, and work done by the system on its environment takes away heat from the system.

mathematically

Change in the internal energy of a system ΔU = ΔQ + ΔW

in an adiabatic process, ΔQ = 0

therefore

ΔU = ΔW

where ΔQ is the change in heat into the system

ΔW is the work done by or done on the system

when work is done on the system, it is conventionally negative, and vice versa.

also W = pΔv

where p is the pressure, and

Δv = change in volume of the system.

In this case,<em> work is done on the gas by compressing it from an initial volume to the new volume of the cylinder. The result is that the temperature of the gas will rise above the initial temperature of 25°C </em>

8 0
3 years ago
To determine if a product or substance being used is hazardous, consult:__________.
qwelly [4]

Answer:

Option B: An MSDS

Explanation:

A dictionary is used to check up the meaning of general words and not for checking if a substance being used is hazardous. Option A is wrong.

MSDS means "Material Safety Data Sheet" and it contains documents with information that relates to occupational health & safety for checking various substances and products. Thus, option B is correct.

SAE stands for Society of Automotive Engineering and their standards pertain to mainly Automobiles. Thus option C is wrong.

EPA guidelines are mainly for checking facility and environmental health and safety compliance. Thus, option D is wrong.

3 0
3 years ago
Other questions:
  • An inflatable structure has the shape of a half-circular cylinder with hemispherical ends. The structure has a radius of 40 ft w
    6·1 answer
  • A distillation column is initially designed to separate a mixture of toluene and xylene at around ambient temperature (say, 100°
    13·1 answer
  • A series AC circuit contains a resistor, an inductor of 250 mH, a capacitor of 4.40 µF, and a source with ΔVmax = 240 V operatin
    9·2 answers
  • 5) Initially, the pressure and temperature of steam inside a solid capsule is at 100-pound force per square inch absolute (psia)
    6·1 answer
  • A ship tows a submerged cylinder, 1.5 m in diameter and 22 m long, at U = 5 m/s in fresh water at 20°C. Estimate the towing powe
    14·1 answer
  • For a 20 ohm resistor R, the current i = 2 A. What is the voltage V? Submit your answer as a number without units. ​
    12·1 answer
  • How did engineers help to create a ceiling fan
    8·1 answer
  • Which of the following sensors is used to provide suspension control module with feedback regarding vehicle cornering​ forces?
    8·1 answer
  • Why do the quadrants in coordinate plane go anti-clockwise?.
    6·1 answer
  • The most important reason to wear your seat belt is to protect you from:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!