RienSQL
TASK #30 · Medium

Flight load

Your brief
Output the number of occupied seats for each trip from the Pass_in_trip table, sorting the result by the number of occupied seats in descending order.
Expected columnstrip countAir travels
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
companyid, name
passengerid, name
pass_in_tripid, trip, passenger, place
tripid, company, plane, town_from, town_to, time_out, time_in