human
Schema:
pilot (Pilot_Id, Name, Age)
aircraft (Aircraft_ID, Aircraft, Description, Max_Gross_Weight, Total_disk_area, Max_disk_Loading)
match (Round, Location, Country, Date, Fastest_Qualifying, Winning_Pilot, Winning_Aircraft)
airport (Airport_ID, Airport_Name, Total_Passengers, %_Change_2007, International_Passengers, Domestic_Passengers, Transit_Passengers, Aircraft_Movements, Freight_Metric_Tonnes)
airport_aircraft (ID, Airport_ID, Aircraft_ID)
Please answer with SQL.
assistant
Sure, I understand.
human
What are the maximum number of transit passengers of all airports?
assistant
SELECT MAX( Transit_Passengers ) FROM airport;
human
What are the minimum number of transit passengers of all airports?
assistant
SELECT MIN( Transit_Passengers ) FROM airport;
human
What is the average of all domestic passengers?
assistant
SELECT AVG ( Domestic_Passengers ) FROM airport ;