RienSQL
TASK #12 · Easy

Number of passengers on flights

Your brief
Print the IDs of all flights and the number of passengers on each flight. If there are no passengers on a flight, print the number "0" for that flight.
Expected columnsid 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