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]
2 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]2 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
A microscope illuminator uses a transformer to step down the 120 V AC of the wall outlet to power a 12.0 V,50 W microscope bulb.
Anna35 [415]

Answer:2.88 ohms

Explanation:

R= V^2 / P

12^2/50

144/50

2.88 ohms

5 0
1 year ago
A fluid with a relative density of 0.9 flows in a pipe which is 12 m long and lies at an angle of 60° to the horizontal At the t
Minchanka [31]

Answer:

Q=7.3\times 10^{-3} m^3/s

Explanation:

Given that

At topd_2=30 mm,P_2=860 KPa ,P_1=1000 KPa,d_1=85 mm

\rho =900\dfrac{Kg}{m^3}

We know that

\dfrac{P_1}{\rho g}+\dfrac{V_1^2}{2g}+Z_1=\dfrac{P_2}{\rho g}+\dfrac{V_2^2}{2g}+Z_2

A_1V_1=A_2V_2

\frac{V_1}{V_2}=\left(\dfrac{d_2}{d_1}\right)^2

\frac{V_1}{V_2}=\left(\dfrac{30}{85}\right)^2

V_2=8.02V_1

Z_2=12 sin60^{\circ}

\dfrac{1000\times 1000}{900\times 9.81}+\dfrac{V_1^2}{2\times 9.81}+0=\dfrac{860\times 1000}{900\times 9.81 }+\dfrac{V_2^2}{2\times 9.81}+12 sin60^{\circ}

So V_1=1.30m/s

We know that flow rate Q=AV

Q=A_1V_1

By putting the values

A_1=\dfrac{\pi}{4}d^2

Q=7.3\times 10^{-3} m^3/s

To find the flow rate we do not need the direction of flow,because we are just doing balancing of energy at inlet and at the exits of pipe.

4 0
3 years ago
John read the first 114114114 pages of a novel, which was 333 pages less than \dfrac13 3 1 ​ start fraction, 1, divided by, 3, e
sineoko [7]

Question:

John read the first 114 pages of a novel, which was 3 pages less than ⅓ of the novel. Write an equation to determine the total number of pages (P)

Answer:

114 = ⅓P - 3

Explanation:

Given

Number of pages read = 114

Total pages in novel = p

The relationship between the pages read by John and the total pages is analysed as follows:

3 less than ⅓ of total pages means:

⅓ of total pages - 3

Recall that P represents the total pages in the novel

So, the expression becomes

⅓ * P - 3

⅓P - 3

This means that the pages read by John is ⅓P - 3

This implies that the equation to determine the number of pages in the novel is

⅓P - 3 = 114

Solving further to get the actual number of pages;

Multiply both sides by 3

3(⅓P - 3) = 114 * 3

3 * ⅓P - 3 * 3 = 114 * 3

P - 9 = 342

Add 9 to both sides

P - 9 + 9 = 342 + 9

P = 351

Hence the number of pages is 351

8 0
3 years ago
Tin atoms are introduced into an FCC copper ,producing an alloy with a lattice parameter of 4.7589×10-8cm and a density of 8.772
slega [8]

Answer:

atomic percentage = 143 %

Explanation:

Let  x be the number of tin atoms and there are 4 atoms / cell in the FCC structure , then 4 -x  be the number of copper atoms . Therefore, the value of x can be determined by using the density equation as shown below:

\mathbf{density (\rho) = \dfrac{(no \ of \ atoms/cell)(atomic \ mass )}{(lattice \ parameter )^3(6.022*10^{23} atoms/ mol)} }

where;

the lattice parameter is given as : 4.7589 × 10⁻⁸ cm

The atomic mass of tin is 118.69 g/mol

The atomic mass of copper is 63.54 g/mol

The density is 8.772 g/cm³

\mathbf{8.772 g/cm^3 = \dfrac{(x)(118.69 \ g/mol) +(4-x)(63.54 \ g/mol)}{(4.7589*10^{-8} cm )^3(6.022*10^{23} atoms/ mol)} }

569.32 = 118.69x + 254.16-63.54x

569.32 - 254.16 = 118.69x - 63.54 x

315.16 = 55.15x

x = 315.16/55.15

x = 5.72 atoms/cell

As there are four atoms per cell in FCC structure for the metal, thus, the atomic percentage of the tin is  calculated as follows :

atomic % = \frac{no \ of \ atoms \ per  \ cell \ in \ tin }{no \ of \ atoms \ per  \ cell \ in \ the \ metal}*100

atomic % = \frac{5.72 \ atoms / cell}{4 \ atoms/ cell} *100

atomic % = 143 %

7 0
3 years ago
How do performance expectation change over time for a technology?
dusya [7]

Answer:

The digitization of performance management not only provides more precise data but also positively influences management processes and strategic development. Technology-enabled performance management tools simplify the manager's evaluation process and turn employees into active participants in their review sessions

4 0
3 years ago
Other questions:
  • Consider a single crystal of some hypothetical metal that has the BCC crystal structure and is oriented such that a tensile stre
    10·1 answer
  • Pick a subjectarea/field/topic that you are interested in. For each of the following Bonham- Carver uses of GIS give an example
    7·1 answer
  • Estimate the quantity of soil to be excavated from the borrow pit​
    12·1 answer
  • Que es resistencia ?
    15·1 answer
  • Write down the equation for the stoichiometric combustion of propane (C3H8).
    6·1 answer
  • The basic concept of feedback control is that an error must exist before some corrective action can be made?
    12·1 answer
  • The water of a 14’ × 48’ metal frame pool can drain from the pool through an opening at the side of the pool. The opening is abo
    13·1 answer
  • What is a Wayfaring graphic?
    11·1 answer
  • Which material would cause a more severe burn if equal masses of two distinct metals are heated to a temperature of 100 °C: the
    13·1 answer
  • A two-bus power system is interconnected by one transmission line. Bus 1 is a generator bus with specified terminal voltage magn
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!