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】
    For the flight from ATL to PHL on 2018/8/1 that scheduled local departure time as "2040", which air carrier does this flight belong to? flight from ATL refers to ORIGIN = 'ATL'; flight to PHL refers to DEST = 'PHL'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; local departure time refers to CRS_DEP_TIME; CRS_DEP_TIME = '2040';

    【Evidence】
    flight from ATL refers to ORIGIN = 'ATL'; flight to PHL refers to DEST = 'PHL'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; local departure time refers to CRS_DEP_TIME; CRS_DEP_TIME = '2040';

    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 T1.OP_CARRIER_AIRLINE_ID = T2.Code WHERE T1.FL_DATE = '2018/8/1' AND T1.ORIGIN = 'ATL' AND T1.DEST = 'PHL' AND T1.CRS_DEP_TIME = '2040' 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】
    Tell the number of flights that landed at Lake Charles Regional Airport on 2018/8/15. landed at refers to DEST; Lake Charles Regional Airport refers to Description = 'Lake Charles, LA: Lake Charles Regional'; on 2018/8/15 refers to FL_DATE = '2018/8/15';

    【Evidence】
    landed at refers to DEST; Lake Charles Regional Airport refers to Description = 'Lake Charles, LA: Lake Charles Regional'; on 2018/8/15 refers to FL_DATE = '2018/8/15';

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

SQL: SELECT COUNT(T1.Code) FROM Airports AS T1 INNER JOIN Airlines AS T2 ON T1.Code = T2.DEST WHERE T2.FL_DATE = '2018/8/15' AND T1.Description = 'Lake Charles, LA: Lake Charles Regional'
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 percentage of flights which landed at Pittsburgh were faster than scheduled? percentage = MULTIPLY(DIVIDE(SUM(ACTUAL_ELAPSED_TIME < T2.CRS_ELAPSED_TIME), COUNT(Code)), 100); landed at refers to DEST; Pittsburgh refers to Description which contains 'Pittsburgh'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME;

    【Evidence】
    percentage = MULTIPLY(DIVIDE(SUM(ACTUAL_ELAPSED_TIME < T2.CRS_ELAPSED_TIME), COUNT(Code)), 100); landed at refers to DEST; Pittsburgh refers to Description which contains 'Pittsburgh'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME;

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

SQL: SELECT CAST(SUM(CASE WHEN T1.ACTUAL_ELAPSED_TIME < T1.CRS_ELAPSED_TIME THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM Airlines AS T1 INNER JOIN Airports AS T2 ON T2.Code = T1.DEST WHERE T2.Description LIKE '%Pittsburgh%' AND T1.CRS_ELAPSED_TIME IS NOT NULL AND T1.ACTUAL_ELAPSED_TIME IS NOT NULL
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 description of the airline code 19049?

    【Evidence】
    

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

SQL: SELECT Description FROM `Air Carriers` WHERE Code = 19049
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】
    How many flights departed on time on 8/1/2018? departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1';

    【Evidence】
    departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1';

    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 Airlines WHERE FL_DATE = '2018/8/1' AND DEP_DELAY <= 0
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 codes of the airport found in Ankara, Turkey? airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%';

    【Evidence】
    airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%';

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

SQL: SELECT Code FROM Airports WHERE Description LIKE '%Ankara, Turkey%'
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】
    How long was the longest minute delay caused by a weather problem in airport id 12264? longest minute delay caused by a weather problem refers to MAX(WEATHER_DELAY); airport id refers to ORIGIN_AIRPORT_ID; ORIGIN_AIRPORT_ID = 12264;

    【Evidence】
    longest minute delay caused by a weather problem refers to MAX(WEATHER_DELAY); airport id refers to ORIGIN_AIRPORT_ID; ORIGIN_AIRPORT_ID = 12264;

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

SQL: SELECT WEATHER_DELAY FROM Airlines WHERE ORIGIN_AIRPORT_ID = 12264 ORDER BY WEATHER_DELAY DESC LIMIT 1
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 IATA code of the Anita Bay Airport in Anita Bay, Alaska? IATA code refers to Code; Anita Bay Airport in Anita Bay, Alaska refers to Description = 'Anita Bay, AK: Anita Bay Airport';

    【Evidence】
    IATA code refers to Code; Anita Bay Airport in Anita Bay, Alaska refers to Description = 'Anita Bay, AK: Anita Bay Airport';

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

SQL: SELECT Code FROM Airports WHERE Description = 'Anita Bay, AK: Anita Bay Airport'
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 origin airport id that recorded the longest delay due to a late aircraft? origin airport id refers to ORIGIN_AIRPORT_ID; longest delay due to a late aircraft refers to MAX(LATE_AIRCRAFT_DELAY);

    【Evidence】
    origin airport id refers to ORIGIN_AIRPORT_ID; longest delay due to a late aircraft refers to MAX(LATE_AIRCRAFT_DELAY);

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

SQL: SELECT ORIGIN_AIRPORT_ID FROM Airlines ORDER BY LATE_AIRCRAFT_DELAY DESC LIMIT 1