| [ | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT count(*) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "Combien de grimpeurs y a-t-il?", | |
| "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": "climbing", | |
| "query": "SELECT count(*) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "Comptez le nombre de grimpeurs.", | |
| "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": "climbing", | |
| "query": "SELECT Name FROM climber ORDER BY Points DESC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "climber", | |
| "ORDER", | |
| "BY", | |
| "Points", | |
| "DESC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "climber", | |
| "order", | |
| "by", | |
| "points", | |
| "desc" | |
| ], | |
| "question": "Dressez la liste des noms des grimpeurs par ordre décroissant de points.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM climber ORDER BY Points DESC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "climber", | |
| "ORDER", | |
| "BY", | |
| "Points", | |
| "DESC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "climber", | |
| "order", | |
| "by", | |
| "points", | |
| "desc" | |
| ], | |
| "question": "Quels sont les noms des grimpeurs, classés par points décroissants?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "climber", | |
| "WHERE", | |
| "Country", | |
| "!", | |
| "=", | |
| "``", | |
| "Switzerland", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "climber", | |
| "where", | |
| "country", | |
| "!", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Énumérez les noms des grimpeurs dont le pays n'est pas la \"Switzerland\".", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Switzerland\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "climber", | |
| "WHERE", | |
| "Country", | |
| "!", | |
| "=", | |
| "``", | |
| "Switzerland", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "climber", | |
| "where", | |
| "country", | |
| "!", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les noms des grimpeurs qui ne sont pas du pays de la \"Switzerland\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Switzerland\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT max(Points) FROM climber WHERE Country = \"United Kingdom\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "max", | |
| "(", | |
| "Points", | |
| ")", | |
| "FROM", | |
| "climber", | |
| "WHERE", | |
| "Country", | |
| "=", | |
| "``", | |
| "United", | |
| "Kingdom", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "max", | |
| "(", | |
| "points", | |
| ")", | |
| "from", | |
| "climber", | |
| "where", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quel est le point maximum pour les grimpeurs dont le pays est le Royaume-Uni?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"United Kingdom\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT max(Points) FROM climber WHERE Country = \"United Kingdom\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "max", | |
| "(", | |
| "Points", | |
| ")", | |
| "FROM", | |
| "climber", | |
| "WHERE", | |
| "Country", | |
| "=", | |
| "``", | |
| "United", | |
| "Kingdom", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "max", | |
| "(", | |
| "points", | |
| ")", | |
| "from", | |
| "climber", | |
| "where", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Renvoyez le nombre maximum de points pour les grimpeurs du Royaume-Uni.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"United Kingdom\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT COUNT(DISTINCT Country) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "COUNT", | |
| "(", | |
| "DISTINCT", | |
| "Country", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "distinct", | |
| "country", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "De combien de pays différents sont les grimpeurs?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| true | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT COUNT(DISTINCT Country) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "COUNT", | |
| "(", | |
| "DISTINCT", | |
| "Country", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "distinct", | |
| "country", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "Comptez le nombre de pays d'origine des grimpeurs.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| true | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain ORDER BY Name ASC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Name", | |
| "ASC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "name", | |
| "asc" | |
| ], | |
| "question": "Quels sont les noms des montagnes par ordre alphabétique croissant?", | |
| "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": "climbing", | |
| "query": "SELECT Name FROM mountain ORDER BY Name ASC", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Name", | |
| "ASC" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "name", | |
| "asc" | |
| ], | |
| "question": "Donnez les noms des montagnes par ordre alphabétique.", | |
| "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": "climbing", | |
| "query": "SELECT Country FROM mountain WHERE Height > 5000", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Quels sont les pays de montagnes d'une hauteur supérieure à 5000?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country FROM mountain WHERE Height > 5000", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Retournez les pays des montagnes qui ont une hauteur supérieure à 5000.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Height", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "height", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Quel est le nom de la plus haute montagne?", | |
| "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": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Height", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "height", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Renvoyez le nom de la montagne avec la plus grande hauteur.", | |
| "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": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3", | |
| "query_toks": [ | |
| "SELECT", | |
| "DISTINCT", | |
| "Range", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Prominence", | |
| "DESC", | |
| "LIMIT", | |
| "3" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "distinct", | |
| "range", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "prominence", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Dressez la liste des chaînes de montagnes distinctes avec les 3 premières proéminences.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 3, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3", | |
| "query_toks": [ | |
| "SELECT", | |
| "DISTINCT", | |
| "Range", | |
| "FROM", | |
| "mountain", | |
| "ORDER", | |
| "BY", | |
| "Prominence", | |
| "DESC", | |
| "LIMIT", | |
| "3" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "distinct", | |
| "range", | |
| "from", | |
| "mountain", | |
| "order", | |
| "by", | |
| "prominence", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Quelles sont les différentes chaînes des 3 montagnes les plus importantes?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 3, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Name", | |
| ",", | |
| "T2.Name", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id" | |
| ], | |
| "question": "Montrez les noms des grimpeurs et les noms des montagnes qu'ils gravissent.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Name", | |
| ",", | |
| "T2.Name", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id" | |
| ], | |
| "question": "Quels sont les noms des grimpeurs et les noms correspondants des montagnes qu'ils gravissent?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Name", | |
| ",", | |
| "T2.Height", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "height", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id" | |
| ], | |
| "question": "Montrez les noms des grimpeurs et les hauteurs des montagnes qu'ils gravissent.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Name", | |
| ",", | |
| "T2.Height", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "name", | |
| ",", | |
| "t2", | |
| ".", | |
| "height", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id" | |
| ], | |
| "question": "Quels sont les noms des grimpeurs et les hauteurs correspondantes des montagnes qu'ils gravissent?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Height", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "ORDER", | |
| "BY", | |
| "T1.Points", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "height", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "order", | |
| "by", | |
| "t1", | |
| ".", | |
| "points", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Montrez la hauteur de la montagne escaladée par le grimpeur avec le maximum de points.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.Height", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "ORDER", | |
| "BY", | |
| "T1.Points", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "height", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "order", | |
| "by", | |
| "t1", | |
| ".", | |
| "points", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Quelle est la hauteur de la montagne escaladée par le grimpeur qui a eu le plus de points?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "DISTINCT", | |
| "T2.Name", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "WHERE", | |
| "T1.Country", | |
| "=", | |
| "``", | |
| "West", | |
| "Germany", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "distinct", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "where", | |
| "t1", | |
| ".", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Montrez les noms distincts des montagnes escaladées par les alpinistes du pays \"West Germany\".", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"West Germany\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "DISTINCT", | |
| "T2.Name", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "WHERE", | |
| "T1.Country", | |
| "=", | |
| "``", | |
| "West", | |
| "Germany", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "distinct", | |
| "t2", | |
| ".", | |
| "name", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "where", | |
| "t1", | |
| ".", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les différents noms des montagnes montées par les alpinistes du pays de \"West Germany\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"West Germany\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = \"Uganda\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Time", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "WHERE", | |
| "T2.Country", | |
| "=", | |
| "``", | |
| "Uganda", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "time", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "where", | |
| "t2", | |
| ".", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Montrez les temps utilisés par les grimpeurs pour gravir les montagnes dans le pays \"Uganda\".", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Uganda\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = \"Uganda\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.Time", | |
| "FROM", | |
| "climber", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "mountain", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.Mountain_ID", | |
| "=", | |
| "T2.Mountain_ID", | |
| "WHERE", | |
| "T2.Country", | |
| "=", | |
| "``", | |
| "Uganda", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "time", | |
| "from", | |
| "climber", | |
| "as", | |
| "t1", | |
| "join", | |
| "mountain", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "mountain_id", | |
| "=", | |
| "t2", | |
| ".", | |
| "mountain_id", | |
| "where", | |
| "t2", | |
| ".", | |
| "country", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les temps utilisés par les grimpeurs qui ont escaladé des montagnes dans le pays de \"Uganda\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Uganda\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country , COUNT(*) FROM climber GROUP BY Country", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber", | |
| "GROUP", | |
| "BY", | |
| "Country" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber", | |
| "group", | |
| "by", | |
| "country" | |
| ], | |
| "question": "Veuillez indiquer les pays et le nombre de grimpeurs de chaque pays.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country , COUNT(*) FROM climber GROUP BY Country", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| ",", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber", | |
| "GROUP", | |
| "BY", | |
| "Country" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| ",", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber", | |
| "group", | |
| "by", | |
| "country" | |
| ], | |
| "question": "Combien de grimpeurs sont de chaque pays?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "GROUP", | |
| "BY", | |
| "Country", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "group", | |
| "by", | |
| "country", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Dressez la liste des pays qui ont plus d'une montagne.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 1.0, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "GROUP", | |
| "BY", | |
| "Country", | |
| "HAVING", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "group", | |
| "by", | |
| "country", | |
| "having", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Quels pays ont plus d'une montagne?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 1.0, | |
| null | |
| ] | |
| ], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Mountain_ID", | |
| "NOT", | |
| "IN", | |
| "(", | |
| "SELECT", | |
| "Mountain_ID", | |
| "FROM", | |
| "climber", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "where", | |
| "mountain_id", | |
| "not", | |
| "in", | |
| "(", | |
| "select", | |
| "mountain_id", | |
| "from", | |
| "climber", | |
| ")" | |
| ], | |
| "question": "Énumérez les noms des montagnes qui n'ont pas de grimpeur.", | |
| "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", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| 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": "climbing", | |
| "query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Mountain_ID", | |
| "NOT", | |
| "IN", | |
| "(", | |
| "SELECT", | |
| "Mountain_ID", | |
| "FROM", | |
| "climber", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "where", | |
| "mountain_id", | |
| "not", | |
| "in", | |
| "(", | |
| "select", | |
| "mountain_id", | |
| "from", | |
| "climber", | |
| ")" | |
| ], | |
| "question": "Quels sont les noms des montagnes qu'aucun grimpeur n'a gravi?", | |
| "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", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| 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": "climbing", | |
| "query": "SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5600", | |
| "INTERSECT", | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| "<", | |
| "5200" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value", | |
| "intersect", | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| "<", | |
| "value" | |
| ], | |
| "question": "Montrez les pays qui ont des montagnes d'une hauteur de plus de 5600 étages et des montagnes d'une hauteur inférieure à 5200.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5600.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5200.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200", | |
| "query_toks": [ | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5600", | |
| "INTERSECT", | |
| "SELECT", | |
| "Country", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| "<", | |
| "5200" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value", | |
| "intersect", | |
| "select", | |
| "country", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| "<", | |
| "value" | |
| ], | |
| "question": "Quels sont les pays dont les deux montagnes sont supérieures à 5600 et inférieures à 5200?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5600.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5200.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Range", | |
| "FROM", | |
| "mountain", | |
| "GROUP", | |
| "BY", | |
| "Range", | |
| "ORDER", | |
| "BY", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "range", | |
| "from", | |
| "mountain", | |
| "group", | |
| "by", | |
| "range", | |
| "order", | |
| "by", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Affichez la chaîne qui a le plus grand nombre de montagnes.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "Range", | |
| "FROM", | |
| "mountain", | |
| "GROUP", | |
| "BY", | |
| "Range", | |
| "ORDER", | |
| "BY", | |
| "COUNT", | |
| "(", | |
| "*", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "range", | |
| "from", | |
| "mountain", | |
| "group", | |
| "by", | |
| "range", | |
| "order", | |
| "by", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Quelle chaîne contient le plus de montagnes?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5000", | |
| "OR", | |
| "Prominence", | |
| ">", | |
| "1000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value", | |
| "or", | |
| "prominence", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Affichez les noms des montagnes d'une hauteur supérieure à 5000 ou d'une proéminence supérieure à 1000.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000", | |
| "query_toks": [ | |
| "SELECT", | |
| "Name", | |
| "FROM", | |
| "mountain", | |
| "WHERE", | |
| "Height", | |
| ">", | |
| "5000", | |
| "OR", | |
| "Prominence", | |
| ">", | |
| "1000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "name", | |
| "from", | |
| "mountain", | |
| "where", | |
| "height", | |
| ">", | |
| "value", | |
| "or", | |
| "prominence", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Quels sont les noms des montagnes qui ont une hauteur de plus de 5000 ou une proéminence de plus de 1000?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| } | |
| ] |