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": "いくつのディベートがありますか?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "聴衆の数の昇順でディベートの場所をリストします。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
9,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "各ディベートの日付と場所は何ですか?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "150人を超える聴衆の数でディベートの日付をリストします",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
9,
false
],
null
],
150.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": 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": "35歳または36歳の人の名前を示す。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
35.0,
null
],
"or",
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
36.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": 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": "最年少のパーティーは何ですか?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "各パーティーの人数とともに、さまざまなパーティーの人々を示す。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
4,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "最も多くの人がいるパーティーを見せてください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
4,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "ディベートの場所を示す",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "人々の名前、そして彼らが肯定的な側にいるディベートの日付と場所を示してください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "人々の名前、そして彼らが否定的な側にいるディベートの日付と場所を、名前のアルファベットの昇順で示してください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "聴衆の数が200人を超えるディベートの肯定的な側にいる人々の名前を示してください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
9,
false
],
null
],
200.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": 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": "人々の名前と彼らがディベートの肯定的な側にいた回数を示してください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
11,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
3,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "少なくとも2回はディベートの否定的な側にあった人々の名前を示してください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
3,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2.0,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"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": "ディベートの肯定的な側になかった人々の名前をリストしてください。",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
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
}
}
]