| [ | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT count(*) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "¿Cuántos escaladores hay?", | |
| "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": "Cuente el número de escaladores.", | |
| "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": "Enumere los nombres de los escaladores en orden descendente de puntos.", | |
| "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": "¿Cuáles son los nombres de los escaladores, ordenados por puntos descendentes?", | |
| "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": "Enumere los nombres de los escaladores cuyo país no es ''Suiza''.", | |
| "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": "¿Cuáles son los nombres de los escaladores que no son del país de ''Suiza''?", | |
| "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": "¿Cuál es el punto máximo para los escaladores cuyo país es Reino Unido?", | |
| "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": "Devuelva el número máximo de puntos para escaladores del Reino Unido.", | |
| "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 cuántos países distintos son los escaladores?", | |
| "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": "Cuente el número de diferentes países de los que son los escaladores.", | |
| "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": "¿Cuáles son los nombres de las montañas en orden alfabético ascendente?", | |
| "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": "Dé los nombres de las montañas en orden alfabético.", | |
| "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": "¿Cuáles son los países de montañas con una altura superior a 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": "Devuelva los países de las montañas que tienen una altura superior a 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": "¿Cómo se llama la montaña más alta?", | |
| "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": "Devuelva el nombre de la montaña con mayor altura.", | |
| "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": "Enumere las distintas cordilleras con las 3 principales prominencias.", | |
| "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": "¿Cuáles son las distintas cordilleras de las 3 montañas con mayor protagonismo?", | |
| "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": "Muestre los nombres de los escaladores y los nombres de las montañas que escalan.", | |
| "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": "¿Cuáles son los nombres de los escaladores y los nombres correspondientes de las montañas que escalan?", | |
| "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": "Muestre los nombres de los escaladores y las alturas de las montañas que escalan.", | |
| "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": "¿Cuáles son los nombres de los escaladores y las correspondientes alturas de las montañas que escalan?", | |
| "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": "Muestre la altura de la montaña escalada por el escalador con los puntos máximos.", | |
| "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": "¿Cuál es la altura de la montaña escalada por el escalador que tuvo más puntos?", | |
| "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": "Muestre los distintos nombres de las montañas escaladas por escaladores del país \"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": "¿Cuáles son los diferentes nombres de las montañas escaladas por escaladores del país 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": "Muestre los tiempos utilizados por los escaladores para escalar montañas en el país ''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": "¿Cuáles son los tiempos utilizados por los escaladores que escalaban montañas en el país 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": "Indique los países y el número de escaladores de cada país.", | |
| "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": "¿Cuántos escaladores hay de cada país?", | |
| "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": "Enumere los países que tienen más de una montaña.", | |
| "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": "¿Qué países tienen más de una montaña?", | |
| "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": "Enumere los nombres de las montañas que no tienen ningún escalador.", | |
| "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": "¿Cuáles son los nombres de los países que ningún escalador ha escalado?", | |
| "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": "Muestre los países que tienen montañas con una altura de más de 5600 pisos y montañas con una altura de menos de 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": "¿Cuáles son los países que tienen montañas por encima de 5600 y por debajo de 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": "Muestre el rango que tiene la mayor cantidad de montañas.", | |
| "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": "¿Qué cordillera contiene más montañas?", | |
| "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": "Muestre los nombres de montañas con una altura superior a 5000 o prominencia superior a 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": "¿Cuáles son los nombres de las montañas que tienen una altura de más de 5000 o una prominencia de más 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 | |
| } | |
| } | |
| ] |