[ { "db_id": "aircraft", "query": "SELECT count(*) FROM aircraft", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "aircraft" ], "question": "航空機は何機ありますか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "aircraft", "query": "SELECT count(*) FROM aircraft", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "aircraft" ], "question": "航空機の数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "aircraft", "query": "SELECT Description FROM aircraft", "query_toks": [ "SELECT", "Description", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "description", "from", "aircraft" ], "question": "すべての航空機の説明をリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "aircraft", "query": "SELECT Description FROM aircraft", "query_toks": [ "SELECT", "Description", "FROM", "aircraft" ], "query_toks_no_value": [ "select", "description", "from", "aircraft" ], "question": "航空機の説明は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "すべての空港の国際線旅客の平均数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "空港の国際線旅客の平均数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 21, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「London」「Heathrow」という名前の空港の国際および国内の乗客の数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 21, false ], null ] ], [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「London」・「Heathrow」空港には、国際線と国内線の乗客は何人いますか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 21, false ], null ] ], [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「London」という単語を含む空港の国内旅客の総数はいくつですか。", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 18, false ], null ], "\"%London%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「London」のすべての空港の国内線旅客の総数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 18, false ], null ], "\"%London%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "すべての空港のトランジット乗客の最大数と最小数はいくつですか。", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ], [ 2, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "すべての空港のトランジット乗客の最大数と最小数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 23, false ], null ] ], [ 2, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "25歳以上のパイロットの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 5, [ 0, [ 0, 3, false ], null ], 25.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "25歳以上のすべてのパイロットの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 5, [ 0, [ 0, 3, false ], null ], 25.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "すべてのパイロット名をアルファベットの昇順でリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": 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": "パイロットの名前はアルファベット順に何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": 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": "30歳以下のすべてのパイロットの名前をアルファベット順にリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 6, [ 0, [ 0, 3, false ], null ], 30.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": 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": "アルファベットの降順で30歳または若いすべてのパイロットの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 6, [ 0, [ 0, 3, false ], null ], 30.0, null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": 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": "「London Gatwick」という名前の空港に関連する航空機の名前を表示してください。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「London Gatwick」空港に関連するすべての航空機の名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "総乗客数が10000000人を超える空港に関連する航空機の名前と説明を表示してください。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 10000000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "総乗客数が10000000人を超える空港に関連する航空機の名前と説明は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 10000000.0, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "航空機「Robinson R-22」に関連する空港の平均乗客数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Robinson R-22\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "航空機「Robinson R-22」が訪れるすべての空港の平均乗客数はいくつですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 5, false ], null ], "\"Robinson R-22\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "場所と受賞した航空機の名前を記入してください。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "優勝した航空機の場所と名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "最も多くの回数優勝した航空機に名前が付けられた航空機の名前をリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "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": "最も受賞した航空機の名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "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": "航空機の名前とそれが一致した回数をリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "受賞した航空機ごとに、その名前は何ですか?また、何回受賞しましたか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "すべてのパイロットの名前を年齢の降順で一覧表示します。", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "年齢の降順でリストされているすべてのパイロットの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "少なくとも2回マッチに勝った航空機の名前をリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 5, [ 0, [ 3, 0, false ], null ], 2.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "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": "少なくとも2回試合に勝ったすべての航空機の名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 16, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 16, false ] ], "having": [ [ false, 5, [ 0, [ 3, 0, false ], null ], 2.0, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "一致しなかった航空機の名前をリストします。", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 4, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "試合に勝ったことのないすべての航空機の名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 4, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「LondonHeathrow」という名前の空港と「LondonGatwick」という名前の空港の両方に関連付けられている航空機の名前を表示します", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": 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": "「London」ヒースロー空港と「Gatwick 」空港の両方に関連付けられているすべての航空機の名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Heathrow\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 4 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 28, false ], null ], "and", [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 17, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], "\"London Gatwick\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": 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": "国際線の乗客数が最も多い空港に関するすべての情報を表示します。", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 21, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "国際線の乗客数が最も多い空港に関するすべての情報は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 21, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "30歳未満のパイロットの中で最も多く勝ったパイロットの名前と年齢を見つけます。", "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 3, false ], null ], 30.0, null ] ], "groupBy": [ [ 0, 15, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "最も多く優勝した30歳未満のパイロットの名前と年齢は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 3, false ], null ], 30.0, null ] ], "groupBy": [ [ 0, 15, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "最年少の優勝パイロットの名前と年齢は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "最年少の優勝パイロットは何歳で、彼らの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 3, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": 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": "「Australia」の国で開催された試合に勝てなかったパイロットの名前を見つけてください。", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Australia\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": 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": "「Australia」で試合に勝てなかったパイロットの名前は何ですか?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 12, false ], null ], "\"Australia\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } ]