[ { "db_id": "climbing", "query": "SELECT count(*) FROM climber", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "climber" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "climber" ], "question": "Wie viele Bergsteiger gibt es?", "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "climbing", "query": "SELECT count(*) FROM climber", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "climber" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "climber" ], "question": "Zählen Sie die Anzahl der Bergsteiger.", "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": "Listen Sie die Namen der Bergsteiger in absteigender Reihenfolge der Punkte auf.", "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": "Wie heißen die Bergsteiger, geordnet nach absteigenden Punkten?", "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": "Listen Sie die Namen der Bergsteiger auf, deren Land nicht \"Switzerland\" ist.", "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": "Wie heißen Bergsteiger, die nicht aus \"Switzerland\" stammen?", "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": "Was ist der Höchstpunkt für Bergsteiger, deren Land Großbritannien ist?", "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": "Geben Sie die maximale Punktzahl für Bergsteiger aus Großbritannien zurück.", "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": "Aus wie vielen verschiedenen Ländern kommen die Bergsteiger?", "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": "Zählen Sie die Anzahl der verschiedenen Länder, aus denen Bergsteiger kommen.", "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": "Wie heißen die Berge in aufsteigender alphabetischer Reihenfolge?", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 2, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "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": "Geben Sie die Namen der Berge in alphabetischer Reihenfolge an.", "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": "Was sind die Länder der Berge mit einer Höhe von mehr als 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": "Geben Sie die Länder der Berge zurück, deren Höhe größer als 5000 ist.", "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": "Wie heißt der höchste Berg?", "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": "Geben Sie den Namen des Berges mit der größten Höhe zurück.", "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": "Listen Sie die verschiedenen Reichweite mit den Top 3 auf.", "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": "Was sind die verschiedenen Reichweite der 3 Berge mit der höchsten Vorsprung?", "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": "Zeigen Sie die Namen der Bergsteiger und die Namen der Berge, die sie besteigen.", "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": "Wie heißen die Bergsteiger und die entsprechenden Namen der Berge, die sie besteigen?", "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": "Zeigen Sie die Namen der Bergsteiger und die Höhen der Berge, die sie besteigen.", "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": "Wie heißen die Bergsteiger und die entsprechenden Höhen der Berge, die sie besteigen?", "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": "Zeigen Sie die Höhe des vom Bergsteiger bestiegenen Berges mit den maximalen Punkten an.", "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": "Wie hoch ist der Berg, den der Bergsteiger mit den meisten Punkten bestiegen hat?", "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": "Zeigen Sie die eindeutigen Namen der Berge, die von Bergsteigern aus dem Land \"West Germany\" bestiegen wurden.", "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": "Wie heißen die Berge, die Bergsteiger aus \"West Germany\" bestiegen haben?", "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": "Zeigen Sie die Zeiten, die Bergsteiger zum Besteigen von Bergen im Land \"Uganda\" verwendet haben.", "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": "Welche Zeiten nutzen Bergsteiger, die im Land \"Uganda\" Berge bestiegen haben?", "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": "Bitte zeigen Sie die Länder und die Anzahl der Bergsteiger aus jedem Land.", "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": "Wie viele Bergsteiger kommen aus jedem Land?", "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": "Listen Sie die Länder auf, die mehr als einen Berg haben.", "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": "Welche Länder haben mehr als einen Berg?", "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": "Listen Sie die Namen der Berge auf, die keinen Bergsteiger haben.", "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 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": "Wie heißen die Countains, die kein Bergsteiger bestiegen hat?", "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": "Zeigen Sie die Länder mit Bergen mit einer Höhe von mehr als 5600 Stockwerken und Bergen mit einer Höhe von weniger als 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": "Was sind die Länder, in denen beide Berge höher als 5600 und niedriger als 5200 sind?", "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": "Zeigen Sie die Reichweite mit den meisten Bergen an.", "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": "Welches Gebiet enthält die meisten Berge?", "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": "Zeigen Sie die Namen von Bergen mit einer Höhe von mehr als 5000 oder einer Prominenz von mehr als 1000 an.", "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": "Wie heißen Berge mit einer Höhe von über 5000 oder einem Bekanntheitsgrad von über 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 } } ]