dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "debate",
"query": "SELECT count(*) FROM debate",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"debate"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"debate"
],
"question": "Có bao nhiêu cuộc tranh luận ?",
"question_toks": [
"How",
"many",
"debates",
"are",
"there",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Venue FROM debate ORDER BY Num_of_Audience ASC",
"query_toks": [
"SELECT",
"Venue",
"FROM",
"debate",
"ORDER",
"BY",
"Num_of_Audience",
"ASC"
],
"query_toks_no_value": [
"select",
"venue",
"from",
"debate",
"order",
"by",
"num_of_audience",
"asc"
],
"question": "Liệt kê địa điểm của các cuộc tranh luận theo thứ tự tăng dần về số lượng khán giả .",
"question_toks": [
"List",
"the",
"venues",
"of",
"debates",
"in",
"ascending",
"order",
"of",
"the",
"number",
"of",
"audience",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"asc",
[
[
0,
[
0,
9,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Date , Venue FROM debate",
"query_toks": [
"SELECT",
"Date",
",",
"Venue",
"FROM",
"debate"
],
"query_toks_no_value": [
"select",
"date",
",",
"venue",
"from",
"debate"
],
"question": "Ngày và địa điểm của từng cuộc tranh luận ?",
"question_toks": [
"What",
"are",
"the",
"date",
"and",
"venue",
"of",
"each",
"debate",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Date FROM debate WHERE Num_of_Audience > 150",
"query_toks": [
"SELECT",
"Date",
"FROM",
"debate",
"WHERE",
"Num_of_Audience",
">",
"150"
],
"query_toks_no_value": [
"select",
"date",
"from",
"debate",
"where",
"num_of_audience",
">",
"value"
],
"question": "Liệt kê ngày diễn ra các cuộc tranh luận có số lượng khán giả trên 150 .",
"question_toks": [
"List",
"the",
"dates",
"of",
"debates",
"with",
"number",
"of",
"audience",
"bigger",
"than",
"150"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
9,
false
],
null
],
150.0,
null
]
]
}
},
{
"db_id": "debate",
"query": "SELECT Name FROM people WHERE Age = 35 OR Age = 36",
"query_toks": [
"SELECT",
"Name",
"FROM",
"people",
"WHERE",
"Age",
"=",
"35",
"OR",
"Age",
"=",
"36"
],
"query_toks_no_value": [
"select",
"name",
"from",
"people",
"where",
"age",
"=",
"value",
"or",
"age",
"=",
"value"
],
"question": "Hiển thị tên của những người ở độ tuổi 35 hoặc 36 .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
"aged",
"either",
"35",
"or",
"36",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
35.0,
null
],
"or",
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
36.0,
null
]
]
}
},
{
"db_id": "debate",
"query": "SELECT Party FROM people ORDER BY Age ASC LIMIT 1",
"query_toks": [
"SELECT",
"Party",
"FROM",
"people",
"ORDER",
"BY",
"Age",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"party",
"from",
"people",
"order",
"by",
"age",
"asc",
"limit",
"value"
],
"question": "Đảng phái của người trẻ tuổi nhất là đảng nào ?",
"question_toks": [
"What",
"is",
"the",
"party",
"of",
"the",
"youngest",
"people",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"asc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Party , COUNT(*) FROM people GROUP BY Party",
"query_toks": [
"SELECT",
"Party",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"people",
"GROUP",
"BY",
"Party"
],
"query_toks_no_value": [
"select",
"party",
",",
"count",
"(",
"*",
")",
"from",
"people",
"group",
"by",
"party"
],
"question": "Hiển thị tất cả các đảng khác nhau và số lượng thành viên trong mỗi đảng .",
"question_toks": [
"Show",
"different",
"parties",
"of",
"people",
"along",
"with",
"the",
"number",
"of",
"people",
"in",
"each",
"party",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
4,
false
]
],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Party FROM people GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"Party",
"FROM",
"people",
"GROUP",
"BY",
"Party",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"party",
"from",
"people",
"group",
"by",
"party",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Hiển thị đảng có nhiều thành viên nhất .",
"question_toks": [
"Show",
"the",
"party",
"that",
"has",
"the",
"most",
"people",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
4,
false
]
],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT DISTINCT Venue FROM debate",
"query_toks": [
"SELECT",
"DISTINCT",
"Venue",
"FROM",
"debate"
],
"query_toks_no_value": [
"select",
"distinct",
"venue",
"from",
"debate"
],
"question": "Hiển thị các địa điểm khác nhau của các cuộc tranh luận .",
"question_toks": [
"Show",
"the",
"distinct",
"venues",
"of",
"debates"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
true,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT T3.Name , T2.Date , T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID",
"query_toks": [
"SELECT",
"T3.Name",
",",
"T2.Date",
",",
"T2.Venue",
"FROM",
"debate_people",
"AS",
"T1",
"JOIN",
"debate",
"AS",
"T2",
"ON",
"T1.Debate_ID",
"=",
"T2.Debate_ID",
"JOIN",
"people",
"AS",
"T3",
"ON",
"T1.Affirmative",
"=",
"T3.People_ID"
],
"query_toks_no_value": [
"select",
"t3",
".",
"name",
",",
"t2",
".",
"date",
",",
"t2",
".",
"venue",
"from",
"debate_people",
"as",
"t1",
"join",
"debate",
"as",
"t2",
"on",
"t1",
".",
"debate_id",
"=",
"t2",
".",
"debate_id",
"join",
"people",
"as",
"t3",
"on",
"t1",
".",
"affirmative",
"=",
"t3",
".",
"people_id"
],
"question": "Hiển thị ngày và địa điểm của các cuộc tranh luận cũng như là tên những người đứng về phía bên khẳng định theo thứ tự bảng chữ cái tăng dần của tên .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
",",
"and",
"dates",
"and",
"venues",
"of",
"debates",
"they",
"are",
"on",
"the",
"affirmative",
"side",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT T3.Name , T2.Date , T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Negative = T3.People_ID ORDER BY T3.Name ASC",
"query_toks": [
"SELECT",
"T3.Name",
",",
"T2.Date",
",",
"T2.Venue",
"FROM",
"debate_people",
"AS",
"T1",
"JOIN",
"debate",
"AS",
"T2",
"ON",
"T1.Debate_ID",
"=",
"T2.Debate_ID",
"JOIN",
"people",
"AS",
"T3",
"ON",
"T1.Negative",
"=",
"T3.People_ID",
"ORDER",
"BY",
"T3.Name",
"ASC"
],
"query_toks_no_value": [
"select",
"t3",
".",
"name",
",",
"t2",
".",
"date",
",",
"t2",
".",
"venue",
"from",
"debate_people",
"as",
"t1",
"join",
"debate",
"as",
"t2",
"on",
"t1",
".",
"debate_id",
"=",
"t2",
".",
"debate_id",
"join",
"people",
"as",
"t3",
"on",
"t1",
".",
"negative",
"=",
"t3",
".",
"people_id",
"order",
"by",
"t3",
".",
"name",
"asc"
],
"question": "Hiển thị ngày và địa điểm của các cuộc tranh luận cũng như là tên những người ở bên phủ định , sắp xếp kết quả theo thứ tự bảng chữ cái tăng dần của tên những người tranh luận .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
",",
"and",
"dates",
"and",
"venues",
"of",
"debates",
"they",
"are",
"on",
"the",
"negative",
"side",
",",
"ordered",
"in",
"ascending",
"alphabetical",
"order",
"of",
"name",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"asc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200",
"query_toks": [
"SELECT",
"T3.Name",
"FROM",
"debate_people",
"AS",
"T1",
"JOIN",
"debate",
"AS",
"T2",
"ON",
"T1.Debate_ID",
"=",
"T2.Debate_ID",
"JOIN",
"people",
"AS",
"T3",
"ON",
"T1.Affirmative",
"=",
"T3.People_ID",
"WHERE",
"T2.Num_of_Audience",
">",
"200"
],
"query_toks_no_value": [
"select",
"t3",
".",
"name",
"from",
"debate_people",
"as",
"t1",
"join",
"debate",
"as",
"t2",
"on",
"t1",
".",
"debate_id",
"=",
"t2",
".",
"debate_id",
"join",
"people",
"as",
"t3",
"on",
"t1",
".",
"affirmative",
"=",
"t3",
".",
"people_id",
"where",
"t2",
".",
"num_of_audience",
">",
"value"
],
"question": "Hiển thị tên của những người đứng về phía khẳng định trong các cuộc tranh luận có số lượng khán giả nhiều hơn 200 .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
"that",
"are",
"on",
"affirmative",
"side",
"of",
"debates",
"with",
"number",
"of",
"audience",
"bigger",
"than",
"200",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
9,
false
],
null
],
200.0,
null
]
]
}
},
{
"db_id": "debate",
"query": "SELECT T2.Name , COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative = T2.People_ID GROUP BY T2.Name",
"query_toks": [
"SELECT",
"T2.Name",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"debate_people",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.Affirmative",
"=",
"T2.People_ID",
"GROUP",
"BY",
"T2.Name"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"count",
"(",
"*",
")",
"from",
"debate_people",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"affirmative",
"=",
"t2",
".",
"people_id",
"group",
"by",
"t2",
".",
"name"
],
"question": "Hiển thị tên của những người tham gia tranh luận và số lần họ đã ở bên khẳng định của các cuộc tranh luận .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
"and",
"the",
"number",
"of",
"times",
"they",
"have",
"been",
"on",
"the",
"affirmative",
"side",
"of",
"debates",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
3,
false
]
],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT T2.Name FROM debate_people AS T1 JOIN people AS T2 ON T1.Negative = T2.People_ID GROUP BY T2.Name HAVING COUNT(*) >= 2",
"query_toks": [
"SELECT",
"T2.Name",
"FROM",
"debate_people",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.Negative",
"=",
"T2.People_ID",
"GROUP",
"BY",
"T2.Name",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"2"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
"from",
"debate_people",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"negative",
"=",
"t2",
".",
"people_id",
"group",
"by",
"t2",
".",
"name",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question": "Hiển thị tên của những người đã ở phía phủ định ít nhất là hai lần trong các cuộc tranh luận .",
"question_toks": [
"Show",
"the",
"names",
"of",
"people",
"who",
"have",
"been",
"on",
"the",
"negative",
"side",
"of",
"debates",
"at",
"least",
"twice",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
3,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2.0,
null
]
],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "debate",
"query": "SELECT Name FROM people WHERE People_id NOT IN (SELECT Affirmative FROM debate_people)",
"query_toks": [
"SELECT",
"Name",
"FROM",
"people",
"WHERE",
"People_id",
"NOT",
"IN",
"(",
"SELECT",
"Affirmative",
"FROM",
"debate_people",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"people",
"where",
"people_id",
"not",
"in",
"(",
"select",
"affirmative",
"from",
"debate_people",
")"
],
"question": "Liệt kê tên của những người chưa bao giờ đứng về phía khẳng định trong các cuộc tranh luận .",
"question_toks": [
"List",
"the",
"names",
"of",
"people",
"that",
"have",
"not",
"been",
"on",
"the",
"affirmative",
"side",
"of",
"debates",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
2
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"union": null,
"where": []
},
null
]
]
}
}
]