[ { "db_id": "college_2", "query": "SELECT DISTINCT building FROM classroom WHERE capacity > 50", "query_toks": [ "SELECT", "DISTINCT", "building", "FROM", "classroom", "WHERE", "capacity", ">", "50" ], "query_toks_no_value": [ "select", "distinct", "building", "from", "classroom", "where", "capacity", ">", "value" ], "question_spider": "Find the buildings which have rooms with capacity more than 50.", "question": "找到拥有容量超过50的房间的建筑物。", "question_cspider": "找到拥有容量超过50的房间的建筑物。", "Harold": "BLEU = 56.43, 93.3/78.6/61.5/50.0 (BP=0.819, ratio=0.833, hyp_len=15, ref_len=18)", "question_toks": [ "查", "找", "房", "间", "容", "量", "超", "过", "5", "0", "的", "建", "筑", "物", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT DISTINCT building FROM classroom WHERE capacity > 50", "query_toks": [ "SELECT", "DISTINCT", "building", "FROM", "classroom", "WHERE", "capacity", ">", "50" ], "query_toks_no_value": [ "select", "distinct", "building", "from", "classroom", "where", "capacity", ">", "value" ], "question_spider": "What are the distinct buildings with capacities of greater than 50?", "question": "哪些建筑的容量大于50?", "question_cspider": "哪些建筑的容量大于50?", "Harold": "BLEU = 0.00, 71.4/30.8/0.0/0.0 (BP=1.000, ratio=1.167, hyp_len=14, ref_len=12)", "question_toks": [ "容", "量", "超", "过", "5", "0", "的", "建", "筑", "物", "有", "哪", "些", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building != 'Lamberton'", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "!", "=", "'Lamberton", "'" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "!", "=", "value" ], "question_spider": "Count the number of rooms that are not in the Lamberton building.", "question": "不在“Lamberton”大厦的房间数量。", "question_cspider": "不在“Lamberton”大厦的房间数量。", "Harold": "BLEU = 14.53, 38.1/20.0/10.5/5.6 (BP=1.000, ratio=1.500, hyp_len=21, ref_len=14)", "question_toks": [ "计", "算", "不", "在", "L", "a", "m", "b", "e", "r", "t", "o", "n", "大", "楼", "中", "的", "房", "间", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building != 'Lamberton'", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "!", "=", "'Lamberton", "'" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "!", "=", "value" ], "question_spider": "How many classrooms are not in Lamberton?", "question": "不在“Lamberton”的房间有多少?", "question_cspider": "不在“Lamberton”的房间有多少?", "Harold": "BLEU = 0.00, 54.5/20.0/11.1/0.0 (BP=0.834, ratio=0.846, hyp_len=11, ref_len=13)", "question_toks": [ "兰", "伯", "顿", "没", "有", "多", "少", "间", "教", "室", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 7, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , building FROM department WHERE budget > (SELECT avg(budget) FROM department)", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "WHERE", "budget", ">", "(", "SELECT", "avg", "(", "budget", ")", "FROM", "department", ")" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "where", "budget", ">", "(", "select", "avg", "(", "budget", ")", "from", "department", ")" ], "question_spider": "What is the name and building of the departments whose budget is more than the average budget?", "question": "预算高于平均预算的部门的名称和建筑是什么?", "question_cspider": "预算高于平均预算的部门的名称和建筑是什么?", "Harold": "BLEU = 63.64, 81.0/70.0/57.9/50.0 (BP=1.000, ratio=1.000, hyp_len=21, ref_len=21)", "question_toks": [ "预", "算", "超", "过", "平", "均", "预", "算", "的", "部", "门", "的", "名", "称", "和", "机", "构", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 6, 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": "college_2", "query": "SELECT dept_name , building FROM department WHERE budget > (SELECT avg(budget) FROM department)", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "WHERE", "budget", ">", "(", "SELECT", "avg", "(", "budget", ")", "FROM", "department", ")" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "where", "budget", ">", "(", "select", "avg", "(", "budget", ")", "from", "department", ")" ], "question_spider": "Give the name and building of the departments with greater than average budget.", "question": "给出预算大于平均预算的部门的名称和建筑。", "question_cspider": "给出预算大于平均预算的部门的名称和建筑。", "Harold": "BLEU = 23.26, 63.2/38.9/23.5/6.2 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)", "question_toks": [ "提", "供", "比", "平", "均", "预", "算", "高", "的", "部", "门", "名", "称", "和", "部", "门", "建", "设", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 6, 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": "college_2", "query": "SELECT building , room_number FROM classroom WHERE capacity BETWEEN 50 AND 100", "query_toks": [ "SELECT", "building", ",", "room_number", "FROM", "classroom", "WHERE", "capacity", "BETWEEN", "50", "AND", "100" ], "query_toks_no_value": [ "select", "building", ",", "room_number", "from", "classroom", "where", "capacity", "between", "value", "and", "value" ], "question_spider": "Find the room number of the rooms which can sit 50 to 100 students and their buildings.", "question": "查找可以容纳50到100名学生的房间的号码和建筑。", "question_cspider": "查找可以容纳50到100名学生的房间的号码和建筑。", "Harold": "BLEU = 42.10, 77.8/53.8/36.0/20.8 (BP=1.000, ratio=1.080, hyp_len=27, ref_len=25)", "question_toks": [ "查", "找", "可", "容", "纳", "5", "0", "至", "1", "0", "0", "名", "学", "生", "及", "其", "建", "筑", "物", "的", "房", "间", "的", "房", "间", "号", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 1, [ 0, [ 0, 3, false ], null ], 50, 100 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT building , room_number FROM classroom WHERE capacity BETWEEN 50 AND 100", "query_toks": [ "SELECT", "building", ",", "room_number", "FROM", "classroom", "WHERE", "capacity", "BETWEEN", "50", "AND", "100" ], "query_toks_no_value": [ "select", "building", ",", "room_number", "from", "classroom", "where", "capacity", "between", "value", "and", "value" ], "question_spider": "What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?", "question": "50到100个学生可以坐的教室号码和相应的建筑是什么?", "question_cspider": "50到100个学生可以坐的教室号码和相应的建筑是什么?", "Harold": "BLEU = 34.99, 73.3/48.3/28.6/14.8 (BP=1.000, ratio=1.111, hyp_len=30, ref_len=27)", "question_toks": [ "可", "容", "纳", "5", "0", "至", "1", "0", "0", "名", "学", "生", "的", "教", "室", "的", "房", "间", "号", "和", "相", "应", "的", "建", "筑", "物", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 1, false ], null ] ], [ 0, [ 0, [ 0, 2, false ], null ] ] ] ], "where": [ [ false, 1, [ 0, [ 0, 3, false ], null ], 50, 100 ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , building FROM department ORDER BY budget DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "ORDER", "BY", "budget", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "order", "by", "budget", "desc", "limit", "value" ], "question_spider": "Find the name and building of the department with the highest budget.", "question": "找到预算最高的部门的名称和建筑。", "question_cspider": "找到预算最高的部门的名称和建筑。", "Harold": "BLEU = 48.18, 80.0/57.1/46.2/33.3 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", "question_toks": [ "查", "找", "预", "算", "最", "高", "的", "部", "门", "名", "称", "和", "部", "门", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , building FROM department ORDER BY budget DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "ORDER", "BY", "budget", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "order", "by", "budget", "desc", "limit", "value" ], "question_spider": "What is the department name and corresponding building for the department with the greatest budget?", "question": "预算最大的部门的部门名称和相应的建筑是什么?", "question_cspider": "预算最大的部门的部门名称和相应的建筑是什么?", "Harold": "BLEU = 75.22, 91.3/81.8/71.4/60.0 (BP=1.000, ratio=1.045, hyp_len=23, ref_len=22)", "question_toks": [ "预", "算", "最", "大", "的", "部", "门", "的", "部", "门", "名", "称", "和", "对", "应", "的", "建", "筑", "物", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM student WHERE dept_name = 'History' ORDER BY tot_cred DESC LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "dept_name", "=", "'History", "'", "ORDER", "BY", "tot_cred", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "dept_name", "=", "value", "order", "by", "tot_cred", "desc", "limit", "value" ], "question_spider": "What is the name of the student who has the highest total credits in the History department.", "question": "“History”系总学分最高的学生叫什么名字?", "question_cspider": "“History”系总学分最高的学生叫什么名字?", "Harold": "BLEU = 46.10, 73.7/55.6/35.3/31.2 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", "question_toks": [ "历", "史", "部", "门", "总", "学", "分", "最", "高", "的", "学", "生", "的", "名", "字", "是", "什", "么", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM student WHERE dept_name = 'History' ORDER BY tot_cred DESC LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "dept_name", "=", "'History", "'", "ORDER", "BY", "tot_cred", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "dept_name", "=", "value", "order", "by", "tot_cred", "desc", "limit", "value" ], "question_spider": "Give the name of the student in the History department with the most credits.", "question": "给出最高学分的“History”系学生的名字。", "question_cspider": "给出最高学分的“History”系学生的名字。", "Harold": "BLEU = 0.00, 73.3/21.4/0.0/0.0 (BP=0.819, ratio=0.833, hyp_len=15, ref_len=18)", "question_toks": [ "在", "历", "史", "学", "系", "中", "给", "学", "生", "最", "多", "的", "学", "分", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building = 'Lamberton'", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "=", "'Lamberton", "'" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "=", "value" ], "question_spider": "How many rooms does the Lamberton building have?", "question": "“Lamberton”大楼有多少个房间?", "question_cspider": "“Lamberton”大楼有多少个房间?", "Harold": "BLEU = 28.29, 63.6/50.0/33.3/12.5 (BP=0.834, ratio=0.846, hyp_len=11, ref_len=13)", "question_toks": [ "兰", "伯", "顿", "大", "楼", "有", "几", "个", "房", "间", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building = 'Lamberton'", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "=", "'Lamberton", "'" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "=", "value" ], "question_spider": "Count the number of classrooms in Lamberton.", "question": "统计一下“Lamberton”的教室数量。", "question_cspider": "统计一下“Lamberton”的教室数量。", "Harold": "BLEU = 36.53, 63.6/50.0/44.4/37.5 (BP=0.761, ratio=0.786, hyp_len=11, ref_len=14)", "question_toks": [ "计", "算", "兰", "伯", "顿", "的", "教", "室", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT s_id) FROM advisor", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "s_id", ")", "FROM", "advisor" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "s_id", ")", "from", "advisor" ], "question_spider": "How many students have advisors?", "question": "有多少学生有顾问?", "question_cspider": "有多少学生有顾问?", "Harold": "BLEU = 61.05, 77.8/62.5/57.1/50.0 (BP=1.000, ratio=1.000, hyp_len=9, ref_len=9)", "question_toks": [ "有", "多", "少", "学", "生", "有", "导", "师", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 37, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT s_id) FROM advisor", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "s_id", ")", "FROM", "advisor" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "s_id", ")", "from", "advisor" ], "question_spider": "Count the number of students who have advisors.", "question": "统计有顾问的学生人数。", "question_cspider": "统计有顾问的学生人数。", "Harold": "BLEU = 49.62, 72.7/50.0/44.4/37.5 (BP=1.000, ratio=1.000, hyp_len=11, ref_len=11)", "question_toks": [ "计", "算", "有", "导", "师", "的", "学", "生", "人", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 37, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT dept_name) FROM course", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "dept_name", ")", "FROM", "course" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "dept_name", ")", "from", "course" ], "question_spider": "How many departments offer courses?", "question": "有多少院系提供课程?", "question_cspider": "有多少院系提供课程?", "Harold": "BLEU = 45.94, 77.8/62.5/42.9/33.3 (BP=0.895, ratio=0.900, hyp_len=9, ref_len=10)", "question_toks": [ "多", "少", "部", "门", "提", "供", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 9, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT dept_name) FROM course", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "dept_name", ")", "FROM", "course" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "dept_name", ")", "from", "course" ], "question_spider": "Count the number of departments which offer courses.", "question": "统计提供课程的院系的数量。", "question_cspider": "统计提供课程的院系的数量。", "Harold": "BLEU = 40.18, 75.0/54.5/40.0/22.2 (BP=0.920, ratio=0.923, hyp_len=12, ref_len=13)", "question_toks": [ "计", "算", "提", "供", "课", "程", "的", "部", "门", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 9, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT course_id) FROM course WHERE dept_name = 'Physics'", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "course_id", ")", "FROM", "course", "WHERE", "dept_name", "=", "'Physics", "'" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "course_id", ")", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "How many different courses offered by Physics department?", "question": "“Physics”系开设了多少门不同课程?", "question_cspider": "“Physics”系开设了多少门不同课程?", "Harold": "BLEU = 0.00, 71.4/38.5/8.3/0.0 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)", "question_toks": [ "物", "理", "系", "提", "供", "多", "少", "种", "不", "同", "的", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Physics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT course_id) FROM course WHERE dept_name = 'Physics'", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "course_id", ")", "FROM", "course", "WHERE", "dept_name", "=", "'Physics", "'" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "course_id", ")", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "Count the number of courses in the Physics department.", "question": "计算“Physics”系的课程数。", "question_cspider": "计算“Physics”系的课程数。", "Harold": "BLEU = 42.16, 90.9/60.0/33.3/25.0 (BP=0.913, ratio=0.917, hyp_len=11, ref_len=12)", "question_toks": [ "计", "算", "物", "理", "系", "的", "课", "程", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 7, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Physics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING count(*) = 2", "query_toks": [ "SELECT", "T1.title", "FROM", "course", "AS", "T1", "JOIN", "prereq", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "GROUP", "BY", "T2.course_id", "HAVING", "count", "(", "*", ")", "=", "2" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "course", "as", "t1", "join", "prereq", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "group", "by", "t2", ".", "course_id", "having", "count", "(", "*", ")", "=", "value" ], "question_spider": "Find the title of courses that have two prerequisites?", "question": "找到有两个预备课程的课程标题?", "question_cspider": "找到有两个预备课程的课程标题?", "Harold": "BLEU = 0.00, 58.8/43.8/26.7/0.0 (BP=1.000, ratio=1.133, hyp_len=17, ref_len=15)", "question_toks": [ "查", "找", "具", "有", "两", "个", "先", "决", "条", "件", "的", "课", "程", "的", "标", "题", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 45, false ] ], "having": [ [ false, 2, [ 0, [ 3, 0, false ], null ], 2, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING count(*) = 2", "query_toks": [ "SELECT", "T1.title", "FROM", "course", "AS", "T1", "JOIN", "prereq", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "GROUP", "BY", "T2.course_id", "HAVING", "count", "(", "*", ")", "=", "2" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "course", "as", "t1", "join", "prereq", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "group", "by", "t2", ".", "course_id", "having", "count", "(", "*", ")", "=", "value" ], "question_spider": "What are the titles for courses with two prerequisites?", "question": "有两个预备课程的课程名称是什么?", "question_cspider": "有两个预备课程的课程名称是什么?", "Harold": "BLEU = 28.93, 58.8/50.0/33.3/7.1 (BP=1.000, ratio=1.062, hyp_len=17, ref_len=16)", "question_toks": [ "有", "两", "个", "先", "决", "条", "件", "的", "课", "程", "的", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 45, false ] ], "having": [ [ false, 2, [ 0, [ 3, 0, false ], null ], 2, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title , T1.credits , T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.title", ",", "T1.credits", ",", "T1.dept_name", "FROM", "course", "AS", "T1", "JOIN", "prereq", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "GROUP", "BY", "T2.course_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "title", ",", "t1", ".", "credits", ",", "t1", ".", "dept_name", "from", "course", "as", "t1", "join", "prereq", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "group", "by", "t2", ".", "course_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "Find the title, credit, and department name of courses that have more than one prerequisites?", "question": "找到具有两个预备课程的课程的名称、学分和系名?", "question_cspider": "找到具有两个预备课程的课程的名称、学分和系名?", "Harold": "BLEU = 17.64, 56.0/29.2/13.0/4.5 (BP=1.000, ratio=1.087, hyp_len=25, ref_len=23)", "question_toks": [ "查", "找", "具", "有", "多", "个", "先", "决", "条", "件", "的", "课", "程", "的", "标", "题", ",", "学", "分", "和", "部", "门", "名", "称", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 45, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title , T1.credits , T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.title", ",", "T1.credits", ",", "T1.dept_name", "FROM", "course", "AS", "T1", "JOIN", "prereq", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "GROUP", "BY", "T2.course_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "title", ",", "t1", ".", "credits", ",", "t1", ".", "dept_name", "from", "course", "as", "t1", "join", "prereq", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "group", "by", "t2", ".", "course_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "What is the title, credit value, and department name for courses with more than one prerequisite?", "question": "有多于一个预备课程的课程的名称、学分值和系名是什么?", "question_cspider": "有多于一个预备课程的课程的名称、学分值和系名是什么?", "Harold": "BLEU = 29.90, 63.0/42.3/24.0/12.5 (BP=1.000, ratio=1.038, hyp_len=27, ref_len=26)", "question_toks": [ "具", "有", "多", "个", "先", "决", "条", "件", "的", "课", "程", "的", "标", "题", ",", "学", "分", "值", "和", "部", "门", "名", "称", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 45, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "How many courses that do not have prerequisite?", "question": "有多少课程没有预备课程?", "question_cspider": "有多少课程没有预备课程?", "Harold": "BLEU = 0.00, 70.0/44.4/12.5/0.0 (BP=0.819, ratio=0.833, hyp_len=10, ref_len=12)", "question_toks": [ "多", "少", "门", "没", "有", "先", "修", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "Count the number of courses without prerequisites.", "question": "计算无预备课程的课程数量。", "question_cspider": "计算无预备课程的课程数量。", "Harold": "BLEU = 39.35, 57.1/46.2/33.3/27.3 (BP=1.000, ratio=1.077, hyp_len=14, ref_len=13)", "question_toks": [ "计", "算", "没", "有", "先", "决", "条", "件", "的", "课", "程", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "Find the name of the courses that do not have any prerequisite?", "question": "找到没有任何预备课程的课程名称?", "question_cspider": "找到没有任何预备课程的课程名称?", "Harold": "BLEU = 46.89, 68.8/53.3/42.9/30.8 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)", "question_toks": [ "查", "找", "没", "有", "任", "何", "先", "决", "条", "件", "的", "课", "程", "名", "称", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "What are the titles of courses without prerequisites?", "question": "没有预备课程的课程名称是什么?", "question_cspider": "没有预备课程的课程名称是什么?", "Harold": "BLEU = 26.52, 60.0/42.9/23.1/8.3 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "没", "有", "先", "决", "条", "件", "的", "课", "程", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT COUNT (DISTINCT id) FROM teaches", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "id", ")", "FROM", "teaches" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "id", ")", "from", "teaches" ], "question_spider": "How many different instructors have taught some course?", "question": "有多少不同的老师教过一些课程?", "question_cspider": "有多少不同的老师教过一些课程?", "Harold": "BLEU = 57.74, 86.7/71.4/53.8/33.3 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "有", "多", "少", "不", "同", "的", "讲", "师", "教", "过", "某", "些", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 22, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT COUNT (DISTINCT id) FROM teaches", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "id", ")", "FROM", "teaches" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "id", ")", "from", "teaches" ], "question_spider": "Count the number of distinct instructors who have taught a course.", "question": "统计教授课程的不同教员的数量。", "question_cspider": "统计教授课程的不同教员的数量。", "Harold": "BLEU = 56.32, 68.4/55.6/52.9/50.0 (BP=1.000, ratio=1.267, hyp_len=19, ref_len=15)", "question_toks": [ "计", "算", "已", "经", "教", "过", "一", "门", "课", "程", "的", "不", "同", "教", "员", "的", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 22, true ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT sum(budget) FROM department WHERE dept_name = 'Marketing' OR dept_name = 'Finance'", "query_toks": [ "SELECT", "sum", "(", "budget", ")", "FROM", "department", "WHERE", "dept_name", "=", "'Marketing", "'", "OR", "dept_name", "=", "'Finance", "'" ], "query_toks_no_value": [ "select", "sum", "(", "budget", ")", "from", "department", "where", "dept_name", "=", "value", "or", "dept_name", "=", "value" ], "question_spider": "Find the total budgets of the Marketing or Finance department.", "question": "找到“Marketing”或“Finance”部门的总预算。", "question_cspider": "找到“Marketing”或“Finance”部门的总预算。", "Harold": "BLEU = 41.22, 81.2/53.3/35.7/30.8 (BP=0.882, ratio=0.889, hyp_len=16, ref_len=18)", "question_toks": [ "查", "找", "市", "场", "营", "销", "或", "财", "务", "部", "门", "的", "总", "预", "算", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Marketing\"", null ], "or", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Finance\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT sum(budget) FROM department WHERE dept_name = 'Marketing' OR dept_name = 'Finance'", "query_toks": [ "SELECT", "sum", "(", "budget", ")", "FROM", "department", "WHERE", "dept_name", "=", "'Marketing", "'", "OR", "dept_name", "=", "'Finance", "'" ], "query_toks_no_value": [ "select", "sum", "(", "budget", ")", "from", "department", "where", "dept_name", "=", "value", "or", "dept_name", "=", "value" ], "question_spider": "What is the sum of budgets of the Marketing and Finance departments?", "question": "“Marketing”或“Finance”部门预算的总和是多少?", "question_cspider": "“Marketing”或“Finance”部门预算的总和是多少?", "Harold": "BLEU = 34.49, 83.3/52.9/25.0/20.0 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)", "question_toks": [ "市", "场", "营", "销", "和", "财", "务", "部", "门", "的", "预", "算", "总", "和", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Marketing\"", null ], "or", [ false, 2, [ 0, [ 0, 4, false ], null ], "\"Finance\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'", "query_toks": [ "SELECT", "dept_name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "Soisalon", "%", "'" ], "query_toks_no_value": [ "select", "dept_name", "from", "instructor", "where", "name", "like", "value" ], "question_spider": "Find the department name of the instructor whose name contains 'Soisalon'.", "question": "找到名字包含“Soisalon”的教员的院系名称。", "question_cspider": "找到名字包含“Soisalon”的教员的院系名称。", "Harold": "BLEU = 0.00, 44.0/20.8/8.7/0.0 (BP=1.000, ratio=1.316, hyp_len=25, ref_len=19)", "question_toks": [ "查", "找", "名", "称", "包", "含", "“", " ", "S", "o", "i", "s", "a", "l", "o", "n", "”", "的", "讲", "师", "的", "部", "门", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"%Soisalon%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'", "query_toks": [ "SELECT", "dept_name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "Soisalon", "%", "'" ], "query_toks_no_value": [ "select", "dept_name", "from", "instructor", "where", "name", "like", "value" ], "question_spider": "What is the name of the department with an instructure who has a name like 'Soisalon'?", "question": "教员姓名包含“Soisalon”的部门叫什么?", "question_cspider": "教员姓名包含“Soisalon”的部门叫什么?", "Harold": "BLEU = 0.00, 30.0/13.8/7.1/0.0 (BP=1.000, ratio=1.765, hyp_len=30, ref_len=17)", "question_toks": [ "具", "有", "机", "构", "名", "称", "(", "例", "如", "“", " ", "S", "o", "i", "s", "a", "l", "o", "n", "”", ")", "的", "部", "门", "的", "名", "称", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"%Soisalon%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building = 'Lamberton' AND capacity < 50", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "=", "'Lamberton", "'", "AND", "capacity", "<", "50" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "=", "value", "and", "capacity", "<", "value" ], "question_spider": "How many rooms whose capacity is less than 50 does the Lamberton building have?", "question": "“Lamberton”大厦有多少房间容量小于50?", "question_cspider": "“Lamberton”大厦有多少房间容量小于50?", "Harold": "BLEU = 41.68, 68.4/50.0/35.3/25.0 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", "question_toks": [ "兰", "伯", "顿", "大", "楼", "有", "多", "少", "间", "容", "量", "小", "于", "5", "0", "的", "房", "间", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ], "and", [ false, 4, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) FROM classroom WHERE building = 'Lamberton' AND capacity < 50", "query_toks": [ "SELECT", "count", "(", "*", ")", "FROM", "classroom", "WHERE", "building", "=", "'Lamberton", "'", "AND", "capacity", "<", "50" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", "from", "classroom", "where", "building", "=", "value", "and", "capacity", "<", "value" ], "question_spider": "Count the number of rooms in Lamberton with capacity lower than 50.", "question": "统计“Lamberton”的容量低于50房间的数量。", "question_cspider": "统计“Lamberton”的容量低于50房间的数量。", "Harold": "BLEU = 26.49, 54.5/28.6/20.0/15.8 (BP=1.000, ratio=1.158, hyp_len=22, ref_len=19)", "question_toks": [ "计", "算", "L", "a", "m", "b", "e", "r", "t", "o", "n", "容", "量", "低", "于", "5", "0", "的", "房", "间", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 1, false ], null ], "\"Lamberton\"", null ], "and", [ false, 4, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , budget FROM department WHERE budget > (SELECT avg(budget) FROM department)", "query_toks": [ "SELECT", "dept_name", ",", "budget", "FROM", "department", "WHERE", "budget", ">", "(", "SELECT", "avg", "(", "budget", ")", "FROM", "department", ")" ], "query_toks_no_value": [ "select", "dept_name", ",", "budget", "from", "department", "where", "budget", ">", "(", "select", "avg", "(", "budget", ")", "from", "department", ")" ], "question_spider": "Find the name and budget of departments whose budgets are more than the average budget.", "question": "找出预算高于平均预算的部门的名称和预算。", "question_cspider": "找出预算高于平均预算的部门的名称和预算。", "Harold": "BLEU = 72.10, 85.0/73.7/66.7/64.7 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)", "question_toks": [ "查", "找", "预", "算", "超", "过", "平", "均", "预", "算", "的", "部", "门", "的", "名", "称", "和", "预", "算", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 6, 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": "college_2", "query": "SELECT dept_name , budget FROM department WHERE budget > (SELECT avg(budget) FROM department)", "query_toks": [ "SELECT", "dept_name", ",", "budget", "FROM", "department", "WHERE", "budget", ">", "(", "SELECT", "avg", "(", "budget", ")", "FROM", "department", ")" ], "query_toks_no_value": [ "select", "dept_name", ",", "budget", "from", "department", "where", "budget", ">", "(", "select", "avg", "(", "budget", ")", "from", "department", ")" ], "question_spider": "What are the names and budgets of departments with budgets greater than the average?", "question": "预算大于平均的部门的名称和预算是什么?", "question_cspider": "预算大于平均的部门的名称和预算是什么?", "Harold": "BLEU = 68.92, 85.7/75.0/63.2/55.6 (BP=1.000, ratio=1.105, hyp_len=21, ref_len=19)", "question_toks": [ "预", "算", "高", "于", "平", "均", "水", "平", "的", "部", "门", "的", "名", "称", "和", "预", "算", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 6, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 6, false ], null ], { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 6, 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": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Statistics", "'", "ORDER", "BY", "salary", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value", "order", "by", "salary", "limit", "value" ], "question_spider": "what is the name of the instructor who is in Statistics department and earns the lowest salary?", "question": "“statistics”系工资最低的教师叫什么名字?", "question_cspider": "“statistics”系工资最低的教师叫什么名字?", "Harold": "BLEU = 0.00, 57.9/27.8/5.9/0.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", "question_toks": [ "统", "计", "部", "门", "中", "薪", "水", "最", "低", "的", "讲", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Statistics", "'", "ORDER", "BY", "salary", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value", "order", "by", "salary", "limit", "value" ], "question_spider": "Give the name of the lowest earning instructor in the Statistics department.", "question": "给出“Statistics”系最低收入的导师的名字。", "question_cspider": "给出“Statistics”系最低收入的导师的名字。", "Harold": "BLEU = 0.00, 61.1/23.5/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)", "question_toks": [ "输", "入", "统", "计", "部", "门", "中", "收", "入", "最", "低", "的", "讲", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE dept_name = 'Statistics' INTERSECT SELECT title FROM course WHERE dept_name = 'Psychology'", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Statistics", "'", "INTERSECT", "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Psychology", "'" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "dept_name", "=", "value", "intersect", "select", "title", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "Find the title of course that is provided by both Statistics and Psychology departments.", "question": "找到由“statistics”和“Psychology”系共同提供的课程名称。", "question_cspider": "找到由“statistics”和“Psychology”系共同提供的课程名称。", "Harold": "BLEU = 35.05, 83.3/58.8/43.8/33.3 (BP=0.678, ratio=0.720, hyp_len=18, ref_len=25)", "question_toks": [ "查", "找", "统", "计", "和", "心", "理", "学", "部", "门", "提", "供", "的", "课", "程", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE dept_name = 'Statistics' INTERSECT SELECT title FROM course WHERE dept_name = 'Psychology'", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Statistics", "'", "INTERSECT", "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Psychology", "'" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "dept_name", "=", "value", "intersect", "select", "title", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "What is the title of a course that is listed in both the Statistics and Psychology departments?", "question": "“Statistics”和“Psychology”系都列出的课程名称是什么?", "question_cspider": "“Statistics”和“Psychology”系都列出的课程名称是什么?", "Harold": "BLEU = 33.44, 78.9/55.6/35.3/18.8 (BP=0.810, ratio=0.826, hyp_len=19, ref_len=23)", "question_toks": [ "统", "计", "和", "心", "理", "学", "部", "门", "列", "出", "的", "课", "程", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology'", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Statistics", "'", "EXCEPT", "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Psychology", "'" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "dept_name", "=", "value", "except", "select", "title", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "Find the title of course that is provided by Statistics but not Psychology departments.", "question": "找到由“statistics”而不是“Psychology”系提供的课程名称。", "question_cspider": "找到由“statistics”而不是“Psychology”系提供的课程名称。", "Harold": "BLEU = 33.95, 60.7/44.4/30.8/16.0 (BP=1.000, ratio=1.120, hyp_len=28, ref_len=25)", "question_toks": [ "查", "找", "统", "计", "部", "门", "提", "供", "的", "课", "程", "名", "称", ",", "而", "不", "是", "心", "理", "学", "部", "门", "提", "供", "的", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology'", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Statistics", "'", "EXCEPT", "SELECT", "title", "FROM", "course", "WHERE", "dept_name", "=", "'Psychology", "'" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "dept_name", "=", "value", "except", "select", "title", "from", "course", "where", "dept_name", "=", "value" ], "question_spider": "What are the titles of courses that are in the Statistics department but not the Psychology department?", "question": "是“statistics”系而不是“Psychology”系的课程名称是什么?", "question_cspider": "是“statistics”系而不是“Psychology”系的课程名称是什么?", "Harold": "BLEU = 44.73, 94.4/76.5/56.2/46.7 (BP=0.678, ratio=0.720, hyp_len=18, ref_len=25)", "question_toks": [ "统", "计", "系", "而", "非", "心", "理", "学", "系", "的", "课", "程", "名", "称", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT id FROM teaches WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT id FROM teaches WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "EXCEPT", "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "id", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value", "except", "select", "id", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Find the id of instructors who taught a class in Fall 2009 but not in Spring 2010.", "question": "查找在2009年“Fall”而不是2010年“Spring”教课的老师的ID。", "question_cspider": "查找在2009年“Fall”而不是2010年“Spring”教课的老师的ID。", "Harold": "BLEU = 54.21, 86.2/67.9/55.6/46.2 (BP=0.871, ratio=0.879, hyp_len=29, ref_len=33)", "question_toks": [ "查", "找", "在", "2", "0", "0", "9", "年", "秋", "季", "而", "不", "是", "2", "0", "1", "0", "年", "春", "季", "授", "课", "的", "讲", "师", "的", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT id FROM teaches WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT id FROM teaches WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "EXCEPT", "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "id", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value", "except", "select", "id", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "What are the ids of instructors who taught in the Fall of 2009 but not in the Spring of 2010?", "question": "在2009年“Fall”而不是2010年“Spring”教书的老师的ID是什么?", "question_cspider": "在2009年“Fall”而不是2010年“Spring”教书的老师的ID是什么?", "Harold": "BLEU = 43.39, 76.7/55.2/42.9/33.3 (BP=0.875, ratio=0.882, hyp_len=30, ref_len=34)", "question_toks": [ "在", "2", "0", "0", "9", "年", "秋", "季", "而", "不", "是", "2", "0", "1", "0", "年", "春", "季", "授", "课", "的", "讲", "师", "的", "身", "分", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010", "query_toks": [ "SELECT", "DISTINCT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.id", "=", "T2.id", "WHERE", "YEAR", "=", "2009", "OR", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "name", "from", "student", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "year", "=", "value", "or", "year", "=", "value" ], "question_spider": "Find the name of students who took any class in the years of 2009 and 2010.", "question": "找出2009和2010年上课的学生名字。", "question_cspider": "找出2009和2010年上课的学生名字。", "Harold": "BLEU = 31.37, 60.7/37.0/26.9/16.0 (BP=1.000, ratio=1.400, hyp_len=28, ref_len=20)", "question_toks": [ "查", "找", "在", "2", "0", "0", "9", "年", "和", "2", "0", "1", "0", "年", "参", "加", "过", "任", "何", "课", "程", "的", "学", "生", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 31, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], 2009, null ], "or", [ false, 2, [ 0, [ 0, 35, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010", "query_toks": [ "SELECT", "DISTINCT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.id", "=", "T2.id", "WHERE", "YEAR", "=", "2009", "OR", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "distinct", "t1", ".", "name", "from", "student", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "year", "=", "value", "or", "year", "=", "value" ], "question_spider": "What are the names of the students who took classes in 2009 or 2010?", "question": "参加2009、2010年课程的学生的名字是什么?", "question_cspider": "参加2009、2010年课程的学生的名字是什么?", "Harold": "BLEU = 63.55, 83.3/69.6/59.1/47.6 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)", "question_toks": [ "在", "2", "0", "0", "9", "年", "或", "2", "0", "1", "0", "年", "上", "课", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 31, false ], null ] ] }, "select": [ true, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 35, false ], null ], 2009, null ], "or", [ false, 2, [ 0, [ 0, 35, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY count(*) DESC LIMIT 3", "query_toks": [ "SELECT", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "3" ], "query_toks_no_value": [ "select", "dept_name", "from", "course", "group", "by", "dept_name", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the names of the top 3 departments that provide the largest amount of courses?", "question": "找出提供最大课程量的前三个院系的名称?", "question_cspider": "找出提供最大课程量的前三个院系的名称?", "Harold": "BLEU = 0.00, 68.4/33.3/11.8/0.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", "question_toks": [ "查", "找", "提", "供", "最", "多", "课", "程", "的", "前", "3", "个", "部", "门", "的", "名", "称", "吗", "?" ], "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, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY count(*) DESC LIMIT 3", "query_toks": [ "SELECT", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "3" ], "query_toks_no_value": [ "select", "dept_name", "from", "course", "group", "by", "dept_name", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What are the names of the 3 departments with the most courses?", "question": "3个有最多课程的院系名称是什么?", "question_cspider": "3个有最多课程的院系名称是什么?", "Harold": "BLEU = 38.98, 75.0/46.7/28.6/23.1 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)", "question_toks": [ "课", "程", "最", "多", "的", "三", "个", "部", "门", "的", "名", "称", "是", "什", "么", "?" ], "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, [ 3, 0, false ], null ] ] ], "limit": 3, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name", "ORDER", "BY", "sum", "(", "credits", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "course", "group", "by", "dept_name", "order", "by", "sum", "(", "credits", ")", "desc", "limit", "value" ], "question_spider": "Find the name of the department that offers the highest total credits?", "question": "找出提供最高总学分的院系的名称?", "question_cspider": "找出提供最高总学分的院系的名称?", "Harold": "BLEU = 26.12, 78.6/46.2/25.0/9.1 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)", "question_toks": [ "查", "找", "总", "学", "分", "最", "高", "的", "部", "门", "的", "名", "称", "?" ], "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, 10, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name", "ORDER", "BY", "sum", "(", "credits", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "course", "group", "by", "dept_name", "order", "by", "sum", "(", "credits", ")", "desc", "limit", "value" ], "question_spider": "What is the name of the department with the most credits?", "question": "这个学分最多的院系叫什么名字?", "question_cspider": "这个学分最多的院系叫什么名字?", "Harold": "BLEU = 57.48, 84.6/75.0/63.6/50.0 (BP=0.857, ratio=0.867, hyp_len=13, ref_len=15)", "question_toks": [ "学", "分", "最", "多", "的", "部", "门", "叫", "什", "么", "名", "字", "?" ], "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, 10, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course ORDER BY title , credits", "query_toks": [ "SELECT", "title", "FROM", "course", "ORDER", "BY", "title", ",", "credits" ], "query_toks_no_value": [ "select", "title", "from", "course", "order", "by", "title", ",", "credits" ], "question_spider": "List the names of all courses ordered by their titles and credits.", "question": "按照他们名称和学分排序,列出所有课程的名称。", "question_cspider": "按照他们名称和学分排序,列出所有课程的名称。", "Harold": "BLEU = 47.18, 87.5/73.3/64.3/53.8 (BP=0.687, ratio=0.727, hyp_len=16, ref_len=22)", "question_toks": [ "按", "标", "题", "和", "学", "分", "列", "出", "所", "有", "课", "程", "的", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ], [ 0, [ 0, 10, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course ORDER BY title , credits", "query_toks": [ "SELECT", "title", "FROM", "course", "ORDER", "BY", "title", ",", "credits" ], "query_toks_no_value": [ "select", "title", "from", "course", "order", "by", "title", ",", "credits" ], "question_spider": "Given the titles of all courses, in order of titles and credits.", "question": "给出按名称和学分顺序排列的所有课程的名称。", "question_cspider": "给出按名称和学分顺序排列的所有课程的名称。", "Harold": "BLEU = 34.86, 72.7/42.9/30.0/15.8 (BP=1.000, ratio=1.048, hyp_len=22, ref_len=21)", "question_toks": [ "给", "定", "所", "有", "课", "程", "的", "标", "题", ",", "按", "标", "题", "和", "学", "分", "的", "顺", "序", "排", "列", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ], [ 0, [ 0, 10, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM department ORDER BY budget LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "department", "ORDER", "BY", "budget", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "department", "order", "by", "budget", "limit", "value" ], "question_spider": "Which department has the lowest budget?", "question": "哪个部门的预算最低?", "question_cspider": "哪个部门的预算最低?", "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)", "question_toks": [ "哪", "个", "部", "门", "的", "预", "算", "最", "低", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM department ORDER BY budget LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "department", "ORDER", "BY", "budget", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "department", "order", "by", "budget", "limit", "value" ], "question_spider": "Give the name of the department with the lowest budget.", "question": "给出最低预算的部门名称。", "question_cspider": "给出最低预算的部门名称。", "Harold": "BLEU = 55.80, 100.0/72.7/40.0/33.3 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", "question_toks": [ "给", "出", "预", "算", "最", "低", "的", "部", "门", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , building FROM department ORDER BY budget DESC", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "ORDER", "BY", "budget", "DESC" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "order", "by", "budget", "desc" ], "question_spider": "List the names and buildings of all departments sorted by the budget from large to small.", "question": "按预算从大到小列出所有部门的名称和建筑。", "question_cspider": "按预算从大到小列出所有部门的名称和建筑。", "Harold": "BLEU = 90.87, 95.2/90.0/89.5/88.9 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "按", "预", "算", "从", "大", "到", "小", "列", "出", "所", "有", "部", "门", "的", "名", "称", "和", "建", "筑", "物", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , building FROM department ORDER BY budget DESC", "query_toks": [ "SELECT", "dept_name", ",", "building", "FROM", "department", "ORDER", "BY", "budget", "DESC" ], "query_toks_no_value": [ "select", "dept_name", ",", "building", "from", "department", "order", "by", "budget", "desc" ], "question_spider": "What are the names and buildings of the deparments, sorted by budget descending?", "question": "按预算降序排列,部门的名称和建筑是什么?", "question_cspider": "按预算降序排列,部门的名称和建筑是什么?", "Harold": "BLEU = 68.92, 95.2/75.0/63.2/50.0 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "部", "门", "的", "名", "称", "和", "建", "筑", "物", "是", "什", "么", ",", "按", "预", "算", "降", "序", "排", "列", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 4, false ], null ] ], [ 0, [ 0, [ 0, 5, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor ORDER BY salary DESC LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "instructor", "ORDER", "BY", "salary", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "order", "by", "salary", "desc", "limit", "value" ], "question_spider": "Who is the instructor with the highest salary?", "question": "谁是最高工资的教练?", "question_cspider": "谁是最高工资的教练?", "Harold": "BLEU = 35.49, 80.0/55.6/25.0/14.3 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)", "question_toks": [ "谁", "是", "薪", "水", "最", "高", "的", "教", "练", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor ORDER BY salary DESC LIMIT 1", "query_toks": [ "SELECT", "name", "FROM", "instructor", "ORDER", "BY", "salary", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "order", "by", "salary", "desc", "limit", "value" ], "question_spider": "Give the name of the highest paid instructor.", "question": "给出最高薪的教员的名字。", "question_cspider": "给出最高薪的教员的名字。", "Harold": "BLEU = 49.74, 76.9/58.3/45.5/30.0 (BP=1.000, ratio=1.083, hyp_len=13, ref_len=12)", "question_toks": [ "给", "出", "最", "高", "薪", "水", "的", "老", "师", "的", "名", "字", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT * FROM instructor ORDER BY salary", "query_toks": [ "SELECT", "*", "FROM", "instructor", "ORDER", "BY", "salary" ], "query_toks_no_value": [ "select", "*", "from", "instructor", "order", "by", "salary" ], "question_spider": "List the information of all instructors ordered by their salary in ascending order.", "question": "按薪水递增顺序列出所有教员的信息。", "question_cspider": "按薪水递增顺序列出所有教员的信息。", "Harold": "BLEU = 20.55, 62.5/33.3/14.3/7.7 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)", "question_toks": [ "列", "出", "按", "升", "序", "排", "列", "的", "所", "有", "讲", "师", "的", "信", "息", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT * FROM instructor ORDER BY salary", "query_toks": [ "SELECT", "*", "FROM", "instructor", "ORDER", "BY", "salary" ], "query_toks_no_value": [ "select", "*", "from", "instructor", "order", "by", "salary" ], "question_spider": "Give all information regarding instructors, in order of salary from least to greatest.", "question": "给出所有有关导师的信息,按照薪水从低到高的顺序排列。", "question_cspider": "给出所有有关导师的信息,按照薪水从低到高的顺序排列。", "Harold": "BLEU = 47.89, 83.3/56.5/40.9/38.1 (BP=0.920, ratio=0.923, hyp_len=24, ref_len=26)", "question_toks": [ "按", "照", "薪", "水", "从", "低", "到", "高", "的", "顺", "序", ",", "提", "供", "有", "关", "教", "员", "的", "所", "有", "信", "息", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 14, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , dept_name FROM student ORDER BY tot_cred", "query_toks": [ "SELECT", "name", ",", "dept_name", "FROM", "student", "ORDER", "BY", "tot_cred" ], "query_toks_no_value": [ "select", "name", ",", "dept_name", "from", "student", "order", "by", "tot_cred" ], "question_spider": "Find the name of the students and their department names sorted by their total credits in ascending order.", "question": "按学分总数按升序排列学生姓名和院系名。", "question_cspider": "按学分总数按升序排列学生姓名和院系名。", "Harold": "BLEU = 17.21, 57.7/28.0/12.5/4.3 (BP=1.000, ratio=1.368, hyp_len=26, ref_len=19)", "question_toks": [ "查", "找", "学", "生", "的", "姓", "名", "和", "他", "们", "的", "部", "门", "名", "称", ",", "按", "其", "总", "学", "分", "升", "序", "排", "列", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ], [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , dept_name FROM student ORDER BY tot_cred", "query_toks": [ "SELECT", "name", ",", "dept_name", "FROM", "student", "ORDER", "BY", "tot_cred" ], "query_toks_no_value": [ "select", "name", ",", "dept_name", "from", "student", "order", "by", "tot_cred" ], "question_spider": "What are the names of students and their respective departments, ordered by number of credits from least to greatest?", "question": "按学分从少到大的顺序排列的学生及其所属院系的名称是什么?", "question_cspider": "按学分从少到大的顺序排列的学生及其所属院系的名称是什么?", "Harold": "BLEU = 66.58, 92.6/76.9/64.0/50.0 (BP=0.964, ratio=0.964, hyp_len=27, ref_len=28)", "question_toks": [ "学", "生", "及", "其", "所", "属", "系", "的", "名", "称", "是", "什", "么", ",", "按", "学", "分", "从", "小", "到", "大", "的", "顺", "序", "排", "列", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ], [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title , T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.id = T3.id WHERE YEAR = 2008 ORDER BY T1.title", "query_toks": [ "SELECT", "T1.title", ",", "T3.name", "FROM", "course", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "JOIN", "instructor", "AS", "T3", "ON", "T2.id", "=", "T3.id", "WHERE", "YEAR", "=", "2008", "ORDER", "BY", "T1.title" ], "query_toks_no_value": [ "select", "t1", ".", "title", ",", "t3", ".", "name", "from", "course", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "join", "instructor", "as", "t3", "on", "t2", ".", "id", "=", "t3", ".", "id", "where", "year", "=", "value", "order", "by", "t1", ".", "title" ], "question_spider": "list in alphabetic order all course names and their instructors' names in year 2008.", "question": "按字母顺序列出2008年所有课程名称及其老师姓名。", "question_cspider": "按字母顺序列出2008年所有课程名称及其老师姓名。", "Harold": "BLEU = 78.48, 92.3/84.0/75.0/65.2 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)", "question_toks": [ "按", "字", "母", "顺", "序", "列", "出", "2", "0", "0", "8", "年", "的", "所", "有", "课", "程", "名", "称", "及", "其", "教", "师", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 23, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], 2008, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title , T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.id = T3.id WHERE YEAR = 2008 ORDER BY T1.title", "query_toks": [ "SELECT", "T1.title", ",", "T3.name", "FROM", "course", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "JOIN", "instructor", "AS", "T3", "ON", "T2.id", "=", "T3.id", "WHERE", "YEAR", "=", "2008", "ORDER", "BY", "T1.title" ], "query_toks_no_value": [ "select", "t1", ".", "title", ",", "t3", ".", "name", "from", "course", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "join", "instructor", "as", "t3", "on", "t2", ".", "id", "=", "t3", ".", "id", "where", "year", "=", "value", "order", "by", "t1", ".", "title" ], "question_spider": "Show all titles and their instructors' names for courses in 2008, in alphabetical order by title.", "question": "按照名称的字母顺序,显示2008年所有课程的名称和导师的姓名。", "question_cspider": "按照名称的字母顺序,显示2008年所有课程的名称和导师的姓名。", "Harold": "BLEU = 36.38, 67.7/46.7/31.0/17.9 (BP=1.000, ratio=1.000, hyp_len=31, ref_len=31)", "question_toks": [ "按", "字", "母", "顺", "序", "按", "字", "母", "顺", "序", "显", "示", "2", "0", "0", "8", "年", "课", "程", "的", "所", "有", "标", "题", "及", "其", "讲", "师", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 5 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 23, false ], null ], "and", [ false, 2, [ 0, [ 0, 22, false ], null ], [ 0, 11, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 26, false ], null ], 2008, null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.name", "FROM", "instructor", "AS", "T1", "JOIN", "advisor", "AS", "T2", "ON", "T1.id", "=", "T2.i_id", "GROUP", "BY", "T2.i_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "instructor", "as", "t1", "join", "advisor", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "i_id", "group", "by", "t2", ".", "i_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "Find the name of instructors who are advising more than one student.", "question": "找出指导一个以上学生的老师的名字。", "question_cspider": "找出指导一个以上学生的老师的名字。", "Harold": "BLEU = 0.00, 70.6/31.2/13.3/0.0 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "查", "找", "指", "导", "多", "个", "学", "生", "的", "指", "导", "老", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 38, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 38, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.name", "FROM", "instructor", "AS", "T1", "JOIN", "advisor", "AS", "T2", "ON", "T1.id", "=", "T2.i_id", "GROUP", "BY", "T2.i_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "instructor", "as", "t1", "join", "advisor", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "i_id", "group", "by", "t2", ".", "i_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "What are the names of instructors who advise more than one student?", "question": "指导一个以上学生的老师的名字是什么?", "question_cspider": "指导一个以上学生的老师的名字是什么?", "Harold": "BLEU = 41.95, 63.2/44.4/35.3/31.2 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", "question_toks": [ "为", "多", "个", "学", "生", "提", "供", "建", "议", "的", "讲", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 38, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 38, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id = T2.s_id GROUP BY T2.s_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "advisor", "AS", "T2", "ON", "T1.id", "=", "T2.s_id", "GROUP", "BY", "T2.s_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "student", "as", "t1", "join", "advisor", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "s_id", "group", "by", "t2", ".", "s_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "Find the name of the students who have more than one advisor?", "question": "找到有不止一个导师的学生的名字?", "question_cspider": "找到有不止一个导师的学生的名字?", "Harold": "BLEU = 18.85, 60.0/21.4/15.4/8.3 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", "question_toks": [ "查", "找", "拥", "有", "多", "个", "顾", "问", "的", "学", "生", "的", "姓", "名", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 37, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id = T2.s_id GROUP BY T2.s_id HAVING count(*) > 1", "query_toks": [ "SELECT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "advisor", "AS", "T2", "ON", "T1.id", "=", "T2.s_id", "GROUP", "BY", "T2.s_id", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "student", "as", "t1", "join", "advisor", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "s_id", "group", "by", "t2", ".", "s_id", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "What are the names of students who have more than one advisor?", "question": "有一个以上顾问的学生的名字是什么?", "question_cspider": "有一个以上顾问的学生的名字是什么?", "Harold": "BLEU = 65.91, 77.8/64.7/62.5/60.0 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)", "question_toks": [ "拥", "有", "不", "止", "一", "名", "顾", "问", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 8 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 37, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 37, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , building FROM classroom WHERE capacity > 50 GROUP BY building", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "building", "FROM", "classroom", "WHERE", "capacity", ">", "50", "GROUP", "BY", "building" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "building", "from", "classroom", "where", "capacity", ">", "value", "group", "by", "building" ], "question_spider": "Find the number of rooms with more than 50 capacity for each building.", "question": "找到每个容量超过50的建筑的房间数。", "question_cspider": "找到每个容量超过50的建筑的房间数。", "Harold": "BLEU = 56.96, 89.5/66.7/47.1/37.5 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", "question_toks": [ "查", "找", "每", "个", "建", "筑", "物", "的", "容", "量", "超", "过", "5", "0", "的", "房", "间", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , building FROM classroom WHERE capacity > 50 GROUP BY building", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "building", "FROM", "classroom", "WHERE", "capacity", ">", "50", "GROUP", "BY", "building" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "building", "from", "classroom", "where", "capacity", ">", "value", "group", "by", "building" ], "question_spider": "How many rooms in each building have a capacity of over 50?", "question": "每栋建筑有多少房间容量超过50?", "question_cspider": "每栋建筑有多少房间容量超过50?", "Harold": "BLEU = 0.00, 50.0/21.7/4.5/0.0 (BP=1.000, ratio=1.500, hyp_len=24, ref_len=16)", "question_toks": [ "每", "个", "建", "筑", "物", "中", "有", "多", "少", "个", "房", "间", "可", "容", "纳", "5", "0", "个", "以", "上", "的", "房", "间", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 3, false ], null ], 50, null ] ], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT max(capacity) , avg(capacity) , building FROM classroom GROUP BY building", "query_toks": [ "SELECT", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "FROM", "classroom", "GROUP", "BY", "building" ], "query_toks_no_value": [ "select", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building" ], "question_spider": "Find the maximum and average capacity among rooms in each building.", "question": "找出每个建筑物所有房间的最大和平均容量。", "question_cspider": "找出每个建筑物所有房间的最大和平均容量。", "Harold": "BLEU = 63.64, 81.0/70.0/57.9/50.0 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "查", "找", "每", "个", "建", "筑", "物", "的", "房", "间", "之", "间", "的", "最", "大", "和", "平", "均", "容", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ], [ 5, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT max(capacity) , avg(capacity) , building FROM classroom GROUP BY building", "query_toks": [ "SELECT", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "FROM", "classroom", "GROUP", "BY", "building" ], "query_toks_no_value": [ "select", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building" ], "question_spider": "What are the greatest and average capacity for rooms in each building?", "question": "每个楼房的最大和平均容量是多少?", "question_cspider": "每个楼房的最大和平均容量是多少?", "Harold": "BLEU = 44.90, 73.7/50.0/35.3/31.2 (BP=1.000, ratio=1.188, hyp_len=19, ref_len=16)", "question_toks": [ "每", "个", "建", "筑", "物", "中", "最", "大", "的", "房", "间", "平", "均", "容", "量", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, false ], null ] ], [ 5, [ 0, [ 0, 3, false ], null ] ], [ 0, [ 0, [ 0, 1, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 1, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course GROUP BY title HAVING count(*) > 1", "query_toks": [ "SELECT", "title", "FROM", "course", "GROUP", "BY", "title", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "title", "from", "course", "group", "by", "title", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "Find the title of the course that is offered by more than one department.", "question": "找到一个由不止一个院系提供的课程的标题。", "question_cspider": "找到一个由不止一个院系提供的课程的标题。", "Harold": "BLEU = 19.48, 57.1/30.8/25.0/18.2 (BP=0.651, ratio=0.700, hyp_len=14, ref_len=20)", "question_toks": [ "查", "找", "多", "个", "部", "门", "提", "供", "的", "课", "程", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 8, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course GROUP BY title HAVING count(*) > 1", "query_toks": [ "SELECT", "title", "FROM", "course", "GROUP", "BY", "title", "HAVING", "count", "(", "*", ")", ">", "1" ], "query_toks_no_value": [ "select", "title", "from", "course", "group", "by", "title", "having", "count", "(", "*", ")", ">", "value" ], "question_spider": "What are the titles of courses that are offered in more than one department?", "question": "不止一个院系提供的课程名称是什么?", "question_cspider": "不止一个院系提供的课程名称是什么?", "Harold": "BLEU = 65.16, 76.5/68.8/60.0/57.1 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "一", "个", "以", "上", "部", "门", "提", "供", "的", "课", "程", "名", "称", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 8, false ] ], "having": [ [ false, 3, [ 0, [ 3, 0, false ], null ], 1, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT sum(credits) , dept_name FROM course GROUP BY dept_name", "query_toks": [ "SELECT", "sum", "(", "credits", ")", ",", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name" ], "query_toks_no_value": [ "select", "sum", "(", "credits", ")", ",", "dept_name", "from", "course", "group", "by", "dept_name" ], "question_spider": "Find the total credits of courses provided by different department.", "question": "查找不同院系提供的课程总学分。", "question_cspider": "查找不同院系提供的课程总学分。", "Harold": "BLEU = 53.73, 81.2/66.7/50.0/30.8 (BP=1.000, ratio=1.067, hyp_len=16, ref_len=15)", "question_toks": [ "查", "找", "不", "同", "部", "门", "提", "供", "的", "课", "程", "的", "总", "学", "分", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT sum(credits) , dept_name FROM course GROUP BY dept_name", "query_toks": [ "SELECT", "sum", "(", "credits", ")", ",", "dept_name", "FROM", "course", "GROUP", "BY", "dept_name" ], "query_toks_no_value": [ "select", "sum", "(", "credits", ")", ",", "dept_name", "from", "course", "group", "by", "dept_name" ], "question_spider": "How many total credits are offered by each department?", "question": "每个部门总共提供多少学分?", "question_cspider": "每个部门总共提供多少学分?", "Harold": "BLEU = 49.05, 100.0/72.7/50.0/22.2 (BP=0.920, ratio=0.923, hyp_len=12, ref_len=13)", "question_toks": [ "每", "个", "部", "门", "提", "供", "多", "少", "总", "学", "分", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 4, [ 0, [ 0, 10, false ], null ] ], [ 0, [ 0, [ 0, 9, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 9, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT min(salary) , dept_name FROM instructor GROUP BY dept_name HAVING avg(salary) > (SELECT avg(salary) FROM instructor)", "query_toks": [ "SELECT", "min", "(", "salary", ")", ",", "dept_name", "FROM", "instructor", "GROUP", "BY", "dept_name", "HAVING", "avg", "(", "salary", ")", ">", "(", "SELECT", "avg", "(", "salary", ")", "FROM", "instructor", ")" ], "query_toks_no_value": [ "select", "min", "(", "salary", ")", ",", "dept_name", "from", "instructor", "group", "by", "dept_name", "having", "avg", "(", "salary", ")", ">", "(", "select", "avg", "(", "salary", ")", "from", "instructor", ")" ], "question_spider": "Find the minimum salary for the departments whose average salary is above the average payment of all instructors.", "question": "找出平均工资高于所有教师平均工资的院系的最低工资。", "question_cspider": "找出平均工资高于所有教师平均工资的院系的最低工资。", "Harold": "BLEU = 65.23, 84.0/70.8/60.9/50.0 (BP=1.000, ratio=1.000, hyp_len=25, ref_len=25)", "question_toks": [ "查", "找", "平", "均", "工", "资", "高", "于", "所", "有", "讲", "师", "平", "均", "工", "资", "的", "部", "门", "的", "最", "低", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 14, false ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [ [ false, 3, [ 0, [ 5, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT min(salary) , dept_name FROM instructor GROUP BY dept_name HAVING avg(salary) > (SELECT avg(salary) FROM instructor)", "query_toks": [ "SELECT", "min", "(", "salary", ")", ",", "dept_name", "FROM", "instructor", "GROUP", "BY", "dept_name", "HAVING", "avg", "(", "salary", ")", ">", "(", "SELECT", "avg", "(", "salary", ")", "FROM", "instructor", ")" ], "query_toks_no_value": [ "select", "min", "(", "salary", ")", ",", "dept_name", "from", "instructor", "group", "by", "dept_name", "having", "avg", "(", "salary", ")", ">", "(", "select", "avg", "(", "salary", ")", "from", "instructor", ")" ], "question_spider": "What is the lowest salary in departments with average salary greater than the overall average.", "question": "平均工资高于总平均水平的院系最低工资是多少?", "question_cspider": "平均工资高于总平均水平的院系最低工资是多少?", "Harold": "BLEU = 47.11, 65.4/52.0/41.7/34.8 (BP=1.000, ratio=1.182, hyp_len=26, ref_len=22)", "question_toks": [ "在", "平", "均", "工", "资", "高", "于", "整", "体", "平", "均", "工", "资", "的", "部", "门", "中", ",", "最", "低", "工", "资", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 14, false ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [ [ false, 3, [ 0, [ 5, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , semester , YEAR FROM SECTION GROUP BY semester , YEAR", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "semester", ",", "YEAR", "FROM", "SECTION", "GROUP", "BY", "semester", ",", "YEAR" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "semester", ",", "year", "from", "section", "group", "by", "semester", ",", "year" ], "question_spider": "Find the number of courses provided in each semester and year.", "question": "查找每学期和一年提供的课程数量。", "question_cspider": "查找每学期和一年提供的课程数量。", "Harold": "BLEU = 64.23, 88.2/75.0/60.0/42.9 (BP=1.000, ratio=1.062, hyp_len=17, ref_len=16)", "question_toks": [ "查", "找", "每", "个", "学", "期", "和", "每", "年", "提", "供", "的", "课", "程", "数", "量", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 17, false ], [ 0, 18, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , semester , YEAR FROM SECTION GROUP BY semester , YEAR", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "semester", ",", "YEAR", "FROM", "SECTION", "GROUP", "BY", "semester", ",", "YEAR" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "semester", ",", "year", "from", "section", "group", "by", "semester", ",", "year" ], "question_spider": "How many courses are provided in each semester and year?", "question": "每学期和一年提供多少课程?", "question_cspider": "每学期和一年提供多少课程?", "Harold": "BLEU = 41.37, 80.0/57.1/38.5/16.7 (BP=1.000, ratio=1.154, hyp_len=15, ref_len=13)", "question_toks": [ "每", "个", "学", "期", "和", "学", "年", "提", "供", "多", "少", "门", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 17, false ], [ 0, 18, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "YEAR", "FROM", "SECTION", "GROUP", "BY", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "year", "from", "section", "group", "by", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the year which offers the largest number of courses.", "question": "找出课程数量最多的一年。", "question_cspider": "找出课程数量最多的一年。", "Harold": "BLEU = 0.00, 66.7/18.2/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", "question_toks": [ "查", "找", "提", "供", "最", "多", "课", "程", "的", "年", "份", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "YEAR", "FROM", "SECTION", "GROUP", "BY", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "year", "from", "section", "group", "by", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Which year had the greatest number of courses?", "question": "哪一年课程最多?", "question_cspider": "哪一年课程最多?", "Harold": "BLEU = 0.00, 72.7/50.0/22.2/0.0 (BP=1.000, ratio=1.375, hyp_len=11, ref_len=8)", "question_toks": [ "哪", "一", "年", "的", "课", "程", "数", "量", "最", "多", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 18, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT semester , YEAR FROM SECTION GROUP BY semester , YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "semester", ",", "YEAR", "FROM", "SECTION", "GROUP", "BY", "semester", ",", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "semester", ",", "year", "from", "section", "group", "by", "semester", ",", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the year and semester when offers the largest number of courses.", "question": "找到课程数量最多的年度和学期。", "question_cspider": "找到课程数量最多的年度和学期。", "Harold": "BLEU = 26.76, 80.0/50.0/15.4/8.3 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "找", "到", "提", "供", "最", "多", "课", "程", "的", "年", "份", "和", "学", "期", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 17, false ], [ 0, 18, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT semester , YEAR FROM SECTION GROUP BY semester , YEAR ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "semester", ",", "YEAR", "FROM", "SECTION", "GROUP", "BY", "semester", ",", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "semester", ",", "year", "from", "section", "group", "by", "semester", ",", "year", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What is the year and semester with the most courses?", "question": "最多的课程年度和学期是什么?", "question_cspider": "最多的课程年度和学期是什么?", "Harold": "BLEU = 0.00, 92.9/46.2/16.7/0.0 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)", "question_toks": [ "什", "么", "是", "课", "程", "最", "多", "的", "学", "年", "和", "学", "期", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 17, false ], [ 0, 18, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM student GROUP BY dept_name ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "student", "GROUP", "BY", "dept_name", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "student", "group", "by", "dept_name", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "Find the name of department has the highest amount of students?", "question": "查找学生数量最多的院系名称?", "question_cspider": "查找学生数量最多的院系名称?", "Harold": "BLEU = 0.00, 75.0/36.4/10.0/0.0 (BP=0.846, ratio=0.857, hyp_len=12, ref_len=14)", "question_toks": [ "找", "出", "部", "门", "名", "称", "最", "多", "的", "学", "生", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 29, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM student GROUP BY dept_name ORDER BY count(*) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "student", "GROUP", "BY", "dept_name", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "student", "group", "by", "dept_name", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ], "question_spider": "What is the name of the deparment with the highest enrollment?", "question": "招生最多的院系名字是什么?", "question_cspider": "招生最多的院系名字是什么?", "Harold": "BLEU = 0.00, 50.0/15.4/0.0/0.0 (BP=1.000, ratio=1.077, hyp_len=14, ref_len=13)", "question_toks": [ "入", "学", "率", "最", "高", "的", "部", "门", "叫", "什", "么", "名", "字", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 29, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , dept_name FROM student GROUP BY dept_name", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "dept_name", "FROM", "student", "GROUP", "BY", "dept_name" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "dept_name", "from", "student", "group", "by", "dept_name" ], "question_spider": "Find the total number of students in each department.", "question": "找到每个院系的学生总数。", "question_cspider": "找到每个院系的学生总数。", "Harold": "BLEU = 48.33, 75.0/54.5/40.0/33.3 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", "question_toks": [ "查", "找", "每", "个", "部", "门", "的", "学", "生", "总", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 29, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(*) , dept_name FROM student GROUP BY dept_name", "query_toks": [ "SELECT", "count", "(", "*", ")", ",", "dept_name", "FROM", "student", "GROUP", "BY", "dept_name" ], "query_toks_no_value": [ "select", "count", "(", "*", ")", ",", "dept_name", "from", "student", "group", "by", "dept_name" ], "question_spider": "How many students are in each department?", "question": "每个院系有多少学生?", "question_cspider": "每个院系有多少学生?", "Harold": "BLEU = 71.89, 100.0/87.5/71.4/66.7 (BP=0.895, ratio=0.900, hyp_len=9, ref_len=10)", "question_toks": [ "每", "个", "系", "有", "多", "少", "学", "生", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 0, false ], null ] ], [ 0, [ 0, [ 0, 29, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 29, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT semester , YEAR FROM takes GROUP BY semester , YEAR ORDER BY count(*) LIMIT 1", "query_toks": [ "SELECT", "semester", ",", "YEAR", "FROM", "takes", "GROUP", "BY", "semester", ",", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "LIMIT", "1" ], "query_toks_no_value": [ "select", "semester", ",", "year", "from", "takes", "group", "by", "semester", ",", "year", "order", "by", "count", "(", "*", ")", "limit", "value" ], "question_spider": "Find the semester and year which has the least number of student taking any class.", "question": "找出上课学生人数最少的学期和年份。", "question_cspider": "找出上课学生人数最少的学期和年份。", "Harold": "BLEU = 49.53, 93.3/57.1/46.2/41.7 (BP=0.875, ratio=0.882, hyp_len=15, ref_len=17)", "question_toks": [ "找", "到", "上", "课", "人", "数", "最", "少", "的", "学", "期", "和", "学", "年", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ], [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 34, false ], [ 0, 35, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT semester , YEAR FROM takes GROUP BY semester , YEAR ORDER BY count(*) LIMIT 1", "query_toks": [ "SELECT", "semester", ",", "YEAR", "FROM", "takes", "GROUP", "BY", "semester", ",", "YEAR", "ORDER", "BY", "count", "(", "*", ")", "LIMIT", "1" ], "query_toks_no_value": [ "select", "semester", ",", "year", "from", "takes", "group", "by", "semester", ",", "year", "order", "by", "count", "(", "*", ")", "limit", "value" ], "question_spider": "Which semeseter and year had the fewest students?", "question": "哪个学期和年份的学生最少?", "question_cspider": "哪个学期和年份的学生最少?", "Harold": "BLEU = 68.51, 92.3/75.0/63.6/50.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", "question_toks": [ "哪", "个", "学", "期", "和", "一", "年", "的", "学", "生", "最", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 34, false ], null ] ], [ 0, [ 0, [ 0, 35, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 34, false ], [ 0, 35, false ] ], "having": [], "orderBy": [ "asc", [ [ 0, [ 3, 0, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'", "query_toks": [ "SELECT", "i_id", "FROM", "advisor", "AS", "T1", "JOIN", "student", "AS", "T2", "ON", "T1.s_id", "=", "T2.id", "WHERE", "T2.dept_name", "=", "'History", "'" ], "query_toks_no_value": [ "select", "i_id", "from", "advisor", "as", "t1", "join", "student", "as", "t2", "on", "t1", ".", "s_id", "=", "t2", ".", "id", "where", "t2", ".", "dept_name", "=", "value" ], "question_spider": "What is the id of the instructor who advises of all students from History department?", "question": "指导“History”系所有学生的教师的ID是什么?", "question_cspider": "指导“History”系所有学生的教师的ID是什么?", "Harold": "BLEU = 50.14, 85.0/57.9/44.4/35.3 (BP=0.951, ratio=0.952, hyp_len=20, ref_len=21)", "question_toks": [ "指", "导", "历", "​", "​", "史", "系", "所", "有", "学", "生", "的", "讲", "师", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 38, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'", "query_toks": [ "SELECT", "i_id", "FROM", "advisor", "AS", "T1", "JOIN", "student", "AS", "T2", "ON", "T1.s_id", "=", "T2.id", "WHERE", "T2.dept_name", "=", "'History", "'" ], "query_toks_no_value": [ "select", "i_id", "from", "advisor", "as", "t1", "join", "student", "as", "t2", "on", "t1", ".", "s_id", "=", "t2", ".", "id", "where", "t2", ".", "dept_name", "=", "value" ], "question_spider": "Give id of the instructor who advises students in the History department.", "question": "给指导“History”系的学生的老师的ID。", "question_cspider": "给指导“History”系的学生的老师的ID。", "Harold": "BLEU = 40.05, 77.8/52.9/31.2/20.0 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)", "question_toks": [ "提", "供", "指", "导", "历", "史", "系", "学", "生", "的", "指", "导", "老", "师", "的", "I", "D", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 38, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name , T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History'", "query_toks": [ "SELECT", "T2.name", ",", "T2.salary", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'History", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "salary", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value" ], "question_spider": "Find the name and salary of the instructors who are advisors of any student from History department?", "question": "请问“History”系导师的姓名和薪水?", "question_cspider": "请问“History”系导师的姓名和薪水?", "Harold": "BLEU = 21.38, 47.6/25.0/15.8/11.1 (BP=1.000, ratio=1.312, hyp_len=21, ref_len=16)", "question_toks": [ "查", "找", "历", "史", "系", "任", "何", "学", "生", "的", "指", "导", "老", "师", "的", "姓", "名", "和", "工", "资", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name , T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History'", "query_toks": [ "SELECT", "T2.name", ",", "T2.salary", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'History", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "salary", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value" ], "question_spider": "What are the names and salaries of instructors who advises students in the History department?", "question": "给“History”系学生提供指导的教师的姓名和薪水是多少?", "question_cspider": "给“History”系学生提供指导的教师的姓名和薪水是多少?", "Harold": "BLEU = 50.54, 86.4/61.9/50.0/42.1 (BP=0.873, ratio=0.880, hyp_len=22, ref_len=25)", "question_toks": [ "指", "导", "历", "​", "​", "史", "系", "学", "生", "的", "讲", "师", "的", "姓", "名", "和", "薪", "水", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"History\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq", "query_toks": [ "SELECT", "course_id", "FROM", "course", "EXCEPT", "SELECT", "course_id", "FROM", "prereq" ], "query_toks_no_value": [ "select", "course_id", "from", "course", "except", "select", "course_id", "from", "prereq" ], "question_spider": "Find the id of the courses that do not have any prerequisite?", "question": "找到没有任何预备课程的课程的ID?", "question_cspider": "找到没有任何预备课程的课程的ID?", "Harold": "BLEU = 27.22, 68.8/46.7/28.6/7.7 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)", "question_toks": [ "查", "找", "没", "有", "任", "何", "先", "决", "条", "件", "的", "课", "程", "I", "D", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq", "query_toks": [ "SELECT", "course_id", "FROM", "course", "EXCEPT", "SELECT", "course_id", "FROM", "prereq" ], "query_toks_no_value": [ "select", "course_id", "from", "course", "except", "select", "course_id", "from", "prereq" ], "question_spider": "What are the ids of courses without prerequisites?", "question": "没有预备课程的课程的ID是什么?", "question_cspider": "没有预备课程的课程的ID是什么?", "Harold": "BLEU = 41.91, 73.3/57.1/38.5/25.0 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", "question_toks": [ "没", "有", "先", "决", "条", "件", "的", "课", "程", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 7, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "Find the name of the courses that do not have any prerequisite?", "question": "找到没有任何预备课程的课程名称?", "question_cspider": "找到没有任何预备课程的课程名称?", "Harold": "BLEU = 46.89, 68.8/53.3/42.9/30.8 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)", "question_toks": [ "查", "找", "没", "有", "任", "何", "先", "决", "条", "件", "的", "课", "程", "名", "称", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "NOT", "IN", "(", "SELECT", "course_id", "FROM", "prereq", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "not", "in", "(", "select", "course_id", "from", "prereq", ")" ], "question_spider": "What are the names of courses without prerequisites?", "question": "没有预备课程的课程名称是什么?", "question_cspider": "没有预备课程的课程名称是什么?", "Harold": "BLEU = 59.69, 73.3/64.3/53.8/50.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "没", "有", "先", "决", "条", "件", "的", "课", "程", "名", "称", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, 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": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.prereq_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'International", "Finance", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "prereq_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "What is the title of the prerequisite class of International Finance course?", "question": "“International Finance”课程的预备课程的名称是什么?", "question_cspider": "“国际金融\"课程的预备课程的名称是什么?", "Harold": "BLEU = 30.79, 76.5/50.0/33.3/14.3 (BP=0.838, ratio=0.850, hyp_len=17, ref_len=20)", "question_toks": [ "国", "际", "金", "融", "课", "程", "的", "必", "修", "课", "的", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 45, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"International Finance\"", 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": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.prereq_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'International", "Finance", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "prereq_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "Give the title of the prerequisite to the course International Finance.", "question": "给我“International Finance”课程的预备课程。", "question_cspider": "给我“International Finance”课程的预备课程。", "Harold": "BLEU = 41.12, 55.6/41.2/37.5/33.3 (BP=1.000, ratio=1.125, hyp_len=18, ref_len=16)", "question_toks": [ "授", "予", "“", "国", "际", "金", "融", "”", "课", "程", "前", "提", "条", "件", "的", "标", "题", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 45, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"International Finance\"", 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": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id = T2.course_id WHERE T2.title = 'Differential Geometry')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.course_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.prereq_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'Differential", "Geometry", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "course_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "prereq_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "Find the title of course whose prerequisite is course Differential Geometry.", "question": "找到预备课程是“Differential Geometry”的课程名称。", "question_cspider": "找到预备课程是“Differential Geometry”的课程名称。", "Harold": "BLEU = 22.25, 55.6/35.3/18.8/6.7 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)", "question_toks": [ "找", "到", "以", "“", "微", "分", "几", "何", "”", "为", "前", "提", "的", "课", "程", "标", "题", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 46, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Differential Geometry\"", 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": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id = T2.course_id WHERE T2.title = 'Differential Geometry')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.course_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.prereq_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'Differential", "Geometry", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "course_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "prereq_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "What is the title of the course with Differential Geometry as a prerequisite?", "question": "以“Differential Geometry”为预备课程的课程名称是什么?", "question_cspider": "以“Differential Geometry”为预备课程的课程名称是什么?", "Harold": "BLEU = 44.54, 65.0/57.9/44.4/23.5 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)", "question_toks": [ "以", "微", "分", "几", "何", "为", "前", "提", "条", "件", "的", "课", "程", "的", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 46, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 45, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Differential Geometry\"", 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": "college_2", "query": "SELECT name FROM student WHERE id IN (SELECT id FROM takes WHERE semester = 'Fall' AND YEAR = 2003)", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "id", "IN", "(", "SELECT", "id", "FROM", "takes", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2003", ")" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "id", "in", "(", "select", "id", "from", "takes", "where", "semester", "=", "value", "and", "year", "=", "value", ")" ], "question_spider": "Find the names of students who have taken any course in the fall semester of year 2003.", "question": "查找在2003年“Fall”上过任何课程的学生的姓名。", "question_cspider": "查找在2003年秋季学期上过任何课程的学生的姓名。", "Harold": "BLEU = 85.31, 92.3/88.0/83.3/78.3 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)", "question_toks": [ "查", "找", "在", "2", "0", "0", "3", "年", "秋", "季", "学", "期", "参", "加", "过", "任", "何", "课", "程", "的", "学", "生", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 31, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 34, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], 2003, 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": "college_2", "query": "SELECT name FROM student WHERE id IN (SELECT id FROM takes WHERE semester = 'Fall' AND YEAR = 2003)", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "id", "IN", "(", "SELECT", "id", "FROM", "takes", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2003", ")" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "id", "in", "(", "select", "id", "from", "takes", "where", "semester", "=", "value", "and", "year", "=", "value", ")" ], "question_spider": "What are the names of students who took a course in the Fall of 2003?", "question": "2003“Fall”选修过课程的学生的姓名是什么?", "question_cspider": "2003秋季选修过课程的学生的姓名是什么?", "Harold": "BLEU = 46.43, 77.3/57.1/40.0/26.3 (BP=1.000, ratio=1.048, hyp_len=22, ref_len=21)", "question_toks": [ "在", "2", "0", "0", "3", "年", "秋", "季", "参", "加", "课", "程", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 7 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 31, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 34, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 35, false ], null ], 2003, 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": "college_2", "query": "SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010", "query_toks": [ "SELECT", "T1.title", "FROM", "course", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "building", "=", "'Chandler", "'", "AND", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "course", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "building", "=", "value", "and", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010?", "question": "在2010年“Fall”学期,“Chandler”建筑学院提供的课程名称是什么?", "question_cspider": "在2010年秋季学期,“智远楼”建筑学院提供的课程名称是什么?", "Harold": "BLEU = 37.75, 63.0/50.0/40.0/29.2 (BP=0.862, ratio=0.871, hyp_len=27, ref_len=31)", "question_toks": [ "2", "0", "1", "0", "年", "秋", "季", "学", "期", "在", "钱", "德", "勒", "大", "厦", "开", "设", "的", "课", "程", "的", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Chandler\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010", "query_toks": [ "SELECT", "T1.title", "FROM", "course", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "building", "=", "'Chandler", "'", "AND", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "t1", ".", "title", "from", "course", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "building", "=", "value", "and", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Give the title of the course offered in Chandler during the Fall of 2010.", "question": "请给出2010“Fall”“Chandler”里提供课程的名称。", "question_cspider": "请给出2010秋季“智远楼”里提供课程的名称。", "Harold": "BLEU = 43.29, 63.6/52.4/40.0/31.6 (BP=0.956, ratio=0.957, hyp_len=22, ref_len=23)", "question_toks": [ "给", "出", "2", "0", "1", "0", "年", "秋", "季", "在", "钱", "德", "勒", "开", "设", "的", "课", "程", "的", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 19, false ], null ], "\"Chandler\"", null ], "and", [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'", "query_toks": [ "SELECT", "T1.name", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.id", "=", "T2.id", "JOIN", "course", "AS", "T3", "ON", "T2.course_id", "=", "T3.course_id", "WHERE", "T3.title", "=", "'C", "Programming", "'" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "join", "course", "as", "t3", "on", "t2", ".", "course_id", "=", "t3", ".", "course_id", "where", "t3", ".", "title", "=", "value" ], "question_spider": "Find the name of the instructors who taught C Programming course before.", "question": "找到以前教“C Programming”课程的老师的名字。", "question_cspider": "找到以前教“C Programming”课程的老师的名字。", "Harold": "BLEU = 0.00, 68.4/27.8/11.8/0.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", "question_toks": [ "查", "找", "之", "前", "曾", "教", "过", "C", "编", "程", "课", "程", "的", "讲", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"C Programming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'", "query_toks": [ "SELECT", "T1.name", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.id", "=", "T2.id", "JOIN", "course", "AS", "T3", "ON", "T2.course_id", "=", "T3.course_id", "WHERE", "T3.title", "=", "'C", "Programming", "'" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "join", "course", "as", "t3", "on", "t2", ".", "course_id", "=", "t3", ".", "course_id", "where", "t3", ".", "title", "=", "value" ], "question_spider": "What are the names of instructors who have taught C Programming courses?", "question": "教过“C Programming”课程的老师的名字是什么?", "question_cspider": "教过“C Programming”课程的老师的名字是什么?", "Harold": "BLEU = 53.83, 94.1/75.0/53.3/35.7 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)", "question_toks": [ "教", "过", "C", "编", "程", "课", "程", "的", "讲", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ], "and", [ false, 2, [ 0, [ 0, 23, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"C Programming\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name , T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math'", "query_toks": [ "SELECT", "T2.name", ",", "T2.salary", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'Math", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "salary", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value" ], "question_spider": "Find the name and salary of instructors who are advisors of the students from the Math department.", "question": "查找“Math”系学生的导师的姓名和薪水。", "question_cspider": "查找“Math”系学生的导师的姓名和薪水。", "Harold": "BLEU = 28.10, 66.7/40.0/21.1/11.1 (BP=1.000, ratio=1.105, hyp_len=21, ref_len=19)", "question_toks": [ "查", "找", "作", "为", "数", "学", "系", "学", "生", "顾", "问", "的", "教", "师", "的", "姓", "名", "和", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Math\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name , T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math'", "query_toks": [ "SELECT", "T2.name", ",", "T2.salary", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'Math", "'" ], "query_toks_no_value": [ "select", "t2", ".", "name", ",", "t2", ".", "salary", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value" ], "question_spider": "What are the names and salaries of instructors who advise students in the Math department?", "question": "给“Math”系的学生提供指导的老师的姓名和薪水是多少?", "question_cspider": "给“Math”系的学生提供指导的老师的姓名和薪水是多少?", "Harold": "BLEU = 46.33, 95.0/68.4/50.0/47.1 (BP=0.741, ratio=0.769, hyp_len=20, ref_len=26)", "question_toks": [ "指", "导", "数", "学", "系", "学", "生", "的", "讲", "师", "的", "姓", "名", "和", "薪", "水", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Math\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' ORDER BY T3.tot_cred", "query_toks": [ "SELECT", "T2.name", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'Math", "'", "ORDER", "BY", "T3.tot_cred" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value", "order", "by", "t3", ".", "tot_cred" ], "question_spider": "Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit.", "question": "根据学生的总学分对结果进行排序,查找“Math”系学生的导师姓名。", "question_cspider": "根据学生的总学分对结果进行排序,查找“Math”系学生的导师姓名。", "Harold": "BLEU = 38.40, 66.7/39.5/29.7/27.8 (BP=1.000, ratio=1.258, hyp_len=39, ref_len=31)", "question_toks": [ "从", "数", "学", "系", "中", "找", "到", "作", "为", "学", "生", "顾", "问", "的", "指", "导", "老", "师", "的", "姓", "名", ",", "然", "后", "按", "学", "生", "的", "总", "学", "分", "对", "结", "果", "进", "行", "排", "序", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Math\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' ORDER BY T3.tot_cred", "query_toks": [ "SELECT", "T2.name", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "WHERE", "T3.dept_name", "=", "'Math", "'", "ORDER", "BY", "T3.tot_cred" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "where", "t3", ".", "dept_name", "=", "value", "order", "by", "t3", ".", "tot_cred" ], "question_spider": "What are the names of all instructors who advise students in the math depart sorted by total credits of the student.", "question": "按学生学分总数排序,“Math”系学生的所有指导老师的姓名是什么?", "question_cspider": "按学生学分总数排序,“Math”系学生的所有指导老师的姓名是什么?", "Harold": "BLEU = 26.46, 78.6/51.9/23.1/8.0 (BP=0.898, ratio=0.903, hyp_len=28, ref_len=31)", "question_toks": [ "指", "导", "学", "生", "数", "学", "学", "习", "的", "所", "有", "教", "师", "的", "姓", "名", "是", "按", "学", "生", "的", "总", "学", "分", "排", "序", "的", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 29, false ], null ], "\"Math\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.prereq_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'Mobile", "Computing", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "prereq_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "What is the course title of the prerequisite of course Mobile Computing?", "question": "什么是“Mobile Computing”的预备课程?", "question_cspider": "什么是“Mobile Computing”的预备课程?", "Harold": "BLEU = 18.54, 57.9/27.8/11.8/6.2 (BP=1.000, ratio=1.267, hyp_len=19, ref_len=15)", "question_toks": [ "移", "动", "计", "算", "课", "程", "前", "提", "条", "件", "的", "课", "程", "标", "题", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 45, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Mobile Computing\"", 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": "college_2", "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing')", "query_toks": [ "SELECT", "title", "FROM", "course", "WHERE", "course_id", "IN", "(", "SELECT", "T1.prereq_id", "FROM", "prereq", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.title", "=", "'Mobile", "Computing", "'", ")" ], "query_toks_no_value": [ "select", "title", "from", "course", "where", "course_id", "in", "(", "select", "t1", ".", "prereq_id", "from", "prereq", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "title", "=", "value", ")" ], "question_spider": "What is the title of the course that is a prerequisite for Mobile Computing?", "question": "“Mobile Computing”的预备课程是什么?", "question_cspider": "“Mobile Computing”的预备课程是什么?", "Harold": "BLEU = 17.69, 50.0/23.5/12.5/6.7 (BP=1.000, ratio=1.200, hyp_len=18, ref_len=15)", "question_toks": [ "该", "课", "程", "的", "标", "题", "是", "移", "动", "计", "算", "的", "先", "决", "条", "件", "吗", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 7, false ], null ], { "from": { "table_units": [ [ "table_unit", 10 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 45, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"Mobile Computing\"", 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": "college_2", "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1", "query_toks": [ "SELECT", "T2.name", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "ORDER", "BY", "T3.tot_cred", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "order", "by", "t3", ".", "tot_cred", "desc", "limit", "value" ], "question_spider": "Find the name of instructor who is the advisor of the student who has the highest number of total credits.", "question": "找出总学分数最高的学生的导师姓名。", "question_cspider": "找出总学分数最高的学生的导师姓名。", "Harold": "BLEU = 25.48, 73.7/38.9/23.5/6.2 (BP=1.000, ratio=1.118, hyp_len=19, ref_len=17)", "question_toks": [ "找", "到", "总", "学", "分", "最", "多", "的", "学", "生", "的", "指", "导", "老", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1", "query_toks": [ "SELECT", "T2.name", "FROM", "advisor", "AS", "T1", "JOIN", "instructor", "AS", "T2", "ON", "T1.i_id", "=", "T2.id", "JOIN", "student", "AS", "T3", "ON", "T1.s_id", "=", "T3.id", "ORDER", "BY", "T3.tot_cred", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "t2", ".", "name", "from", "advisor", "as", "t1", "join", "instructor", "as", "t2", "on", "t1", ".", "i_id", "=", "t2", ".", "id", "join", "student", "as", "t3", "on", "t1", ".", "s_id", "=", "t3", ".", "id", "order", "by", "t3", ".", "tot_cred", "desc", "limit", "value" ], "question_spider": "What is the name of the instructor who advises the student with the greatest number of total credits?", "question": "总学分最多的学生的指导老师叫什么名字?", "question_cspider": "总学分最多的学生的指导老师叫什么名字?", "Harold": "BLEU = 51.27, 73.9/54.5/42.9/40.0 (BP=1.000, ratio=1.211, hyp_len=23, ref_len=19)", "question_toks": [ "指", "导", "学", "生", "获", "得", "最", "大", "学", "分", "总", "数", "的", "指", "导", "老", "师", "叫", "什", "么", "名", "字", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 8 ], [ "table_unit", 3 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 38, false ], null ], [ 0, 11, false ], null ], "and", [ false, 2, [ 0, [ 0, 37, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 30, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches)", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "id", "NOT", "IN", "(", "SELECT", "id", "FROM", "teaches", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "id", "not", "in", "(", "select", "id", "from", "teaches", ")" ], "question_spider": "Find the name of instructors who didn't teach any courses?", "question": "找到没有教授任何课程的老师的名字?", "question_cspider": "找到没有教授任何课程的老师的名字?", "Harold": "BLEU = 31.69, 70.6/37.5/26.7/14.3 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "找", "出", "没", "有", "教", "过", "任", "何", "课", "程", "的", "讲", "师", "姓", "名", "吗", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, 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": "college_2", "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches)", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "id", "NOT", "IN", "(", "SELECT", "id", "FROM", "teaches", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "id", "not", "in", "(", "select", "id", "from", "teaches", ")" ], "question_spider": "What are the names of instructors who didn't teach?", "question": "没有教书的老师的名字是什么?", "question_cspider": "没有教书的老师的名字是什么?", "Harold": "BLEU = 0.00, 69.2/33.3/9.1/0.0 (BP=0.926, ratio=0.929, hyp_len=13, ref_len=14)", "question_toks": [ "没", "有", "教", "过", "的", "教", "员", "叫", "什", "么", "名", "字", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, 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": "college_2", "query": "SELECT id FROM instructor EXCEPT SELECT id FROM teaches", "query_toks": [ "SELECT", "id", "FROM", "instructor", "EXCEPT", "SELECT", "id", "FROM", "teaches" ], "query_toks_no_value": [ "select", "id", "from", "instructor", "except", "select", "id", "from", "teaches" ], "question_spider": "Find the id of instructors who didn't teach any courses?", "question": "找到没有教授任何课程的老师的ID?", "question_cspider": "找到没有教授任何课程的老师的ID?", "Harold": "BLEU = 51.18, 82.4/62.5/46.7/28.6 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "查", "找", "没", "有", "教", "过", "任", "何", "课", "程", "的", "讲", "师", "的", "I", "D", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT id FROM instructor EXCEPT SELECT id FROM teaches", "query_toks": [ "SELECT", "id", "FROM", "instructor", "EXCEPT", "SELECT", "id", "FROM", "teaches" ], "query_toks_no_value": [ "select", "id", "from", "instructor", "except", "select", "id", "from", "teaches" ], "question_spider": "What are the ids of instructors who didnt' teach?", "question": "没有教书的教师有哪些ID?", "question_cspider": "没有教书的教师有哪些ID?", "Harold": "BLEU = 0.00, 40.0/21.4/7.7/0.0 (BP=1.000, ratio=1.154, hyp_len=15, ref_len=13)", "question_toks": [ "没", "有", "教", "过", "的", "教", "员", "的", "身", "份", "证", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 11, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches WHERE semester = 'Spring')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "id", "NOT", "IN", "(", "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "id", "not", "in", "(", "select", "id", "from", "teaches", "where", "semester", "=", "value", ")" ], "question_spider": "Find the names of instructors who didn't each any courses in any Spring semester.", "question": "找出那些“Spring”学期没有上过任何课程的老师的名字。", "question_cspider": "找出那些“Spring”学期没有上过任何课程的老师的名字。", "Harold": "BLEU = 32.34, 80.0/47.4/33.3/23.5 (BP=0.779, ratio=0.800, hyp_len=20, ref_len=25)", "question_toks": [ "查", "找", "在", "春", "季", "学", "期", "没", "有", "上", "任", "何", "课", "程", "的", "讲", "师", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", 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": "college_2", "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches WHERE semester = 'Spring')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "id", "NOT", "IN", "(", "SELECT", "id", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "id", "not", "in", "(", "select", "id", "from", "teaches", "where", "semester", "=", "value", ")" ], "question_spider": "What are the names of instructors who didn't teach courses in the Spring?", "question": "在“Spring”没有授课的老师的名字是什么?", "question_cspider": "在“Spring”没有授课的老师的名字是什么?", "Harold": "BLEU = 47.10, 88.2/62.5/40.0/35.7 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)", "question_toks": [ "在", "春", "季", "没", "有", "上", "课", "的", "讲", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 11, false ], null ], { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 22, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", 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": "college_2", "query": "SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY avg(salary) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "instructor", "GROUP", "BY", "dept_name", "ORDER", "BY", "avg", "(", "salary", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "instructor", "group", "by", "dept_name", "order", "by", "avg", "(", "salary", ")", "desc", "limit", "value" ], "question_spider": "Find the name of the department which has the highest average salary of professors.", "question": "找出教授平均工资最高的系名。", "question_cspider": "找出教授平均工资最高的系名。", "Harold": "BLEU = 24.21, 62.5/33.3/21.4/7.7 (BP=1.000, ratio=1.143, hyp_len=16, ref_len=14)", "question_toks": [ "找", "到", "教", "授", "平", "均", "薪", "水", "最", "高", "的", "部", "门", "名", "称", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 5, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY avg(salary) DESC LIMIT 1", "query_toks": [ "SELECT", "dept_name", "FROM", "instructor", "GROUP", "BY", "dept_name", "ORDER", "BY", "avg", "(", "salary", ")", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "dept_name", "from", "instructor", "group", "by", "dept_name", "order", "by", "avg", "(", "salary", ")", "desc", "limit", "value" ], "question_spider": "Which department has the highest average instructor salary?", "question": "哪个系的讲师平均工资最高?", "question_cspider": "哪个系的讲师平均工资最高?", "Harold": "BLEU = 57.58, 78.6/61.5/50.0/45.5 (BP=1.000, ratio=1.077, hyp_len=14, ref_len=13)", "question_toks": [ "哪", "个", "部", "门", "的", "教", "师", "平", "均", "工", "资", "最", "高", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [], "orderBy": [ "desc", [ [ 0, [ 5, 14, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT avg(T1.salary) , count(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1", "query_toks": [ "SELECT", "avg", "(", "T1.salary", ")", ",", "count", "(", "*", ")", "FROM", "instructor", "AS", "T1", "JOIN", "department", "AS", "T2", "ON", "T1.dept_name", "=", "T2.dept_name", "ORDER", "BY", "T2.budget", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "salary", ")", ",", "count", "(", "*", ")", "from", "instructor", "as", "t1", "join", "department", "as", "t2", "on", "t1", ".", "dept_name", "=", "t2", ".", "dept_name", "order", "by", "t2", ".", "budget", "desc", "limit", "value" ], "question_spider": "Find the number and averaged salary of all instructors who are in the department with the highest budget.", "question": "找出预算最高的系所有讲师的人数和平均工资。", "question_cspider": "找出预算最高的系所有讲师的人数和平均工资。", "Harold": "BLEU = 58.53, 78.3/63.6/52.4/45.0 (BP=1.000, ratio=1.095, hyp_len=23, ref_len=21)", "question_toks": [ "查", "找", "预", "算", "最", "高", "的", "部", "门", "中", "所", "有", "教", "师", "的", "人", "数", "和", "平", "均", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT avg(T1.salary) , count(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1", "query_toks": [ "SELECT", "avg", "(", "T1.salary", ")", ",", "count", "(", "*", ")", "FROM", "instructor", "AS", "T1", "JOIN", "department", "AS", "T2", "ON", "T1.dept_name", "=", "T2.dept_name", "ORDER", "BY", "T2.budget", "DESC", "LIMIT", "1" ], "query_toks_no_value": [ "select", "avg", "(", "t1", ".", "salary", ")", ",", "count", "(", "*", ")", "from", "instructor", "as", "t1", "join", "department", "as", "t2", "on", "t1", ".", "dept_name", "=", "t2", ".", "dept_name", "order", "by", "t2", ".", "budget", "desc", "limit", "value" ], "question_spider": "How many instructors are in the department with the highest budget, and what is their average salary?", "question": "预算最高的系里有多少名讲师,他们的平均工资是多少?", "question_cspider": "预算最高的系里有多少名讲师,他们的平均工资是多少?", "Harold": "BLEU = 61.81, 76.9/68.0/58.3/47.8 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)", "question_toks": [ "该", "部", "门", "中", "预", "算", "最", "高", "的", "教", "员", "有", "多", "少", ",", "他", "们", "的", "平", "均", "工", "资", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 1 ] ], "conds": [ [ false, 2, [ 0, [ 0, 13, false ], null ], [ 0, 4, false ], null ] ] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ], [ 3, [ 0, [ 0, 0, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "desc", [ [ 0, [ 0, 6, false ], null ] ] ], "limit": 1, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T3.title , T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT max(capacity) FROM classroom)", "query_toks": [ "SELECT", "T3.title", ",", "T3.credits", "FROM", "classroom", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.building", "=", "T2.building", "AND", "T1.room_number", "=", "T2.room_number", "JOIN", "course", "AS", "T3", "ON", "T2.course_id", "=", "T3.course_id", "WHERE", "T1.capacity", "=", "(", "SELECT", "max", "(", "capacity", ")", "FROM", "classroom", ")" ], "query_toks_no_value": [ "select", "t3", ".", "title", ",", "t3", ".", "credits", "from", "classroom", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "building", "=", "t2", ".", "building", "and", "t1", ".", "room_number", "=", "t2", ".", "room_number", "join", "course", "as", "t3", "on", "t2", ".", "course_id", "=", "t3", ".", "course_id", "where", "t1", ".", "capacity", "=", "(", "select", "max", "(", "capacity", ")", "from", "classroom", ")" ], "question_spider": "What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?", "question": "在最大的教室(容量最高)教的课程名称和学分是什么?", "question_cspider": "在最大的教室(容量最高)教的课程名称和学分是什么?", "Harold": "BLEU = 45.97, 67.9/55.6/42.3/28.0 (BP=1.000, ratio=1.120, hyp_len=28, ref_len=25)", "question_toks": [ "在", "最", "大", "的", "教", "室", "(", "容", "量", "最", "大", ")", "中", "讲", "授", "的", "课", "程", "的", "标", "题", "和", "学", "分", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 4 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 15, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, 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": "college_2", "query": "SELECT T3.title , T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT max(capacity) FROM classroom)", "query_toks": [ "SELECT", "T3.title", ",", "T3.credits", "FROM", "classroom", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.building", "=", "T2.building", "AND", "T1.room_number", "=", "T2.room_number", "JOIN", "course", "AS", "T3", "ON", "T2.course_id", "=", "T3.course_id", "WHERE", "T1.capacity", "=", "(", "SELECT", "max", "(", "capacity", ")", "FROM", "classroom", ")" ], "query_toks_no_value": [ "select", "t3", ".", "title", ",", "t3", ".", "credits", "from", "classroom", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "building", "=", "t2", ".", "building", "and", "t1", ".", "room_number", "=", "t2", ".", "room_number", "join", "course", "as", "t3", "on", "t2", ".", "course_id", "=", "t3", ".", "course_id", "where", "t1", ".", "capacity", "=", "(", "select", "max", "(", "capacity", ")", "from", "classroom", ")" ], "question_spider": "Give the title and credits for the course that is taught in the classroom with the greatest capacity.", "question": "给出在最大容量的课堂上教的课程的名称和学分。", "question_cspider": "给出在最大容量的课堂上教的课程的名称和学分。", "Harold": "BLEU = 20.28, 66.7/35.0/15.8/5.6 (BP=0.953, ratio=0.955, hyp_len=21, ref_len=22)", "question_toks": [ "在", "教", "室", "中", "以", "最", "大", "的", "能", "力", "给", "出", "课", "程", "的", "标", "题", "和", "学", "分", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 0 ], [ "table_unit", 4 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 1, false ], null ], [ 0, 19, false ], null ], "and", [ false, 2, [ 0, [ 0, 2, false ], null ], [ 0, 20, false ], null ], "and", [ false, 2, [ 0, [ 0, 15, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 8, false ], null ] ], [ 0, [ 0, [ 0, 10, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 3, false ], null ], { "from": { "table_units": [ [ "table_unit", 0 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 3, 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": "college_2", "query": "SELECT name FROM student WHERE id NOT IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "id", "NOT", "IN", "(", "SELECT", "T1.id", "FROM", "takes", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "id", "not", "in", "(", "select", "t1", ".", "id", "from", "takes", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "dept_name", "=", "value", ")" ], "question_spider": "Find the name of students who didn't take any course from Biology department.", "question": "查找没有选修“Biology”系课程的学生的名字。", "question_cspider": "查找没有选修“Biology”系课程的学生的名字。", "Harold": "BLEU = 30.08, 66.7/35.0/21.1/16.7 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)", "question_toks": [ "在", "生", "物", "系", "找", "到", "没", "有", "上", "过", "任", "何", "课", "程", "的", "学", "生", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 32, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 31, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Biology\"", 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": "college_2", "query": "SELECT name FROM student WHERE id NOT IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "student", "WHERE", "id", "NOT", "IN", "(", "SELECT", "T1.id", "FROM", "takes", "AS", "T1", "JOIN", "course", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T2.dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "student", "where", "id", "not", "in", "(", "select", "t1", ".", "id", "from", "takes", "as", "t1", "join", "course", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t2", ".", "dept_name", "=", "value", ")" ], "question_spider": "What are the names of students who haven't taken any Biology courses?", "question": "那些没有上过“Biology”系课程的学生的名字是什么?", "question_cspider": "那些没有上过“Biology”系课程的学生的名字是什么?", "Harold": "BLEU = 51.79, 66.7/60.0/52.6/50.0 (BP=0.909, ratio=0.913, hyp_len=21, ref_len=23)", "question_toks": [ "尚", "未", "参", "加", "任", "何", "生", "物", "学", "课", "程", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ true, 8, [ 0, [ 0, 27, false ], null ], { "from": { "table_units": [ [ "table_unit", 7 ], [ "table_unit", 2 ] ], "conds": [ [ false, 2, [ 0, [ 0, 32, false ], null ], [ 0, 7, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 31, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Biology\"", 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": "college_2", "query": "SELECT count(DISTINCT T2.id) , count(DISTINCT T3.id) , T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name GROUP BY T3.dept_name", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "T2.id", ")", ",", "count", "(", "DISTINCT", "T3.id", ")", ",", "T3.dept_name", "FROM", "department", "AS", "T1", "JOIN", "student", "AS", "T2", "ON", "T1.dept_name", "=", "T2.dept_name", "JOIN", "instructor", "AS", "T3", "ON", "T1.dept_name", "=", "T3.dept_name", "GROUP", "BY", "T3.dept_name" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "id", ")", ",", "count", "(", "distinct", "t3", ".", "id", ")", ",", "t3", ".", "dept_name", "from", "department", "as", "t1", "join", "student", "as", "t2", "on", "t1", ".", "dept_name", "=", "t2", ".", "dept_name", "join", "instructor", "as", "t3", "on", "t1", ".", "dept_name", "=", "t3", ".", "dept_name", "group", "by", "t3", ".", "dept_name" ], "question_spider": "Find the total number of students and total number of instructors for each department.", "question": "找出每个系的学生总数和教师总数。", "question_cspider": "找出每个系的学生总数和教师总数。", "Harold": "BLEU = 47.09, 76.5/56.2/40.0/28.6 (BP=1.000, ratio=1.062, hyp_len=17, ref_len=16)", "question_toks": [ "查", "找", "每", "个", "部", "门", "的", "学", "生", "总", "数", "和", "教", "员", "总", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 29, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 27, true ], null ] ], [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT count(DISTINCT T2.id) , count(DISTINCT T3.id) , T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name GROUP BY T3.dept_name", "query_toks": [ "SELECT", "count", "(", "DISTINCT", "T2.id", ")", ",", "count", "(", "DISTINCT", "T3.id", ")", ",", "T3.dept_name", "FROM", "department", "AS", "T1", "JOIN", "student", "AS", "T2", "ON", "T1.dept_name", "=", "T2.dept_name", "JOIN", "instructor", "AS", "T3", "ON", "T1.dept_name", "=", "T3.dept_name", "GROUP", "BY", "T3.dept_name" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "t2", ".", "id", ")", ",", "count", "(", "distinct", "t3", ".", "id", ")", ",", "t3", ".", "dept_name", "from", "department", "as", "t1", "join", "student", "as", "t2", "on", "t1", ".", "dept_name", "=", "t2", ".", "dept_name", "join", "instructor", "as", "t3", "on", "t1", ".", "dept_name", "=", "t3", ".", "dept_name", "group", "by", "t3", ".", "dept_name" ], "question_spider": "How many students and instructors are in each department?", "question": "每个系有多少学生和老师?", "question_cspider": "每个系有多少学生和老师?", "Harold": "BLEU = 69.98, 85.7/76.9/66.7/54.5 (BP=1.000, ratio=1.167, hyp_len=14, ref_len=12)", "question_toks": [ "每", "个", "系", "有", "多", "少", "学", "生", "和", "指", "导", "老", "师", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 1 ], [ "table_unit", 6 ], [ "table_unit", 3 ] ], "conds": [ [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 29, false ], null ], "and", [ false, 2, [ 0, [ 0, 4, false ], null ], [ 0, 13, false ], null ] ] }, "select": [ false, [ [ 3, [ 0, [ 0, 27, true ], null ] ], [ 3, [ 0, [ 0, 11, true ], null ] ], [ 0, [ 0, [ 0, 13, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id = T4.course_id WHERE T3.title = 'International Finance')", "query_toks": [ "SELECT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.id", "=", "T2.id", "WHERE", "T2.course_id", "IN", "(", "SELECT", "T4.prereq_id", "FROM", "course", "AS", "T3", "JOIN", "prereq", "AS", "T4", "ON", "T3.course_id", "=", "T4.course_id", "WHERE", "T3.title", "=", "'International", "Finance", "'", ")" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "student", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "t2", ".", "course_id", "in", "(", "select", "t4", ".", "prereq_id", "from", "course", "as", "t3", "join", "prereq", "as", "t4", "on", "t3", ".", "course_id", "=", "t4", ".", "course_id", "where", "t3", ".", "title", "=", "value", ")" ], "question_spider": "Find the name of students who have taken the prerequisite course of the course with title International Finance.", "question": "查找已经选修了“International Finance”的预备课程的学生的姓名。", "question_cspider": "查找已经选修了“International Finance”的预备课程的学生的姓名。", "Harold": "BLEU = 45.90, 63.3/55.2/42.9/29.6 (BP=1.000, ratio=1.200, hyp_len=30, ref_len=25)", "question_toks": [ "查", "找", "已", "参", "加", "该", "课", "程", "的", "前", "提", "课", "程", "且", "标", "题", "为", "“", "国", "际", "金", "融", "”", "的", "学", "生", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 31, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 32, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"International Finance\"", 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": "college_2", "query": "SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id = T4.course_id WHERE T3.title = 'International Finance')", "query_toks": [ "SELECT", "T1.name", "FROM", "student", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.id", "=", "T2.id", "WHERE", "T2.course_id", "IN", "(", "SELECT", "T4.prereq_id", "FROM", "course", "AS", "T3", "JOIN", "prereq", "AS", "T4", "ON", "T3.course_id", "=", "T4.course_id", "WHERE", "T3.title", "=", "'International", "Finance", "'", ")" ], "query_toks_no_value": [ "select", "t1", ".", "name", "from", "student", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "t2", ".", "course_id", "in", "(", "select", "t4", ".", "prereq_id", "from", "course", "as", "t3", "join", "prereq", "as", "t4", "on", "t3", ".", "course_id", "=", "t4", ".", "course_id", "where", "t3", ".", "title", "=", "value", ")" ], "question_spider": "What are the names of students who have taken the prerequisite for the course International Finance?", "question": "学过“International Finance”这门课程的预备课程的学生的名字是什么?", "question_cspider": "学过“International Finance”这门课程的预备课程的学生的名字是什么?", "Harold": "BLEU = 45.13, 73.9/59.1/47.6/40.0 (BP=0.840, ratio=0.852, hyp_len=23, ref_len=27)", "question_toks": [ "参", "加", "过", "国", "际", "金", "融", "课", "程", "前", "提", "条", "件", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 6 ], [ "table_unit", 7 ] ], "conds": [ [ false, 2, [ 0, [ 0, 27, false ], null ], [ 0, 31, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 8, [ 0, [ 0, 32, false ], null ], { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 10 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 45, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 46, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 8, false ], null ], "\"International Finance\"", 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": "college_2", "query": "SELECT name , salary FROM instructor WHERE salary < (SELECT avg(salary) FROM instructor WHERE dept_name = 'Physics')", "query_toks": [ "SELECT", "name", ",", "salary", "FROM", "instructor", "WHERE", "salary", "<", "(", "SELECT", "avg", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Physics", "'", ")" ], "query_toks_no_value": [ "select", "name", ",", "salary", "from", "instructor", "where", "salary", "<", "(", "select", "avg", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.", "question": "查找工资低于“Physics”系讲师平均工资的讲师的姓名和薪水。", "question_cspider": "查找工资低于“Physics”系讲师平均工资的讲师的姓名和薪水。", "Harold": "BLEU = 37.34, 75.0/48.1/26.9/20.0 (BP=1.000, ratio=1.037, hyp_len=28, ref_len=27)", "question_toks": [ "在", "物", "理", "部", "门", "中", "找", "到", "薪", "水", "低", "于", "教", "师", "平", "均", "工", "资", "的", "教", "师", "的", "姓", "名", "和", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Physics\"", 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": "college_2", "query": "SELECT name , salary FROM instructor WHERE salary < (SELECT avg(salary) FROM instructor WHERE dept_name = 'Physics')", "query_toks": [ "SELECT", "name", ",", "salary", "FROM", "instructor", "WHERE", "salary", "<", "(", "SELECT", "avg", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Physics", "'", ")" ], "query_toks_no_value": [ "select", "name", ",", "salary", "from", "instructor", "where", "salary", "<", "(", "select", "avg", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "What are the names and salaries for instructors who earn less than the average salary of instructors in the Physics department?", "question": "低于“Physics”系讲师的平均工资的讲师的姓名和薪水是多少?", "question_cspider": "低于“Physics”系讲师的平均工资的讲师的姓名和薪水是多少?", "Harold": "BLEU = 28.30, 66.7/38.5/20.0/12.5 (BP=1.000, ratio=1.000, hyp_len=27, ref_len=27)", "question_toks": [ "收", "入", "低", "于", "物", "理", "部", "门", "教", "师", "平", "均", "工", "资", "的", "教", "师", "的", "名", "字", "和", "薪", "水", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Physics\"", 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": "college_2", "query": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'", "query_toks": [ "SELECT", "T3.name", "FROM", "course", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "JOIN", "student", "AS", "T3", "ON", "T2.id", "=", "T3.id", "WHERE", "T1.dept_name", "=", "'Statistics", "'" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "course", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "join", "student", "as", "t3", "on", "t2", ".", "id", "=", "t3", ".", "id", "where", "t1", ".", "dept_name", "=", "value" ], "question_spider": "Find the name of students who took some course offered by Statistics department.", "question": "查找“statistics”系提供的课程名称。", "question_cspider": "查找“statistics”系提供的课程名称。", "Harold": "BLEU = 0.00, 54.5/23.8/5.0/0.0 (BP=1.000, ratio=1.375, hyp_len=22, ref_len=16)", "question_toks": [ "查", "找", "参", "加", "统", "计", "部", "门", "提", "供", "的", "某", "些", "课", "程", "的", "学", "生", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 7 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 32, false ], null ], "and", [ false, 2, [ 0, [ 0, 31, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'", "query_toks": [ "SELECT", "T3.name", "FROM", "course", "AS", "T1", "JOIN", "takes", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "JOIN", "student", "AS", "T3", "ON", "T2.id", "=", "T3.id", "WHERE", "T1.dept_name", "=", "'Statistics", "'" ], "query_toks_no_value": [ "select", "t3", ".", "name", "from", "course", "as", "t1", "join", "takes", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "join", "student", "as", "t3", "on", "t2", ".", "id", "=", "t3", ".", "id", "where", "t1", ".", "dept_name", "=", "value" ], "question_spider": "What are the names of students who have taken Statistics courses?", "question": "学习“statistics”学课程的学生的名字是什么?", "question_cspider": "学习“statistics”学课程的学生的名字是什么?", "Harold": "BLEU = 68.31, 88.2/87.5/80.0/71.4 (BP=0.838, ratio=0.850, hyp_len=17, ref_len=20)", "question_toks": [ "参", "加", "统", "计", "学", "课", "程", "的", "学", "生", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 7 ], [ "table_unit", 6 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 32, false ], null ], "and", [ false, 2, [ 0, [ 0, 31, false ], null ], [ 0, 27, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 28, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Statistics\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.building , T2.room_number , T2.semester , T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' ORDER BY T1.title", "query_toks": [ "SELECT", "T2.building", ",", "T2.room_number", ",", "T2.semester", ",", "T2.year", "FROM", "course", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T1.dept_name", "=", "'Psychology", "'", "ORDER", "BY", "T1.title" ], "query_toks_no_value": [ "select", "t2", ".", "building", ",", "t2", ".", "room_number", ",", "t2", ".", "semester", ",", "t2", ".", "year", "from", "course", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t1", ".", "dept_name", "=", "value", "order", "by", "t1", ".", "title" ], "question_spider": "Find the building, room number, semester and year of all courses offered by Psychology department sorted by course titles.", "question": "查找由“Psychology”系按课程名称分类的所有课程的大楼、房间号码、学期和年份。", "question_cspider": "查找由“Psychology”系按课程名称分类的所有课程的大楼、房间号码、学期和年份。", "Harold": "BLEU = 39.68, 70.3/50.0/34.3/20.6 (BP=1.000, ratio=1.028, hyp_len=37, ref_len=36)", "question_toks": [ "查", "找", "心", "理", "学", "系", "提", "供", "的", "所", "有", "课", "程", "的", "建", "筑", "物", ",", "房", "间", "号", ",", "学", "期", "和", "年", "份", ",", "并", "按", "课", "程", "名", "称", "排", "序", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 0, [ 0, [ 0, 20, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT T2.building , T2.room_number , T2.semester , T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' ORDER BY T1.title", "query_toks": [ "SELECT", "T2.building", ",", "T2.room_number", ",", "T2.semester", ",", "T2.year", "FROM", "course", "AS", "T1", "JOIN", "SECTION", "AS", "T2", "ON", "T1.course_id", "=", "T2.course_id", "WHERE", "T1.dept_name", "=", "'Psychology", "'", "ORDER", "BY", "T1.title" ], "query_toks_no_value": [ "select", "t2", ".", "building", ",", "t2", ".", "room_number", ",", "t2", ".", "semester", ",", "t2", ".", "year", "from", "course", "as", "t1", "join", "section", "as", "t2", "on", "t1", ".", "course_id", "=", "t2", ".", "course_id", "where", "t1", ".", "dept_name", "=", "value", "order", "by", "t1", ".", "title" ], "question_spider": "What are the building, room number, semester and year of courses in the Psychology department, sorted using course title?", "question": "按课程名称排序,“Psychology”系的课程的建筑、房间号码、学期和年份是什么?", "question_cspider": "按课程名称排序,“Psychology”系的课程的建筑、房间号码、学期和年份是什么?", "Harold": "BLEU = 21.21, 69.0/39.3/22.2/7.7 (BP=0.813, ratio=0.829, hyp_len=29, ref_len=35)", "question_toks": [ "心", "理", "学", "系", "按", "课", "程", "名", "称", "对", "建", "筑", "物", ",", "房", "间", "号", ",", "学", "期", "和", "学", "年", "进", "行", "了", "分", "类", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 2 ], [ "table_unit", 4 ] ], "conds": [ [ false, 2, [ 0, [ 0, 7, false ], null ], [ 0, 15, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 19, false ], null ] ], [ 0, [ 0, [ 0, 20, false ], null ] ], [ 0, [ 0, [ 0, 17, false ], null ] ], [ 0, [ 0, [ 0, 18, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 9, false ], null ], "\"Psychology\"", null ] ], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 8, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.'", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Comp", ".", "Sci", ".", "'" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value" ], "question_spider": "Find the names of all instructors in computer science department", "question": "查找“computer science”系所有讲师姓名。", "question_cspider": "查找“computer science”系所有讲师姓名。", "Harold": "BLEU = 0.00, 73.3/42.9/15.4/0.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", "question_toks": [ "查", "找", "计", "算", "机", "科", "学", "系", "所", "有", "教", "师", "的", "姓", "名" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Comp. Sci.\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.'", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Comp", ".", "Sci", ".", "'" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value" ], "question_spider": "What are the names of all instructors in the Comp. Sci. department?", "question": "“computer science”系中所有教员的名字是什么?", "question_cspider": "“computer science”系中所有教员的名字是什么?", "Harold": "BLEU = 41.18, 61.1/47.1/37.5/26.7 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)", "question_toks": [ "比", "赛", "中", "所", "有", "教", "练", "的", "名", "字", "是", "什", "么", "。", "科", "学", "部", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Comp. Sci.\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Comp", ".", "Sci", ".", "'", "AND", "salary", ">", "80000" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value", "and", "salary", ">", "value" ], "question_spider": "Find the names of all instructors in Comp. Sci. department with salary > 80000.", "question": "查找“computer science”系所有工资大于80000的所有讲师姓名。", "question_cspider": "查找“computer science”系所有工资大于80000的所有讲师姓名。", "Harold": "BLEU = 24.58, 53.3/34.5/17.9/11.1 (BP=1.000, ratio=1.111, hyp_len=30, ref_len=27)", "question_toks": [ "在", "C", "o", "m", "p", "中", "查", "找", "所", "有", "教", "师", "的", "姓", "名", "。", "科", "学", "工", "资", ">", " ", "8", "0", "0", "0", "0", "的", "部", "门", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Comp. Sci.\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 80000, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "dept_name", "=", "'Comp", ".", "Sci", ".", "'", "AND", "salary", ">", "80000" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "dept_name", "=", "value", "and", "salary", ">", "value" ], "question_spider": "What are the names of the instructors in the Comp. Sci. department who earn more than 80000?", "question": "“computer science”系收入高于80000的教员名字是什么?", "question_cspider": "“computer science”系收入高于80000的教员名字是什么?", "Harold": "BLEU = 29.11, 51.9/34.6/24.0/16.7 (BP=1.000, ratio=1.125, hyp_len=27, ref_len=24)", "question_toks": [ "比", "赛", "中", "讲", "师", "的", "名", "字", "是", "什", "么", "。", "科", "学", "部", "门", "的", "收", "入", "超", "过", "8", "0", "0", "0", "0", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Comp. Sci.\"", null ], "and", [ false, 3, [ 0, [ 0, 14, false ], null ], 80000, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID", "query_toks": [ "SELECT", "name", ",", "course_id", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.ID", "=", "T2.ID" ], "query_toks_no_value": [ "select", "name", ",", "course_id", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id" ], "question_spider": "Find the names of all instructors who have taught some course and the course_id.", "question": "找出教过一些课程的老师的名字和课程ID。", "question_cspider": "找出教过一些课程的老师的名字和课程ID。", "Harold": "BLEU = 0.00, 44.8/17.9/7.4/0.0 (BP=1.000, ratio=1.450, hyp_len=29, ref_len=20)", "question_toks": [ "查", "找", "曾", "教", "授", "过", "某", "门", "课", "程", "的", "所", "有", "讲", "师", "的", "姓", "名", "和", "c", "o", "u", "r", "s", "e", "_", "i", "d", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID", "query_toks": [ "SELECT", "name", ",", "course_id", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.ID", "=", "T2.ID" ], "query_toks_no_value": [ "select", "name", ",", "course_id", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id" ], "question_spider": "What are the names of all instructors who have taught a course, as well as the corresponding course id?", "question": "所有教过课程的老师的姓名以及相应的课程ID?", "question_cspider": "所有教过课程的老师的姓名以及相应的课程ID?", "Harold": "BLEU = 38.36, 70.4/46.2/32.0/20.8 (BP=1.000, ratio=1.227, hyp_len=27, ref_len=22)", "question_toks": [ "教", "授", "过", "某", "门", "课", "程", "的", "所", "有", "讲", "师", "的", "姓", "名", "和", "相", "应", "的", "课", "程", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'", "query_toks": [ "SELECT", "name", ",", "course_id", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.ID", "=", "T2.ID", "WHERE", "T1.dept_name", "=", "'Art", "'" ], "query_toks_no_value": [ "select", "name", ",", "course_id", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "t1", ".", "dept_name", "=", "value" ], "question_spider": "Find the names of all instructors in the Art department who have taught some course and the course_id.", "question": "查找所有教过某些课程的“Art”系讲师的姓名和所讲授的课程id。", "question_cspider": "查找所有教过某些课程的“Art”系讲师的姓名和所讲授的课程id。", "Harold": "BLEU = 27.98, 65.6/38.7/23.3/10.3 (BP=1.000, ratio=1.032, hyp_len=32, ref_len=31)", "question_toks": [ "在", "美", "术", "系", "找", "到", "所", "有", "教", "授", "过", "某", "门", "课", "程", "的", "讲", "师", "的", "姓", "名", "和", "c", "o", "u", "r", "s", "e", "_", "i", "d", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Art\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name , course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'", "query_toks": [ "SELECT", "name", ",", "course_id", "FROM", "instructor", "AS", "T1", "JOIN", "teaches", "AS", "T2", "ON", "T1.ID", "=", "T2.ID", "WHERE", "T1.dept_name", "=", "'Art", "'" ], "query_toks_no_value": [ "select", "name", ",", "course_id", "from", "instructor", "as", "t1", "join", "teaches", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "id", "where", "t1", ".", "dept_name", "=", "value" ], "question_spider": "What are the names of Art instructors who have taught a course, and the corresponding course id?", "question": "教过一门课的“Art”系讲师的姓名,以及相应的课程编号?", "question_cspider": "教过一门课的“Art”系讲师的姓名,以及相应的课程编号?", "Harold": "BLEU = 26.49, 60.0/34.5/21.4/11.1 (BP=1.000, ratio=1.111, hyp_len=30, ref_len=27)", "question_toks": [ "教", "过", "一", "门", "课", "程", "的", "美", "术", "指", "导", "老", "师", "的", "名", "字", "是", "什", "么", ",", "以", "及", "对", "应", "的", "课", "程", "I", "D", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ], [ "table_unit", 5 ] ], "conds": [ [ false, 2, [ 0, [ 0, 11, false ], null ], [ 0, 22, false ], null ] ] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ], [ 0, [ 0, [ 0, 23, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Art\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE name LIKE '%dar%'", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "dar", "%", "'" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "name", "like", "value" ], "question_spider": "Find the names of all instructors whose name includes the substring “m”.", "question": "找出姓名中含有“m”的所有讲师的姓名。", "question_cspider": "找出姓名中含有“m”的所有讲师的姓名。", "Harold": "BLEU = 39.72, 60.0/37.5/34.8/31.8 (BP=1.000, ratio=1.316, hyp_len=25, ref_len=19)", "question_toks": [ "查", "找", "名", "称", "中", "包", "含", "子", "字", "符", "串", "“", " ", "d", "a", "r", "”", "的", "所", "有", "讲", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"%dar%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE name LIKE '%dar%'", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "dar", "%", "'" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "name", "like", "value" ], "question_spider": "What are the names of all instructors with names that include \"dar\"?", "question": "含有“m”名字的所有讲师的名字是什么?", "question_cspider": "含有“m”名字的所有讲师的名字是什么?", "Harold": "BLEU = 43.08, 72.7/42.9/35.0/31.6 (BP=1.000, ratio=1.158, hyp_len=22, ref_len=19)", "question_toks": [ "所", "有", "名", "称", "中", "包", "含", "“", " ", "d", "a", "r", "”", "的", "讲", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 9, [ 0, [ 0, 12, false ], null ], "\"%dar%\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT DISTINCT name FROM instructor ORDER BY name", "query_toks": [ "SELECT", "DISTINCT", "name", "FROM", "instructor", "ORDER", "BY", "name" ], "query_toks_no_value": [ "select", "distinct", "name", "from", "instructor", "order", "by", "name" ], "question_spider": "List in alphabetic order the names of all distinct instructors.", "question": "按字母顺序列出所有不同讲师的姓名。", "question_cspider": "按字母顺序列出所有不同讲师的姓名。", "Harold": "BLEU = 82.82, 94.1/87.5/80.0/71.4 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", "question_toks": [ "按", "字", "母", "顺", "序", "列", "出", "所", "有", "不", "同", "教", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 12, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT DISTINCT name FROM instructor ORDER BY name", "query_toks": [ "SELECT", "DISTINCT", "name", "FROM", "instructor", "ORDER", "BY", "name" ], "query_toks_no_value": [ "select", "distinct", "name", "from", "instructor", "order", "by", "name" ], "question_spider": "List the distinct names of the instructors, ordered by name.", "question": "列出教员的不同姓名,按姓名顺序排列。", "question_cspider": "列出教员的不同姓名,按姓名顺序排列。", "Harold": "BLEU = 56.23, 93.8/66.7/57.1/46.2 (BP=0.882, ratio=0.889, hyp_len=16, ref_len=18)", "question_toks": [ "列", "出", "教", "师", "的", "不", "同", "姓", "名", ",", "按", "姓", "名", "排", "序", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [], "groupBy": [], "having": [], "orderBy": [ "asc", [ [ 0, [ 0, 12, false ], null ] ] ], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "UNION", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "union", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Find courses that ran in Fall 2009 or in Spring 2010.", "question": "查找2009“Fall”或2010“Spring”课程。", "question_cspider": "查找2009“Fall”或2010“Spring”课程。", "Harold": "BLEU = 35.14, 75.0/52.2/27.3/14.3 (BP=1.000, ratio=1.091, hyp_len=24, ref_len=22)", "question_toks": [ "查", "找", "在", "2", "0", "0", "9", "年", "秋", "季", "或", "2", "0", "1", "0", "年", "春", "季", "运", "行", "的", "课", "程", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "UNION", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "union", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "What are the ids for courses in the Fall of 2009 or the Spring of 2010?", "question": "2009“Fall”或2010“Spring”课程的ID是什么?", "question_cspider": "2009“Fall”或2010“Spring”课程的ID是什么?", "Harold": "BLEU = 47.30, 91.7/65.2/40.9/28.6 (BP=0.920, ratio=0.923, hyp_len=24, ref_len=26)", "question_toks": [ "2", "0", "0", "9", "年", "秋", "季", "或", "2", "0", "1", "0", "年", "春", "季", "的", "课", "程", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 INTERSECT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "INTERSECT", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "intersect", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Find courses that ran in Fall 2009 and in Spring 2010.", "question": "查找2009“Fall”和2010“Spring”课程。", "question_cspider": "查找2009“Fall”和2010“Spring”课程。", "Harold": "BLEU = 35.14, 75.0/52.2/27.3/14.3 (BP=1.000, ratio=1.091, hyp_len=24, ref_len=22)", "question_toks": [ "查", "找", "在", "2", "0", "0", "9", "年", "秋", "季", "和", "2", "0", "1", "0", "年", "春", "季", "开", "设", "的", "课", "程", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 INTERSECT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "INTERSECT", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "intersect", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "What are the ids for courses that were offered in both Fall of 2009 and Spring of 2010?", "question": "2009年“Fall”和2010年“Spring”都开设了哪些课程?", "question_cspider": "2009年“Fall”和2010年“Spring”都开设了哪些课程?", "Harold": "BLEU = 35.22, 64.3/44.4/26.9/20.0 (BP=1.000, ratio=1.000, hyp_len=28, ref_len=28)", "question_toks": [ "在", "2", "0", "0", "9", "年", "秋", "季", "和", "2", "0", "1", "0", "年", "春", "季", "提", "供", "的", "课", "程", "的", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "EXCEPT", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "except", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Find courses that ran in Fall 2009 but not in Spring 2010.", "question": "查找在2009“Fall”但不在2010“Spring”的课程。", "question_cspider": "查找在2009“Fall”但不在2010“Spring”的课程。", "Harold": "BLEU = 45.31, 76.9/56.0/37.5/26.1 (BP=1.000, ratio=1.000, hyp_len=26, ref_len=26)", "question_toks": [ "查", "找", "在", "2", "0", "0", "9", "年", "秋", "季", "而", "不", "是", "2", "0", "1", "0", "年", "春", "季", "开", "设", "的", "课", "程", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Fall", "'", "AND", "YEAR", "=", "2009", "EXCEPT", "SELECT", "course_id", "FROM", "SECTION", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value", "except", "select", "course_id", "from", "section", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "What are the ids of courses offered in Fall of 2009 but not in Spring of 2010?", "question": "在2009“Fall”但不在2010的“Spring”的课程ID是什么?", "question_cspider": "在2009“Fall”但不在2010的春天的课程ID是什么?", "Harold": "BLEU = 50.82, 75.9/57.1/44.4/34.6 (BP=1.000, ratio=1.036, hyp_len=29, ref_len=28)", "question_toks": [ "在", "2", "0", "0", "9", "年", "秋", "季", "而", "不", "是", "2", "0", "1", "0", "年", "春", "季", "开", "设", "的", "课", "程", "I", "D", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Fall\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2009, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": { "from": { "table_units": [ [ "table_unit", 4 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 15, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 17, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 18, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } }, { "db_id": "college_2", "query": "SELECT DISTINCT salary FROM instructor WHERE salary < (SELECT max(salary) FROM instructor)", "query_toks": [ "SELECT", "DISTINCT", "salary", "FROM", "instructor", "WHERE", "salary", "<", "(", "SELECT", "max", "(", "salary", ")", "FROM", "instructor", ")" ], "query_toks_no_value": [ "select", "distinct", "salary", "from", "instructor", "where", "salary", "<", "(", "select", "max", "(", "salary", ")", "from", "instructor", ")" ], "question_spider": "Find the salaries of all distinct instructors that are less than the largest salary.", "question": "找出低于最高工资的所有不同教员的工资。", "question_cspider": "找出低于最高工资的所有不同教员的工资。", "Harold": "BLEU = 13.63, 45.8/17.4/9.1/4.8 (BP=1.000, ratio=1.263, hyp_len=24, ref_len=19)", "question_toks": [ "查", "找", "所", "有", "最", "高", "薪", "水", "均", "低", "于", "最", "高", "薪", "水", "的", "指", "导", "教", "师", "的", "薪", "水", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, 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": "college_2", "query": "SELECT DISTINCT salary FROM instructor WHERE salary < (SELECT max(salary) FROM instructor)", "query_toks": [ "SELECT", "DISTINCT", "salary", "FROM", "instructor", "WHERE", "salary", "<", "(", "SELECT", "max", "(", "salary", ")", "FROM", "instructor", ")" ], "query_toks_no_value": [ "select", "distinct", "salary", "from", "instructor", "where", "salary", "<", "(", "select", "max", "(", "salary", ")", "from", "instructor", ")" ], "question_spider": "What are the distinct salaries of all instructors who earned less than the maximum salary?", "question": "所有工资低于最高工资的教师的不同工资是什么?", "question_cspider": "所有工资低于最高工资的教师的不同工资是什么?", "Harold": "BLEU = 37.84, 68.2/47.6/30.0/21.1 (BP=1.000, ratio=1.000, hyp_len=22, ref_len=22)", "question_toks": [ "所", "有", "收", "入", "低", "于", "最", "高", "工", "资", "的", "讲", "师", "的", "独", "特", "工", "资", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ true, [ [ 0, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 4, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, 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": "college_2", "query": "SELECT COUNT (DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "ID", ")", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "id", ")", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "Find the total number of instructors who teach a course in the Spring 2010 semester.", "question": "查找在2010年“Spring”学期教一门课程的教师总数。", "question_cspider": "查找在2010年“Spring”学期教一门课程的教师总数。", "Harold": "BLEU = 62.56, 95.5/81.0/65.0/52.6 (BP=0.873, ratio=0.880, hyp_len=22, ref_len=25)", "question_toks": [ "查", "找", "在", "2", "0", "1", "0", "年", "春", "季", "学", "期", "教", "授", "课", "程", "的", "教", "师", "总", "数", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 22, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT COUNT (DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010", "query_toks": [ "SELECT", "COUNT", "(", "DISTINCT", "ID", ")", "FROM", "teaches", "WHERE", "semester", "=", "'Spring", "'", "AND", "YEAR", "=", "2010" ], "query_toks_no_value": [ "select", "count", "(", "distinct", "id", ")", "from", "teaches", "where", "semester", "=", "value", "and", "year", "=", "value" ], "question_spider": "How many instructors teach a course in the Spring of 2010?", "question": "2010“Spring”有多少授课讲师?", "question_cspider": "2010“Spring”有多少授课讲师?", "Harold": "BLEU = 19.69, 57.1/30.0/15.8/5.6 (BP=1.000, ratio=1.312, hyp_len=21, ref_len=16)", "question_toks": [ "在", "2", "0", "1", "0", "年", "春", "季", ",", "有", "多", "少", "名", "教", "师", "教", "一", "门", "课", "程", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 5 ] ], "conds": [] }, "select": [ false, [ [ 3, [ 0, [ 0, 22, true ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 25, false ], null ], "\"Spring\"", null ], "and", [ false, 2, [ 0, [ 0, 26, false ], null ], 2010, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , AVG (salary) FROM instructor GROUP BY dept_name HAVING AVG (salary) > 42000", "query_toks": [ "SELECT", "dept_name", ",", "AVG", "(", "salary", ")", "FROM", "instructor", "GROUP", "BY", "dept_name", "HAVING", "AVG", "(", "salary", ")", ">", "42000" ], "query_toks_no_value": [ "select", "dept_name", ",", "avg", "(", "salary", ")", "from", "instructor", "group", "by", "dept_name", "having", "avg", "(", "salary", ")", ">", "value" ], "question_spider": "Find the names and average salaries of all departments whose average salary is greater than 42000.", "question": "查找平均工资超过42000的所有院系的名称和平均工资。", "question_cspider": "查找平均工资超过42000的所有院系的名称和平均工资。", "Harold": "BLEU = 71.40, 85.2/76.9/68.0/58.3 (BP=1.000, ratio=1.000, hyp_len=27, ref_len=27)", "question_toks": [ "查", "找", "平", "均", "工", "资", "高", "于", "4", "2", "0", "0", "0", "的", "所", "有", "部", "门", "的", "名", "称", "和", "平", "均", "工", "资", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ], [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [ [ false, 3, [ 0, [ 5, 14, false ], null ], 42000, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT dept_name , AVG (salary) FROM instructor GROUP BY dept_name HAVING AVG (salary) > 42000", "query_toks": [ "SELECT", "dept_name", ",", "AVG", "(", "salary", ")", "FROM", "instructor", "GROUP", "BY", "dept_name", "HAVING", "AVG", "(", "salary", ")", ">", "42000" ], "query_toks_no_value": [ "select", "dept_name", ",", "avg", "(", "salary", ")", "from", "instructor", "group", "by", "dept_name", "having", "avg", "(", "salary", ")", ">", "value" ], "question_spider": "What are the names and average salaries for departments with average salary higher than 42000?", "question": "平均工资高于42000的院系的名称和平均工资是多少?", "question_cspider": "平均工资高于42000的院系的名称和平均工资是多少?", "Harold": "BLEU = 85.31, 92.3/88.0/83.3/78.3 (BP=1.000, ratio=1.000, hyp_len=26, ref_len=26)", "question_toks": [ "平", "均", "工", "资", "高", "于", "4", "2", "0", "0", "0", "的", "部", "门", "的", "名", "称", "和", "平", "均", "工", "资", "是", "多", "少", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 13, false ], null ] ], [ 5, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [], "groupBy": [ [ 0, 13, false ] ], "having": [ [ false, 3, [ 0, [ 5, 14, false ], null ], 42000, null ] ], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } }, { "db_id": "college_2", "query": "SELECT name FROM instructor WHERE salary > (SELECT min(salary) FROM instructor WHERE dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "salary", ">", "(", "SELECT", "min", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "salary", ">", "(", "select", "min", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department.", "question": "找出一些薪水高于“Biology”系某些(至少一个)老师的教师名字。", "question_cspider": "找出一些薪水高于“Biology”系某些(至少一个)老师的教师名字。", "Harold": "BLEU = 22.87, 60.0/34.5/17.9/7.4 (BP=1.000, ratio=1.034, hyp_len=30, ref_len=29)", "question_toks": [ "在", "生", "物", "学", "部", "门", "中", "找", "到", "薪", "水", "高", "于", "某", "些", "(", "至", "少", "一", "名", ")", "教", "师", "的", "教", "师", "的", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Biology\"", 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": "college_2", "query": "SELECT name FROM instructor WHERE salary > (SELECT min(salary) FROM instructor WHERE dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "salary", ">", "(", "SELECT", "min", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "salary", ">", "(", "select", "min", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "What are the names of instructors who earn more than at least one instructor from the Biology department?", "question": "那些比“Biology”系至少一个教员工资高的教员叫什么名字?", "question_cspider": "那些比“Biology”系至少一个教员工资高的教员叫什么名字?", "Harold": "BLEU = 0.00, 54.2/26.1/4.5/0.0 (BP=0.920, ratio=0.923, hyp_len=24, ref_len=26)", "question_toks": [ "从", "生", "物", "系", "获", "得", "至", "少", "一", "名", "以", "上", "指", "导", "的", "教", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 2, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Biology\"", 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": "college_2", "query": "SELECT name FROM instructor WHERE salary > (SELECT max(salary) FROM instructor WHERE dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "salary", ">", "(", "SELECT", "max", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "salary", ">", "(", "select", "max", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "Find the names of all instructors whose salary is greater than the salary of all instructors in the Biology department.", "question": "找出工资高于“Biology”系所有教员工资的所有教员的名字。", "question_cspider": "找出工资高于“Biology”系所有教员工资的所有教员的名字。", "Harold": "BLEU = 0.00, 51.9/19.2/4.0/0.0 (BP=1.000, ratio=1.038, hyp_len=27, ref_len=26)", "question_toks": [ "在", "生", "物", "学", "部", "门", "中", "查", "找", "所", "有", "薪", "水", "高", "于", "所", "有", "教", "师", "薪", "水", "的", "教", "师", "姓", "名", "。" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Biology\"", 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": "college_2", "query": "SELECT name FROM instructor WHERE salary > (SELECT max(salary) FROM instructor WHERE dept_name = 'Biology')", "query_toks": [ "SELECT", "name", "FROM", "instructor", "WHERE", "salary", ">", "(", "SELECT", "max", "(", "salary", ")", "FROM", "instructor", "WHERE", "dept_name", "=", "'Biology", "'", ")" ], "query_toks_no_value": [ "select", "name", "from", "instructor", "where", "salary", ">", "(", "select", "max", "(", "salary", ")", "from", "instructor", "where", "dept_name", "=", "value", ")" ], "question_spider": "What are the names of all instructors with a higher salary than any of the instructors in the Biology department?", "question": "薪水比“Biology”系任何一位教员都高的教员的名字是什么?", "question_cspider": "薪水比“Biology”系任何一位教员都高的教员的名字是什么?", "Harold": "BLEU = 37.84, 71.4/51.9/34.6/16.0 (BP=1.000, ratio=1.037, hyp_len=28, ref_len=27)", "question_toks": [ "所", "有", "薪", "水", "比", "生", "物", "学", "部", "门", "中", "任", "何", "一", "名", "教", "师", "高", "的", "教", "师", "的", "名", "字", "是", "什", "么", "?" ], "sql": { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 0, [ 0, [ 0, 12, false ], null ] ] ] ], "where": [ [ false, 3, [ 0, [ 0, 14, false ], null ], { "from": { "table_units": [ [ "table_unit", 3 ] ], "conds": [] }, "select": [ false, [ [ 1, [ 0, [ 0, 14, false ], null ] ] ] ], "where": [ [ false, 2, [ 0, [ 0, 13, false ], null ], "\"Biology\"", null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null }, null ] ], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null } } ]