| [ | |
| { | |
| "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": "「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 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": "「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": "「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": "「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": "1958年に開設されたすべてのキャンパスを検索します。", | |
| "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": "1958年にオープンしたキャンパスは何ですか?", | |
| "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": "1800年以前に開設されたキャンパスの名前を見つけてください。", | |
| "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": "1800年以前にオープンしたキャンパスは何ですか?", | |
| "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": "1935年から1939年の間に開設されたキャンパスはどれですか。", | |
| "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": "1935年から1939年の間にどのキャンパスがオープンしましたか?", | |
| "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": "「Los Angeles」の「Northridge」または「San Francisco」の「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": "「Los Angeles」の「Northridge」または「San Francisco」の「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": "1996年の「San Jose State University」の学費はいくらですか?", | |
| "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": "1996年の「San Jose State University」のキャンパス料金はいくらですか?", | |
| "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": "1996年の「San Francisco State University」のキャンパス料金はいくらですか?", | |
| "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": "1996年の「San Francisco State University」のキャンパス料金はいくらですか?", | |
| "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": "キャンパス料金が平均キャンパス料金よりも高い大学の数を見つけます。", | |
| "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": "キャンパス料金が平均より高い大学はいくつありますか?", | |
| "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": "キャンパス料金が平均キャンパス料金よりも高い大学の数を見つけます。", | |
| "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": "キャンパス料金が平均より高い大学はいくつありますか?", | |
| "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": "「Los Angeles」郡にあり、1950年以降に開校した大学はどれですか。", | |
| "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": "「Los Angeles」郡にあり、1950年以降に開設されたキャンパスはどれですか。", | |
| "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": "最も多くの学位が授与されたのはどの年ですか?", | |
| "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": "最も多くの学位が授与されたのは何年ですか?", | |
| "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": "最も多くの学位が授与されているキャンパスはどれですか?", | |
| "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": "最も多くの学位が授与されているキャンパスはどれですか?", | |
| "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": "2003年に最も多くの学部を持っているキャンパスはどれですか?", | |
| "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": "2003年に最も多くの学部を持っているキャンパスはどれですか?", | |
| "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": "1996年のCSUキャンパスの平均料金を探す", | |
| "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": "1996年のCSUキャンパスの平均料金はいくらですか?", | |
| "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": "2005年のCSUキャンパスの平均料金はいくらですか?", | |
| "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": "2005年のCSUキャンパスの平均料金はいくらですか?", | |
| "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": "1998年から2002年の間に付与された学位の総数を報告します。", | |
| "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": "1998年から2002年の間にいくつの学位が授与されましたか?", | |
| "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": "「Orange」郡の各キャンパスについて、2000年以降に付与された学位の数を報告してください。", | |
| "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": "「Orange」郡の各キャンパスで2000年以降に付与された学位の総数はいくつですか?", | |
| "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": "2002年に「Orange」郡のどのキャンパスよりも学部が多いキャンパスの名前を見つけてください。", | |
| "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": "2002年に「Orange」で学部が一番多いキャンパスの名前は何ですか?", | |
| "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": "1956年に合計400人以上の登録があったが、200人以上のフルタイムの登録があったキャンパスはどれですか。", | |
| "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": "1956年に創設され、200人以上のフルタイムの学生がいて、400人以上の学生が在籍しているキャンパスはどれですか。", | |
| "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": " 「Los Angeles」郡にはいくつのキャンパスがありますか?", | |
| "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": "「Los Angeles」郡にはいくつのキャンパスがありますか?", | |
| "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": "「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 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": "「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 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": "2000年に「San Jose State University」で何度の学位が授与されましたか?", | |
| "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": "2000年に「San Jose State University」でいくつの学位が授与されましたか?", | |
| "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": "2001年に「San Francisco State University」で授与された学位は何ですか。", | |
| "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": "2001年に 「San Francisco State University」でどの学位が授与されましたか?", | |
| "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": "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 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": "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": "2002年のキャンパス「Long Beach 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 | |
| ], | |
| 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": "2002年の「Long Beach 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 | |
| ], | |
| 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": "2004年の「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": "2004年に「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": "2004年に600から1000の教員があるキャンパスをリストします。", | |
| "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": "2004年に600人から1000人の教員がいたキャンパスは何ですか?", | |
| "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": "2002年に最も多くの学位を授与した大学には、いくつの教員がいますか?", | |
| "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": "2002年に最も多くの学位を授与した大学には何人の教員がいましたか?", | |
| "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": "2001年に学位を授与した学部の数が最も少ない大学には、いくつの教員がいますか?", | |
| "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": "2001年に学位を取得した数が最も少なかった大学の教員は何人いますか?", | |
| "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": "2004年の「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": "「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.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": "2004年の「San Francisco 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, | |
| 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": "2004年に「San Francisco 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, | |
| 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": "2000年の「San Francisco 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 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": "2000年、「San Francisco 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 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": "2000年の「San Francisco 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 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": "「San Francisco State University」の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 count(*) FROM campuses", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses" | |
| ], | |
| "question": "CSUのキャンパスはいくつありますか?", | |
| "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": "キャンパスの総数はいくつですか?", | |
| "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 | |
| } | |
| } | |
| ] |