QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    From August 10 to August 20, 2018, how many cancelled flights of air carrier named Spirit Air Lines: NK are there? From August 10 to August 20, 2018 refers to FL_DATE BETWEEN '2018/8/10' AND '2018/8/20'; cancelled flights refers to CANCELLED = 1; Trans Southern Airways: 'Spirit Air Lines: NK' refers to Description = 'Spirit Air Lines: NK';

    【Evidence】
    From August 10 to August 20, 2018 refers to FL_DATE BETWEEN '2018/8/10' AND '2018/8/20'; cancelled flights refers to CANCELLED = 1; Trans Southern Airways: 'Spirit Air Lines: NK' refers to Description = 'Spirit Air Lines: NK';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T1.Description = 'Spirit Air Lines: NK' AND T2.CANCELLED = 0 AND T2.FL_DATE BETWEEN '2018/8/10' AND '2018/8/20'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    What is the total number of flights that flew on August 2, 2018 with air carrier described as Horizon Air? on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air';

    【Evidence】
    on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T1.Description LIKE '%Horizon Air%' AND T2.FL_DATE = '2018/8/2'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    What is the tail number of the flight with air carrier named Iscargo Hf: ICQ and arrival time of 1000 and below? tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000;

    【Evidence】
    tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.TAIL_NUM FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T2.ARR_TIME <= 1000 AND T1.Description = 'Iscargo Hf: ICQ'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    List the flight date of flights with air carrier described as Profit Airlines Inc.: XBH which have an actual elapsed time below 100. flight date refers to FL_DATE; Profit Airlines Inc.: XBH refers to Description = 'Profit Airlines Inc.: XBH'; actual elapsed time below 100 refers to ACTUAL_ELAPSED_TIME < 100;

    【Evidence】
    flight date refers to FL_DATE; Profit Airlines Inc.: XBH refers to Description = 'Profit Airlines Inc.: XBH'; actual elapsed time below 100 refers to ACTUAL_ELAPSED_TIME < 100;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.FL_DATE FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T2.ACTUAL_ELAPSED_TIME < 100 AND T1.Description = 'Profit Airlines Inc.: XBH'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    Among the flights with air carrier named Republic Airline, how many of the flights have departure delay of 30 minutes and above? Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30;

    【Evidence】
    Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T1.Description LIKE '%Republic Airline%' AND T2.DEP_DELAY > 30
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    What are the air carriers of the flights that flew on August 25, 2018 that have departure delay of -5? on August 25, 2018 refers to FL_DATE = '2018/8/25'; departure delay of -5 refers to DEP_DELAY = -5;

    【Evidence】
    on August 25, 2018 refers to FL_DATE = '2018/8/25'; departure delay of -5 refers to DEP_DELAY = -5;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.Description FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T2.FL_DATE = '2018/8/25' GROUP BY T1.Description
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    Provide the air carrier description of the flight with a tail number N922US from Phoenix. tail number refers to TAIL_NUM; TAIL_NUM = 'N922US'; from Phoenix refers to ORIGIN = 'PHX';

    【Evidence】
    tail number refers to TAIL_NUM; TAIL_NUM = 'N922US'; from Phoenix refers to ORIGIN = 'PHX';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.Description FROM Airlines AS T1 INNER JOIN `Air Carriers` AS T2 ON T2.Code = T1.OP_CARRIER_AIRLINE_ID WHERE T1.TAIL_NUM = 'N922US' AND T1.ORIGIN = 'PHX' GROUP BY T2.Description
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 airline
【Schema】
# Table: Air Carriers
[
(Code:INTEGER, Primary Key, Examples: [19031, 19032, 19033]),
(Description:TEXT, Examples: [Mackey International Inc.: MAC])
]
# Table: Airports
[
(Code:TEXT, Primary Key, Examples: [01A, 03A, 04A]),
(Description:TEXT, Examples: [Afognak Lake, AK: Afognak Lake Airport])
]
# Table: Airlines
[
(FL_DATE:TEXT, Examples: [2018/8/1, 2018/8/2, 2018/8/3]),
(OP_CARRIER_AIRLINE_ID:INTEGER, Examples: [19805, 20427, 21167]),
(TAIL_NUM:TEXT, Examples: [N956AN, N973AN, N9006]),
(OP_CARRIER_FL_NUM:INTEGER, Examples: [1587, 1588, 1590]),
(ORIGIN_AIRPORT_ID:INTEGER, Examples: [12478, 14107, 11042]),
(ORIGIN_AIRPORT_SEQ_ID:INTEGER, Examples: [1247805, 1410702, 1104205]),
(ORIGIN_CITY_MARKET_ID:INTEGER, Examples: [31703, 30466, 30647]),
(ORIGIN:TEXT, Examples: [JFK, PHX, CLE]),
(DEST_AIRPORT_ID:INTEGER, Examples: [14107, 11618, 11298]),
(DEST_AIRPORT_SEQ_ID:INTEGER, Examples: [1410702, 1161802, 1129806]),
(DEST_CITY_MARKET_ID:INTEGER, Examples: [30466, 31703, 30194]),
(DEST:TEXT, Examples: [PHX, EWR, DFW]),
(CRS_DEP_TIME:INTEGER, Examples: [1640, 1512, 744]),
(DEP_TIME:INTEGER, Examples: [1649, 1541, 741]),
(DEP_DELAY:INTEGER, Examples: [9, 29, -3]),
(DEP_DELAY_NEW:INTEGER, Examples: [9, 29, 0]),
(ARR_TIME:INTEGER, Examples: [2006, 2350, 938]),
(ARR_DELAY:INTEGER, Examples: [44, 53, -2]),
(ARR_DELAY_NEW:INTEGER, Examples: [44, 53, 0]),
(CANCELLED:INTEGER, Examples: [0, 1]),
(CANCELLATION_CODE:TEXT, Examples: [A, B, C]),
(CRS_ELAPSED_TIME:INTEGER, Examples: [342, 285, 176]),
(ACTUAL_ELAPSED_TIME:INTEGER, Examples: [377, 309, 177]),
(CARRIER_DELAY:INTEGER, Examples: [9, 0, 43]),
(WEATHER_DELAY:INTEGER, Examples: [0, 2, 48]),
(NAS_DELAY:INTEGER, Examples: [35, 53, 0]),
(SECURITY_DELAY:INTEGER, Examples: [0, 42, 4]),
(LATE_AIRCRAFT_DELAY:INTEGER, Examples: [0, 6, 73])
]
【Foreign keys】
Airlines.ORIGIN=Airports.Code
Airlines.DEST=Airports.Code
Airlines.OP_CARRIER_AIRLINE_ID=Air Carriers.Code

    【Question】
    Give the air carrier description of the flights that have an earlier arrival and departure. earlier arrival and departure refers to ARR_DELAY < 0 AND DEP_DELAY < 0;

    【Evidence】
    earlier arrival and departure refers to ARR_DELAY < 0 AND DEP_DELAY < 0;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.Description FROM `Air Carriers` AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.OP_CARRIER_AIRLINE_ID WHERE T2.ARR_DELAY < 0 AND T2.DEP_DELAY < 0 GROUP BY T1.Description