[ { "db_id": "aircraft", "query": "SELECT count(*) FROM aircraft", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "aircraft" ], "question": "Có bao nhiêu máy bay tất cả ?", "question_toks": [ "How", "many", "aircrafts", "are", "there", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT count(*) FROM aircraft", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "aircraft" ], "question": "Cho biết tổng số lượng máy bay .", "question_toks": [ "What", "is", "the", "number", "of", "aircraft", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Description FROM aircraft", "query_toks": [ "SELECT", "Description", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "description", "from", "aircraft" ], "question": "Liệt kê mô tả về tất cả các máy bay .", "question_toks": [ "List", "the", "description", "of", "all", "aircrafts", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Description FROM aircraft", "query_toks": [ "SELECT", "Description", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "description", "from", "aircraft" ], "question": "Mô tả về tất cả các máy bay có trong danh sách ?", "question_toks": [ "What", "are", "the", "descriptions", "for", "the", "aircrafts", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT avg(International_Passengers) FROM airport", "query_toks": [ "SELECT", "avg", "(", "International_Passengers", ")", "FROM", "airport" ], "query_toks_no_value": [ "select", "avg", "(", "international_passengers", ")", "from", "airport" ], "question": "Số lượng hành khách quốc tế trung bình ở tất cả các sân bay là bao nhiêu ?", "question_toks": [ "What", "is", "the", "average", "number", "of", "international", "passengers", "of", "all", "airports", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 5, [ 0, [ 0, 21, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT avg(International_Passengers) FROM airport", "query_toks": [ "SELECT", "avg", "(", "International_Passengers", ")", "FROM", "airport" ], "query_toks_no_value": [ "select", "avg", "(", "international_passengers", ")", "from", "airport" ], "question": "Cho biết số lượng hành khách quốc tế trung bình ở tất cả các sân bay .", "question_toks": [ "What", "is", "the", "average", "number", "of", "international", "passengers", "for", "an", "airport", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 5, [ 0, [ 0, 21, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT International_Passengers , Domestic_Passengers FROM airport WHERE Airport_Name = \"London Heathrow\"", "query_toks": [ "SELECT", "International_Passengers", ",", "Domestic_Passengers", "FROM", "airport", "WHERE", "Airport_Name", "=", "``", "London", "Heathrow", "''" ], "query_toks_no_value": [ "select", "international_passengers", ",", "domestic_passengers", "from", "airport", "where", "airport_name", "=", "value" ], "question": "Số lượng hành khách quốc tế và số lượng hành khách nội địa ở sân bay ' London Heathrow ' là bao nhiêu ?", "question_toks": [ "What", "are", "the", "number", "of", "international", "and", "domestic", "passengers", "of", "the", "airport", "named", "London", "``", "Heathrow", "''", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 21, false ], null ] ], [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT International_Passengers , Domestic_Passengers FROM airport WHERE Airport_Name = \"London Heathrow\"", "query_toks": [ "SELECT", "International_Passengers", ",", "Domestic_Passengers", "FROM", "airport", "WHERE", "Airport_Name", "=", "``", "London", "Heathrow", "''" ], "query_toks_no_value": [ "select", "international_passengers", ",", "domestic_passengers", "from", "airport", "where", "airport_name", "=", "value" ], "question": "Có bao nhiêu hành khách quốc tế và bao nhiêu hành khách nội địa ở sân bay London Heathrow ?", "question_toks": [ "How", "many", "international", "and", "domestic", "passengers", "are", "there", "in", "the", "airport", "London", "Heathrow", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 21, false ], null ] ], [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"", "query_toks": [ "SELECT", "sum", "(", "Domestic_Passengers", ")", "FROM", "airport", "WHERE", "Airport_Name", "LIKE", "``", "%", "London", "%", "''" ], "query_toks_no_value": [ "select", "sum", "(", "domestic_passengers", ")", "from", "airport", "where", "airport_name", "like", "value" ], "question": "Tổng số hành khách nội địa ở các sân bay có chứa từ ' London ' trong tên của chúng .", "question_toks": [ "What", "are", "the", "total", "number", "of", "Domestic", "Passengers", "of", "airports", "that", "contain", "the", "word", "``", "London", "''", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 4, [ 0, [ 0, 22, false ], null ] ] ] ], "union": null, "where": [ [ false, 9, [ 0, [ 0, 18, false ], null ], "\"%London%\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"", "query_toks": [ "SELECT", "sum", "(", "Domestic_Passengers", ")", "FROM", "airport", "WHERE", "Airport_Name", "LIKE", "``", "%", "London", "%", "''" ], "query_toks_no_value": [ "select", "sum", "(", "domestic_passengers", ")", "from", "airport", "where", "airport_name", "like", "value" ], "question": "Cho biết tổng số hành khách nội địa ở tất cả các sân bay có chứa từ ' London ' trong tên của chúng .", "question_toks": [ "What", "are", "the", "total", "number", "of", "domestic", "passengers", "at", "all", "London", "airports", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 4, [ 0, [ 0, 22, false ], null ] ] ] ], "union": null, "where": [ [ false, 9, [ 0, [ 0, 18, false ], null ], "\"%London%\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT max(Transit_Passengers) , min(Transit_Passengers) FROM airport", "query_toks": [ "SELECT", "max", "(", "Transit_Passengers", ")", ",", "min", "(", "Transit_Passengers", ")", "FROM", "airport" ], "query_toks_no_value": [ "select", "max", "(", "transit_passengers", ")", ",", "min", "(", "transit_passengers", ")", "from", "airport" ], "question": "Cho biết số lượng hành khách quá cảnh tối đa và tối thiểu ở tất cả các sân bay .", "question_toks": [ "What", "are", "the", "maximum", "and", "minimum", "number", "of", "transit", "passengers", "of", "all", "aiports", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ], [ 2, [ 0, [ 0, 23, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT max(Transit_Passengers) , min(Transit_Passengers) FROM airport", "query_toks": [ "SELECT", "max", "(", "Transit_Passengers", ")", ",", "min", "(", "Transit_Passengers", ")", "FROM", "airport" ], "query_toks_no_value": [ "select", "max", "(", "transit_passengers", ")", ",", "min", "(", "transit_passengers", ")", "from", "airport" ], "question": "Số lượng hành khách quá cảnh tối đa và tối thiểu ở tất cả các sân bay là bao nhiêu .", "question_toks": [ "What", "is", "the", "maximum", "and", "mininum", "number", "of", "transit", "passengers", "for", "all", "airports", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ], [ 2, [ 0, [ 0, 23, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot WHERE Age >= 25", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "WHERE", "Age", ">", "=", "25" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "age", ">", "=", "value" ], "question": "Cho biết tên của các phi công có độ tuổi trên 25 .", "question_toks": [ "What", "are", "the", "name", "of", "pilots", "aged", "25", "or", "older", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ false, 5, [ 0, [ 0, 3, false ], null ], 25.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot WHERE Age >= 25", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "WHERE", "Age", ">", "=", "25" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "age", ">", "=", "value" ], "question": "Những phi công nào có độ tuổi trên 25 ? Liệt kê tên của họ .", "question_toks": [ "what", "is", "the", "name", "of", "every", "pilot", "who", "is", "at", "least", "25", "years", "old", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ false, 5, [ 0, [ 0, 3, false ], null ], 25.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot ORDER BY Name ASC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "ORDER", "BY", "Name", "ASC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "order", "by", "name", "asc" ], "question": "Liệt kê tên của tất cả các phi công theo thứ tự bảng chữ cái tăng dần .", "question_toks": [ "List", "all", "pilot", "names", "in", "ascending", "alphabetical", "order", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "asc", [ [ 0, [ 0, 2, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot ORDER BY Name ASC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "ORDER", "BY", "Name", "ASC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "order", "by", "name", "asc" ], "question": "Sắp xếp tên của tất cả các phi công theo thứ tự bảng chữ cái .", "question_toks": [ "What", "are", "the", "names", "of", "the", "pilots", "in", "alphabetical", "order", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "asc", [ [ 0, [ 0, 2, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "WHERE", "Age", "<", "=", "30", "ORDER", "BY", "Name", "DESC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "age", "<", "=", "value", "order", "by", "name", "desc" ], "question": "Liệt kê tên của tất cả các phi công có độ tuổi từ 30 trở xuống theo thứ tự bảng chữ cái giảm dần .", "question_toks": [ "List", "names", "of", "all", "pilot", "aged", "30", "or", "younger", "in", "descending", "alphabetical", "order", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ false, 6, [ 0, [ 0, 3, false ], null ], 30.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "WHERE", "Age", "<", "=", "30", "ORDER", "BY", "Name", "DESC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "age", "<", "=", "value", "order", "by", "name", "desc" ], "question": "Sắp xếp tên của tất cả các phi công có độ tuổi từ 30 trở xuống theo thứ tự bảng chữ cái giảm dần .", "question_toks": [ "What", "are", "the", "names", "of", "all", "pilots", "30", "years", "old", "or", "young", "in", "descending", "alphabetical", "order", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ false, 6, [ 0, [ 0, 3, false ], null ], 30.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Gatwick", "''" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value" ], "question": "Vui lòng hiển thị tên của những máy bay đã cộng tác làm việc với sân bay ' London Gatwick ' .", "question_toks": [ "Please", "show", "the", "names", "of", "aircrafts", "associated", "with", "airport", "with", "name", "``", "London", "Gatwick", "''", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Gatwick", "''" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value" ], "question": "Những máy bay nào đã cộng tác làm việc với sân bay London Gatwick ? Cho biết tên của những máy bay này .", "question_toks": [ "What", "are", "the", "names", "of", "all", "the", "aircrafts", "associated", "with", "London", "Gatwick", "airport", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000", "query_toks": [ "SELECT", "T1.Aircraft", ",", "T1.Description", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Total_Passengers", ">", "10000000" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", ",", "t1", ".", "description", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "total_passengers", ">", "value" ], "question": "Vui lòng hiển thị tên và mô tả về những máy bay đã cộng tác với các sân bay có tổng số hành khách lớn hơn 10000000 .", "question_toks": [ "Please", "show", "the", "names", "and", "descriptions", "of", "aircrafts", "associated", "with", "airports", "that", "have", "a", "total", "number", "of", "passengers", "bigger", "than", "10000000", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "union": null, "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 10000000.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000", "query_toks": [ "SELECT", "T1.Aircraft", ",", "T1.Description", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Total_Passengers", ">", "10000000" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", ",", "t1", ".", "description", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "total_passengers", ">", "value" ], "question": "Những máy bay nào đã cộng tác với các sân bay có tổng số hành khách lớn hơn 10000000 ? Cho biết tên và mô tả của từng máy bay .", "question_toks": [ "What", "are", "the", "names", "and", "descriptions", "of", "aircrafts", "associated", "with", "an", "airport", "that", "has", "more", "total", "passengers", "than", "10000000", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "union": null, "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 10000000.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = \"Robinson R-22\"", "query_toks": [ "SELECT", "avg", "(", "T3.Total_Passengers", ")", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T1.Aircraft", "=", "``", "Robinson", "R-22", "''" ], "query_toks_no_value": [ "select", "avg", "(", "t3", ".", "total_passengers", ")", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t1", ".", "aircraft", "=", "value" ], "question": "Số lượng hành khách trung bình của các sân bay đang hợp tác làm việc với máy bay ' Robinson R-22 ' là bao nhiêu ?", "question_toks": [ "What", "is", "the", "average", "total", "number", "of", "passengers", "of", "airports", "that", "are", "associated", "with", "aircraft", "``", "Robinson", "R-22", "''", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 5, [ 0, [ 0, 19, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Robinson R-22\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = \"Robinson R-22\"", "query_toks": [ "SELECT", "avg", "(", "T3.Total_Passengers", ")", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T1.Aircraft", "=", "``", "Robinson", "R-22", "''" ], "query_toks_no_value": [ "select", "avg", "(", "t3", ".", "total_passengers", ")", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t1", ".", "aircraft", "=", "value" ], "question": "Các sân bay đang hợp tác làm việc với máy bay ' Robinson R-22 ' có số lượng hành khách trung bình là bao nhiêu ?", "question_toks": [ "What", "is", "the", "average", "total", "number", "of", "passengers", "for", "all", "airports", "that", "the", "aircraft", "``", "Robinson", "R-22", "''", "visits", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 5, [ 0, [ 0, 19, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Robinson R-22\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT T2.Location , T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft", "query_toks": [ "SELECT", "T2.Location", ",", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft" ], "query_toks_no_value": [ "select", "t2", ".", "location", ",", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft" ], "question": "Cho biết địa điểm của các trận đấu và tên của những máy bay chiến thắng .", "question_toks": [ "Please", "list", "the", "location", "and", "the", "winning", "aircraft", "name", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T2.Location , T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft", "query_toks": [ "SELECT", "T2.Location", ",", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft" ], "query_toks_no_value": [ "select", "t2", ".", "location", ",", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft" ], "question": "Tên của những máy bay chiến thắng và địa điểm mà chúng đã giành chiến thắng ?", "question_toks": [ "What", "is", "the", "location", "and", "name", "of", "the", "winning", "aircraft", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Cho biết tên của máy bay đã giành chiến thắng nhiều lần nhất .", "question_toks": [ "List", "the", "name", "of", "the", "aircraft", "that", "has", "been", "named", "winning", "aircraft", "the", "most", "number", "of", "times", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Tên của máy bay đã giành được nhiều giải thưởng nhất ?", "question_toks": [ "What", "is", "the", "name", "of", "the", "aircraft", "that", "has", "won", "an", "award", "the", "most", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft , COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft", "query_toks": [ "SELECT", "T1.Aircraft", ",", "COUNT", "(", "*", ")", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", ",", "count", "(", "*", ")", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft" ], "question": "Liệt kê tên của từng máy bay và số lần nó đã giành được chiến thắng .", "question_toks": [ "List", "the", "names", "of", "aircrafts", "and", "the", "number", "of", "times", "it", "won", "matches", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft , COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft", "query_toks": [ "SELECT", "T1.Aircraft", ",", "COUNT", "(", "*", ")", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", ",", "count", "(", "*", ")", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft" ], "question": "Đối với mỗi máy bay đã giành được giải thưởng , cho biết tên của nó và số lần nó dành được giải thưởng ?", "question_toks": [ "For", "each", "aircraft", "that", "has", "won", "an", "award", ",", "what", "is", "its", "name", "and", "how", "many", "time", "has", "it", "won", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot ORDER BY Age DESC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "ORDER", "BY", "Age", "DESC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "order", "by", "age", "desc" ], "question": "Liệt kê tên của tất cả các phi công theo thứ tự độ tuổi giảm dần .", "question_toks": [ "List", "names", "of", "all", "pilot", "in", "descending", "order", "of", "age", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "desc", [ [ 0, [ 0, 3, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Name FROM pilot ORDER BY Age DESC", "query_toks": [ "SELECT", "Name", "FROM", "pilot", "ORDER", "BY", "Age", "DESC" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "order", "by", "age", "desc" ], "question": "Sắp xếp tên của tất cả các phi công theo thứ tự giảm dần về độ tuổi .", "question_toks": [ "What", "are", "the", "names", "of", "all", "pilots", "listed", "by", "descending", "age", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [ "desc", [ [ 0, [ 0, 3, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft", "HAVING", "COUNT", "(", "*", ")", ">", "=", "2" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft", "having", "count", "(", "*", ")", ">", "=", "value" ], "question": "Liệt kê tên của những máy bay đã giành được chiến thắng ít nhất hai lần trong các trận đấu .", "question_toks": [ "List", "the", "names", "of", "aircrafts", "and", "that", "won", "matches", "at", "least", "twice", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 5, [ 0, [ 3, 0, false ], null ], 2.0, null ] ], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "MATCH", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Winning_Aircraft", "GROUP", "BY", "T2.Winning_Aircraft", "HAVING", "COUNT", "(", "*", ")", ">", "=", "2" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "winning_aircraft", "group", "by", "t2", ".", "winning_aircraft", "having", "count", "(", "*", ")", ">", "=", "value" ], "question": "Tên của tất cả các máy bay đã giành được chiến thắng ít nhất hai lần ?", "question_toks": [ "What", "are", "the", "names", "of", "all", "aircrafts", "that", "have", "won", "a", "match", "at", "least", "twice", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 5, [ 0, [ 3, 0, false ], null ], 2.0, null ] ], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)", "query_toks": [ "SELECT", "Aircraft", "FROM", "aircraft", "WHERE", "Aircraft_ID", "NOT", "IN", "(", "SELECT", "Winning_Aircraft", "FROM", "MATCH", ")" ], "query_toks_no_value": [ "select", "aircraft", "from", "aircraft", "where", "aircraft_id", "not", "in", "(", "select", "winning_aircraft", "from", "match", ")" ], "question": "Liệt kê tên của những máy bay không thắng được trận đấu nào .", "question_toks": [ "List", "the", "names", "of", "aircrafts", "and", "that", "did", "not", "win", "any", "match", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ true, 8, [ 0, [ 0, 4, false ], null ], { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "union": null, "where": [] }, null ] ] } }, { "db_id": "aircraft", "query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)", "query_toks": [ "SELECT", "Aircraft", "FROM", "aircraft", "WHERE", "Aircraft_ID", "NOT", "IN", "(", "SELECT", "Winning_Aircraft", "FROM", "MATCH", ")" ], "query_toks_no_value": [ "select", "aircraft", "from", "aircraft", "where", "aircraft_id", "not", "in", "(", "select", "winning_aircraft", "from", "match", ")" ], "question": "Tên của các máy bay chưa bao giờ thắng được bất kỳ trận đấu nào ?", "question_toks": [ "What", "are", "the", "names", "of", "all", "aicrafts", "that", "have", "never", "won", "any", "match", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 1 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ true, 8, [ 0, [ 0, 4, false ], null ], { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "union": null, "where": [] }, null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Heathrow", "''", "INTERSECT", "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Gatwick", "''" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value", "intersect", "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value" ], "question": "Hiển thị tên của máy bay đã hợp tác làm việc với cả sân bay ' London Heathrow ' và sân bay ' London Gatwick ' .", "question_toks": [ "Show", "the", "names", "of", "aircrafts", "that", "are", "associated", "with", "both", "an", "airport", "named", "``", "London", "Heathrow", "''", "and", "an", "airport", "named", "``", "London", "Gatwick", "''" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ] }, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"", "query_toks": [ "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Heathrow", "''", "INTERSECT", "SELECT", "T1.Aircraft", "FROM", "aircraft", "AS", "T1", "JOIN", "airport_aircraft", "AS", "T2", "ON", "T1.Aircraft_ID", "=", "T2.Aircraft_ID", "JOIN", "airport", "AS", "T3", "ON", "T2.Airport_ID", "=", "T3.Airport_ID", "WHERE", "T3.Airport_Name", "=", "``", "London", "Gatwick", "''" ], "query_toks_no_value": [ "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value", "intersect", "select", "t1", ".", "aircraft", "from", "aircraft", "as", "t1", "join", "airport_aircraft", "as", "t2", "on", "t1", ".", "aircraft_id", "=", "t2", ".", "aircraft_id", "join", "airport", "as", "t3", "on", "t2", ".", "airport_id", "=", "t3", ".", "airport_id", "where", "t3", ".", "airport_name", "=", "value" ], "question": "Tên của tất cả các máy bay đã hợp tác làm việc với cả sân bay Heathrow và sân bay Gatwick ở London ?", "question_toks": [ "What", "are", "the", "names", "of", "all", "aircrafts", "that", "are", "associated", "with", "both", "London", "Heathrow", "and", "Gatwick", "airports", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ], "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ] }, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ] } }, { "db_id": "aircraft", "query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1", "query_toks": [ "SELECT", "*", "FROM", "airport", "ORDER", "BY", "International_Passengers", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "*", "from", "airport", "order", "by", "international_passengers", "desc", "limit", "value" ], "question": "Hiển thị tất cả các thông tin về sân bay có số lượng hành khách quốc tế lớn nhất .", "question_toks": [ "Show", "all", "information", "on", "the", "airport", "that", "has", "the", "largest", "number", "of", "international", "passengers", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 0, 21, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1", "query_toks": [ "SELECT", "*", "FROM", "airport", "ORDER", "BY", "International_Passengers", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "*", "from", "airport", "order", "by", "international_passengers", "desc", "limit", "value" ], "question": "Những sân bay nào có số lượng hành khách quốc tế lớn nhất ? Cho biết tất cả các thông tin về những sân bay này .", "question_toks": [ "What", "is", "all", "the", "information", "on", "the", "airport", "with", "the", "largest", "number", "of", "international", "passengers", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 3 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 0, 21, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "t1.name", ",", "t1.age", "FROM", "pilot", "AS", "t1", "JOIN", "MATCH", "AS", "t2", "ON", "t1.pilot_id", "=", "t2.winning_pilot", "WHERE", "t1.age", "<", "30", "GROUP", "BY", "t2.winning_pilot", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "age", "from", "pilot", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "pilot_id", "=", "t2", ".", "winning_pilot", "where", "t1", ".", "age", "<", "value", "group", "by", "t2", ".", "winning_pilot", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Tìm tên và độ tuổi của phi công đã giành được nhiều thắng lợi nhất trong số những phi công dưới 30 tuổi .", "question_toks": [ "find", "the", "name", "and", "age", "of", "the", "pilot", "who", "has", "won", "the", "most", "number", "of", "times", "among", "the", "pilots", "who", "are", "younger", "than", "30", "." ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ], "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 15, false ] ], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "union": null, "where": [ [ false, 4, [ 0, [ 0, 3, false ], null ], 30.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "t1.name", ",", "t1.age", "FROM", "pilot", "AS", "t1", "JOIN", "MATCH", "AS", "t2", "ON", "t1.pilot_id", "=", "t2.winning_pilot", "WHERE", "t1.age", "<", "30", "GROUP", "BY", "t2.winning_pilot", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "age", "from", "pilot", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "pilot_id", "=", "t2", ".", "winning_pilot", "where", "t1", ".", "age", "<", "value", "group", "by", "t2", ".", "winning_pilot", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Phi công nào đã giành được nhiều thắng lợi nhất trong số những phi công dưới 30 tuổi ? Cho biết tên và độ tuổi của người này .", "question_toks": [ "What", "is", "the", "name", "and", "age", "of", "the", "pilot", "younger", "than", "30", "who", "has", "won", "the", "most", "number", "of", "times", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ], "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ] }, "groupBy": [ [ 0, 15, false ] ], "having": [], "intersect": null, "limit": 1, "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "union": null, "where": [ [ false, 4, [ 0, [ 0, 3, false ], null ], 30.0, null ] ] } }, { "db_id": "aircraft", "query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1", "query_toks": [ "SELECT", "t1.name", ",", "t1.age", "FROM", "pilot", "AS", "t1", "JOIN", "MATCH", "AS", "t2", "ON", "t1.pilot_id", "=", "t2.winning_pilot", "ORDER", "BY", "t1.age", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "age", "from", "pilot", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "pilot_id", "=", "t2", ".", "winning_pilot", "order", "by", "t1", ".", "age", "limit", "value" ], "question": "Cho biết tên và độ tuổi của phi công trẻ tuổi nhất đã giành được thắng lợi .", "question_toks": [ "what", "is", "the", "name", "and", "age", "of", "the", "youngest", "winning", "pilot", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ], "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": 1, "orderBy": [ "asc", [ [ 0, [ 0, 3, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1", "query_toks": [ "SELECT", "t1.name", ",", "t1.age", "FROM", "pilot", "AS", "t1", "JOIN", "MATCH", "AS", "t2", "ON", "t1.pilot_id", "=", "t2.winning_pilot", "ORDER", "BY", "t1.age", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", ",", "t1", ".", "age", "from", "pilot", "as", "t1", "join", "match", "as", "t2", "on", "t1", ".", "pilot_id", "=", "t2", ".", "winning_pilot", "order", "by", "t1", ".", "age", "limit", "value" ], "question": "Phi công nào là phi công trẻ nhất đã giành thắng lợi ? Cho biết tên và độ tuổi của anh ấy .", "question_toks": [ "How", "old", "is", "the", "youngest", "winning", "pilot", "and", "what", "is", "their", "name", "?" ], "sql": { "except": null, "from": { "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ], "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": 1, "orderBy": [ "asc", [ [ 0, [ 0, 3, false ], null ] ] ], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "union": null, "where": [] } }, { "db_id": "aircraft", "query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')", "query_toks": [ "SELECT", "name", "FROM", "pilot", "WHERE", "pilot_id", "NOT", "IN", "(", "SELECT", "Winning_Pilot", "FROM", "MATCH", "WHERE", "country", "=", "'Australia", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "pilot_id", "not", "in", "(", "select", "winning_pilot", "from", "match", "where", "country", "=", "value", ")" ], "question": "Cho biết tên của các phi công không giành được chiến thắng trong các trận đấu được tổ chức tại đất nước ' Úc ' .", "question_toks": [ "find", "the", "name", "of", "pilots", "who", "did", "not", "win", "the", "matches", "held", "in", "the", "country", "of", "Australia", "." ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Australia\"", null ] ] }, null ] ] } }, { "db_id": "aircraft", "query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')", "query_toks": [ "SELECT", "name", "FROM", "pilot", "WHERE", "pilot_id", "NOT", "IN", "(", "SELECT", "Winning_Pilot", "FROM", "MATCH", "WHERE", "country", "=", "'Australia", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "pilot", "where", "pilot_id", "not", "in", "(", "select", "winning_pilot", "from", "match", "where", "country", "=", "value", ")" ], "question": "Những phi công chưa thắng được trận nào ở ' Úc ' có tên là gì ?", "question_toks": [ "What", "are", "the", "names", "of", "the", "pilots", "that", "have", "not", "won", "any", "matches", "in", "Australia", "?" ], "sql": { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 0 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "union": null, "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "except": null, "from": { "conds": [], "table_units": [ [ "table_unit", 2 ] ] }, "groupBy": [], "having": [], "intersect": null, "limit": null, "orderBy": [], "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "union": null, "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Australia\"", null ] ] }, null ] ] } } ]