| [ | |
| { | |
| "db_id": "aircraft", | |
| "query": "SELECT count(*) FROM aircraft", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "aircraft" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "aircraft" | |
| ], | |
| "question": "Wie viele Flugzeuge gibt es?", | |
| "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": "Wie viele Flugzeuge gibt es?", | |
| "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": "Listen Sie die Beschreibung aller Flugzeuge auf.", | |
| "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": "Was sind die Beschreibungen für die Flugzeuge?", | |
| "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": "Wie viele internationale Passagiere gibt es durchschnittlich auf allen Flughäfen?", | |
| "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": "Wie viele internationale Passagiere hat ein Flughafen durchschnittlich?", | |
| "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": "Wie viele internationale und inländische Passagiere hat der Flughafen \"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": "Wie viele internationale und inländische Passagiere gibt es am Flughafen \"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": "Was ist die Gesamtzahl der inländischen Passagiere von Flughäfen, die das Wort \"London\" enthalten.", | |
| "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": "Wie viele inländische Passagiere gibt es insgesamt an allen \"London\" Flughäfen?", | |
| "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": "Was ist die maximale und minimale Anzahl von Transitpassagieren aller Flughäfen?", | |
| "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": "Was ist die maximale und minimale Anzahl von Transitpassagieren für alle Flughäfen?", | |
| "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": "Wie heißen die Piloten, die 25 Jahre oder älter sind?", | |
| "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": "Wie heißt jeder Pilot, der mindestens 25 Jahre alt ist?", | |
| "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": "Listen Sie alle Pilotennamen in aufsteigender alphabetischer Reihenfolge auf.", | |
| "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": "Wie heißen die Piloten in alphabetischer Reihenfolge?", | |
| "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": "Listen Sie die Namen aller Piloten im Alter von 30 Jahren oder jünger in absteigender alphabetischer Reihenfolge auf.", | |
| "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": "Wie heißen alle Piloten in absteigender alphabetischer Reihenfolge, die 30 Jahre alt oder jünger sind?", | |
| "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": "Bitte geben Sie die Namen der mit dem Flughafen \"London Gatwick\" verbundenen Flugzeuge an.", | |
| "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": "Wie heißen alle Flugzeuge, die mit dem Flughafen “London Gatwick” verbunden sind?", | |
| "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": "Bitte zeigen Sie die Namen und Beschreibungen von Flugzeugen an Flughäfen mit einer Gesamtzahl von mehr als 10000000 Passagieren.", | |
| "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": "Wie lauten die Namen und Beschreibungen von Flugzeugen, die mit einem Flughafen verbunden sind, der mehr Passagiere als 10000000 hat?", | |
| "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": "Was ist die durchschnittliche Gesamtzahl der Passagiere von Flughäfen, die mit dem Flugzeug \"Robinson R-22\" verbunden sind?", | |
| "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": "Was ist die durchschnittliche Gesamtzahl der Passagiere für alle Flughäfen, die das Flugzeug \"Robinson R-22\" besucht?", | |
| "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": "Bitte geben Sie den Standort und den Namen des Gewinnerflugzeugs an.", | |
| "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": "Wie lautet der Standort und der Name des siegreichen Flugzeugs?", | |
| "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": "Geben Sie den Namen des Flugzeugs an, das am häufigsten als Siegerflugzeug ausgezeichnet wurde.", | |
| "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": "Wie heißt das Flugzeug, das am meisten ausgezeichnet wurde?", | |
| "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": "Listen Sie die Namen der Flugzeuge und die Häufigkeit auf, mit der sie Spiele gewonnen haben.", | |
| "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": "Wie heißt jedes Flugzeug, das eine Auszeichnung erhalten hat, und wie oft hat es gewonnen?", | |
| "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": "Listen Sie die Namen aller Piloten in absteigender Reihenfolge des Alters auf.", | |
| "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": "Wie heißen alle Piloten nach absteigendem Alter?", | |
| "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": "Listen Sie die Namen der Flugzeuge auf, die mindestens zweimal Spiele gewonnen haben.", | |
| "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": "Wie heißen alle Flugzeuge, die mindestens zweimal ein Spiel gewonnen haben?", | |
| "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": "Listen Sie die Namen der Flugzeuge auf, die kein Spiel gewonnen haben.", | |
| "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": "Wie heißen alle Flugzeuge, die noch nie ein Spiel gewonnen haben?", | |
| "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": "Zeigen Sie die Namen von Flugzeugen an, die sowohl einem Flughafen namens \"London Heathrow\" als auch einem Flughafen namens \"London Gatwick\" zugeordnet sind.", | |
| "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": "Wie heißen alle Flugzeuge, die mit den Flughäfen \"London Heathrow\" und \"Gatwick\" verbunden sind?", | |
| "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": "Zeigen Sie alle Informationen zum Flughafen mit der größten Anzahl internationaler Passagiere an.", | |
| "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": "Was sind alle Informationen auf dem Flughafen mit der größten Anzahl internationaler Passagiere?", | |
| "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": "Finden Sie den Namen und das Alter des Piloten, der am häufigsten gewonnen hat, unter den Piloten, die jünger als 30 Jahre sind.", | |
| "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": "Wie heißt und wie alt ist der Pilot unter 30 Jahren, der am häufigsten gewonnen hat?", | |
| "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": "Wie heißt und wie alt ist der jüngste Siegerpilot?", | |
| "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": "Wie alt ist der jüngste Siegerpilot und wie heißt er?", | |
| "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": "Finden Sie den Namen der Piloten, die die in \"Australia\" veranstalteten Spiele nicht gewonnen haben.", | |
| "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": "Wie heißen die Piloten, die in \"Australia\" keine Spiele gewonnen haben?", | |
| "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 | |
| } | |
| } | |
| ] |