dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "behavior_monitoring",
"query": "SELECT count(*) FROM ASSESSMENT_NOTES",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"ASSESSMENT_NOTES"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"assessment_notes"
],
"question_spider": "How many assessment notes are there in total?",
"question": "总共有多少个评估记录?",
"question_cspider": "总共有多少个评估记录?",
"Harold": "BLEU = 71.76, 90.9/70.0/66.7/62.5 (BP=1.000, ratio=1.000, hyp_len=11, ref_len=11)",
"question_toks": [
"总",
"共",
"有",
"多",
"少",
"个",
"评",
"估",
"笔",
"记",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT date_of_notes FROM Assessment_Notes",
"query_toks": [
"SELECT",
"date_of_notes",
"FROM",
"Assessment_Notes"
],
"query_toks_no_value": [
"select",
"date_of_notes",
"from",
"assessment_notes"
],
"question_spider": "What are the dates of the assessment notes?",
"question": "评估记录的日期是什么?",
"question_cspider": "评估记录的日期是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=11, ref_len=11)",
"question_toks": [
"评",
"估",
"记",
"录",
"的",
"日",
"期",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
38,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT count(*) FROM ADDRESSES WHERE zip_postcode = \"197\"",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"ADDRESSES",
"WHERE",
"zip_postcode",
"=",
"``",
"197",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"addresses",
"where",
"zip_postcode",
"=",
"value"
],
"question_spider": "How many addresses have zip code 197?",
"question": "有多少地址包含邮政编码“197”?",
"question_cspider": "有多少地址包含邮政编码“197”?",
"Harold": "BLEU = 29.38, 86.7/57.1/30.8/8.3 (BP=0.875, ratio=0.882, hyp_len=15, ref_len=17)",
"question_toks": [
"邮",
"政",
"编",
"码",
"为",
"1",
"9",
"7",
"的",
"地",
"址",
"有",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"197\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT count(DISTINCT incident_type_code) FROM Behavior_Incident",
"query_toks": [
"SELECT",
"count",
"(",
"DISTINCT",
"incident_type_code",
")",
"FROM",
"Behavior_Incident"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"incident_type_code",
")",
"from",
"behavior_incident"
],
"question_spider": "How many distinct incident type codes are there?",
"question": "有多少种不同的事件类型代码?",
"question_cspider": "有多少种不同的事件类型代码?",
"Harold": "BLEU = 78.25, 92.9/84.6/75.0/63.6 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)",
"question_toks": [
"有",
"多",
"少",
"个",
"不",
"同",
"的",
"事",
"件",
"类",
"型",
"代",
"码",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
42,
true
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT DISTINCT detention_type_code FROM Detention",
"query_toks": [
"SELECT",
"DISTINCT",
"detention_type_code",
"FROM",
"Detention"
],
"query_toks_no_value": [
"select",
"distinct",
"detention_type_code",
"from",
"detention"
],
"question_spider": "Return all distinct detention type codes.",
"question": "返回所有不同的处罚类型代码。",
"question_cspider": "返回所有不同的拘留类型代码。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)",
"question_toks": [
"返",
"回",
"所",
"有",
"不",
"同",
"的",
"拘",
"留",
"类",
"型",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
8
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
50,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT date_incident_start , date_incident_end FROM Behavior_Incident WHERE incident_type_code = \"NOISE\"",
"query_toks": [
"SELECT",
"date_incident_start",
",",
"date_incident_end",
"FROM",
"Behavior_Incident",
"WHERE",
"incident_type_code",
"=",
"``",
"NOISE",
"''"
],
"query_toks_no_value": [
"select",
"date_incident_start",
",",
"date_incident_end",
"from",
"behavior_incident",
"where",
"incident_type_code",
"=",
"value"
],
"question_spider": "What are the start and end dates for incidents with incident type code \"NOISE\"?",
"question": "事件类型代码为“NOISE”的事件的开始和结束日期是什么?",
"question_cspider": "事件类型代码为“噪音”的事件的开始和结束日期是什么?",
"Harold": "BLEU = 75.99, 82.8/78.6/74.1/69.2 (BP=1.000, ratio=1.115, hyp_len=29, ref_len=26)",
"question_toks": [
"事",
"件",
"类",
"型",
"代",
"码",
"为",
"“",
" ",
"N",
"O",
"I",
"S",
"E",
"”",
"的",
"事",
"件",
"的",
"开",
"始",
"和",
"结",
"束",
"日",
"期",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
44,
false
],
null
]
],
[
0,
[
0,
[
0,
45,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
42,
false
],
null
],
"\"NOISE\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT detention_summary FROM Detention",
"query_toks": [
"SELECT",
"detention_summary",
"FROM",
"Detention"
],
"query_toks_no_value": [
"select",
"detention_summary",
"from",
"detention"
],
"question_spider": "Return all detention summaries.",
"question": "返回所有的处罚摘要。",
"question_cspider": "返回所有的拘留摘要。",
"Harold": "BLEU = 66.90, 100.0/87.5/71.4/50.0 (BP=0.895, ratio=0.900, hyp_len=9, ref_len=10)",
"question_toks": [
"返",
"回",
"所",
"有",
"拘",
"留",
"摘",
"要",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
8
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
54,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT cell_mobile_number , email_address FROM STUDENTS",
"query_toks": [
"SELECT",
"cell_mobile_number",
",",
"email_address",
"FROM",
"STUDENTS"
],
"query_toks_no_value": [
"select",
"cell_mobile_number",
",",
"email_address",
"from",
"students"
],
"question_spider": "Return the cell phone number and email address for all students.",
"question": "返回所有学生的手机号码和电子邮件地址。",
"question_cspider": "返回所有学生的手机号码和电子邮件地址。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)",
"question_toks": [
"返",
"回",
"所",
"有",
"学",
"生",
"的",
"手",
"机",
"号",
"码",
"和",
"电",
"子",
"邮",
"件",
"地",
"址",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
21,
false
],
null
]
],
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT email_address FROM Students WHERE first_name = \"Emma\" AND last_name = \"Rohan\"",
"query_toks": [
"SELECT",
"email_address",
"FROM",
"Students",
"WHERE",
"first_name",
"=",
"``",
"Emma",
"''",
"AND",
"last_name",
"=",
"``",
"Rohan",
"''"
],
"query_toks_no_value": [
"select",
"email_address",
"from",
"students",
"where",
"first_name",
"=",
"value",
"and",
"last_name",
"=",
"value"
],
"question_spider": "What is the email of the student with first name \"Emma\" and last name \"Rohan\"?",
"question": "名字叫“Emma”和“Rohan”的学生的电子邮件是什么?",
"question_cspider": "名字叫“杨”和“栋”的学生的电子邮件是什么?",
"Harold": "BLEU = 42.91, 59.4/45.2/36.7/34.5 (BP=1.000, ratio=1.455, hyp_len=32, ref_len=22)",
"question_toks": [
"名",
"字",
"为",
"“",
" ",
"E",
"m",
"m",
"a",
"”",
"和",
"姓",
"氏",
"为",
"“",
" ",
"R",
"o",
"h",
"a",
"n",
"”",
"的",
"学",
"生",
"的",
"电",
"子",
"邮",
"件",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"Emma\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Rohan\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT count(DISTINCT student_id) FROM Students_in_Detention",
"query_toks": [
"SELECT",
"count",
"(",
"DISTINCT",
"student_id",
")",
"FROM",
"Students_in_Detention"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"student_id",
")",
"from",
"students_in_detention"
],
"question_spider": "How many distinct students have been in detention?",
"question": "有多少不同的学生被处罚?",
"question_cspider": "有多少不同的学生被拘留?",
"Harold": "BLEU = 84.24, 92.3/83.3/81.8/80.0 (BP=1.000, ratio=1.083, hyp_len=13, ref_len=12)",
"question_toks": [
"有",
"多",
"少",
"不",
"同",
"的",
"学",
"生",
"被",
"拘",
"留",
"了",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
10
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
62,
true
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT gender FROM TEACHERS WHERE last_name = \"Medhurst\"",
"query_toks": [
"SELECT",
"gender",
"FROM",
"TEACHERS",
"WHERE",
"last_name",
"=",
"``",
"Medhurst",
"''"
],
"query_toks_no_value": [
"select",
"gender",
"from",
"teachers",
"where",
"last_name",
"=",
"value"
],
"question_spider": "What is the gender of the teacher with last name \"Medhurst\"?",
"question": "名为“Medhurst”的老师的性别是什么?",
"question_cspider": "名为“Gruber”的老师的性别是什么?",
"Harold": "BLEU = 58.57, 66.7/58.8/56.2/53.3 (BP=1.000, ratio=1.200, hyp_len=18, ref_len=15)",
"question_toks": [
"姓",
"“",
"梅",
"德",
"赫",
"斯",
"特",
"”",
"的",
"老",
"师",
"的",
"性",
"别",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
31,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
"\"Medhurst\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT incident_type_description FROM Ref_Incident_Type WHERE incident_type_code = \"VIOLENCE\"",
"query_toks": [
"SELECT",
"incident_type_description",
"FROM",
"Ref_Incident_Type",
"WHERE",
"incident_type_code",
"=",
"``",
"VIOLENCE",
"''"
],
"query_toks_no_value": [
"select",
"incident_type_description",
"from",
"ref_incident_type",
"where",
"incident_type_code",
"=",
"value"
],
"question_spider": "What is the incident type description for the incident type with code \"VIOLENCE\"?",
"question": "事件类型代码为“VIOLENCE”的事件类型描述是什么?",
"question_cspider": "事件类型代码为“暴力”的事件类型描述是什么?",
"Harold": "BLEU = 55.05, 69.0/60.7/51.9/42.3 (BP=1.000, ratio=1.318, hyp_len=29, ref_len=22)",
"question_toks": [
"代",
"码",
"为",
"“",
" ",
"V",
"I",
"O",
"L",
"E",
"N",
"C",
"E",
"”",
"的",
"事",
"件",
"类",
"型",
"的",
"事",
"件",
"类",
"型",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
"\"VIOLENCE\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT max(monthly_rental) , min(monthly_rental) FROM Student_Addresses",
"query_toks": [
"SELECT",
"max",
"(",
"monthly_rental",
")",
",",
"min",
"(",
"monthly_rental",
")",
"FROM",
"Student_Addresses"
],
"query_toks_no_value": [
"select",
"max",
"(",
"monthly_rental",
")",
",",
"min",
"(",
"monthly_rental",
")",
"from",
"student_addresses"
],
"question_spider": "Find the maximum and minimum monthly rental for all student addresses.",
"question": "找到所有学生住址的最高和最低月租金。",
"question_cspider": "找到所有学生住址的最高和最低月租金。",
"Harold": "BLEU = 36.19, 77.8/52.9/31.2/13.3 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"查",
"找",
"所",
"有",
"学",
"生",
"地",
"址",
"的",
"最",
"大",
"和",
"最",
"小",
"月",
"租",
"金",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
9
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
60,
false
],
null
]
],
[
2,
[
0,
[
0,
60,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT first_name FROM Teachers WHERE email_address LIKE '%man%'",
"query_toks": [
"SELECT",
"first_name",
"FROM",
"Teachers",
"WHERE",
"email_address",
"LIKE",
"'",
"%",
"man",
"%",
"'"
],
"query_toks_no_value": [
"select",
"first_name",
"from",
"teachers",
"where",
"email_address",
"like",
"value"
],
"question_spider": "Find the first names of teachers whose email address contains the word \"man\".",
"question": "找到电子邮件地址中包含“man”一词的老师的名字。",
"question_cspider": "找到电子邮件地址中包含“qq”一词的老师的名字。",
"Harold": "BLEU = 37.95, 72.0/41.7/30.4/22.7 (BP=1.000, ratio=1.042, hyp_len=25, ref_len=24)",
"question_toks": [
"查",
"找",
"其",
"电",
"子",
"邮",
"件",
"地",
"址",
"包",
"含",
"单",
"词",
"“",
" ",
"m",
"a",
"n",
"”",
"的",
"教",
"师",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
28,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
33,
false
],
null
],
"\"%man%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT * FROM Assessment_Notes ORDER BY date_of_notes ASC",
"query_toks": [
"SELECT",
"*",
"FROM",
"Assessment_Notes",
"ORDER",
"BY",
"date_of_notes",
"ASC"
],
"query_toks_no_value": [
"select",
"*",
"from",
"assessment_notes",
"order",
"by",
"date_of_notes",
"asc"
],
"question_spider": "List all information about the assessment notes sorted by date in ascending order.",
"question": "按日期升序列出有关评估说明的所有信息。",
"question_cspider": "按日期升序列出有关评估说明的所有信息。",
"Harold": "BLEU = 51.94, 73.9/59.1/47.6/35.0 (BP=1.000, ratio=1.211, hyp_len=23, ref_len=19)",
"question_toks": [
"列",
"出",
"有",
"关",
"评",
"估",
"笔",
"记",
"的",
"所",
"有",
"信",
"息",
",",
"并",
"按",
"日",
"期",
"升",
"序",
"排",
"列",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
38,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT city FROM Addresses ORDER BY city",
"query_toks": [
"SELECT",
"city",
"FROM",
"Addresses",
"ORDER",
"BY",
"city"
],
"query_toks_no_value": [
"select",
"city",
"from",
"addresses",
"order",
"by",
"city"
],
"question_spider": "List all cities of addresses in alphabetical order.",
"question": "按字母顺序列出所有城市的地址。",
"question_cspider": "按字母顺序列出所有城市的地址。",
"Harold": "BLEU = 58.28, 93.3/64.3/46.2/41.7 (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,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT first_name , last_name FROM Teachers ORDER BY last_name",
"query_toks": [
"SELECT",
"first_name",
",",
"last_name",
"FROM",
"Teachers",
"ORDER",
"BY",
"last_name"
],
"query_toks_no_value": [
"select",
"first_name",
",",
"last_name",
"from",
"teachers",
"order",
"by",
"last_name"
],
"question_spider": "Find the first names and last names of teachers in alphabetical order of last name.",
"question": "按照姓氏的字母顺序查找老师的姓和名。",
"question_cspider": "按照姓氏的字母顺序查找老师的姓和名。",
"Harold": "BLEU = 58.33, 85.0/57.9/50.0/47.1 (BP=1.000, ratio=1.111, hyp_len=20, ref_len=18)",
"question_toks": [
"按",
"照",
"姓",
"氏",
"的",
"字",
"母",
"顺",
"序",
"查",
"找",
"教",
"师",
"的",
"名",
"字",
"和",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
28,
false
],
null
]
],
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
30,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC",
"query_toks": [
"SELECT",
"*",
"FROM",
"Student_Addresses",
"ORDER",
"BY",
"monthly_rental",
"DESC"
],
"query_toks_no_value": [
"select",
"*",
"from",
"student_addresses",
"order",
"by",
"monthly_rental",
"desc"
],
"question_spider": "Find all information about student addresses, and sort by monthly rental in descending order.",
"question": "按照月租金降序排序,查找学生住址的所有信息。",
"question_cspider": "按照月租金降序排序,查找学生住址的所有信息。",
"Harold": "BLEU = 50.34, 83.3/56.5/40.9/33.3 (BP=1.000, ratio=1.091, hyp_len=24, ref_len=22)",
"question_toks": [
"查",
"找",
"有",
"关",
"学",
"生",
"地",
"址",
"的",
"所",
"有",
"信",
"息",
",",
"并",
"按",
"月",
"租",
"金",
"降",
"序",
"排",
"序",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
9
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
60,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.student_id , T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.student_id",
",",
"T2.first_name",
"FROM",
"Assessment_Notes",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"GROUP",
"BY",
"T1.student_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"student_id",
",",
"t2",
".",
"first_name",
"from",
"assessment_notes",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"group",
"by",
"t1",
".",
"student_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the id and first name of the student that has the most number of assessment notes?",
"question": "找到评估记录最多的学生的id和名字。",
"question_cspider": "找到评估记录最多的学生的id和名字。",
"Harold": "BLEU = 63.42, 83.3/64.7/56.2/53.3 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"查",
"找",
"评",
"估",
"笔",
"记",
"最",
"多",
"的",
"学",
"生",
"的",
"I",
"D",
"和",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
36,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
36,
false
],
null
]
],
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
36,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.teacher_id , T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id GROUP BY T1.teacher_id ORDER BY count(*) DESC LIMIT 3",
"query_toks": [
"SELECT",
"T1.teacher_id",
",",
"T2.first_name",
"FROM",
"Assessment_Notes",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.teacher_id",
"=",
"T2.teacher_id",
"GROUP",
"BY",
"T1.teacher_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"t1",
".",
"teacher_id",
",",
"t2",
".",
"first_name",
"from",
"assessment_notes",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"teacher_id",
"=",
"t2",
".",
"teacher_id",
"group",
"by",
"t1",
".",
"teacher_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the ids and first names of the 3 teachers that have the most number of assessment notes?",
"question": "找出评估记录数量最多的3个老师的ID和名字。",
"question_cspider": "找出评估记录数量最多的3个老师的ID和名字。",
"Harold": "BLEU = 41.71, 75.0/52.6/38.9/29.4 (BP=0.905, ratio=0.909, hyp_len=20, ref_len=22)",
"question_toks": [
"查",
"找",
"评",
"估",
"笔",
"记",
"最",
"多",
"的",
"3",
"位",
"教",
"师",
"的",
"I",
"D",
"和",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
26,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
37,
false
],
null
]
],
[
0,
[
0,
[
0,
28,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
37,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 3,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.student_id , T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.student_id",
",",
"T2.last_name",
"FROM",
"Behavior_Incident",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"GROUP",
"BY",
"T1.student_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"student_id",
",",
"t2",
".",
"last_name",
"from",
"behavior_incident",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"group",
"by",
"t1",
".",
"student_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the id and last name of the student that has the most behavior incidents?",
"question": "找出行为事件最多的学生的ID和姓氏?",
"question_cspider": "找出行为事件最多的学生的ID和姓氏?",
"Harold": "BLEU = 79.48, 85.0/78.9/77.8/76.5 (BP=1.000, ratio=1.111, hyp_len=20, ref_len=18)",
"question_toks": [
"查",
"找",
"发",
"生",
"行",
"为",
"事",
"件",
"最",
"多",
"的",
"学",
"生",
"的",
"I",
"D",
"和",
"姓",
"氏",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
43,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
43,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
43,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.teacher_id , T2.last_name FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T1.detention_type_code = \"AFTER\" GROUP BY T1.teacher_id ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.teacher_id",
",",
"T2.last_name",
"FROM",
"Detention",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.teacher_id",
"=",
"T2.teacher_id",
"WHERE",
"T1.detention_type_code",
"=",
"``",
"AFTER",
"''",
"GROUP",
"BY",
"T1.teacher_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"teacher_id",
",",
"t2",
".",
"last_name",
"from",
"detention",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"teacher_id",
"=",
"t2",
".",
"teacher_id",
"where",
"t1",
".",
"detention_type_code",
"=",
"value",
"group",
"by",
"t1",
".",
"teacher_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the id and last name of the teacher that has the most detentions with detention type code \"AFTER\"?",
"question": "找到处罚次数最多且处罚类型代码为“AFTER”的老师的id和姓氏?",
"question_cspider": "找到被拘留次数最多且拘留类型代码为“后置”的老师的id和姓氏?",
"Harold": "BLEU = 51.94, 73.5/54.5/46.9/38.7 (BP=1.000, ratio=1.097, hyp_len=34, ref_len=31)",
"question_toks": [
"找",
"出",
"拘",
"留",
"次",
"数",
"最",
"多",
"的",
"教",
"师",
"的",
"I",
"D",
"和",
"姓",
"氏",
",",
"其",
"拘",
"留",
"类",
"型",
"代",
"码",
"为",
"“",
" ",
"A",
"F",
"T",
"E",
"R",
"”",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
8
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
51,
false
],
null
],
[
0,
26,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
51,
false
],
null
]
],
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
50,
false
],
null
],
"\"AFTER\"",
null
]
],
"groupBy": [
[
0,
51,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.student_id , T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.student_id",
",",
"T2.first_name",
"FROM",
"Student_Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"GROUP",
"BY",
"T1.student_id",
"ORDER",
"BY",
"AVG",
"(",
"monthly_rental",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"student_id",
",",
"t2",
".",
"first_name",
"from",
"student_addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"group",
"by",
"t1",
".",
"student_id",
"order",
"by",
"avg",
"(",
"monthly_rental",
")",
"desc",
"limit",
"value"
],
"question_spider": "What are the id and first name of the student whose addresses have the highest average monthly rental?",
"question": "住址的平均月租金最高的学生的id和名字是什么?",
"question_cspider": "住址的平均月租金最高的学生的id和名字是什么?",
"Harold": "BLEU = 56.69, 79.2/60.9/50.0/42.9 (BP=1.000, ratio=1.043, hyp_len=24, ref_len=23)",
"question_toks": [
"地",
"址",
"每",
"月",
"平",
"均",
"租",
"金",
"最",
"高",
"的",
"学",
"生",
"的",
"身",
"份",
"证",
"和",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
9
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
56,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
56,
false
],
null
]
],
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
56,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
5,
60,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.address_id",
",",
"T1.city",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Student_Addresses",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"GROUP",
"BY",
"T2.address_id",
"ORDER",
"BY",
"AVG",
"(",
"monthly_rental",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"address_id",
",",
"t1",
".",
"city",
"from",
"addresses",
"as",
"t1",
"join",
"student_addresses",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"group",
"by",
"t2",
".",
"address_id",
"order",
"by",
"avg",
"(",
"monthly_rental",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the id and city of the student address with the highest average monthly rental.",
"question": "查找住址平均月租金最高的学生的id和城市。",
"question_cspider": "查找住址平均月租金最高的学生的id和城市。",
"Harold": "BLEU = 64.13, 90.9/71.4/55.0/47.4 (BP=1.000, ratio=1.048, hyp_len=22, ref_len=21)",
"question_toks": [
"查",
"找",
"平",
"均",
"每",
"月",
"租",
"金",
"最",
"高",
"的",
"学",
"生",
"地",
"址",
"的",
"I",
"D",
"和",
"城",
"市",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
9
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
57,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
57,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
57,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
5,
60,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.incident_type_code , T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.incident_type_code",
",",
"T2.incident_type_description",
"FROM",
"Behavior_Incident",
"AS",
"T1",
"JOIN",
"Ref_Incident_Type",
"AS",
"T2",
"ON",
"T1.incident_type_code",
"=",
"T2.incident_type_code",
"GROUP",
"BY",
"T1.incident_type_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"incident_type_code",
",",
"t2",
".",
"incident_type_description",
"from",
"behavior_incident",
"as",
"t1",
"join",
"ref_incident_type",
"as",
"t2",
"on",
"t1",
".",
"incident_type_code",
"=",
"t2",
".",
"incident_type_code",
"group",
"by",
"t1",
".",
"incident_type_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What are the code and description of the most frequent behavior incident type?",
"question": "最常见的行为事件类型的代码和描述是什么?",
"question_cspider": "最常见的行为事件类型的代码和描述是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)",
"question_toks": [
"最",
"常",
"见",
"的",
"行",
"为",
"事",
"件",
"类",
"型",
"的",
"代",
"码",
"和",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
42,
false
],
null
],
[
0,
5,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
42,
false
],
null
]
],
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
42,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.detention_type_code , T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code = T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"T1.detention_type_code",
",",
"T2.detention_type_description",
"FROM",
"Detention",
"AS",
"T1",
"JOIN",
"Ref_Detention_Type",
"AS",
"T2",
"ON",
"T1.detention_type_code",
"=",
"T2.detention_type_code",
"GROUP",
"BY",
"T1.detention_type_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"detention_type_code",
",",
"t2",
".",
"detention_type_description",
"from",
"detention",
"as",
"t1",
"join",
"ref_detention_type",
"as",
"t2",
"on",
"t1",
".",
"detention_type_code",
"=",
"t2",
".",
"detention_type_code",
"group",
"by",
"t1",
".",
"detention_type_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "What are the code and description of the least frequent detention type ?",
"question": "最不常见的处罚类型的代码和描述是什么?",
"question_cspider": "最不常见的拘留类型的代码和描述是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)",
"question_toks": [
"最",
"不",
"常",
"见",
"的",
"拘",
"留",
"类",
"型",
"的",
"代",
"码",
"和",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
8
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
50,
false
],
null
],
[
0,
3,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
50,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
50,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = \"Fanny\"",
"query_toks": [
"SELECT",
"T1.date_of_notes",
"FROM",
"Assessment_Notes",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"WHERE",
"T2.first_name",
"=",
"``",
"Fanny",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"date_of_notes",
"from",
"assessment_notes",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"where",
"t2",
".",
"first_name",
"=",
"value"
],
"question_spider": "Find the dates of assessment notes for students with first name \"Fanny\".",
"question": "找到名为“Fanny”的学生的评估记录的日期。",
"question_cspider": "找到名为“小夏”的学生的评估记录的日期。",
"Harold": "BLEU = 38.49, 66.7/43.5/31.8/23.8 (BP=1.000, ratio=1.200, hyp_len=24, ref_len=20)",
"question_toks": [
"查",
"找",
"名",
"字",
"为",
"“",
" ",
"F",
"a",
"n",
"n",
"y",
"”",
"的",
"学",
"生",
"的",
"评",
"估",
"笔",
"记",
"的",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
36,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
38,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"Fanny\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = \"Schuster\"",
"query_toks": [
"SELECT",
"T1.text_of_notes",
"FROM",
"Assessment_Notes",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.teacher_id",
"=",
"T2.teacher_id",
"WHERE",
"T2.last_name",
"=",
"``",
"Schuster",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"text_of_notes",
"from",
"assessment_notes",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"teacher_id",
"=",
"t2",
".",
"teacher_id",
"where",
"t2",
".",
"last_name",
"=",
"value"
],
"question_spider": "Find the texts of assessment notes for teachers with last name \"Schuster\".",
"question": "查找姓氏为“Schuster”的老师的评语记录的内容。",
"question_cspider": "查找姓氏为“Kohler”的老师的评语记录的内容。",
"Harold": "BLEU = 25.68, 50.0/32.0/20.8/13.0 (BP=1.000, ratio=1.300, hyp_len=26, ref_len=20)",
"question_toks": [
"查",
"找",
"姓",
"氏",
"为",
"“",
" ",
"S",
"c",
"h",
"u",
"s",
"t",
"e",
"r",
"”",
"的",
"教",
"师",
"的",
"评",
"估",
"笔",
"记",
"文",
"本",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
26,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
"\"Schuster\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.date_incident_start , date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.last_name = \"Fahey\"",
"query_toks": [
"SELECT",
"T1.date_incident_start",
",",
"date_incident_end",
"FROM",
"Behavior_Incident",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"WHERE",
"T2.last_name",
"=",
"``",
"Fahey",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"date_incident_start",
",",
"date_incident_end",
"from",
"behavior_incident",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"where",
"t2",
".",
"last_name",
"=",
"value"
],
"question_spider": "Find the start and end dates of behavior incidents of students with last name \"Fahey\".",
"question": "找出姓氏为“Fahey”的学生的行为事件的开始和结束日期。",
"question_cspider": "找出姓氏为“贺”的学生的行为事件的开始和结束日期。",
"Harold": "BLEU = 69.43, 79.3/71.4/66.7/61.5 (BP=1.000, ratio=1.160, hyp_len=29, ref_len=25)",
"question_toks": [
"查",
"找",
"姓",
"氏",
"为",
"“",
" ",
"F",
"a",
"h",
"e",
"y",
"”",
"的",
"学",
"生",
"的",
"行",
"为",
"事",
"件",
"的",
"开",
"始",
"和",
"结",
"束",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
43,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
44,
false
],
null
]
],
[
0,
[
0,
[
0,
45,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Fahey\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.datetime_detention_start , datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = \"Schultz\"",
"query_toks": [
"SELECT",
"T1.datetime_detention_start",
",",
"datetime_detention_end",
"FROM",
"Detention",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.teacher_id",
"=",
"T2.teacher_id",
"WHERE",
"T2.last_name",
"=",
"``",
"Schultz",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"datetime_detention_start",
",",
"datetime_detention_end",
"from",
"detention",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"teacher_id",
"=",
"t2",
".",
"teacher_id",
"where",
"t2",
".",
"last_name",
"=",
"value"
],
"question_spider": "Find the start and end dates of detentions of teachers with last name \"Schultz\".",
"question": "查找姓氏为“Schultz”的教师被拘留的开始日期和结束日期。",
"question_cspider": "查找姓氏为“范”的教师被拘留的开始日期和结束日期。",
"Harold": "BLEU = 37.26, 73.1/52.0/29.2/17.4 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)",
"question_toks": [
"查",
"找",
"被",
"拘",
"留",
"的",
"姓",
"氏",
"“",
" ",
"S",
"c",
"h",
"u",
"l",
"t",
"z",
"”",
"的",
"开",
"始",
"和",
"结",
"束",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
8
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
51,
false
],
null
],
[
0,
26,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
52,
false
],
null
]
],
[
0,
[
0,
[
0,
53,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
"\"Schultz\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.address_id , T1.zip_postcode FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id ORDER BY monthly_rental DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.address_id",
",",
"T1.zip_postcode",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Student_Addresses",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"ORDER",
"BY",
"monthly_rental",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"address_id",
",",
"t1",
".",
"zip_postcode",
"from",
"addresses",
"as",
"t1",
"join",
"student_addresses",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"order",
"by",
"monthly_rental",
"desc",
"limit",
"value"
],
"question_spider": "What are the id and zip code of the address with the highest monthly rental?",
"question": "月租金最高的地址的id和邮政编码是什么?",
"question_cspider": "月租金最高的地址的id和邮政编码是什么?",
"Harold": "BLEU = 94.85, 95.2/95.0/94.7/94.4 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)",
"question_toks": [
"每",
"月",
"租",
"金",
"最",
"高",
"的",
"地",
"址",
"的",
"I",
"D",
"和",
"邮",
"政",
"编",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
9
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
57,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
57,
false
],
null
]
],
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
60,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.cell_mobile_number FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.monthly_rental ASC LIMIT 1",
"query_toks": [
"SELECT",
"T2.cell_mobile_number",
"FROM",
"Student_Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"ORDER",
"BY",
"T1.monthly_rental",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"cell_mobile_number",
"from",
"student_addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"order",
"by",
"t1",
".",
"monthly_rental",
"asc",
"limit",
"value"
],
"question_spider": "What is the cell phone number of the student whose address has the lowest monthly rental?",
"question": "住址的月租金最低的学生的手机号码是多少?",
"question_cspider": "住址的月租金最低的学生的手机号码是多少?",
"Harold": "BLEU = 84.92, 90.0/84.2/83.3/82.4 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)",
"question_toks": [
"地",
"址",
"每",
"月",
"租",
"金",
"最",
"低",
"的",
"学",
"生",
"的",
"手",
"机",
"号",
"码",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
9
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
56,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
21,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
60,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.monthly_rental FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = \"Texas\"",
"query_toks": [
"SELECT",
"T2.monthly_rental",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Student_Addresses",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"WHERE",
"T1.state_province_county",
"=",
"``",
"Texas",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"monthly_rental",
"from",
"addresses",
"as",
"t1",
"join",
"student_addresses",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"where",
"t1",
".",
"state_province_county",
"=",
"value"
],
"question_spider": "What are the monthly rentals of student addresses in Texas state?",
"question": "“Texas”的学生住址的月租金是多少?",
"question_cspider": "“East Julianaside”的学生住址的月租金是多少?",
"Harold": "BLEU = 39.35, 61.1/47.1/31.2/26.7 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)",
"question_toks": [
"德",
"克",
"萨",
"斯",
"州",
"学",
"生",
"地",
"址",
"的",
"每",
"月",
"租",
"金",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
9
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
57,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
60,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
"\"Texas\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.first_name , T2.last_name FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = \"Wisconsin\"",
"query_toks": [
"SELECT",
"T2.first_name",
",",
"T2.last_name",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"WHERE",
"T1.state_province_county",
"=",
"``",
"Wisconsin",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"first_name",
",",
"t2",
".",
"last_name",
"from",
"addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"where",
"t1",
".",
"state_province_county",
"=",
"value"
],
"question_spider": "What are the first names and last names of students with address in Wisconsin state?",
"question": "住址在“Wisconsin”的学生的名字和姓是什么?",
"question_cspider": "住址在“Wisconsin”的学生的名字和姓是什么?",
"Harold": "BLEU = 47.63, 66.7/55.0/42.1/33.3 (BP=1.000, ratio=1.105, hyp_len=21, ref_len=19)",
"question_toks": [
"地",
"址",
"在",
"威",
"斯",
"康",
"星",
"州",
"的",
"学",
"生",
"的",
"名",
"字",
"和",
"姓",
"氏",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
"\"Wisconsin\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.line_1 , avg(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id",
"query_toks": [
"SELECT",
"T1.line_1",
",",
"avg",
"(",
"T2.monthly_rental",
")",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Student_Addresses",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"GROUP",
"BY",
"T2.address_id"
],
"query_toks_no_value": [
"select",
"t1",
".",
"line_1",
",",
"avg",
"(",
"t2",
".",
"monthly_rental",
")",
"from",
"addresses",
"as",
"t1",
"join",
"student_addresses",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"group",
"by",
"t2",
".",
"address_id"
],
"question_spider": "What are the line 1 and average monthly rentals of all student addresses?",
"question": "所有学生住址的第一行和每月平均租金是多少?",
"question_cspider": "所有学生住址的第一行和每月平均租金是多少?",
"Harold": "BLEU = 46.84, 90.5/65.0/36.8/22.2 (BP=1.000, ratio=1.000, hyp_len=21, ref_len=21)",
"question_toks": [
"所",
"有",
"学",
"生",
"地",
"址",
"的",
"第",
"1",
"行",
"和",
"平",
"均",
"每",
"月",
"租",
"金",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
9
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
57,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
5,
[
0,
[
0,
60,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
57,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id WHERE T2.first_name = \"Lyla\"",
"query_toks": [
"SELECT",
"T1.zip_postcode",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"WHERE",
"T2.first_name",
"=",
"``",
"Lyla",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"zip_postcode",
"from",
"addresses",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"where",
"t2",
".",
"first_name",
"=",
"value"
],
"question_spider": "What is the zip code of the address where the teacher with first name \"Lyla\" lives?",
"question": "那位姓“Lyla”的老师住的地址的邮政编码是什么?",
"question_cspider": "那位姓“小平”的老师住的地址的邮政编码是什么?",
"Harold": "BLEU = 59.72, 72.0/62.5/56.5/50.0 (BP=1.000, ratio=1.087, hyp_len=25, ref_len=23)",
"question_toks": [
"名",
"叫",
"“",
" ",
"L",
"y",
"l",
"a",
"”",
"的",
"老",
"师",
"居",
"住",
"的",
"地",
"址",
"的",
"邮",
"政",
"编",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
27,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
"\"Lyla\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T2.email_address FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id WHERE T1.zip_postcode = \"918\"",
"query_toks": [
"SELECT",
"T2.email_address",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"WHERE",
"T1.zip_postcode",
"=",
"``",
"918",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"email_address",
"from",
"addresses",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"where",
"t1",
".",
"zip_postcode",
"=",
"value"
],
"question_spider": "What are the email addresses of teachers whose address has zip code \"918\"?",
"question": "住址的邮政编码为“918”的老师的电子邮件地址是什么?",
"question_cspider": "住址的邮政编码为“918”的老师的电子邮件地址是什么?",
"Harold": "BLEU = 78.05, 95.8/91.3/86.4/81.0 (BP=0.882, ratio=0.889, hyp_len=24, ref_len=27)",
"question_toks": [
"邮",
"政",
"编",
"码",
"为",
"“",
" ",
"9",
"1",
"8",
"”",
"的",
"教",
"师",
"的",
"电",
"子",
"邮",
"件",
"地",
"址",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
27,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
33,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"918\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT count(*) FROM STUDENTS WHERE student_id NOT IN ( SELECT student_id FROM Behavior_Incident )",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"STUDENTS",
"WHERE",
"student_id",
"NOT",
"IN",
"(",
"SELECT",
"student_id",
"FROM",
"Behavior_Incident",
")"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"students",
"where",
"student_id",
"not",
"in",
"(",
"select",
"student_id",
"from",
"behavior_incident",
")"
],
"question_spider": "How many students are not involved in any behavior incident?",
"question": "有多少学生没有参与任何行为事件?",
"question_cspider": "有多少学生没有参与任何行为事件?",
"Harold": "BLEU = 77.71, 100.0/92.9/76.9/66.7 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)",
"question_toks": [
"没",
"有",
"多",
"少",
"学",
"生",
"参",
"与",
"任",
"何",
"行",
"为",
"事",
"件",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
16,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
43,
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": "behavior_monitoring",
"query": "SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id",
"query_toks": [
"SELECT",
"last_name",
"FROM",
"Teachers",
"EXCEPT",
"SELECT",
"T1.last_name",
"FROM",
"Teachers",
"AS",
"T1",
"JOIN",
"Detention",
"AS",
"T2",
"ON",
"T1.teacher_id",
"=",
"T2.teacher_id"
],
"query_toks_no_value": [
"select",
"last_name",
"from",
"teachers",
"except",
"select",
"t1",
".",
"last_name",
"from",
"teachers",
"as",
"t1",
"join",
"detention",
"as",
"t2",
"on",
"t1",
".",
"teacher_id",
"=",
"t2",
".",
"teacher_id"
],
"question_spider": "Find the last names of teachers who are not involved in any detention.",
"question": "找出没有处罚过学生的教师的姓氏。",
"question_cspider": "找出没有被拘留过的教师的姓氏。",
"Harold": "BLEU = 28.04, 56.2/33.3/21.4/15.4 (BP=1.000, ratio=1.067, hyp_len=16, ref_len=15)",
"question_toks": [
"查",
"找",
"不",
"参",
"与",
"任",
"何",
"拘",
"留",
"的",
"老",
"师",
"的",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
8
]
],
"conds": [
[
false,
2,
[
0,
[
0,
26,
false
],
null
],
[
0,
51,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "behavior_monitoring",
"query": "SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id",
"query_toks": [
"SELECT",
"T1.line_1",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id",
"INTERSECT",
"SELECT",
"T1.line_1",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Teachers",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.address_id"
],
"query_toks_no_value": [
"select",
"t1",
".",
"line_1",
"from",
"addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id",
"intersect",
"select",
"t1",
".",
"line_1",
"from",
"addresses",
"as",
"t1",
"join",
"teachers",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"address_id"
],
"question_spider": "What are the line 1 of addresses shared by some students and some teachers?",
"question": "那些学生和老师共有的地址的第1行是什么?",
"question_cspider": "那些学生和老师共有的地址的第1行是什么?",
"Harold": "BLEU = 63.84, 81.8/71.4/60.0/47.4 (BP=1.000, ratio=1.100, hyp_len=22, ref_len=20)",
"question_toks": [
"一",
"些",
"学",
"生",
"和",
"一",
"些",
"老",
"师",
"共",
"享",
"的",
"地",
"址",
"的",
"第",
"1",
"行",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
27,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
3
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
[
0,
27,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
}
]