description: This table stores information about aircraft, including aircraft code, model, and flight range.

example_questions: What is the flight range of the aircraft with code '773'?

example_questions: Which aircraft model has the shortest flight range?

example_questions: What is the difference in flight range between the aircraft with the longest range and the one with the shortest range?


description: This table contains airport data, including airport code, name, city, coordinates, and time zone.

example_questions: In which city is the airport with code 'ATL' located?

example_questions: How many airports are in the Asia time zone?

example_questions: Which airport has the northernmost location based on its coordinates?


description: This table stores information about boarding passes, including ticket number, flight ID, boarding number, and seat number.

example_questions: What is the seat number for the ticket number '0060005435212351'?

example_questions: How many passengers have seat numbers in row 2 (e.g., 2A, 2B, 2C, etc.)?

example_questions: For the flight with flight_id 30625, is there a correlation between boarding number and seat position?


table: bookings

description: This table contains booking information, including booking reference, booking date, and total amount.

example_questions: What is the total amount for the booking with reference '00000F'?

example_questions: How many bookings were made in March 2024?

example_questions: What is the average booking amount for bookings made in April 2024?


description: This table stores information about car rentals, including rental company, location, price tier, rental dates, and booking status.

example_questions: How many car rentals are available in Basel?

example_questions: Which rental company offers a luxury car in Basel, and for how many days?

example_questions: Calculate the average rental duration for all non-booked cars, grouped by price tier.


table: flights

description: This table contains flight information, including flight numbers, schedules, airports, status, and aircraft details.

example_questions: What is the flight number for the flight departing from BSL to BKK?

example_questions: How many flights are scheduled to depart from Shanghai (SHA)?

example_questions: For flights that have both scheduled and actual departure times, what is the average delay in minutes?


table: hotels

description: This table stores information about hotel bookings, including hotel name, location, price tier, check-in and check-out dates, and booking status.

example_questions: How many hotels are available for booking in Basel?

example_questions: Which hotel in Zurich offers an Upscale price tier, and for how many nights?

example_questions: Calculate the average length of stay for all non-booked hotels, grouped by price tier.


table: seats

description: This table contains information about aircraft seats, including the aircraft code, seat number, and fare conditions.

example_questions: How many Business class seats are there on aircraft with code '319'?

example_questions: List all unique fare conditions available across all aircraft.

example_questions: For each aircraft code, what percentage of seats are in the Business fare condition?


description: This table links tickets to specific flights and includes fare conditions and ticket amounts.

example_questions: What is the average ticket amount for Business class on flight_id 30625?

example_questions: How many different fare conditions are there across all ticket_flights?

example_questions: For each flight_id, what is the price difference between the highest and lowest ticket amount?


table: tickets

description: This table contains information about tickets, including ticket number, booking reference, and passenger ID.

example_questions: How many tickets are associated with the booking reference '06B046'?

example_questions: What is the passenger ID for the ticket number '9880005432000987'?

example_questions: How many unique passengers (based on passenger_id) have tickets in the system?


description: This table stores trip recommendations, including name, location, keywords, details, and booking status.

example_questions: How many trip recommendations are available for Basel?

example_questions: What are the keywords associated with the 'Kunstmuseum Basel' recommendation?

example_questions: List all unique locations that have trip recommendations, along with the count of recommendations for each location.