| [ | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT count(*) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "Có bao nhiêu người leo núi ?", | |
| "question_toks": [ | |
| "How", | |
| "many", | |
| "climbers", | |
| "are", | |
| "there", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "climbing", | |
| "query": "SELECT count(*) FROM climber", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "climber" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "climber" | |
| ], | |
| "question": "Đếm số lượng người leo núi .", | |
| "question_toks": [ | |
| "Count", | |
| "the", | |
| "number", | |
| "of", | |
| "climbers", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "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": "Liệt kê tên của những người leo núi theo thứ tự giảm dần về điểm số .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "in", | |
| "descending", | |
| "order", | |
| "of", | |
| "points", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Cho biết tên của những người leo núi và sắp xếp danh sách này theo thứ tự giảm dần về điểm số .", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "the", | |
| "climbers", | |
| ",", | |
| "ordered", | |
| "by", | |
| "points", | |
| "descending", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Liệt kê tên của những người leo núi không đến từ quốc gia ' Thuỵ Sĩ ' .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "whose", | |
| "country", | |
| "is", | |
| "not", | |
| "Switzerland", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Switzerland\"", | |
| 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": "Những người leo núi không đến từ đất nước ' Thuỵ Sĩ ' có tên là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "who", | |
| "are", | |
| "not", | |
| "from", | |
| "the", | |
| "country", | |
| "of", | |
| "Switzerland", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 7, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Switzerland\"", | |
| 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": "Số điểm tối đa mà những người leo núi đến từ ' Vương quốc Anh ' đạt được là bao nhiêu ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "maximum", | |
| "point", | |
| "for", | |
| "climbers", | |
| "whose", | |
| "country", | |
| "is", | |
| "United", | |
| "Kingdom", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"United Kingdom\"", | |
| 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": "Cho biết số điểm tối đa mà những người leo núi đến từ ' Vương quốc Anh ' đạt được .", | |
| "question_toks": [ | |
| "Return", | |
| "the", | |
| "maximum", | |
| "number", | |
| "of", | |
| "points", | |
| "for", | |
| "climbers", | |
| "from", | |
| "the", | |
| "United", | |
| "Kingdom", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"United Kingdom\"", | |
| 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": "Những người leo núi đến từ bao nhiêu quốc gia khác nhau ?", | |
| "question_toks": [ | |
| "How", | |
| "many", | |
| "distinct", | |
| "countries", | |
| "are", | |
| "the", | |
| "climbers", | |
| "from", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| true | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Đếm số lượng các quốc gia khác nhau là quê hương của những người leo núi .", | |
| "question_toks": [ | |
| "Count", | |
| "the", | |
| "number", | |
| "of", | |
| "different", | |
| "countries", | |
| "that", | |
| "climbers", | |
| "are", | |
| "from", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| true | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Liệt kê tên của các ngọn núi theo thứ tự bảng chữ cái tăng dần .", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "in", | |
| "ascending", | |
| "alphabetical", | |
| "order", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "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": "Cho biết tên của các ngọn núi theo thứ tự bảng chữ cái .", | |
| "question_toks": [ | |
| "Give", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "in", | |
| "alphabetical", | |
| "order", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "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": "Những quốc gia có một số ngọn núi với chiều cao trên 5000 là những quốc gia nào ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "countries", | |
| "of", | |
| "mountains", | |
| "with", | |
| "height", | |
| "bigger", | |
| "than", | |
| "5000", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| 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": "Những ngọn núi với chiều cao trên 5000 nằm ở các quốc gia khác nhau nào ?", | |
| "question_toks": [ | |
| "Return", | |
| "the", | |
| "countries", | |
| "of", | |
| "the", | |
| "mountains", | |
| "that", | |
| "have", | |
| "a", | |
| "height", | |
| "larger", | |
| "than", | |
| "5000", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| 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": "Tên của ngọn núi cao nhất ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "name", | |
| "of", | |
| "the", | |
| "highest", | |
| "mountain", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Cho biết tên của ngọn núi cao nhất .", | |
| "question_toks": [ | |
| "Return", | |
| "the", | |
| "name", | |
| "of", | |
| "the", | |
| "mountain", | |
| "with", | |
| "the", | |
| "greatest", | |
| "height", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "3 dãy núi đứng đầu về độ nhô cao là những dãy núi nào ?", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "distinct", | |
| "ranges", | |
| "of", | |
| "the", | |
| "mountains", | |
| "with", | |
| "the", | |
| "top", | |
| "3", | |
| "prominence", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 3, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Hiển thị 3 dãy núi đứng đầu về độ nhô cao .", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "different", | |
| "ranges", | |
| "of", | |
| "the", | |
| "3", | |
| "mountains", | |
| "with", | |
| "the", | |
| "highest", | |
| "prominence", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 3, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Hiển thị tên của những người leo núi và tên của những ngọn núi họ đã leo .", | |
| "question_toks": [ | |
| "Show", | |
| "names", | |
| "of", | |
| "climbers", | |
| "and", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "they", | |
| "climb", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Tên của những người leo núi và tên của những ngọn núi tương ứng mà họ đã leo ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "and", | |
| "the", | |
| "corresponding", | |
| "names", | |
| "of", | |
| "mountains", | |
| "that", | |
| "they", | |
| "climb", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Hiển thị tên của những người leo núi và chiều cao của những ngọn núi họ đã leo lên .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "and", | |
| "the", | |
| "heights", | |
| "of", | |
| "mountains", | |
| "they", | |
| "climb", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Cho biết tên của tất cả những người leo núi và những ngọn núi mà họ đã leo lên cao bao nhiêu ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "climbers", | |
| "and", | |
| "the", | |
| "corresponding", | |
| "heights", | |
| "of", | |
| "the", | |
| "mountains", | |
| "that", | |
| "they", | |
| "climb", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Hiển thị chiều cao của những ngọn núi được leo lên bởi người leo núi có số điểm cao nhất .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "height", | |
| "of", | |
| "the", | |
| "mountain", | |
| "climbed", | |
| "by", | |
| "the", | |
| "climber", | |
| "with", | |
| "the", | |
| "maximum", | |
| "points", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Những ngọn núi được leo lên bởi người leo núi có số điểm cao nhất cao bao nhiêu ?", | |
| "question_toks": [ | |
| "What", | |
| "is", | |
| "the", | |
| "height", | |
| "of", | |
| "the", | |
| "mountain", | |
| "climbined", | |
| "by", | |
| "the", | |
| "climbing", | |
| "who", | |
| "had", | |
| "the", | |
| "most", | |
| "points", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Hiển thị những cái tên riêng biệt của những ngọn núi được leo lên bởi những người leo núi đến từ đất nước ' Tây Đức ' .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "distinct", | |
| "names", | |
| "of", | |
| "mountains", | |
| "climbed", | |
| "by", | |
| "climbers", | |
| "from", | |
| "country", | |
| "``", | |
| "West", | |
| "Germany", | |
| "''", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"West Germany\"", | |
| 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": "Những ngọn núi được leo lên bởi những người leo núi đến từ đất nước ' Tây Đức ' có tên là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "different", | |
| "names", | |
| "of", | |
| "mountains", | |
| "ascended", | |
| "by", | |
| "climbers", | |
| "from", | |
| "the", | |
| "country", | |
| "of", | |
| "West", | |
| "Germany", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| true, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"West Germany\"", | |
| 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": "Hiển thị lượng thời gian được sử dụng bởi những người leo núi để leo các núi ở quốc gia ' Uganda ' .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "times", | |
| "used", | |
| "by", | |
| "climbers", | |
| "to", | |
| "climb", | |
| "mountains", | |
| "in", | |
| "Country", | |
| "Uganda", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Uganda\"", | |
| 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": "Lượng thời gian được sử dụng bởi những người leo núi để leo lên từng ngọn núi ở đất nước ' Uganda ' là bao nhiêu ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "times", | |
| "used", | |
| "by", | |
| "climbers", | |
| "who", | |
| "climbed", | |
| "mountains", | |
| "in", | |
| "the", | |
| "country", | |
| "of", | |
| "Uganda", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Uganda\"", | |
| 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": "Cho biết tất cả các quốc gia và số lượng người leo núi đến từ mỗi quốc gia .", | |
| "question_toks": [ | |
| "Please", | |
| "show", | |
| "the", | |
| "countries", | |
| "and", | |
| "the", | |
| "number", | |
| "of", | |
| "climbers", | |
| "from", | |
| "each", | |
| "country", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Có bao nhiêu nhà leo núi đến từ mỗi quốc gia ?", | |
| "question_toks": [ | |
| "How", | |
| "many", | |
| "climbers", | |
| "are", | |
| "from", | |
| "each", | |
| "country", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Liệt kê các quốc gia có nhiều hơn một ngọn núi .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "countries", | |
| "that", | |
| "have", | |
| "more", | |
| "than", | |
| "one", | |
| "mountain", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 1.0, | |
| null | |
| ] | |
| ], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Những quốc gia nào có nhiều hơn một ngọn núi ?", | |
| "question_toks": [ | |
| "Which", | |
| "countries", | |
| "have", | |
| "more", | |
| "than", | |
| "one", | |
| "mountain", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ] | |
| ], | |
| "having": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ], | |
| 1.0, | |
| null | |
| ] | |
| ], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "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": "Liệt kê tên của những ngọn núi không có người nào leo lên .", | |
| "question_toks": [ | |
| "List", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "that", | |
| "do", | |
| "not", | |
| "have", | |
| "any", | |
| "climber", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| true, | |
| 8, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| }, | |
| 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": "Những ngọn núi không có người leo núi nào leo lên có tên là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "countains", | |
| "that", | |
| "no", | |
| "climber", | |
| "has", | |
| "climbed", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| true, | |
| 8, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| }, | |
| 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": "Hiển thị các quốc gia có một số núi với chiều cao trên 5600 và một số núi có chiều cao dưới 5200 .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "countries", | |
| "that", | |
| "have", | |
| "mountains", | |
| "with", | |
| "height", | |
| "more", | |
| "than", | |
| "5600", | |
| "stories", | |
| "and", | |
| "mountains", | |
| "with", | |
| "height", | |
| "less", | |
| "than", | |
| "5200", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5200.0, | |
| null | |
| ] | |
| ] | |
| }, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5600.0, | |
| 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": "Những quốc gia có cùng lúc những ngọn núi cao hơn 5600 và những ngọn núi thấp hơn 5200 là những quốc gia nào ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "countries", | |
| "that", | |
| "have", | |
| "both", | |
| "mountains", | |
| "that", | |
| "are", | |
| "higher", | |
| "than", | |
| "5600", | |
| "and", | |
| "lower", | |
| "than", | |
| "5200", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5200.0, | |
| null | |
| ] | |
| ] | |
| }, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5600.0, | |
| 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": "Hiển thị dãy núi có số lượng núi nhiều nhất .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "range", | |
| "that", | |
| "has", | |
| "the", | |
| "most", | |
| "number", | |
| "of", | |
| "mountains", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "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": "Dãy núi nào có nhiều núi nhất ?", | |
| "question_toks": [ | |
| "Which", | |
| "range", | |
| "contains", | |
| "the", | |
| "most", | |
| "mountains", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "intersect": null, | |
| "limit": 1, | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 3, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [] | |
| } | |
| }, | |
| { | |
| "db_id": "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": "Hiển thị tên của các ngọn núi có chiều cao trên 5000 hoặc độ nhô cao trên 1000 .", | |
| "question_toks": [ | |
| "Show", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "with", | |
| "height", | |
| "more", | |
| "than", | |
| "5000", | |
| "or", | |
| "prominence", | |
| "more", | |
| "than", | |
| "1000", | |
| "." | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| 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": "Những ngọn núi có chiều cao trên 5000 hoặc độ nhô cao trên 1000 có tên là gì ?", | |
| "question_toks": [ | |
| "What", | |
| "are", | |
| "the", | |
| "names", | |
| "of", | |
| "mountains", | |
| "that", | |
| "have", | |
| "a", | |
| "height", | |
| "of", | |
| "over", | |
| "5000", | |
| "or", | |
| "a", | |
| "prominence", | |
| "of", | |
| "over", | |
| "1000", | |
| "?" | |
| ], | |
| "sql": { | |
| "except": null, | |
| "from": { | |
| "conds": [], | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "groupBy": [], | |
| "having": [], | |
| "intersect": null, | |
| "limit": null, | |
| "orderBy": [], | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "union": null, | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| 5000.0, | |
| null | |
| ], | |
| "or", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| null | |
| ] | |
| ] | |
| } | |
| } | |
| ] |