dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "body_builder",
"query": "SELECT count(*) FROM body_builder",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"body_builder"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"body_builder"
],
"question_spider": "How many body builders are there?",
"question": "有多少健美运动员?",
"question_cspider": "有多少健美运动员?",
"Harold": "BLEU = 0.00, 44.4/12.5/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=9, ref_len=9)",
"question_toks": [
"那",
"里",
"有",
"几",
"个",
"健",
"美",
"者",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Total FROM body_builder ORDER BY Total ASC",
"query_toks": [
"SELECT",
"Total",
"FROM",
"body_builder",
"ORDER",
"BY",
"Total",
"ASC"
],
"query_toks_no_value": [
"select",
"total",
"from",
"body_builder",
"order",
"by",
"total",
"asc"
],
"question_spider": "List the total scores of body builders in ascending order.",
"question": "按升序列出健美运动员的总分。",
"question_cspider": "按升序列出健美运动员的总分。",
"Harold": "BLEU = 61.92, 100.0/90.0/77.8/62.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,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Snatch , Clean_Jerk FROM body_builder ORDER BY Snatch ASC",
"query_toks": [
"SELECT",
"Snatch",
",",
"Clean_Jerk",
"FROM",
"body_builder",
"ORDER",
"BY",
"Snatch",
"ASC"
],
"query_toks_no_value": [
"select",
"snatch",
",",
"clean_jerk",
"from",
"body_builder",
"order",
"by",
"snatch",
"asc"
],
"question_spider": "List the snatch score and clean jerk score of body builders in ascending order of snatch score.",
"question": "以抓举分数升序列出健美运动员的抓举得分和挺举得分。",
"question_cspider": "以抓举分数升序列出健美运动员的抓举得分和挺举得分。",
"Harold": "BLEU = 66.00, 84.6/68.0/58.3/56.5 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)",
"question_toks": [
"按",
"抓",
"举",
"得",
"分",
"的",
"升",
"序",
"排",
"列",
"健",
"美",
"运",
"动",
"员",
"的",
"抓",
"举",
"得",
"分",
"和",
"挺",
"举",
"得",
"分",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT avg(Snatch) FROM body_builder",
"query_toks": [
"SELECT",
"avg",
"(",
"Snatch",
")",
"FROM",
"body_builder"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"snatch",
")",
"from",
"body_builder"
],
"question_spider": "What is the average snatch score of body builders?",
"question": "健美运动员的平均抓举分数是多少?",
"question_cspider": "健美运动员的平均抓举分数是多少?",
"Harold": "BLEU = 75.77, 93.8/80.0/71.4/61.5 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"健",
"美",
"运",
"动",
"员",
"的",
"平",
"均",
"抓",
"举",
"得",
"分",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1",
"query_toks": [
"SELECT",
"Clean_Jerk",
"FROM",
"body_builder",
"ORDER",
"BY",
"Total",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"clean_jerk",
"from",
"body_builder",
"order",
"by",
"total",
"desc",
"limit",
"value"
],
"question_spider": "What are the clean and jerk score of the body builder with the highest total score?",
"question": "总分最高的健美运动员的挺举成绩是多少?",
"question_cspider": "总分最高的健美运动员的挺举成绩是多少?",
"Harold": "BLEU = 70.40, 85.0/73.7/66.7/58.8 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)",
"question_toks": [
"总",
"得",
"分",
"最",
"高",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"挺",
"举",
"得",
"分",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Birth_Date FROM People ORDER BY Height ASC",
"query_toks": [
"SELECT",
"Birth_Date",
"FROM",
"People",
"ORDER",
"BY",
"Height",
"ASC"
],
"query_toks_no_value": [
"select",
"birth_date",
"from",
"people",
"order",
"by",
"height",
"asc"
],
"question_spider": "What are the birthdays of people in ascending order of height?",
"question": "按身高升序,人的生日是什么?",
"question_cspider": "按身高升序,人的生日是什么?",
"Harold": "BLEU = 26.52, 75.0/40.0/21.4/7.7 (BP=1.000, ratio=1.143, hyp_len=16, ref_len=14)",
"question_toks": [
"人",
"们",
"的",
"生",
"日",
"按",
"高",
"度",
"升",
"序",
"排",
"列",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
8,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID",
"query_toks": [
"SELECT",
"T2.Name",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id"
],
"question_spider": "What are the names of body builders?",
"question": "健美运动员的名字是什么?",
"question_cspider": "健美运动员的名字是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)",
"question_toks": [
"健",
"美",
"运",
"动",
"员",
"的",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300",
"query_toks": [
"SELECT",
"T2.Name",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T1.Total",
">",
"300"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t1",
".",
"total",
">",
"value"
],
"question_spider": "What are the names of body builders whose total score is higher than 300?",
"question": "总分高于300的健美运动员的名字是什么?",
"question_cspider": "总分高于300的健美运动员的名字是什么?",
"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": [
"总",
"分",
"高",
"于",
"3",
"0",
"0",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
5,
false
],
null
],
300,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Name",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T2.Weight",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t2",
".",
"weight",
"desc",
"limit",
"value"
],
"question_spider": "What is the name of the body builder with the greatest body weight?",
"question": "体重最大的健美运动员叫什么名字?",
"question_cspider": "体重最大的健美运动员叫什么名字?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"体",
"重",
"最",
"大",
"的",
"健",
"美",
"运",
"动",
"员",
"叫",
"什",
"么",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
9,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Birth_Date , T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Birth_Date",
",",
"T2.Birth_Place",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T1.Total",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"birth_date",
",",
"t2",
".",
"birth_place",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t1",
".",
"total",
"desc",
"limit",
"value"
],
"question_spider": "What are the birth date and birth place of the body builder with the highest total points?",
"question": "总分最高的健美运动员的出生日期和出生地点是什么?",
"question_cspider": "总分最高的健美运动员的出生日期和出生地点是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)",
"question_toks": [
"总",
"分",
"最",
"高",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"出",
"生",
"日",
"期",
"和",
"出",
"生",
"地",
"点",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315",
"query_toks": [
"SELECT",
"T2.Height",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T1.Total",
"<",
"315"
],
"query_toks_no_value": [
"select",
"t2",
".",
"height",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t1",
".",
"total",
"<",
"value"
],
"question_spider": "What are the heights of body builders with total score smaller than 315?",
"question": "总分小于315的健美运动员身高是多少?",
"question_cspider": "总分小于315的健美运动员身高是多少?",
"Harold": "BLEU = 85.79, 95.0/89.5/83.3/76.5 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)",
"question_toks": [
"总",
"分",
"小",
"于",
"3",
"1",
"5",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"身",
"高",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [
[
false,
4,
[
0,
[
0,
5,
false
],
null
],
315,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200",
"query_toks": [
"SELECT",
"avg",
"(",
"T1.Total",
")",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T2.Height",
">",
"200"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"t1",
".",
"total",
")",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t2",
".",
"height",
">",
"value"
],
"question_spider": "What is the average total score of body builders with height bigger than 200?",
"question": "身高大于200的健美运动员平均总分是多少?",
"question_cspider": "身高大于200的健美运动员平均总分是多少?",
"Harold": "BLEU = 75.22, 91.3/81.8/71.4/60.0 (BP=1.000, ratio=1.095, hyp_len=23, ref_len=21)",
"question_toks": [
"身",
"高",
"大",
"于",
"2",
"0",
"0",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"平",
"均",
"总",
"得",
"分",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
5,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
8,
false
],
null
],
200,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC",
"query_toks": [
"SELECT",
"T2.Name",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T1.Total",
"DESC"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t1",
".",
"total",
"desc"
],
"question_spider": "What are the names of body builders in descending order of total scores?",
"question": "按总分降序排列,健美运动员的名字是什么?",
"question_cspider": "按总分降序排列,健美运动员的名字是什么?",
"Harold": "BLEU = 37.64, 63.2/44.4/35.3/25.0 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)",
"question_toks": [
"健",
"美",
"运",
"动",
"员",
"的",
"总",
"成",
"绩",
"从",
"高",
"到",
"低",
"分",
"别",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Birth_Place , COUNT(*) FROM people GROUP BY Birth_Place",
"query_toks": [
"SELECT",
"Birth_Place",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"people",
"GROUP",
"BY",
"Birth_Place"
],
"query_toks_no_value": [
"select",
"birth_place",
",",
"count",
"(",
"*",
")",
"from",
"people",
"group",
"by",
"birth_place"
],
"question_spider": "List each birth place along with the number of people from there.",
"question": "列出每个出生地以及那里的人数。",
"question_cspider": "列出每个出生地以及那里的人数。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"列",
"出",
"每",
"个",
"出",
"生",
"地",
"以",
"及",
"那",
"里",
"的",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
11,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"Birth_Place",
"FROM",
"people",
"GROUP",
"BY",
"Birth_Place",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"birth_place",
"from",
"people",
"group",
"by",
"birth_place",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the most common birth place of people?",
"question": "出生人数最多的出生地是什么?",
"question_cspider": "出生人数最多的出生地是什么?",
"Harold": "BLEU = 54.77, 76.9/58.3/54.5/50.0 (BP=0.926, ratio=0.929, hyp_len=13, ref_len=14)",
"question_toks": [
"人",
"们",
"最",
"常",
"见",
"的",
"出",
"生",
"地",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
11,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*) >= 2",
"query_toks": [
"SELECT",
"Birth_Place",
"FROM",
"people",
"GROUP",
"BY",
"Birth_Place",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"2"
],
"query_toks_no_value": [
"select",
"birth_place",
"from",
"people",
"group",
"by",
"birth_place",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "What are the birth places that are shared by at least two people?",
"question": "至少两个人共有的出生地是什么?",
"question_cspider": "至少两个人共有的出生地是什么?",
"Harold": "BLEU = 80.03, 93.3/85.7/76.9/66.7 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"至",
"少",
"两",
"个",
"人",
"共",
"享",
"的",
"出",
"生",
"地",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
11,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Height , Weight FROM people ORDER BY Height DESC",
"query_toks": [
"SELECT",
"Height",
",",
"Weight",
"FROM",
"people",
"ORDER",
"BY",
"Height",
"DESC"
],
"query_toks_no_value": [
"select",
"height",
",",
"weight",
"from",
"people",
"order",
"by",
"height",
"desc"
],
"question_spider": "List the height and weight of people in descending order of height.",
"question": "按身高降序列出人的身高和体重。",
"question_cspider": "按身高降序列出人的身高和体重。",
"Harold": "BLEU = 92.54, 93.3/92.9/92.3/91.7 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"以",
"身",
"高",
"降",
"序",
"列",
"出",
"人",
"的",
"身",
"高",
"和",
"体",
"重",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
8,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT * FROM body_builder",
"query_toks": [
"SELECT",
"*",
"FROM",
"body_builder"
],
"query_toks_no_value": [
"select",
"*",
"from",
"body_builder"
],
"question_spider": "Show all information about each body builder.",
"question": "显示每个健美运动员的所有信息。",
"question_cspider": "显示每个健美运动员的所有信息。",
"Harold": "BLEU = 53.36, 85.7/69.2/50.0/36.4 (BP=0.931, ratio=0.933, hyp_len=14, ref_len=15)",
"question_toks": [
"显",
"示",
"有",
"关",
"每",
"个",
"健",
"美",
"的",
"所",
"有",
"信",
"息",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT Name , birth_place FROM people EXCEPT SELECT T1.Name , T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id",
"query_toks": [
"SELECT",
"Name",
",",
"birth_place",
"FROM",
"people",
"EXCEPT",
"SELECT",
"T1.Name",
",",
"T1.birth_place",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"body_builder",
"AS",
"T2",
"ON",
"T1.people_id",
"=",
"T2.people_id"
],
"query_toks_no_value": [
"select",
"name",
",",
"birth_place",
"from",
"people",
"except",
"select",
"t1",
".",
"name",
",",
"t1",
".",
"birth_place",
"from",
"people",
"as",
"t1",
"join",
"body_builder",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id"
],
"question_spider": "List the names and origins of people who are not body builders.",
"question": "列出那些不是健美运动员的人的名字和出生地。",
"question_cspider": "列出那些不是健美运动员的人的名字和出生地。",
"Harold": "BLEU = 63.24, 88.9/76.5/68.8/66.7 (BP=0.846, ratio=0.857, hyp_len=18, ref_len=21)",
"question_toks": [
"列",
"出",
"不",
"是",
"健",
"美",
"运",
"动",
"员",
"的",
"人",
"的",
"名",
"字",
"和",
"血",
"统",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
2,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "body_builder",
"query": "SELECT count(DISTINCT Birth_Place) FROM people",
"query_toks": [
"SELECT",
"count",
"(",
"DISTINCT",
"Birth_Place",
")",
"FROM",
"people"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"birth_place",
")",
"from",
"people"
],
"question_spider": "How many distinct birth places are there?",
"question": "有多少不同的出生地?",
"question_cspider": "有多少不同的出生地?",
"Harold": "BLEU = 70.17, 90.9/80.0/66.7/50.0 (BP=1.000, ratio=1.100, hyp_len=11, ref_len=10)",
"question_toks": [
"有",
"多",
"少",
"个",
"不",
"同",
"的",
"出",
"生",
"地",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
11,
true
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder)",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"people",
"WHERE",
"people_id",
"NOT",
"IN",
"(",
"SELECT",
"People_ID",
"FROM",
"body_builder",
")"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"people",
"where",
"people_id",
"not",
"in",
"(",
"select",
"people_id",
"from",
"body_builder",
")"
],
"question_spider": "How many persons are not body builders?",
"question": "有多少人不是健美运动员?",
"question_cspider": "有多少人不是健美运动员?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)",
"question_toks": [
"有",
"多",
"少",
"人",
"不",
"是",
"健",
"美",
"运",
"动",
"员",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
6,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
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": "body_builder",
"query": "SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200;",
"query_toks": [
"SELECT",
"T2.weight",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.people_id",
"=",
"T2.people_id",
"WHERE",
"T1.snatch",
">",
"140",
"OR",
"T2.height",
">",
"200",
";"
],
"query_toks_no_value": [
"select",
"t2",
".",
"weight",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t1",
".",
"snatch",
">",
"value",
"or",
"t2",
".",
"height",
">",
"value"
],
"question_spider": "List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200.",
"question": "列出那些抓举成绩高于140分或身高高于200的健美运动员的体重。",
"question_cspider": "列出那些抓举成绩高于140分或身高高于200的健美运动员的体重。",
"Harold": "BLEU = 57.40, 89.7/71.4/55.6/46.2 (BP=0.902, ratio=0.906, hyp_len=29, ref_len=32)",
"question_toks": [
"列",
"出",
"抓",
"举",
"得",
"分",
"高",
"于",
"1",
"4",
"0",
"或",
"身",
"高",
"超",
"过",
"2",
"0",
"0",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"体",
"重",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
140,
null
],
"or",
[
false,
3,
[
0,
[
0,
8,
false
],
null
],
200,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE \"%January%\";",
"query_toks": [
"SELECT",
"T1.total",
"FROM",
"body_builder",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.people_id",
"=",
"T2.people_id",
"WHERE",
"T2.Birth_Date",
"LIKE",
"``",
"%",
"January",
"%",
"''",
";"
],
"query_toks_no_value": [
"select",
"t1",
".",
"total",
"from",
"body_builder",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t2",
".",
"birth_date",
"like",
"value"
],
"question_spider": "What are the total scores of the body builders whose birthday contains the string \"January\" ?",
"question": "那些生日里包含“January”的健美运动员的总分数是多少?",
"question_cspider": "那些生日里包含\"一月\"的健美运动员的总分数是多少?",
"Harold": "BLEU = 39.53, 58.6/46.4/33.3/26.9 (BP=1.000, ratio=1.160, hyp_len=29, ref_len=25)",
"question_toks": [
"生",
"日",
"包",
"含",
"字",
"符",
"串",
"“",
" ",
"J",
"a",
"n",
"u",
"a",
"r",
"y",
"”",
"的",
"健",
"美",
"运",
"动",
"员",
"的",
"总",
"分",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
10,
false
],
null
],
"\"%January%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "body_builder",
"query": "SELECT min(snatch) FROM body_builder",
"query_toks": [
"SELECT",
"min",
"(",
"snatch",
")",
"FROM",
"body_builder"
],
"query_toks_no_value": [
"select",
"min",
"(",
"snatch",
")",
"from",
"body_builder"
],
"question_spider": "What is the minimum snatch score?",
"question": "最小抓举分数是多少?",
"question_cspider": "最小抓举分数是多少?",
"Harold": "BLEU = 53.73, 70.0/55.6/50.0/42.9 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)",
"question_toks": [
"最",
"低",
"抢",
"夺",
"分",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
2,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
]