Celestial Airlines Flight Records

Completed

Incomplete

Not Attended

Share

Celestial Airlines prides itself on providing smooth and efficient travel experiences
for passengers across the country. The airline maintains a comprehensive flight record
database, capturing flight ID, origin, destination, seat capacity, and booked seats for each
flight. The Airline Operations Analyst is tasked with monitoring flight occupancy to optimize
bookings, identify flights with available seats, calculate the total number of passengers across
all flights, and sort flights by capacity for planning future schedules. Your role is to provide SQL
queries to assist airline operations.

notAttendedQuestion - 1

List all flights with available seats

notAttendedQuestion - 2

Calculate total passengers booked across all flights.

Prev
View Questions
Next
Code Editor
Table Name: flights
flight_id origin destination capacity booked_seats
1 New York London 300 280
2 Paris Tokyo 250 200
3 Dubai Sydney 200 180
4 Mumbai Singapore 150 120
5 Toronto Berlin 180 150

>>> Submit Your Query to validate