TASK #16 · MediumPassengers by number of flights
Your brief
Display each passenger's ID, name, and number of flights. Include only passengers who have made at least 1 flight. Sort the result by the number of flights in descending order and by name in ascending order.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
companyid, namepassengerid, namepass_in_tripid, trip, passenger, placetripid, company, plane, town_from, town_to, time_out, time_in