Question: Flights: (flno: integer, origin: string, destination: string, distance, integer, departs: timestamp, arrives: timestamp, price: integer) Aircraft: (aid: integer, aname: string, cruisingrange: integer) Certified: (eid: integer,


Flights: (flno: integer, origin: string, destination: string, distance, integer, departs: timestamp, arrives: timestamp, price: integer) Aircraft: (aid: integer, aname: string, cruisingrange: integer) Certified: (eid: integer, aid: integer) Employees: (eid: integer, ename: string, salary: integer) Note that the employees relation describes pilots and other kinds of employees as well; every pilot is certified for some aircraft, and only pilots are certified to fly. Write the two following queries in SQL (Questions 10 and 11). Question 11 15pts Find the name(s) and salary(salaries) of the pilot(s) who is(are) certified to fly the largest number of planes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
