| [ | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Geben Sie den Namen aller Standorte in \"Los Angeles\" County an.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Standorte befinden sich in der Grafschaft \"Los Angeles\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE LOCATION = \"Chico\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "Chico", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie heißen alle Standorte in \"Chico\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Chico\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE LOCATION = \"Chico\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "Chico", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Standorte befinden sich in \"Chico\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Chico\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR = 1958", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "1958" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Hier finden Sie alle 1958 eröffneten Standorte.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1958.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR = 1958", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "1958" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was sind die Campus, die 1958 eröffnet wurden?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1958.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR < 1800", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| "<", | |
| "1800" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| "<", | |
| "value" | |
| ], | |
| "question": "Finden Sie den Namen der Campus, die vor 1800 eröffnet wurden.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1800.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR < 1800", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| "<", | |
| "1800" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| "<", | |
| "value" | |
| ], | |
| "question": "Welche Campus wurden vor 1800 eröffnet?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1800.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR >= 1935 AND YEAR <= 1939", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| ">", | |
| "=", | |
| "1935", | |
| "AND", | |
| "YEAR", | |
| "<", | |
| "=", | |
| "1939" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "year", | |
| "<", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welcher Campus wurde zwischen 1935 und 1939 eröffnet?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1935.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1939.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE YEAR >= 1935 AND YEAR <= 1939", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "YEAR", | |
| ">", | |
| "=", | |
| "1935", | |
| "AND", | |
| "YEAR", | |
| "<", | |
| "=", | |
| "1939" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "year", | |
| "<", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Campus wurden zwischen 1935 und 1939 eröffnet?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1935.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1939.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE LOCATION = \"Northridge\" AND county = \"Los Angeles\" UNION SELECT campus FROM campuses WHERE LOCATION = \"San Francisco\" AND county = \"San Francisco\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "Northridge", | |
| "''", | |
| "AND", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''", | |
| "UNION", | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "''", | |
| "AND", | |
| "county", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value", | |
| "and", | |
| "county", | |
| "=", | |
| "value", | |
| "union", | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value", | |
| "and", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Finden Sie den Namen der Campus in \"Northridge\", \"Los Angeles\" oder in \"San Francisco\".", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Northridge\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE LOCATION = \"Northridge\" AND county = \"Los Angeles\" UNION SELECT campus FROM campuses WHERE LOCATION = \"San Francisco\" AND county = \"San Francisco\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "Northridge", | |
| "''", | |
| "AND", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''", | |
| "UNION", | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "LOCATION", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "''", | |
| "AND", | |
| "county", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value", | |
| "and", | |
| "county", | |
| "=", | |
| "value", | |
| "union", | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "location", | |
| "=", | |
| "value", | |
| "and", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Campus befinden sich in \"Northridge\", \"Los Angeles\" oder in \"San Francisco\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Northridge\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 3, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| }, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die Campusgebühr der \"San Jose State University\" im Jahr 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie hoch ist die Campusgebühr für die \"San Jose State University\" im Jahr 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die Campusgebühr der \"San Francisco State University\" im Jahr 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie hoch ist die Campusgebühr für die \"San Francisco State University\" im Jahr 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees)", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "question": "Ermitteln Sie die Anzahl der Universitäten, deren Campusgebühr höher ist als die durchschnittliche Campusgebühr.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| 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": "csu_1", | |
| "query": "SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees)", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "question": "Wie viele Universitäten haben eine überdurchschnittlich hohe Campusgebühr?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| 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": "csu_1", | |
| "query": "SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees)", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "question": "Ermitteln Sie die Anzahl der Universitäten, deren Campusgebühr höher ist als die durchschnittliche Campusgebühr.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| 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": "csu_1", | |
| "query": "SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees)", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "question": "Wie viele Universitäten haben eine Campusgebühr, die über dem Durchschnitt liegt?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| 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": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\" AND YEAR > 1950", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''", | |
| "AND", | |
| "YEAR", | |
| ">", | |
| "1950" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value", | |
| "and", | |
| "year", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Welche Universität befindet sich in \"Los Angeles\" Grafschaft und wurde nach 1950 eröffnet?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1950.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\" AND YEAR > 1950", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''", | |
| "AND", | |
| "YEAR", | |
| ">", | |
| "1950" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value", | |
| "and", | |
| "year", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Welche Standorte befinden sich in \"Los Angeles\" Grafschaft und wurden nach 1950 eröffnet?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 1950.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "YEAR", | |
| "FROM", | |
| "degrees", | |
| "GROUP", | |
| "BY", | |
| "YEAR", | |
| "ORDER", | |
| "BY", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "year", | |
| "from", | |
| "degrees", | |
| "group", | |
| "by", | |
| "year", | |
| "order", | |
| "by", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Welches Jahr hat die meisten Grade verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 4, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "YEAR", | |
| "FROM", | |
| "degrees", | |
| "GROUP", | |
| "BY", | |
| "YEAR", | |
| "ORDER", | |
| "BY", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "year", | |
| "from", | |
| "degrees", | |
| "group", | |
| "by", | |
| "year", | |
| "order", | |
| "by", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "In welchem Jahr wurden die meisten Grade verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 4, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "degrees", | |
| "GROUP", | |
| "BY", | |
| "campus", | |
| "ORDER", | |
| "BY", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "degrees", | |
| "group", | |
| "by", | |
| "campus", | |
| "order", | |
| "by", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Welcher Campus hat die meisten Grade aller Zeiten?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 4, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "degrees", | |
| "GROUP", | |
| "BY", | |
| "campus", | |
| "ORDER", | |
| "BY", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "degrees", | |
| "group", | |
| "by", | |
| "campus", | |
| "order", | |
| "by", | |
| "sum", | |
| "(", | |
| "degrees", | |
| ")", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Welcher Campus hat während seiner gesamten Existenz die meisten Grade verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 4, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2003", | |
| "ORDER", | |
| "BY", | |
| "T2.faculty", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Welcher Campus hat im Jahr 2003 die meisten Fakultäten?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2003.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2003", | |
| "ORDER", | |
| "BY", | |
| "T2.faculty", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Welcher Campus hat 2003 die meisten Fakultäten?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2003.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Finden Sie die durchschnittliche Gebühr auf einem CSU-Campus im Jahr 1996", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die durchschnittliche Gebühr für einen CSU-Campus im Jahr 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2005" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die durchschnittliche Gebühr auf einem CSU-Campus im Jahr 2005?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2005.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2005" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die durchschnittliche Gebühr für einen CSU-Campus im Jahr 2005?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2005.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "T2.degrees", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| ">", | |
| "=", | |
| "1998", | |
| "AND", | |
| "T2.year", | |
| "<", | |
| "=", | |
| "2002", | |
| "GROUP", | |
| "BY", | |
| "T1.campus" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "t2", | |
| ".", | |
| "degrees", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "<", | |
| "=", | |
| "value", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "campus" | |
| ], | |
| "question": "Geben Sie die Gesamtzahl der zwischen 1998 und 2002 verliehenen Abschlüsse an.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 1998.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "T2.degrees", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| ">", | |
| "=", | |
| "1998", | |
| "AND", | |
| "T2.year", | |
| "<", | |
| "=", | |
| "2002", | |
| "GROUP", | |
| "BY", | |
| "T1.campus" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "t2", | |
| ".", | |
| "degrees", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "<", | |
| "=", | |
| "value", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "campus" | |
| ], | |
| "question": "Wie viele Abschlüsse wurden zwischen 1998 und 2002 verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 1998.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = \"Orange\" AND T2.year >= 2000 GROUP BY T1.campus", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "T2.degrees", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T1.county", | |
| "=", | |
| "``", | |
| "Orange", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| ">", | |
| "=", | |
| "2000", | |
| "GROUP", | |
| "BY", | |
| "T1.campus" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "t2", | |
| ".", | |
| "degrees", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "county", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "campus" | |
| ], | |
| "question": "Geben Sie für jeden Campus in \"Orange\" Grafschaft die Anzahl der nach 2000 gewährten Abschlüsse an.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Orange\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = \"Orange\" AND T2.year >= 2000 GROUP BY T1.campus", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "T2.degrees", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T1.county", | |
| "=", | |
| "``", | |
| "Orange", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| ">", | |
| "=", | |
| "2000", | |
| "GROUP", | |
| "BY", | |
| "T1.campus" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "t2", | |
| ".", | |
| "degrees", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "county", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "campus" | |
| ], | |
| "question": "Wie viele Abschlüsse wurden nach 2000 für jeden Campus in \"Orange\" Grafschaft insgesamt verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ], | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Orange\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [ | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ] | |
| ], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = \"Orange\")", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "faculty", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "max", | |
| "(", | |
| "faculty", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "T1.county", | |
| "=", | |
| "``", | |
| "Orange", | |
| "''", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "faculty", | |
| ">", | |
| "(", | |
| "select", | |
| "max", | |
| "(", | |
| "faculty", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "county", | |
| "=", | |
| "value", | |
| ")" | |
| ], | |
| "question": "Finden Sie die Namen des Campus, der 2002 mehr Fakultäten hat als jeder Campus in \"Orange\" Grafschaft.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Orange\"", | |
| null | |
| ] | |
| ], | |
| "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": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = \"Orange\")", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "faculty", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "max", | |
| "(", | |
| "faculty", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "T1.county", | |
| "=", | |
| "``", | |
| "Orange", | |
| "''", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "faculty", | |
| ">", | |
| "(", | |
| "select", | |
| "max", | |
| "(", | |
| "faculty", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "county", | |
| "=", | |
| "value", | |
| ")" | |
| ], | |
| "question": "Wie heißt der Campus, der im Jahr 2002 mehr Fakultäten hat als die maximale Anzahl in \"Orange\"Grafschaft?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 1, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Orange\"", | |
| null | |
| ] | |
| ], | |
| "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": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "enrollments", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "1956", | |
| "AND", | |
| "totalenrollment_ay", | |
| ">", | |
| "400", | |
| "AND", | |
| "FTE_AY", | |
| ">", | |
| "200" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "enrollments", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "totalenrollment_ay", | |
| ">", | |
| "value", | |
| "and", | |
| "fte_ay", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Auf welchem Campus waren im Jahr 1956 insgesamt mehr als 400 Personen eingeschrieben, aber mehr als 200 Vollzeitbeschäftigte?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 4 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 17, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 18, | |
| false | |
| ], | |
| null | |
| ], | |
| 1956.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 19, | |
| false | |
| ], | |
| null | |
| ], | |
| 400.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 20, | |
| false | |
| ], | |
| null | |
| ], | |
| 200.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "enrollments", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "1956", | |
| "AND", | |
| "totalenrollment_ay", | |
| ">", | |
| "400", | |
| "AND", | |
| "FTE_AY", | |
| ">", | |
| "200" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "enrollments", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "totalenrollment_ay", | |
| ">", | |
| "value", | |
| "and", | |
| "fte_ay", | |
| ">", | |
| "value" | |
| ], | |
| "question": "Welcher Campus begann im Jahr 1956, hat mehr als 200 Vollzeitstudenten und mehr als 400 eingeschriebene Studenten?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 4 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 17, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 18, | |
| false | |
| ], | |
| null | |
| ], | |
| 1956.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 19, | |
| false | |
| ], | |
| null | |
| ], | |
| 400.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 20, | |
| false | |
| ], | |
| null | |
| ], | |
| 200.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Campus gibt es in \"Los Angeles\" Grafschaft?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Campus gibt es in county of \"LA\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Listen Sie die Campus in \"Los Angeles\" Grafschaft.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Campus gibt es in \"Los Angeles\" Grafschaft?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND t2.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "degrees", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "degrees", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Grade wurden im Jahr 2000 an der \"San Jose State University\" verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND t2.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "degrees", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "degrees", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Grade wurden im Jahr 2000 an der San Jose State University verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND t2.year = 2001", | |
| "query_toks": [ | |
| "SELECT", | |
| "degrees", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "2001" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "degrees", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Grade wurden 2001 an der \"San Francisco State University\" verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2001.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND t2.year = 2001", | |
| "query_toks": [ | |
| "SELECT", | |
| "degrees", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "2001" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "degrees", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Welche Grade wurden im Jahr 2001 an der \"San Francisco State University\" verliehen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ], | |
| 2001.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(faculty) FROM faculty WHERE YEAR = 2002", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "faculty", | |
| ")", | |
| "FROM", | |
| "faculty", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2002" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "faculty", | |
| ")", | |
| "from", | |
| "faculty", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultäten gibt es im Jahr 2002 insgesamt?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(faculty) FROM faculty WHERE YEAR = 2002", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "faculty", | |
| ")", | |
| "FROM", | |
| "faculty", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2002" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "faculty", | |
| ")", | |
| "from", | |
| "faculty", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultäten gibt es insgesamt im Jahr 2002?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = \"Long Beach State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "Long", | |
| "Beach", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätslinien hat der Campus \"Long Beach State University\" im Jahr 2002?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Long Beach State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = \"Long Beach State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "Long", | |
| "Beach", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultäten hat die \"Long Beach State University\" im Jahr 2002?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Long Beach State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätslinien gibt es im Jahr 2004 an der \"San Francisco State University\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätslinien gibt es 2004 an der \"San Francisco State University\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t2.faculty", | |
| ">", | |
| "=", | |
| "600", | |
| "AND", | |
| "t2.faculty", | |
| "<", | |
| "=", | |
| "1000", | |
| "AND", | |
| "T1.year", | |
| "=", | |
| "2004" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "faculty", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "<", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Listen Sie den Campus mit 600 bis 1000 Fakultätslinien im Jahr 2004 auf.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| 600.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t2.faculty", | |
| ">", | |
| "=", | |
| "600", | |
| "AND", | |
| "t2.faculty", | |
| "<", | |
| "=", | |
| "1000", | |
| "AND", | |
| "T1.year", | |
| "=", | |
| "2004" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "faculty", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "<", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was waren die Campus, an denen 2004 zwischen 600 und 1000 Fakultätsmitglieder waren?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| 600.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 6, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ], | |
| 1000.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 5, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.faculty", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t3.campus", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "t3.year", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "2002", | |
| "ORDER", | |
| "BY", | |
| "t3.degrees", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t3", | |
| ".", | |
| "campus", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "t3", | |
| ".", | |
| "year", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "degrees", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätslinien gibt es an der Universität, die im Jahr 2002 die meisten Grade verliehen haben?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.faculty", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t3.campus", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "t3.year", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "2002", | |
| "ORDER", | |
| "BY", | |
| "t3.degrees", | |
| "DESC", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t3", | |
| ".", | |
| "campus", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "t3", | |
| ".", | |
| "year", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "degrees", | |
| "desc", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätsmitglieder hatte die Universität, die 2002 die meisten Grade verliehen hat?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "desc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2001 ORDER BY t3.degrees LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.faculty", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t3.campus", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "t3.year", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "2001", | |
| "ORDER", | |
| "BY", | |
| "t3.degrees", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t3", | |
| ".", | |
| "campus", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "t3", | |
| ".", | |
| "year", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "degrees", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätslinien gibt es an der Universität, die im Jahr 2001 die geringste Anzahl von Graden verliehen haben?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2001.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2001 ORDER BY t3.degrees LIMIT 1", | |
| "query_toks": [ | |
| "SELECT", | |
| "T2.faculty", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "faculty", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T3", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t3.campus", | |
| "AND", | |
| "t2.year", | |
| "=", | |
| "t3.year", | |
| "WHERE", | |
| "t2.year", | |
| "=", | |
| "2001", | |
| "ORDER", | |
| "BY", | |
| "t3.degrees", | |
| "LIMIT", | |
| "1" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t2", | |
| ".", | |
| "faculty", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "faculty", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t3", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t3", | |
| ".", | |
| "campus", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "t3", | |
| ".", | |
| "year", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "order", | |
| "by", | |
| "t3", | |
| ".", | |
| "degrees", | |
| "limit", | |
| "value" | |
| ], | |
| "question": "Wie viele Fakultätsmitglieder gibt es an der Universität, die 2001 die geringste Anzahl von Abschlüssen verliehen hat?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 2 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 10, | |
| false | |
| ], | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 9, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2001.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [ | |
| "asc", | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 11, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ], | |
| "limit": 1, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Jose State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "t1.undergraduate", | |
| ")", | |
| "FROM", | |
| "discipline_enrollments", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "t1", | |
| ".", | |
| "undergraduate", | |
| ")", | |
| "from", | |
| "discipline_enrollments", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Studenten gibt es im Jahr 2004 an der \"San Jose State University\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 15, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Jose State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "t1.undergraduate", | |
| ")", | |
| "FROM", | |
| "discipline_enrollments", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "t1", | |
| ".", | |
| "undergraduate", | |
| ")", | |
| "from", | |
| "discipline_enrollments", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Studenten gibt es im Bundesstaat \"San Jose\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 15, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "t1.graduate", | |
| ")", | |
| "FROM", | |
| "discipline_enrollments", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "t1", | |
| ".", | |
| "graduate", | |
| ")", | |
| "from", | |
| "discipline_enrollments", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Absolventen hat die \"San Francisco State University\" im Jahr 2004?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 16, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "t1.graduate", | |
| ")", | |
| "FROM", | |
| "discipline_enrollments", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "t1", | |
| ".", | |
| "graduate", | |
| ")", | |
| "from", | |
| "discipline_enrollments", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie viele Personen haben 2004 die San Francisco State University abgeschlossen?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 16, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Francisco State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die Campusgebühr der \"San Francisco State University\" im Jahr 2000?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Francisco State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Wie hoch ist die Campusgebühr für die San Francisco State University im Jahr 2000?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Jose State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Finden Sie die Campusgebühr der \"San Jose State University\" im Jahr 2000.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Jose State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Was ist die Campusgebühr im Jahr 2000 für die \"San Jose State University\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM campuses", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses" | |
| ], | |
| "question": "Wie viele CSU-Campus gibt es?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM campuses", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses" | |
| ], | |
| "question": "Wie viele Campus gibt es insgesamt?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| } | |
| ] |