[ { "db_id": "concert_singer", "query": "SELECT count(*) FROM singer", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "singer" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "singer" ], "question": "Wie viele Sänger haben wir?", "question_toks": [ "How", "many", "singers", "do", "we", "have", "?" ], "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": "concert_singer", "query": "SELECT count(*) FROM singer", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "singer" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "singer" ], "question": "Wie hoch ist die Gesamtzahl der Sängerinnen und Sänger?", "question_toks": [ "What", "is", "the", "total", "number", "of", "singers", "?" ], "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": "concert_singer", "query": "SELECT name , country , age FROM singer ORDER BY age DESC", "query_toks": [ "SELECT", "name", ",", "country", ",", "age", "FROM", "singer", "ORDER", "BY", "age", "DESC" ], "query_toks_no_value": [ "select", "name", ",", "country", ",", "age", "from", "singer", "order", "by", "age", "desc" ], "question": "Zeigen Sie den Namen, das Land und Alter für alle Sängerinnen und Sänger, geordnet nach Alter vom ältesten bis zum jüngsten.", "question_toks": [ "Show", "name", ",", "country", ",", "age", "for", "all", "singers", "ordered", "by", "age", "from", "the", "oldest", "to", "the", "youngest", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 13, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name , country , age FROM singer ORDER BY age DESC", "query_toks": [ "SELECT", "name", ",", "country", ",", "age", "FROM", "singer", "ORDER", "BY", "age", "DESC" ], "query_toks_no_value": [ "select", "name", ",", "country", ",", "age", "from", "singer", "order", "by", "age", "desc" ], "question": "Wie lauten die Namen, Länder und das Alter aller Sängerinnen und Sänger in absteigender Reihenfolge des Alters?", "question_toks": [ "What", "are", "the", "names", ",", "countries", ",", "and", "ages", "for", "every", "singer", "in", "descending", "order", "of", "age", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 13, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'", "query_toks": [ "SELECT", "avg", "(", "age", ")", ",", "min", "(", "age", ")", ",", "max", "(", "age", ")", "FROM", "singer", "WHERE", "country", "=", "'France", "'" ], "query_toks_no_value": [ "select", "avg", "(", "age", ")", ",", "min", "(", "age", ")", ",", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "value" ], "question": "Was ist das Durchschnitts-, Mindest- und Höchstalter aller Sängerinnen und Sänger aus „France“?", "question_toks": [ "What", "is", "the", "average", ",", "minimum", ",", "and", "maximum", "age", "of", "all", "singers", "from", "France", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 13, false ], null ] ], [ 2, [ 0, [ 0, 13, false ], null ] ], [ 1, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"France\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'", "query_toks": [ "SELECT", "avg", "(", "age", ")", ",", "min", "(", "age", ")", ",", "max", "(", "age", ")", "FROM", "singer", "WHERE", "country", "=", "'France", "'" ], "query_toks_no_value": [ "select", "avg", "(", "age", ")", ",", "min", "(", "age", ")", ",", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "value" ], "question": "Was ist das Durchschnitts-, Mindest- und Höchstalter für alle „France“ Sängerinnen und Sänger?", "question_toks": [ "What", "is", "the", "average", ",", "minimum", ",", "and", "maximum", "age", "for", "all", "French", "singers", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 13, false ], null ] ], [ 2, [ 0, [ 0, 13, false ], null ] ], [ 1, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 10, false ], null ], "\"France\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1", "query_toks": [ "SELECT", "song_name", ",", "song_release_year", "FROM", "singer", "ORDER", "BY", "age", "LIMIT", "1" ], "query_toks_no_value": [ "select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "value" ], "question": "Zeigen Sie den Namen und das Erscheinungsjahr des Liedes der jüngsten Sängerin oder des jüngsten Sängers an.", "question_toks": [ "Show", "the", "name", "and", "the", "release", "year", "of", "the", "song", "by", "the", "youngest", "singer", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 13, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1", "query_toks": [ "SELECT", "song_name", ",", "song_release_year", "FROM", "singer", "ORDER", "BY", "age", "LIMIT", "1" ], "query_toks_no_value": [ "select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "value" ], "question": "Wie lauten die Namen und Erscheinungsjahre aller Lieder der jüngsten Sängerin oder des jüngsten Sängers?", "question_toks": [ "What", "are", "the", "names", "and", "release", "years", "for", "all", "the", "songs", "of", "the", "youngest", "singer", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ], [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 13, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT DISTINCT country FROM singer WHERE age > 20", "query_toks": [ "SELECT", "DISTINCT", "country", "FROM", "singer", "WHERE", "age", ">", "20" ], "query_toks_no_value": [ "select", "distinct", "country", "from", "singer", "where", "age", ">", "value" ], "question": "Aus welchen verschiedenen Ländern kommen die Sängerinnen und Sänger über 20 Jahren?", "question_toks": [ "What", "are", "all", "distinct", "countries", "where", "singers", "above", "age", "20", "are", "from", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 13, false ], null ], 20, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT DISTINCT country FROM singer WHERE age > 20", "query_toks": [ "SELECT", "DISTINCT", "country", "FROM", "singer", "WHERE", "age", ">", "20" ], "query_toks_no_value": [ "select", "distinct", "country", "from", "singer", "where", "age", ">", "value" ], "question": "Was sind die verschiedenen Länder mit Sängerinnen und Sängern über 20 Jahren?", "question_toks": [ "What", "are", "the", "different", "countries", "with", "singers", "above", "age", "20", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 13, false ], null ], 20, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT country , count(*) FROM singer GROUP BY country", "query_toks": [ "SELECT", "country", ",", "count", "(", "*", ")", "FROM", "singer", "GROUP", "BY", "country" ], "query_toks_no_value": [ "select", "country", ",", "count", "(", "*", ")", "from", "singer", "group", "by", "country" ], "question": "Zeigen Sie alle Länder und die Anzahl der Sängerinnen und Sänger in jedem Land an.", "question_toks": [ "Show", "all", "countries", "and", "the", "number", "of", "singers", "in", "each", "country", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT country , count(*) FROM singer GROUP BY country", "query_toks": [ "SELECT", "country", ",", "count", "(", "*", ")", "FROM", "singer", "GROUP", "BY", "country" ], "query_toks_no_value": [ "select", "country", ",", "count", "(", "*", ")", "from", "singer", "group", "by", "country" ], "question": "Wie viele Sängerinnen und Sänger kommen aus jedem Land?", "question_toks": [ "How", "many", "singers", "are", "from", "each", "country", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 10, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)", "query_toks": [ "SELECT", "song_name", "FROM", "singer", "WHERE", "age", ">", "(", "SELECT", "avg", "(", "age", ")", "FROM", "singer", ")" ], "query_toks_no_value": [ "select", "song_name", "from", "singer", "where", "age", ">", "(", "select", "avg", "(", "age", ")", "from", "singer", ")" ], "question": "Listen Sie die Namen aller Lieder von Sängerinnen und Sängern über das Durchschnittsalter.", "question_toks": [ "List", "all", "song", "names", "by", "singers", "above", "the", "average", "age", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 13, 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": "concert_singer", "query": "SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)", "query_toks": [ "SELECT", "song_name", "FROM", "singer", "WHERE", "age", ">", "(", "SELECT", "avg", "(", "age", ")", "FROM", "singer", ")" ], "query_toks_no_value": [ "select", "song_name", "from", "singer", "where", "age", ">", "(", "select", "avg", "(", "age", ")", "from", "singer", ")" ], "question": "Wie lauten die Namen aller Lieder von Sängerinnen und Sängern, die älter als der Durchschnitt sind?", "question_toks": [ "What", "are", "all", "the", "song", "names", "by", "singers", "who", "are", "older", "than", "average", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 13, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 13, 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": "concert_singer", "query": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000", "query_toks": [ "SELECT", "LOCATION", ",", "name", "FROM", "stadium", "WHERE", "capacity", "BETWEEN", "5000", "AND", "10000" ], "query_toks_no_value": [ "select", "location", ",", "name", "from", "stadium", "where", "capacity", "between", "value", "and", "value" ], "question": "Zeigen Sie die Standorte und Namen aller Stadien mit einer Kapazität zwischen 5000 und 10000 an.", "question_toks": [ "Show", "location", "and", "name", "for", "all", "stadiums", "with", "a", "capacity", "between", "5000", "and", "10000", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 1, [ 0, [ 0, 4, false ], null ], 5000, 10000 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000", "query_toks": [ "SELECT", "LOCATION", ",", "name", "FROM", "stadium", "WHERE", "capacity", "BETWEEN", "5000", "AND", "10000" ], "query_toks_no_value": [ "select", "location", ",", "name", "from", "stadium", "where", "capacity", "between", "value", "and", "value" ], "question": "Wie lauten die Standorte und Namen aller Stationen mit einer Kapazität zwischen 5000 und 10000?", "question_toks": [ "What", "are", "the", "locations", "and", "names", "of", "all", "stations", "with", "capacity", "between", "5000", "and", "10000", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 2, false ], null ] ], [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 1, [ 0, [ 0, 4, false ], null ], 5000, 10000 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select max(capacity), average from stadium", "query_toks": [ "select", "max", "(", "capacity", ")", ",", "average", "from", "stadium" ], "query_toks_no_value": [ "select", "max", "(", "capacity", ")", ",", "average", "from", "stadium" ], "question": "Was ist die maximale Kapazität und der Durchschnitt aller Stadien?", "question_toks": [ "What", "is", "the", "maximum", "capacity", "and", "the", "average", "of", "all", "stadiums", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select avg(capacity) , max(capacity) from stadium", "query_toks": [ "select", "avg", "(", "capacity", ")", ",", "max", "(", "capacity", ")", "from", "stadium" ], "query_toks_no_value": [ "select", "avg", "(", "capacity", ")", ",", "max", "(", "capacity", ")", "from", "stadium" ], "question": "Was ist die durchschnittliche und maximale Kapazität für alle Stadien?", "question_toks": [ "What", "is", "the", "average", "and", "maximum", "capacities", "for", "all", "stadiums", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 4, false ], null ] ], [ 1, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "query_toks": [ "SELECT", "name", ",", "capacity", "FROM", "stadium", "ORDER", "BY", "average", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", ",", "capacity", "from", "stadium", "order", "by", "average", "desc", "limit", "value" ], "question": "Wie lautet der Name und die Kapazität des Stadions mit der höchsten durchschnittlichen Besucherzahl?", "question_toks": [ "What", "is", "the", "name", "and", "capacity", "for", "the", "stadium", "with", "highest", "average", "attendance", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 7, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1", "query_toks": [ "SELECT", "name", ",", "capacity", "FROM", "stadium", "ORDER", "BY", "average", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", ",", "capacity", "from", "stadium", "order", "by", "average", "desc", "limit", "value" ], "question": "Wie lautet der Name und die Kapazität des Stadions mit der höchsten durchschnittlichen Besucherzahl?", "question_toks": [ "What", "is", "the", "name", "and", "capacity", "for", "the", "stadium", "with", "the", "highest", "average", "attendance", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 7, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "concert", "WHERE", "YEAR", "=", "2014", "OR", "YEAR", "=", "2015" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "concert", "where", "year", "=", "value", "or", "year", "=", "value" ], "question": "Wie viele Konzerte gibt es im Jahr 2014 oder 2015?", "question_toks": [ "How", "many", "concerts", "are", "there", "in", "year", "2014", "or", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ], "or", [ false, 2, [ 0, [ 0, 19, false ], null ], 2015, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "concert", "WHERE", "YEAR", "=", "2014", "OR", "YEAR", "=", "2015" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "concert", "where", "year", "=", "value", "or", "year", "=", "value" ], "question": "Wie viele Konzerte finden im Jahr 2014 oder 2015 statt?", "question_toks": [ "How", "many", "concerts", "occurred", "in", "2014", "or", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ], "or", [ false, 2, [ 0, [ 0, 19, false ], null ], 2015, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id", "query_toks": [ "SELECT", "T2.name", ",", "count", "(", "*", ")", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "GROUP", "BY", "T1.stadium_id" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "count", "(", "*", ")", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "group", "by", "t1", ".", "stadium_id" ], "question": "Zeigen Sie den Stadionnamen und die Anzahl der Konzerte in jedem Stadion an.", "question_toks": [ "Show", "the", "stadium", "name", "and", "the", "number", "of", "concerts", "in", "each", "stadium", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id", "query_toks": [ "SELECT", "T2.name", ",", "count", "(", "*", ")", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "GROUP", "BY", "T1.stadium_id" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "count", "(", "*", ")", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "group", "by", "t1", ".", "stadium_id" ], "question": "Wie viele Konzerte gibt es für jedes Stadion?", "question_toks": [ "For", "each", "stadium", ",", "how", "many", "concerts", "play", "there", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "T2.name", ",", "T2.capacity", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.year", ">", "=", "2014", "GROUP", "BY", "T2.stadium_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "capacity", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", ">", "=", "value", "group", "by", "t2", ".", "stadium_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Zeigen Sie den Namen und die Kapazität des Stadions mit den meisten Konzerten im Jahr 2014 oder danach.", "question_toks": [ "Show", "the", "stadium", "name", "and", "capacity", "with", "most", "number", "of", "concerts", "in", "year", "2014", "or", "after", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 5, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1", "query_toks": [ "select", "t2.name", ",", "t2.capacity", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1.stadium_id", "=", "t2.stadium_id", "where", "t1.year", ">", "2013", "group", "by", "t2.stadium_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "1" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "capacity", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", ">", "value", "group", "by", "t2", ".", "stadium_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Wie heißt das Stadion mit den meisten Konzerten nach 2013?", "question_toks": [ "What", "is", "the", "name", "and", "capacity", "of", "the", "stadium", "with", "the", "most", "concerts", "after", "2013", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 19, false ], null ], 2013, null ] ], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "YEAR", "FROM", "concert", "GROUP", "BY", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "year", "from", "concert", "group", "by", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "In welchem Jahr gibt es die meisten Konzerte?", "question_toks": [ "Which", "year", "has", "most", "number", "of", "concerts", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "YEAR", "FROM", "concert", "GROUP", "BY", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "year", "from", "concert", "group", "by", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question": "Was ist das Jahr, das die meisten Konzerte hat?", "question_toks": [ "What", "is", "the", "year", "that", "had", "the", "most", "concerts", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 19, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)", "query_toks": [ "SELECT", "name", "FROM", "stadium", "WHERE", "stadium_id", "NOT", "IN", "(", "SELECT", "stadium_id", "FROM", "concert", ")" ], "query_toks_no_value": [ "select", "name", "from", "stadium", "where", "stadium_id", "not", "in", "(", "select", "stadium_id", "from", "concert", ")" ], "question": "Zeigen die Stadionnamen ohne Konzert.", "question_toks": [ "Show", "the", "stadium", "names", "without", "any", "concert", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, 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": "concert_singer", "query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)", "query_toks": [ "SELECT", "name", "FROM", "stadium", "WHERE", "stadium_id", "NOT", "IN", "(", "SELECT", "stadium_id", "FROM", "concert", ")" ], "query_toks_no_value": [ "select", "name", "from", "stadium", "where", "stadium_id", "not", "in", "(", "select", "stadium_id", "from", "concert", ")" ], "question": "Wie heißen die Stadien ohne Konzerte?", "question_toks": [ "What", "are", "the", "names", "of", "the", "stadiums", "without", "any", "concerts", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 1, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, 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": "concert_singer", "query": "SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30", "query_toks": [ "SELECT", "country", "FROM", "singer", "WHERE", "age", ">", "40", "INTERSECT", "SELECT", "country", "FROM", "singer", "WHERE", "age", "<", "30" ], "query_toks_no_value": [ "select", "country", "from", "singer", "where", "age", ">", "value", "intersect", "select", "country", "from", "singer", "where", "age", "<", "value" ], "question": "Zeigen Sie Länder, aus denen eine Sängerin oder ein Sänger über 40 und eine Sängerin oder ein Sänger unter 30 stammen.", "question_toks": [ "Show", "countries", "where", "a", "singer", "above", "age", "40", "and", "a", "singer", "below", "30", "are", "from", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 13, false ], null ], 40, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 13, false ], null ], 30, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014", "query_toks": [ "SELECT", "name", "FROM", "stadium", "EXCEPT", "SELECT", "T2.name", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.year", "=", "2014" ], "query_toks_no_value": [ "select", "name", "from", "stadium", "except", "select", "t2", ".", "name", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value" ], "question": "Zeige Namen für alle Stadien mit Ausnahme von Stadien, die im Jahr 2014 ein Konzert haben.", "question_toks": [ "Show", "names", "for", "all", "stadiums", "except", "for", "stadiums", "having", "a", "concert", "in", "year", "2014", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "concert_singer", "query": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014", "query_toks": [ "SELECT", "name", "FROM", "stadium", "EXCEPT", "SELECT", "T2.name", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.year", "=", "2014" ], "query_toks_no_value": [ "select", "name", "from", "stadium", "except", "select", "t2", ".", "name", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value" ], "question": "Wie heißen alle Stadien, die 2014 kein Konzert hatten?", "question_toks": [ "What", "are", "the", "names", "of", "all", "stadiums", "that", "did", "not", "have", "a", "concert", "in", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "concert_singer", "query": "SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id", "query_toks": [ "SELECT", "T2.concert_name", ",", "T2.theme", ",", "count", "(", "*", ")", "FROM", "singer_in_concert", "AS", "T1", "JOIN", "concert", "AS", "T2", "ON", "T1.concert_id", "=", "T2.concert_id", "GROUP", "BY", "T2.concert_id" ], "query_toks_no_value": [ "select", "t2", ".", "concert_name", ",", "t2", ".", "theme", ",", "count", "(", "*", ")", "from", "singer_in_concert", "as", "t1", "join", "concert", "as", "t2", "on", "t1", ".", "concert_id", "=", "t2", ".", "concert_id", "group", "by", "t2", ".", "concert_id" ], "question": "Zeigen Sie den Namen und das Thema aller Konzerte sowie die Anzahl der Sängerinnen und Sänger in jedem Konzert an.", "question_toks": [ "Show", "the", "name", "and", "theme", "for", "all", "concerts", "and", "the", "number", "of", "singers", "in", "each", "concert", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 15, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select t2.concert_name , t2.theme , count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id", "query_toks": [ "select", "t2.concert_name", ",", "t2.theme", ",", "count", "(", "*", ")", "from", "singer_in_concert", "as", "t1", "join", "concert", "as", "t2", "on", "t1.concert_id", "=", "t2.concert_id", "group", "by", "t2.concert_id" ], "query_toks_no_value": [ "select", "t2", ".", "concert_name", ",", "t2", ".", "theme", ",", "count", "(", "*", ")", "from", "singer_in_concert", "as", "t1", "join", "concert", "as", "t2", "on", "t1", ".", "concert_id", "=", "t2", ".", "concert_id", "group", "by", "t2", ".", "concert_id" ], "question": "Wie lauten die Namen, Themen und die Anzahl der Sängerinnen und Sänger für jedes Konzert?", "question_toks": [ "What", "are", "the", "names", ",", "themes", ",", "and", "number", "of", "singers", "for", "every", "concert", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 16, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 15, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id", "query_toks": [ "SELECT", "T2.name", ",", "count", "(", "*", ")", "FROM", "singer_in_concert", "AS", "T1", "JOIN", "singer", "AS", "T2", "ON", "T1.singer_id", "=", "T2.singer_id", "GROUP", "BY", "T2.singer_id" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "count", "(", "*", ")", "from", "singer_in_concert", "as", "t1", "join", "singer", "as", "t2", "on", "t1", ".", "singer_id", "=", "t2", ".", "singer_id", "group", "by", "t2", ".", "singer_id" ], "question": "Listen Sie die Namen von Sängerinnen und Sängern und die Anzahl der Konzerte für jede Sängerin und jeden Sänger auf.", "question_toks": [ "List", "singer", "names", "and", "number", "of", "concerts", "for", "each", "singer", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 8, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 8, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id", "query_toks": [ "SELECT", "T2.name", ",", "count", "(", "*", ")", "FROM", "singer_in_concert", "AS", "T1", "JOIN", "singer", "AS", "T2", "ON", "T1.singer_id", "=", "T2.singer_id", "GROUP", "BY", "T2.singer_id" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "count", "(", "*", ")", "from", "singer_in_concert", "as", "t1", "join", "singer", "as", "t2", "on", "t1", ".", "singer_id", "=", "t2", ".", "singer_id", "group", "by", "t2", ".", "singer_id" ], "question": "Wie lauten die Namen der Sängerin/des Sängers und die Anzahl der Konzerte für jede Person?", "question_toks": [ "What", "are", "the", "names", "of", "the", "singers", "and", "number", "of", "concerts", "for", "each", "person", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 8, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 8, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014", "query_toks": [ "SELECT", "T2.name", "FROM", "singer_in_concert", "AS", "T1", "JOIN", "singer", "AS", "T2", "ON", "T1.singer_id", "=", "T2.singer_id", "JOIN", "concert", "AS", "T3", "ON", "T1.concert_id", "=", "T3.concert_id", "WHERE", "T3.year", "=", "2014" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "singer_in_concert", "as", "t1", "join", "singer", "as", "t2", "on", "t1", ".", "singer_id", "=", "t2", ".", "singer_id", "join", "concert", "as", "t3", "on", "t1", ".", "concert_id", "=", "t3", ".", "concert_id", "where", "t3", ".", "year", "=", "value" ], "question": "Listen Sie alle Sängernamen in Konzerten im Jahr 2014 auf.", "question_toks": [ "List", "all", "singer", "names", "in", "concerts", "in", "year", "2014", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 8, false ], null ], "and", [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014", "query_toks": [ "SELECT", "T2.name", "FROM", "singer_in_concert", "AS", "T1", "JOIN", "singer", "AS", "T2", "ON", "T1.singer_id", "=", "T2.singer_id", "JOIN", "concert", "AS", "T3", "ON", "T1.concert_id", "=", "T3.concert_id", "WHERE", "T3.year", "=", "2014" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "singer_in_concert", "as", "t1", "join", "singer", "as", "t2", "on", "t1", ".", "singer_id", "=", "t2", ".", "singer_id", "join", "concert", "as", "t3", "on", "t1", ".", "concert_id", "=", "t3", ".", "concert_id", "where", "t3", ".", "year", "=", "value" ], "question": "Wie lauten die Namen der Sängerinnen und Sänger, die 2014 in einem Konzert aufgetreten sind?", "question_toks": [ "What", "are", "the", "names", "of", "the", "singers", "who", "performed", "in", "a", "concert", "in", "2014", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 21, false ], null ], [ 0, 8, false ], null ], "and", [ false, 2, [ 0, [ 0, 20, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'", "query_toks": [ "SELECT", "name", ",", "country", "FROM", "singer", "WHERE", "song_name", "LIKE", "'", "%", "Hey", "%", "'" ], "query_toks_no_value": [ "select", "name", ",", "country", "from", "singer", "where", "song_name", "like", "value" ], "question": "Wie lautet der Name und die Nation des Sängers, der ein Lied mit „Hey“ im Namen hat?", "question_toks": [ "what", "is", "the", "name", "and", "nation", "of", "the", "singer", "who", "have", "a", "song", "having", "'Hey", "'", "in", "its", "name", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 11, false ], null ], "\"%Hey%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'", "query_toks": [ "SELECT", "name", ",", "country", "FROM", "singer", "WHERE", "song_name", "LIKE", "'", "%", "Hey", "%", "'" ], "query_toks_no_value": [ "select", "name", ",", "country", "from", "singer", "where", "song_name", "like", "value" ], "question": "Wie lautet der Name und die Nation des/der Sänger/in, der/die ein Lied mit „Hey“ im Namen hat?", "question_toks": [ "What", "is", "the", "name", "and", "country", "of", "origin", "of", "every", "singer", "who", "has", "a", "song", "with", "the", "word", "'Hey", "'", "in", "its", "title", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 9, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 11, false ], null ], "\"%Hey%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015", "query_toks": [ "SELECT", "T2.name", ",", "T2.location", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.Year", "=", "2014", "INTERSECT", "SELECT", "T2.name", ",", "T2.location", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.Year", "=", "2015" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "location", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value", "intersect", "select", "t2", ".", "name", ",", "t2", ".", "location", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value" ], "question": "Finden Sie die Namen und die Standorte der Stadien, in denen einige Konzerte in den Jahren 2014 und 2015 stattfanden.", "question_toks": [ "Find", "the", "name", "and", "location", "of", "the", "stadiums", "which", "some", "concerts", "happened", "in", "the", "years", "of", "both", "2014", "and", "2015", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2015, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2015", "query_toks": [ "SELECT", "T2.name", ",", "T2.location", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.Year", "=", "2014", "INTERSECT", "SELECT", "T2.name", ",", "T2.location", "FROM", "concert", "AS", "T1", "JOIN", "stadium", "AS", "T2", "ON", "T1.stadium_id", "=", "T2.stadium_id", "WHERE", "T1.Year", "=", "2015" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "location", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value", "intersect", "select", "t2", ".", "name", ",", "t2", ".", "location", "from", "concert", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "stadium_id", "where", "t1", ".", "year", "=", "value" ], "question": "Wie lauten die Namen und Standorte der Stadien, in denen sowohl 2014 als auch 2015 Konzerte stattfanden?", "question_toks": [ "What", "are", "the", "names", "and", "locations", "of", "the", "stadiums", "that", "had", "concerts", "that", "occurred", "in", "both", "2014", "and", "2015", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2014, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 0 ] ], "conds": [ [ false, 2, [ 0, [ 0, 18, false ], null ], [ 0, 1, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], 2015, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)", "query_toks": [ "select", "count", "(", "*", ")", "from", "concert", "where", "stadium_id", "=", "(", "select", "stadium_id", "from", "stadium", "order", "by", "capacity", "desc", "limit", "1", ")" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "concert", "where", "stadium_id", "=", "(", "select", "stadium_id", "from", "stadium", "order", "by", "capacity", "desc", "limit", "value", ")" ], "question": "Finden Sie die Anzahl der Konzerte, die in dem Stadion mit der höchsten Kapazität stattfanden.", "question_toks": [ "Find", "the", "number", "of", "concerts", "happened", "in", "the", "stadium", "with", "the", "highest", "capacity", "." ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 4, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "concert_singer", "query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)", "query_toks": [ "select", "count", "(", "*", ")", "from", "concert", "where", "stadium_id", "=", "(", "select", "stadium_id", "from", "stadium", "order", "by", "capacity", "desc", "limit", "1", ")" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "concert", "where", "stadium_id", "=", "(", "select", "stadium_id", "from", "stadium", "order", "by", "capacity", "desc", "limit", "value", ")" ], "question": "Wie viele Konzerte fanden in dem Stadion mit der größten Kapazität statt ?", "question_toks": [ "What", "are", "the", "number", "of", "concerts", "that", "occurred", "in", "the", "stadium", "with", "the", "largest", "capacity", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 18, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 4, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } ]