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": "¿Cuántos culturistas hay?",
"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": "Enumere las puntuaciones totales de los culturistas en orden ascendente.",
"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": "Enumere la puntuación de arranque y la puntuación de tirón limpio de los culturistas en orden ascendente de puntuación de arranque.",
"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": "¿Cuál es la puntuación media de arranque de los culturistas?",
"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": "¿Cuál es la puntuación limpia y tonta del culturista con la puntuación total más alta?",
"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": "¿Cuáles son los cumpleaños de las personas en orden ascendente de altura?",
"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": "¿Cuáles son los nombres de los culturistas?",
"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": "¿Cuáles son los nombres de los culturistas cuya puntuación total es superior a 300?",
"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.0,
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": "¿Cuál es el nombre del culturista con mayor peso corporal?",
"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": "¿Cuáles son la fecha de nacimiento y el lugar de nacimiento del culturista con la puntuación más alta?",
"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": "¿Cuáles son las alturas de los culturistas con una puntuación total inferior a 315?",
"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.0,
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": "¿Cuál es la puntuación media de los culturistas con una estatura superior a 200?",
"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.0,
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": "¿Cuáles son los nombres de los culturistas en orden descendente de puntajes totales?",
"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": "Enumere cada lugar de nacimiento junto con la cantidad de personas de allí.",
"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": "¿Cuál es el lugar de nacimiento más común de las personas?",
"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": "¿Cuáles son los lugares de nacimiento que comparten al menos dos personas?",
"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.0,
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": "Enumere la altura y el peso de las personas en orden descendente de altura.",
"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": "Muestre toda la información sobre cada carrocero.",
"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": "Enumere los nombres y orígenes de las personas que no son culturistas.",
"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": "¿Cuántos lugares de nacimiento distintos hay?",
"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": "¿Cuántas personas no son fisicoculturistas?",
"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": "Enumere el peso de los culturistas que tienen una puntuación de arranque superior a 140 o que tienen una altura superior a 200.",
"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.0,
null
],
"or",
[
false,
3,
[
0,
[
0,
8,
false
],
null
],
200.0,
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": "¿Cuáles son las puntuaciones totales de los culturistas cuyo cumpleaños contiene la cadena \"Jannuary\"?",
"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": "¿Cuál es la puntuación mínima de arranque?",
"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
}
}
]