| [ | |
| { | |
| "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": "Indiquez le nom de tous les campus du comté de \"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": "Quels campus sont situés dans le comté de \"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": "Quels sont les noms de tous les campus situés à \"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": "Quels campus sont situés à \"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": "Retrouvez tous les campus ouverts en 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": "Quels sont les campus ouverts en 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": "Trouvez le nom des campus ouverts avant 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": "Quels campus ont ouvert avant 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": "Quel campus a été ouvert entre 1935 et 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": "Quels campus ont ouvert entre 1935 et 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": "Trouvez le nom des campus qui se trouvent à \"Northridge\", \"Los Angeles\" ou à \"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": "Quels campus sont situés à \"Northridge\", \"Los Angeles\" ou à \"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": "Quels sont les frais de scolarité de \"San Jose State University\" en 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais de campus pour \"San Jose State University\" en 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais de scolarité de \"San Francisco State University\" en 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND T2.year = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "campusfee", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "csu_fees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "t2.campus", | |
| "WHERE", | |
| "t1.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "T2.year", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campusfee", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "csu_fees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais de campus pour \"San Francisco State University\" en 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ], | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees)", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "campusfee", | |
| ">", | |
| "(", | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| ")" | |
| ], | |
| "question": "Trouvez le nombre d'universités dont les frais de campus sont supérieurs aux frais de campus moyens.", | |
| "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": "Combien d'universités ont des frais de campus plus élevés que la moyenne?", | |
| "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": "Trouvez le nombre d'universités dont les frais de campus sont supérieurs aux frais de campus moyens.", | |
| "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": "Combien d'universités ont des frais de campus supérieurs à la moyenne?", | |
| "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": "Quelle université se trouve dans le comté de \"Los Angeles\" et a ouvert après 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": "Quels campus sont situés dans le comté de \"Los Angeles\" et ouverts après 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": "Quelle année a été décerné le plus de diplômes?", | |
| "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": "En quelle année le plus grand nombre de diplômes a-t-il été décerné?", | |
| "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": "Quel campus a le plus de diplômes décernés en tout temps?", | |
| "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": "Quel campus a le plus de diplômes décernés au cours de toute son existence?", | |
| "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": "Quel campus a le plus de facultés en 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": "Quel campus a le plus de facultés en 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": "Trouvez les frais moyens sur un campus CSU en 1996", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 1996", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "1996" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais moyens pour un campus CSU en 1996?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 1996.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2005" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quel est le tarif moyen sur un campus CSU en 2005?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2005.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005", | |
| "query_toks": [ | |
| "SELECT", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "FROM", | |
| "csu_fees", | |
| "WHERE", | |
| "YEAR", | |
| "=", | |
| "2005" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "avg", | |
| "(", | |
| "campusfee", | |
| ")", | |
| "from", | |
| "csu_fees", | |
| "where", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais moyens pour un campus CSU en 2005?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 5, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2005.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus", | |
| "query_toks": [ | |
| "SELECT", | |
| "T1.campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "T2.degrees", | |
| ")", | |
| "FROM", | |
| "campuses", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "degrees", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.id", | |
| "=", | |
| "T2.campus", | |
| "WHERE", | |
| "T2.year", | |
| ">", | |
| "=", | |
| "1998", | |
| "AND", | |
| "T2.year", | |
| "<", | |
| "=", | |
| "2002", | |
| "GROUP", | |
| "BY", | |
| "T1.campus" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campus", | |
| ",", | |
| "sum", | |
| "(", | |
| "t2", | |
| ".", | |
| "degrees", | |
| ")", | |
| "from", | |
| "campuses", | |
| "as", | |
| "t1", | |
| "join", | |
| "degrees", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "id", | |
| "=", | |
| "t2", | |
| ".", | |
| "campus", | |
| "where", | |
| "t2", | |
| ".", | |
| "year", | |
| ">", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "year", | |
| "<", | |
| "=", | |
| "value", | |
| "group", | |
| "by", | |
| "t1", | |
| ".", | |
| "campus" | |
| ], | |
| "question": "déclarez le nombre total de diplômes délivrés entre 1998 et 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": "combien de diplômes ont été décernés entre 1998 et 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": "Pour chaque campus du comté de \"Orange\", indiquez le nombre de diplômes délivrés après 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": "Quel est le nombre total de diplômes délivrés après 2000 pour chaque campus du comté de \"Orange\"?", | |
| "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": "Trouvez les noms du campus qui compte plus de facultés en 2002 que tous les campus du comté de \"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": "Quels sont les noms des campus qui ont plus de facultés en 2002 que le nombre maximum dans le comté de \"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": "Quel campus avait plus de 400 inscriptions au total mais plus de 200 inscriptions à temps plein en 1956?", | |
| "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": "Quel campus a commencé en 1956, compte plus de 200 étudiants à plein temps et plus de 400 étudiants inscrits?", | |
| "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": "Combien de campus y a-t-il dans le comté de \"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": "Combien de campus existe-t-il dans le comté de \"LA\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 3, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 0, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 4, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Los Angeles\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "campus", | |
| "FROM", | |
| "campuses", | |
| "WHERE", | |
| "county", | |
| "=", | |
| "``", | |
| "Los", | |
| "Angeles", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "campus", | |
| "from", | |
| "campuses", | |
| "where", | |
| "county", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Dressez la liste des campus du comté de \"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": "Quels campus se trouvent dans le comté de \"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": "Combien de diplômes ont été décernés à \"San Jose State University\" en 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, | |
| 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": "Combien de diplômes ont été décernés à \"San Jose State University\" en 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, | |
| 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": "Quels sont les diplômes décernés à la \"San Francisco State University\" en 2001.", | |
| "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": "Quels diplômes ont été décernés à \"San Francisco State University\" en 2001?", | |
| "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": "Combien de professeurs y a-t-il au total en 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": "Combien de professeurs au total y a-t-il en 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": "Quel est le nombre de lignes de professeurs sur le campus \"Long Beach State University\" en 2002?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Long Beach State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = \"Long Beach State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2002", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "Long", | |
| "Beach", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quel est le nombre de professeurs à \"Long Beach State University\" en 2002?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 5 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 21, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 23, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 22, | |
| false | |
| ], | |
| null | |
| ], | |
| 2002.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"Long Beach State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "faculty", | |
| "FROM", | |
| "faculty", | |
| "AS", | |
| "T1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "T2", | |
| "ON", | |
| "T1.campus", | |
| "=", | |
| "T2.id", | |
| "WHERE", | |
| "T1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "T2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "faculty", | |
| "from", | |
| "faculty", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Combien de lignes de professeurs y a-t-il à \"San Francisco State University\" en 2004?", | |
| "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": "Combien de lignes de professeurs y a-t-il à \"San Francisco State University\" en 2004?", | |
| "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": "Dressez la liste des campus qui comptaient entre 600 et 1000 lignes de professeurs en 2004.", | |
| "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": "Quels sont les campus qui comptaient entre 600 et 1000 professeurs en 2004?", | |
| "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": "Combien de lignes de professeurs y a-t-il dans l'université qui a décerné le plus de diplômes en 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": "Combien de membres du corps professoral avait l'université qui a décerné le plus de diplômes en 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": "Combien de lignes de professeurs y a-t-il dans l'université qui a décerné le moins de diplômes en 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": "Combien de professeurs y a-t-il à l'université qui a décerné le moins de diplômes en 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": "Combien d'étudiants de premier cycle y a-t-il à \"San Jose State University\" en 2004?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 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": "Combien d'étudiants de premier cycle y a-t-il dans\"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": "Quel est le nombre de diplômés de \"San Francisco State University\" en 2004?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 16, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Francisco State University\"", | |
| "query_toks": [ | |
| "SELECT", | |
| "sum", | |
| "(", | |
| "t1.graduate", | |
| ")", | |
| "FROM", | |
| "discipline_enrollments", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t1.year", | |
| "=", | |
| "2004", | |
| "AND", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "sum", | |
| "(", | |
| "t1", | |
| ".", | |
| "graduate", | |
| ")", | |
| "from", | |
| "discipline_enrollments", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value", | |
| "and", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Combien de personnes ont obtenu leur diplôme de \"San Francisco State University\" en 2004?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 3 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 12, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 4, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 16, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 14, | |
| false | |
| ], | |
| null | |
| ], | |
| 2004.0, | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT 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": "Quels sont les frais de scolarité de \"San Francisco State University\" en l'an 2000?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Francisco State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Francisco State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Francisco", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "En 2000, quels sont les frais de scolarité de \"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": "Trouvez les frais de campus de \"San Jose State University\" en 2000.", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Jose State University\" AND t1.year = 2000", | |
| "query_toks": [ | |
| "SELECT", | |
| "t1.campusfee", | |
| "FROM", | |
| "csu_fees", | |
| "AS", | |
| "t1", | |
| "JOIN", | |
| "campuses", | |
| "AS", | |
| "t2", | |
| "ON", | |
| "t1.campus", | |
| "=", | |
| "t2.id", | |
| "WHERE", | |
| "t2.campus", | |
| "=", | |
| "``", | |
| "San", | |
| "Jose", | |
| "State", | |
| "University", | |
| "''", | |
| "AND", | |
| "t1.year", | |
| "=", | |
| "2000" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "t1", | |
| ".", | |
| "campusfee", | |
| "from", | |
| "csu_fees", | |
| "as", | |
| "t1", | |
| "join", | |
| "campuses", | |
| "as", | |
| "t2", | |
| "on", | |
| "t1", | |
| ".", | |
| "campus", | |
| "=", | |
| "t2", | |
| ".", | |
| "id", | |
| "where", | |
| "t2", | |
| ".", | |
| "campus", | |
| "=", | |
| "value", | |
| "and", | |
| "t1", | |
| ".", | |
| "year", | |
| "=", | |
| "value" | |
| ], | |
| "question": "Quels sont les frais de campus en 2000 pour \"San Jose State University\"?", | |
| "sql": { | |
| "from": { | |
| "table_units": [ | |
| [ | |
| "table_unit", | |
| 1 | |
| ], | |
| [ | |
| "table_unit", | |
| 0 | |
| ] | |
| ], | |
| "conds": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 6, | |
| false | |
| ], | |
| null | |
| ], | |
| [ | |
| 0, | |
| 1, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| }, | |
| "select": [ | |
| false, | |
| [ | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 8, | |
| false | |
| ], | |
| null | |
| ] | |
| ] | |
| ] | |
| ], | |
| "where": [ | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 2, | |
| false | |
| ], | |
| null | |
| ], | |
| "\"San Jose State University\"", | |
| null | |
| ], | |
| "and", | |
| [ | |
| false, | |
| 2, | |
| [ | |
| 0, | |
| [ | |
| 0, | |
| 7, | |
| false | |
| ], | |
| null | |
| ], | |
| 2000.0, | |
| null | |
| ] | |
| ], | |
| "groupBy": [], | |
| "having": [], | |
| "orderBy": [], | |
| "limit": null, | |
| "intersect": null, | |
| "union": null, | |
| "except": null | |
| } | |
| }, | |
| { | |
| "db_id": "csu_1", | |
| "query": "SELECT count(*) FROM campuses", | |
| "query_toks": [ | |
| "SELECT", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "FROM", | |
| "campuses" | |
| ], | |
| "query_toks_no_value": [ | |
| "select", | |
| "count", | |
| "(", | |
| "*", | |
| ")", | |
| "from", | |
| "campuses" | |
| ], | |
| "question": "Combien de campus CSU y a-t-il?", | |
| "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": "Quel est le nombre total de campus?", | |
| "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 | |
| } | |
| } | |
| ] |