dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "climbing",
"query": "SELECT count(*) FROM climber",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"climber"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"climber"
],
"question": "How many climbers are there?",
"question_toks": [
"How",
"many",
"climbers",
"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": "climbing",
"query": "SELECT count(*) FROM climber",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"climber"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"climber"
],
"question": "Count the number of climbers.",
"question_toks": [
"Count",
"the",
"number",
"of",
"climbers",
"."
],
"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": "climbing",
"query": "SELECT Name FROM climber ORDER BY Points DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"climber",
"ORDER",
"BY",
"Points",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"climber",
"order",
"by",
"points",
"desc"
],
"question": "List the names of climbers in descending order of points.",
"question_toks": [
"List",
"the",
"names",
"of",
"climbers",
"in",
"descending",
"order",
"of",
"points",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"desc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM climber ORDER BY Points DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"climber",
"ORDER",
"BY",
"Points",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"climber",
"order",
"by",
"points",
"desc"
],
"question": "What are the names of the climbers, ordered by points descending?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"the",
"climbers",
",",
"ordered",
"by",
"points",
"descending",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"desc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"",
"query_toks": [
"SELECT",
"Name",
"FROM",
"climber",
"WHERE",
"Country",
"!",
"=",
"``",
"Switzerland",
"''"
],
"query_toks_no_value": [
"select",
"name",
"from",
"climber",
"where",
"country",
"!",
"=",
"value"
],
"question": "List the names of climbers whose country is not Switzerland.",
"question_toks": [
"List",
"the",
"names",
"of",
"climbers",
"whose",
"country",
"is",
"not",
"Switzerland",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
7,
[
0,
[
0,
9,
false
],
null
],
"\"Switzerland\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"",
"query_toks": [
"SELECT",
"Name",
"FROM",
"climber",
"WHERE",
"Country",
"!",
"=",
"``",
"Switzerland",
"''"
],
"query_toks_no_value": [
"select",
"name",
"from",
"climber",
"where",
"country",
"!",
"=",
"value"
],
"question": "What are the names of climbers who are not from the country of Switzerland?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"climbers",
"who",
"are",
"not",
"from",
"the",
"country",
"of",
"Switzerland",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
7,
[
0,
[
0,
9,
false
],
null
],
"\"Switzerland\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT max(Points) FROM climber WHERE Country = \"United Kingdom\"",
"query_toks": [
"SELECT",
"max",
"(",
"Points",
")",
"FROM",
"climber",
"WHERE",
"Country",
"=",
"``",
"United",
"Kingdom",
"''"
],
"query_toks_no_value": [
"select",
"max",
"(",
"points",
")",
"from",
"climber",
"where",
"country",
"=",
"value"
],
"question": "What is the maximum point for climbers whose country is United Kingdom?",
"question_toks": [
"What",
"is",
"the",
"maximum",
"point",
"for",
"climbers",
"whose",
"country",
"is",
"United",
"Kingdom",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
1,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"United Kingdom\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT max(Points) FROM climber WHERE Country = \"United Kingdom\"",
"query_toks": [
"SELECT",
"max",
"(",
"Points",
")",
"FROM",
"climber",
"WHERE",
"Country",
"=",
"``",
"United",
"Kingdom",
"''"
],
"query_toks_no_value": [
"select",
"max",
"(",
"points",
")",
"from",
"climber",
"where",
"country",
"=",
"value"
],
"question": "Return the maximum number of points for climbers from the United Kingdom.",
"question_toks": [
"Return",
"the",
"maximum",
"number",
"of",
"points",
"for",
"climbers",
"from",
"the",
"United",
"Kingdom",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
1,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"United Kingdom\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT COUNT(DISTINCT Country) FROM climber",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"Country",
")",
"FROM",
"climber"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"country",
")",
"from",
"climber"
],
"question": "How many distinct countries are the climbers from?",
"question_toks": [
"How",
"many",
"distinct",
"countries",
"are",
"the",
"climbers",
"from",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
9,
true
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT COUNT(DISTINCT Country) FROM climber",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"Country",
")",
"FROM",
"climber"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"country",
")",
"from",
"climber"
],
"question": "Count the number of different countries that climbers are from.",
"question_toks": [
"Count",
"the",
"number",
"of",
"different",
"countries",
"that",
"climbers",
"are",
"from",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
9,
true
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain ORDER BY Name ASC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"ORDER",
"BY",
"Name",
"ASC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"order",
"by",
"name",
"asc"
],
"question": "What are the names of mountains in ascending alphabetical order?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"mountains",
"in",
"ascending",
"alphabetical",
"order",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"asc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain ORDER BY Name ASC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"ORDER",
"BY",
"Name",
"ASC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"order",
"by",
"name",
"asc"
],
"question": "Give the names of mountains in alphabetical order.",
"question_toks": [
"Give",
"the",
"names",
"of",
"mountains",
"in",
"alphabetical",
"order",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"asc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain WHERE Height > 5000",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5000"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"where",
"height",
">",
"value"
],
"question": "What are the countries of mountains with height bigger than 5000?",
"question_toks": [
"What",
"are",
"the",
"countries",
"of",
"mountains",
"with",
"height",
"bigger",
"than",
"5000",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5000.0,
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain WHERE Height > 5000",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5000"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"where",
"height",
">",
"value"
],
"question": "Return the countries of the mountains that have a height larger than 5000.",
"question_toks": [
"Return",
"the",
"countries",
"of",
"the",
"mountains",
"that",
"have",
"a",
"height",
"larger",
"than",
"5000",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5000.0,
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"ORDER",
"BY",
"Height",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"order",
"by",
"height",
"desc",
"limit",
"value"
],
"question": "What is the name of the highest mountain?",
"question_toks": [
"What",
"is",
"the",
"name",
"of",
"the",
"highest",
"mountain",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"ORDER",
"BY",
"Height",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"order",
"by",
"height",
"desc",
"limit",
"value"
],
"question": "Return the name of the mountain with the greatest height.",
"question_toks": [
"Return",
"the",
"name",
"of",
"the",
"mountain",
"with",
"the",
"greatest",
"height",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3",
"query_toks": [
"SELECT",
"DISTINCT",
"Range",
"FROM",
"mountain",
"ORDER",
"BY",
"Prominence",
"DESC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"distinct",
"range",
"from",
"mountain",
"order",
"by",
"prominence",
"desc",
"limit",
"value"
],
"question": "List the distinct ranges of the mountains with the top 3 prominence.",
"question_toks": [
"List",
"the",
"distinct",
"ranges",
"of",
"the",
"mountains",
"with",
"the",
"top",
"3",
"prominence",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 3,
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"select": [
true,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3",
"query_toks": [
"SELECT",
"DISTINCT",
"Range",
"FROM",
"mountain",
"ORDER",
"BY",
"Prominence",
"DESC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"distinct",
"range",
"from",
"mountain",
"order",
"by",
"prominence",
"desc",
"limit",
"value"
],
"question": "What are the different ranges of the 3 mountains with the highest prominence?",
"question_toks": [
"What",
"are",
"the",
"different",
"ranges",
"of",
"the",
"3",
"mountains",
"with",
"the",
"highest",
"prominence",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 3,
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"select": [
true,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID",
"query_toks": [
"SELECT",
"T1.Name",
",",
"T2.Name",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"name",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id"
],
"question": "Show names of climbers and the names of mountains they climb.",
"question_toks": [
"Show",
"names",
"of",
"climbers",
"and",
"the",
"names",
"of",
"mountains",
"they",
"climb",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID",
"query_toks": [
"SELECT",
"T1.Name",
",",
"T2.Name",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"name",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id"
],
"question": "What are the names of climbers and the corresponding names of mountains that they climb?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"climbers",
"and",
"the",
"corresponding",
"names",
"of",
"mountains",
"that",
"they",
"climb",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID",
"query_toks": [
"SELECT",
"T1.Name",
",",
"T2.Height",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"height",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id"
],
"question": "Show the names of climbers and the heights of mountains they climb.",
"question_toks": [
"Show",
"the",
"names",
"of",
"climbers",
"and",
"the",
"heights",
"of",
"mountains",
"they",
"climb",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID",
"query_toks": [
"SELECT",
"T1.Name",
",",
"T2.Height",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"height",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id"
],
"question": "What are the names of climbers and the corresponding heights of the mountains that they climb?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"climbers",
"and",
"the",
"corresponding",
"heights",
"of",
"the",
"mountains",
"that",
"they",
"climb",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
8,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Height",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"ORDER",
"BY",
"T1.Points",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"height",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"order",
"by",
"t1",
".",
"points",
"desc",
"limit",
"value"
],
"question": "Show the height of the mountain climbed by the climber with the maximum points.",
"question_toks": [
"Show",
"the",
"height",
"of",
"the",
"mountain",
"climbed",
"by",
"the",
"climber",
"with",
"the",
"maximum",
"points",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Height",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"ORDER",
"BY",
"T1.Points",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"height",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"order",
"by",
"t1",
".",
"points",
"desc",
"limit",
"value"
],
"question": "What is the height of the mountain climbined by the climbing who had the most points?",
"question_toks": [
"What",
"is",
"the",
"height",
"of",
"the",
"mountain",
"climbined",
"by",
"the",
"climbing",
"who",
"had",
"the",
"most",
"points",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"",
"query_toks": [
"SELECT",
"DISTINCT",
"T2.Name",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"WHERE",
"T1.Country",
"=",
"``",
"West",
"Germany",
"''"
],
"query_toks_no_value": [
"select",
"distinct",
"t2",
".",
"name",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"where",
"t1",
".",
"country",
"=",
"value"
],
"question": "Show the distinct names of mountains climbed by climbers from country \"West Germany\".",
"question_toks": [
"Show",
"the",
"distinct",
"names",
"of",
"mountains",
"climbed",
"by",
"climbers",
"from",
"country",
"``",
"West",
"Germany",
"''",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
true,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"West Germany\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"",
"query_toks": [
"SELECT",
"DISTINCT",
"T2.Name",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"WHERE",
"T1.Country",
"=",
"``",
"West",
"Germany",
"''"
],
"query_toks_no_value": [
"select",
"distinct",
"t2",
".",
"name",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"where",
"t1",
".",
"country",
"=",
"value"
],
"question": "What are the different names of mountains ascended by climbers from the country of West Germany?",
"question_toks": [
"What",
"are",
"the",
"different",
"names",
"of",
"mountains",
"ascended",
"by",
"climbers",
"from",
"the",
"country",
"of",
"West",
"Germany",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
true,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"West Germany\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = \"Uganda\"",
"query_toks": [
"SELECT",
"T1.Time",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"WHERE",
"T2.Country",
"=",
"``",
"Uganda",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"time",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"where",
"t2",
".",
"country",
"=",
"value"
],
"question": "Show the times used by climbers to climb mountains in Country Uganda.",
"question_toks": [
"Show",
"the",
"times",
"used",
"by",
"climbers",
"to",
"climb",
"mountains",
"in",
"Country",
"Uganda",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
"\"Uganda\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = \"Uganda\"",
"query_toks": [
"SELECT",
"T1.Time",
"FROM",
"climber",
"AS",
"T1",
"JOIN",
"mountain",
"AS",
"T2",
"ON",
"T1.Mountain_ID",
"=",
"T2.Mountain_ID",
"WHERE",
"T2.Country",
"=",
"``",
"Uganda",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"time",
"from",
"climber",
"as",
"t1",
"join",
"mountain",
"as",
"t2",
"on",
"t1",
".",
"mountain_id",
"=",
"t2",
".",
"mountain_id",
"where",
"t2",
".",
"country",
"=",
"value"
],
"question": "What are the times used by climbers who climbed mountains in the country of Uganda?",
"question_toks": [
"What",
"are",
"the",
"times",
"used",
"by",
"climbers",
"who",
"climbed",
"mountains",
"in",
"the",
"country",
"of",
"Uganda",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
"\"Uganda\"",
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Country , COUNT(*) FROM climber GROUP BY Country",
"query_toks": [
"SELECT",
"Country",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"climber",
"GROUP",
"BY",
"Country"
],
"query_toks_no_value": [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"climber",
"group",
"by",
"country"
],
"question": "Please show the countries and the number of climbers from each country.",
"question_toks": [
"Please",
"show",
"the",
"countries",
"and",
"the",
"number",
"of",
"climbers",
"from",
"each",
"country",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [
[
0,
9,
false
]
],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Country , COUNT(*) FROM climber GROUP BY Country",
"query_toks": [
"SELECT",
"Country",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"climber",
"GROUP",
"BY",
"Country"
],
"query_toks_no_value": [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"climber",
"group",
"by",
"country"
],
"question": "How many climbers are from each country?",
"question_toks": [
"How",
"many",
"climbers",
"are",
"from",
"each",
"country",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [
[
0,
9,
false
]
],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"GROUP",
"BY",
"Country",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"1"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"group",
"by",
"country",
"having",
"count",
"(",
"*",
")",
">",
"value"
],
"question": "List the countries that have more than one mountain.",
"question_toks": [
"List",
"the",
"countries",
"that",
"have",
"more",
"than",
"one",
"mountain",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
6,
false
]
],
"having": [
[
false,
3,
[
0,
[
3,
0,
false
],
null
],
1.0,
null
]
],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"GROUP",
"BY",
"Country",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"1"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"group",
"by",
"country",
"having",
"count",
"(",
"*",
")",
">",
"value"
],
"question": "Which countries have more than one mountain?",
"question_toks": [
"Which",
"countries",
"have",
"more",
"than",
"one",
"mountain",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
6,
false
]
],
"having": [
[
false,
3,
[
0,
[
3,
0,
false
],
null
],
1.0,
null
]
],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"WHERE",
"Mountain_ID",
"NOT",
"IN",
"(",
"SELECT",
"Mountain_ID",
"FROM",
"climber",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"where",
"mountain_id",
"not",
"in",
"(",
"select",
"mountain_id",
"from",
"climber",
")"
],
"question": "List the names of mountains that do not have any climber.",
"question_toks": [
"List",
"the",
"names",
"of",
"mountains",
"that",
"do",
"not",
"have",
"any",
"climber",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"union": null,
"where": []
},
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"WHERE",
"Mountain_ID",
"NOT",
"IN",
"(",
"SELECT",
"Mountain_ID",
"FROM",
"climber",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"where",
"mountain_id",
"not",
"in",
"(",
"select",
"mountain_id",
"from",
"climber",
")"
],
"question": "What are the names of countains that no climber has climbed?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"countains",
"that",
"no",
"climber",
"has",
"climbed",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"union": null,
"where": []
},
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5600",
"INTERSECT",
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
"<",
"5200"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"where",
"height",
">",
"value",
"intersect",
"select",
"country",
"from",
"mountain",
"where",
"height",
"<",
"value"
],
"question": "Show the countries that have mountains with height more than 5600 stories and mountains with height less than 5200.",
"question_toks": [
"Show",
"the",
"countries",
"that",
"have",
"mountains",
"with",
"height",
"more",
"than",
"5600",
"stories",
"and",
"mountains",
"with",
"height",
"less",
"than",
"5200",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
4,
[
0,
[
0,
3,
false
],
null
],
5200.0,
null
]
]
},
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5600.0,
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200",
"query_toks": [
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5600",
"INTERSECT",
"SELECT",
"Country",
"FROM",
"mountain",
"WHERE",
"Height",
"<",
"5200"
],
"query_toks_no_value": [
"select",
"country",
"from",
"mountain",
"where",
"height",
">",
"value",
"intersect",
"select",
"country",
"from",
"mountain",
"where",
"height",
"<",
"value"
],
"question": "What are the countries that have both mountains that are higher than 5600 and lower than 5200?",
"question_toks": [
"What",
"are",
"the",
"countries",
"that",
"have",
"both",
"mountains",
"that",
"are",
"higher",
"than",
"5600",
"and",
"lower",
"than",
"5200",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
4,
[
0,
[
0,
3,
false
],
null
],
5200.0,
null
]
]
},
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5600.0,
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"Range",
"FROM",
"mountain",
"GROUP",
"BY",
"Range",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"range",
"from",
"mountain",
"group",
"by",
"range",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Show the range that has the most number of mountains.",
"question_toks": [
"Show",
"the",
"range",
"that",
"has",
"the",
"most",
"number",
"of",
"mountains",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
5,
false
]
],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"Range",
"FROM",
"mountain",
"GROUP",
"BY",
"Range",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"range",
"from",
"mountain",
"group",
"by",
"range",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Which range contains the most mountains?",
"question_toks": [
"Which",
"range",
"contains",
"the",
"most",
"mountains",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
5,
false
]
],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5000",
"OR",
"Prominence",
">",
"1000"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"where",
"height",
">",
"value",
"or",
"prominence",
">",
"value"
],
"question": "Show the names of mountains with height more than 5000 or prominence more than 1000.",
"question_toks": [
"Show",
"the",
"names",
"of",
"mountains",
"with",
"height",
"more",
"than",
"5000",
"or",
"prominence",
"more",
"than",
"1000",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5000.0,
null
],
"or",
[
false,
3,
[
0,
[
0,
4,
false
],
null
],
1000.0,
null
]
]
}
},
{
"db_id": "climbing",
"query": "SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000",
"query_toks": [
"SELECT",
"Name",
"FROM",
"mountain",
"WHERE",
"Height",
">",
"5000",
"OR",
"Prominence",
">",
"1000"
],
"query_toks_no_value": [
"select",
"name",
"from",
"mountain",
"where",
"height",
">",
"value",
"or",
"prominence",
">",
"value"
],
"question": "What are the names of mountains that have a height of over 5000 or a prominence of over 1000?",
"question_toks": [
"What",
"are",
"the",
"names",
"of",
"mountains",
"that",
"have",
"a",
"height",
"of",
"over",
"5000",
"or",
"a",
"prominence",
"of",
"over",
"1000",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
3,
false
],
null
],
5000.0,
null
],
"or",
[
false,
3,
[
0,
[
0,
4,
false
],
null
],
1000.0,
null
]
]
}
}
]