text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Which Attendance has an Opponent of green bay packers, and a Week larger than 10?
### CONTEXT
CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
### ANSWER
SELECT MIN(attendance) FROM table_name_95 WHERE opponent = "green bay packers" AND week > 10
|
{
"answer": "SELECT MIN(attendance) FROM table_name_95 WHERE opponent = \"green bay packers\" AND week > 10",
"context": "CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR, week VARCHAR)",
"question": "Which Attendance has an Opponent of green bay packers, and a Week larger than 10?"
}
|
### QUESTION
What was the position of the team Minneapolis Lakers during round T?
### CONTEXT
CREATE TABLE table_name_62 (position VARCHAR, round VARCHAR, team VARCHAR)
### ANSWER
SELECT position FROM table_name_62 WHERE round = "t" AND team = "minneapolis lakers"
|
{
"answer": "SELECT position FROM table_name_62 WHERE round = \"t\" AND team = \"minneapolis lakers\"",
"context": "CREATE TABLE table_name_62 (position VARCHAR, round VARCHAR, team VARCHAR)",
"question": "What was the position of the team Minneapolis Lakers during round T?"
}
|
### QUESTION
how many original air date where family/families is the ryder family and the schwartz family
### CONTEXT
CREATE TABLE table_19897294_9 (original_air_date VARCHAR, family_families VARCHAR)
### ANSWER
SELECT COUNT(original_air_date) FROM table_19897294_9 WHERE family_families = "The Ryder Family and The Schwartz Family"
|
{
"answer": "SELECT COUNT(original_air_date) FROM table_19897294_9 WHERE family_families = \"The Ryder Family and The Schwartz Family\"",
"context": "CREATE TABLE table_19897294_9 (original_air_date VARCHAR, family_families VARCHAR)",
"question": "how many original air date where family/families is the ryder family and the schwartz family"
}
|
### QUESTION
Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it.
### CONTEXT
CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER); CREATE TABLE projects (hours INTEGER)
### ANSWER
SELECT T2.name, T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.hours = (SELECT MIN(hours) FROM projects)
|
{
"answer": "SELECT T2.name, T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.hours = (SELECT MIN(hours) FROM projects)",
"context": "CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER); CREATE TABLE projects (hours INTEGER)",
"question": "Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it."
}
|
### QUESTION
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4?
### CONTEXT
CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR)
### ANSWER
SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4
|
{
"answer": "SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = \"not indigenous\" AND totora_municipality___percentage_ < 4.4",
"context": "CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR)",
"question": "Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4?"
}
|
### QUESTION
What title had a remark of #21 us [riaa certified gold january 3, 1990]?
### CONTEXT
CREATE TABLE table_name_61 (title VARCHAR, remark VARCHAR)
### ANSWER
SELECT title FROM table_name_61 WHERE remark = "#21 us [riaa certified gold january 3, 1990]"
|
{
"answer": "SELECT title FROM table_name_61 WHERE remark = \"#21 us [riaa certified gold january 3, 1990]\"",
"context": "CREATE TABLE table_name_61 (title VARCHAR, remark VARCHAR)",
"question": "What title had a remark of #21 us [riaa certified gold january 3, 1990]?"
}
|
### QUESTION
How many members gained university status in 1900?
### CONTEXT
CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR)
### ANSWER
SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900
|
{
"answer": "SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900",
"context": "CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR)",
"question": "How many members gained university status in 1900?"
}
|
### QUESTION
What No is the player Zoran Erceg
### CONTEXT
CREATE TABLE table_12962773_4 (no INTEGER, player VARCHAR)
### ANSWER
SELECT MIN(no) FROM table_12962773_4 WHERE player = "Zoran Erceg"
|
{
"answer": "SELECT MIN(no) FROM table_12962773_4 WHERE player = \"Zoran Erceg\"",
"context": "CREATE TABLE table_12962773_4 (no INTEGER, player VARCHAR)",
"question": "What No is the player Zoran Erceg"
}
|
### QUESTION
Who's the Republican ticket with a Democratic ticket of flora d. johnson?
### CONTEXT
CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
### ANSWER
SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = "flora d. johnson"
|
{
"answer": "SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = \"flora d. johnson\"",
"context": "CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR)",
"question": "Who's the Republican ticket with a Democratic ticket of flora d. johnson?"
}
|
### QUESTION
What is the percentage of Glendale when Pasadena is 14%?
### CONTEXT
CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR)
### ANSWER
SELECT glendale FROM table_name_87 WHERE pasadena = "14%"
|
{
"answer": "SELECT glendale FROM table_name_87 WHERE pasadena = \"14%\"",
"context": "CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR)",
"question": "What is the percentage of Glendale when Pasadena is 14%?"
}
|
### QUESTION
What place did the golfer from the United States come in with a To Par of +2, and a score of 73-74-71-72=290?
### CONTEXT
CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)
### ANSWER
SELECT place FROM table_name_43 WHERE country = "united states" AND to_par = "+2" AND score = 73 - 74 - 71 - 72 = 290
|
{
"answer": "SELECT place FROM table_name_43 WHERE country = \"united states\" AND to_par = \"+2\" AND score = 73 - 74 - 71 - 72 = 290",
"context": "CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)",
"question": "What place did the golfer from the United States come in with a To Par of +2, and a score of 73-74-71-72=290?"
}
|
### QUESTION
What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?
### CONTEXT
CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov"
|
{
"answer": "SELECT stage FROM table_name_71 WHERE mountains_classification = \"pascal richard\" AND winner = \"vladimir poulnikov\"",
"context": "CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)",
"question": "What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?"
}
|
### QUESTION
what kind of Week 5 that has a Week 1 of mandy ashford?
### CONTEXT
CREATE TABLE table_name_68 (week_5 VARCHAR, week_1 VARCHAR)
### ANSWER
SELECT week_5 FROM table_name_68 WHERE week_1 = "mandy ashford"
|
{
"answer": "SELECT week_5 FROM table_name_68 WHERE week_1 = \"mandy ashford\"",
"context": "CREATE TABLE table_name_68 (week_5 VARCHAR, week_1 VARCHAR)",
"question": "what kind of Week 5 that has a Week 1 of mandy ashford?"
}
|
### QUESTION
Tell me the total number of total for vovinam and bronze less than 3
### CONTEXT
CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR)
### ANSWER
SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3
|
{
"answer": "SELECT COUNT(total) FROM table_name_16 WHERE sport = \"vovinam\" AND bronze < 3",
"context": "CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR)",
"question": "Tell me the total number of total for vovinam and bronze less than 3"
}
|
### QUESTION
Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?
### CONTEXT
CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR)
### ANSWER
SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND competition = "friendly" AND date = "may 31, 1998"
|
{
"answer": "SELECT result FROM table_name_1 WHERE goal > 6 AND score = \"1–0\" AND competition = \"friendly\" AND date = \"may 31, 1998\"",
"context": "CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR)",
"question": "Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?"
}
|
### QUESTION
What is Country, when Year is "1994"?
### CONTEXT
CREATE TABLE table_name_93 (country VARCHAR, year VARCHAR)
### ANSWER
SELECT country FROM table_name_93 WHERE year = 1994
|
{
"answer": "SELECT country FROM table_name_93 WHERE year = 1994",
"context": "CREATE TABLE table_name_93 (country VARCHAR, year VARCHAR)",
"question": "What is Country, when Year is \"1994\"?"
}
|
### QUESTION
What year did a school from Jennings County join?
### CONTEXT
CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR)
### ANSWER
SELECT year_joined FROM table_name_5 WHERE school = "jennings county"
|
{
"answer": "SELECT year_joined FROM table_name_5 WHERE school = \"jennings county\"",
"context": "CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR)",
"question": "What year did a school from Jennings County join?"
}
|
### QUESTION
What years did number 54 play for the jazz
### CONTEXT
CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR)
### ANSWER
SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54
|
{
"answer": "SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54",
"context": "CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR)",
"question": "What years did number 54 play for the jazz"
}
|
### QUESTION
List the Episode of all TV series showed on TV Channel with series name "Sky Radio".
### CONTEXT
CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)
### ANSWER
SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio"
|
{
"answer": "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\"",
"context": "CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)",
"question": "List the Episode of all TV series showed on TV Channel with series name \"Sky Radio\"."
}
|
### QUESTION
Name the least 10,000+ places for louisville
### CONTEXT
CREATE TABLE table_22916979_5 (_places VARCHAR, principal_city VARCHAR)
### ANSWER
SELECT MIN(10), 000 + _places FROM table_22916979_5 WHERE principal_city = "Louisville"
|
{
"answer": "SELECT MIN(10), 000 + _places FROM table_22916979_5 WHERE principal_city = \"Louisville\"",
"context": "CREATE TABLE table_22916979_5 (_places VARCHAR, principal_city VARCHAR)",
"question": "Name the least 10,000+ places for louisville"
}
|
### QUESTION
Name the rank on channel for january 21, 2011
### CONTEXT
CREATE TABLE table_26493520_3 (rank_on_channel VARCHAR, original_air_date VARCHAR)
### ANSWER
SELECT rank_on_channel FROM table_26493520_3 WHERE original_air_date = "January 21, 2011"
|
{
"answer": "SELECT rank_on_channel FROM table_26493520_3 WHERE original_air_date = \"January 21, 2011\"",
"context": "CREATE TABLE table_26493520_3 (rank_on_channel VARCHAR, original_air_date VARCHAR)",
"question": "Name the rank on channel for january 21, 2011"
}
|
### QUESTION
Show the names of cities in counties that have a crime rate less than 100.
### CONTEXT
CREATE TABLE county_public_safety (name VARCHAR, county_id VARCHAR, Crime_rate INTEGER); CREATE TABLE city (name VARCHAR, county_id VARCHAR, Crime_rate INTEGER)
### ANSWER
SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate < 100)
|
{
"answer": "SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate < 100)",
"context": "CREATE TABLE county_public_safety (name VARCHAR, county_id VARCHAR, Crime_rate INTEGER); CREATE TABLE city (name VARCHAR, county_id VARCHAR, Crime_rate INTEGER)",
"question": "Show the names of cities in counties that have a crime rate less than 100."
}
|
### QUESTION
What was the score of the January 8 game?
### CONTEXT
CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_27712702_9 WHERE date = "January 8"
|
{
"answer": "SELECT score FROM table_27712702_9 WHERE date = \"January 8\"",
"context": "CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)",
"question": "What was the score of the January 8 game?"
}
|
### QUESTION
Which player(s) is from South Africa?
### CONTEXT
CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR)
### ANSWER
SELECT player FROM table_name_76 WHERE country = "south africa"
|
{
"answer": "SELECT player FROM table_name_76 WHERE country = \"south africa\"",
"context": "CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR)",
"question": "Which player(s) is from South Africa?"
}
|
### QUESTION
Which chassis did Aguri Suzuki drive with an entrant of Larrousse F1?
### CONTEXT
CREATE TABLE table_name_41 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
### ANSWER
SELECT chassis FROM table_name_41 WHERE entrant = "larrousse f1" AND driver = "aguri suzuki"
|
{
"answer": "SELECT chassis FROM table_name_41 WHERE entrant = \"larrousse f1\" AND driver = \"aguri suzuki\"",
"context": "CREATE TABLE table_name_41 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)",
"question": "Which chassis did Aguri Suzuki drive with an entrant of Larrousse F1?"
}
|
### QUESTION
WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
### CONTEXT
CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)
### ANSWER
SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"
|
{
"answer": "SELECT champion FROM table_name_39 WHERE course = \"richmond river\" AND date = \"june 13\"",
"context": "CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)",
"question": "WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?"
}
|
### QUESTION
What instrument did the musician with last name "Heilo" use in the song "Le Pop"?
### CONTEXT
CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)
### ANSWER
SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Le Pop"
|
{
"answer": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = \"Heilo\" AND T3.title = \"Le Pop\"",
"context": "CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)",
"question": "What instrument did the musician with last name \"Heilo\" use in the song \"Le Pop\"?"
}
|
### QUESTION
What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja?
### CONTEXT
CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR)
### ANSWER
SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja"
|
{
"answer": "SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = \"vega baja\"",
"context": "CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR)",
"question": "What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja?"
}
|
### QUESTION
Tell me the final position for fa community shield
### CONTEXT
CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR)
### ANSWER
SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield"
|
{
"answer": "SELECT final_position___round FROM table_name_22 WHERE competition = \"fa community shield\"",
"context": "CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR)",
"question": "Tell me the final position for fa community shield"
}
|
### QUESTION
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
### CONTEXT
CREATE TABLE table_2668405_17 (first_elected VARCHAR, candidates VARCHAR)
### ANSWER
SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%"
|
{
"answer": "SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = \"Leven Powell (F) 63.8% Roger West (DR) 36.4%\"",
"context": "CREATE TABLE table_2668405_17 (first_elected VARCHAR, candidates VARCHAR)",
"question": "How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?"
}
|
### QUESTION
Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?
### CONTEXT
CREATE TABLE table_name_39 (performance VARCHAR, class VARCHAR, test_standard VARCHAR, particulate_size_approaching_100_percentage_retention VARCHAR)
### ANSWER
SELECT performance FROM table_name_39 WHERE test_standard = "bs en779" AND particulate_size_approaching_100_percentage_retention = ">2µm" AND class = "f6"
|
{
"answer": "SELECT performance FROM table_name_39 WHERE test_standard = \"bs en779\" AND particulate_size_approaching_100_percentage_retention = \">2µm\" AND class = \"f6\"",
"context": "CREATE TABLE table_name_39 (performance VARCHAR, class VARCHAR, test_standard VARCHAR, particulate_size_approaching_100_percentage_retention VARCHAR)",
"question": "Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?"
}
|
### QUESTION
How many powiats have mstsislaw as a capital?
### CONTEXT
CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)
### ANSWER
SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw"
|
{
"answer": "SELECT number_of_powiats FROM table_1784514_1 WHERE capital = \"Mstsislaw\"",
"context": "CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)",
"question": "How many powiats have mstsislaw as a capital?"
}
|
### QUESTION
What is the A-league with 39 saves?
### CONTEXT
CREATE TABLE table_name_7 (a_league VARCHAR, saves VARCHAR)
### ANSWER
SELECT a_league FROM table_name_7 WHERE saves = 39
|
{
"answer": "SELECT a_league FROM table_name_7 WHERE saves = 39",
"context": "CREATE TABLE table_name_7 (a_league VARCHAR, saves VARCHAR)",
"question": "What is the A-league with 39 saves?"
}
|
### QUESTION
What is the High assists for march 25?
### CONTEXT
CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR)
### ANSWER
SELECT high_assists FROM table_name_69 WHERE date = "march 25"
|
{
"answer": "SELECT high_assists FROM table_name_69 WHERE date = \"march 25\"",
"context": "CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR)",
"question": "What is the High assists for march 25?"
}
|
### QUESTION
How many car makers are there in each continents? List the continent name and the count.
### CONTEXT
CREATE TABLE COUNTRIES (continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (Continent VARCHAR, ContId VARCHAR); CREATE TABLE car_makers (Country VARCHAR)
### ANSWER
SELECT T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent
|
{
"answer": "SELECT T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent",
"context": "CREATE TABLE COUNTRIES (continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (Continent VARCHAR, ContId VARCHAR); CREATE TABLE car_makers (Country VARCHAR)",
"question": "How many car makers are there in each continents? List the continent name and the count."
}
|
### QUESTION
What is the election year when the # of candidates nominated was 262?
### CONTEXT
CREATE TABLE table_123462_2 (election VARCHAR, _number_of_candidates_nominated VARCHAR)
### ANSWER
SELECT COUNT(election) FROM table_123462_2 WHERE _number_of_candidates_nominated = 262
|
{
"answer": "SELECT COUNT(election) FROM table_123462_2 WHERE _number_of_candidates_nominated = 262",
"context": "CREATE TABLE table_123462_2 (election VARCHAR, _number_of_candidates_nominated VARCHAR)",
"question": "What is the election year when the # of candidates nominated was 262?"
}
|
### QUESTION
Who directed all the episodes that were written by aaron ehasz & john o'bryan?
### CONTEXT
CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR)
### ANSWER
SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan"
|
{
"answer": "SELECT directed_by FROM table_14562722_1 WHERE written_by = \"Aaron Ehasz & John O'Bryan\"",
"context": "CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR)",
"question": "Who directed all the episodes that were written by aaron ehasz & john o'bryan?"
}
|
### QUESTION
Which champion has sentosa golf club as the tournament location?
### CONTEXT
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)
### ANSWER
SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf club"
|
{
"answer": "SELECT champion FROM table_name_55 WHERE tournament_location = \"sentosa golf club\"",
"context": "CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)",
"question": "Which champion has sentosa golf club as the tournament location?"
}
|
### QUESTION
Which lane ranked less than 4 for the Netherlands?
### CONTEXT
CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR)
### ANSWER
SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands"
|
{
"answer": "SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = \"netherlands\"",
"context": "CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR)",
"question": "Which lane ranked less than 4 for the Netherlands?"
}
|
### QUESTION
What are the first and last name of the faculty who has the most students?
### CONTEXT
CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR)
### ANSWER
SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR)",
"question": "What are the first and last name of the faculty who has the most students?"
}
|
### QUESTION
Show the employee ids for all employees with role name "Human Resource" or "Manager".
### CONTEXT
CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)
### ANSWER
SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"
|
{
"answer": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Human Resource\" OR T2.role_name = \"Manager\"",
"context": "CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)",
"question": "Show the employee ids for all employees with role name \"Human Resource\" or \"Manager\"."
}
|
### QUESTION
What is the Cook PVI for the location that has a representative of Mike Thompson?
### CONTEXT
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR, representative VARCHAR)
### ANSWER
SELECT cook_pvi FROM table_19283806_4 WHERE representative = "Mike Thompson"
|
{
"answer": "SELECT cook_pvi FROM table_19283806_4 WHERE representative = \"Mike Thompson\"",
"context": "CREATE TABLE table_19283806_4 (cook_pvi VARCHAR, representative VARCHAR)",
"question": "What is the Cook PVI for the location that has a representative of Mike Thompson?"
}
|
### QUESTION
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1?
### CONTEXT
CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
### ANSWER
SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = "germany (ger)" AND gold < 1
|
{
"answer": "SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = \"germany (ger)\" AND gold < 1",
"context": "CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)",
"question": "What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1?"
}
|
### QUESTION
What is the score on december 10?
### CONTEXT
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_98 WHERE date = "december 10"
|
{
"answer": "SELECT score FROM table_name_98 WHERE date = \"december 10\"",
"context": "CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)",
"question": "What is the score on december 10?"
}
|
### QUESTION
What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb?
### CONTEXT
CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR)
### ANSWER
SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb"
|
{
"answer": "SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = \"marius călugăru ciprian petre porumb\"",
"context": "CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR)",
"question": "What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb?"
}
|
### QUESTION
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
### CONTEXT
CREATE TABLE table_name_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)
### ANSWER
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–"
|
{
"answer": "SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = \"–\"",
"context": "CREATE TABLE table_name_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)",
"question": "What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?"
}
|
### QUESTION
WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?
### CONTEXT
CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_94 WHERE place = "t3" AND player = "geoff ogilvy"
|
{
"answer": "SELECT to_par FROM table_name_94 WHERE place = \"t3\" AND player = \"geoff ogilvy\"",
"context": "CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR)",
"question": "WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?"
}
|
### QUESTION
How many matches did Carlos Kameni play in, who had an average larger than 1.27?
### CONTEXT
CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
### ANSWER
SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27
|
{
"answer": "SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = \"carlos kameni\" AND average > 1.27",
"context": "CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)",
"question": "How many matches did Carlos Kameni play in, who had an average larger than 1.27?"
}
|
### QUESTION
How many verbs mean to grow, to produce
### CONTEXT
CREATE TABLE table_1745843_10 (part_1 VARCHAR, verb_meaning VARCHAR)
### ANSWER
SELECT COUNT(part_1) FROM table_1745843_10 WHERE verb_meaning = "to grow, to produce"
|
{
"answer": "SELECT COUNT(part_1) FROM table_1745843_10 WHERE verb_meaning = \"to grow, to produce\"",
"context": "CREATE TABLE table_1745843_10 (part_1 VARCHAR, verb_meaning VARCHAR)",
"question": "How many verbs mean to grow, to produce"
}
|
### QUESTION
What is the license that is described as a tool for designing and executing workflows?
### CONTEXT
CREATE TABLE table_25474825_1 (license VARCHAR, description VARCHAR)
### ANSWER
SELECT license FROM table_25474825_1 WHERE description = "Tool for designing and executing workflows"
|
{
"answer": "SELECT license FROM table_25474825_1 WHERE description = \"Tool for designing and executing workflows\"",
"context": "CREATE TABLE table_25474825_1 (license VARCHAR, description VARCHAR)",
"question": "What is the license that is described as a tool for designing and executing workflows?"
}
|
### QUESTION
What were the events in the 1976 Innsbruck Games?
### CONTEXT
CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR)
### ANSWER
SELECT event FROM table_name_60 WHERE games = "1976 innsbruck"
|
{
"answer": "SELECT event FROM table_name_60 WHERE games = \"1976 innsbruck\"",
"context": "CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR)",
"question": "What were the events in the 1976 Innsbruck Games?"
}
|
### QUESTION
Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r
### CONTEXT
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)
### ANSWER
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"
|
{
"answer": "SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = \"6.4\" AND archive = \"16mm t/r\"",
"context": "CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)",
"question": "Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r"
}
|
### QUESTION
Find the name and price of the product that has been ordered the greatest number of times.
### CONTEXT
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)
### ANSWER
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)",
"question": "Find the name and price of the product that has been ordered the greatest number of times."
}
|
### QUESTION
Which Railway has a Location of shildon, and an ObjectNumber of 1975-7022?
### CONTEXT
CREATE TABLE table_name_58 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)
### ANSWER
SELECT railway FROM table_name_58 WHERE location = "shildon" AND objectnumber = "1975-7022"
|
{
"answer": "SELECT railway FROM table_name_58 WHERE location = \"shildon\" AND objectnumber = \"1975-7022\"",
"context": "CREATE TABLE table_name_58 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)",
"question": "Which Railway has a Location of shildon, and an ObjectNumber of 1975-7022?"
}
|
### QUESTION
Name the start of an event in Catagory 2 of the year 1947.
### CONTEXT
CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)
### ANSWER
SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947
|
{
"answer": "SELECT start FROM table_name_40 WHERE category = \"2\" AND year = 1947",
"context": "CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)",
"question": "Name the start of an event in Catagory 2 of the year 1947."
}
|
### QUESTION
How many production stage managers worked with secretary Rachel Hartmann?
### CONTEXT
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
### ANSWER
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann"
|
{
"answer": "SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = \"Rachel Hartmann\"",
"context": "CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)",
"question": "How many production stage managers worked with secretary Rachel Hartmann?"
}
|
### QUESTION
Which country is the nnamdi azikiwe international airport in?
### CONTEXT
CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)
### ANSWER
SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport"
|
{
"answer": "SELECT country FROM table_name_73 WHERE airport = \"nnamdi azikiwe international airport\"",
"context": "CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)",
"question": "Which country is the nnamdi azikiwe international airport in?"
}
|
### QUESTION
Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?
### CONTEXT
CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
### ANSWER
SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = "per cock-clausen"
|
{
"answer": "SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = \"per cock-clausen\"",
"context": "CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)",
"question": "Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?"
}
|
### QUESTION
What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285?
### CONTEXT
CREATE TABLE table_name_97 (place VARCHAR, to_par VARCHAR, score VARCHAR)
### ANSWER
SELECT place FROM table_name_97 WHERE to_par = "+1" AND score = 74 - 70 - 69 - 72 = 285
|
{
"answer": "SELECT place FROM table_name_97 WHERE to_par = \"+1\" AND score = 74 - 70 - 69 - 72 = 285",
"context": "CREATE TABLE table_name_97 (place VARCHAR, to_par VARCHAR, score VARCHAR)",
"question": "What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285?"
}
|
### QUESTION
How many times was the high assists earl watson (5) and the date of the game was december 2?
### CONTEXT
CREATE TABLE table_11964154_7 (score VARCHAR, high_assists VARCHAR, date VARCHAR)
### ANSWER
SELECT COUNT(score) FROM table_11964154_7 WHERE high_assists = "Earl Watson (5)" AND date = "December 2"
|
{
"answer": "SELECT COUNT(score) FROM table_11964154_7 WHERE high_assists = \"Earl Watson (5)\" AND date = \"December 2\"",
"context": "CREATE TABLE table_11964154_7 (score VARCHAR, high_assists VARCHAR, date VARCHAR)",
"question": "How many times was the high assists earl watson (5) and the date of the game was december 2?"
}
|
### QUESTION
Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?
### CONTEXT
CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR)
### ANSWER
SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "6%"
|
{
"answer": "SELECT investment_income FROM table_name_39 WHERE occupational_pensions = \"7%\" AND working_tax_credit = \"2%\" AND other_social_security_benefits = \"6%\"",
"context": "CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR)",
"question": "Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?"
}
|
### QUESTION
How many seasons did the canterbury bulldogs (8) win?
### CONTEXT
CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR)
### ANSWER
SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (8)"
|
{
"answer": "SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = \"Canterbury Bulldogs (8)\"",
"context": "CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR)",
"question": "How many seasons did the canterbury bulldogs (8) win?"
}
|
### QUESTION
What category was Joe Jonas nominated for at the Kids' Choice Awards Mexico in 2010?
### CONTEXT
CREATE TABLE table_name_44 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)
### ANSWER
SELECT category FROM table_name_44 WHERE result = "nominated" AND year = 2010 AND award = "kids' choice awards mexico" AND recipient_s_ = "joe jonas"
|
{
"answer": "SELECT category FROM table_name_44 WHERE result = \"nominated\" AND year = 2010 AND award = \"kids' choice awards mexico\" AND recipient_s_ = \"joe jonas\"",
"context": "CREATE TABLE table_name_44 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)",
"question": "What category was Joe Jonas nominated for at the Kids' Choice Awards Mexico in 2010?"
}
|
### QUESTION
What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000?
### CONTEXT
CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR)
### ANSWER
SELECT AVG(grid) FROM table_name_25 WHERE bike = "suzuki gsx-r1000" AND rider = "fonsi nieto"
|
{
"answer": "SELECT AVG(grid) FROM table_name_25 WHERE bike = \"suzuki gsx-r1000\" AND rider = \"fonsi nieto\"",
"context": "CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR)",
"question": "What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000?"
}
|
### QUESTION
How many goals on average had 644 matches and a rank bigger than 3?
### CONTEXT
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
### ANSWER
SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3
|
{
"answer": "SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3",
"context": "CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)",
"question": "How many goals on average had 644 matches and a rank bigger than 3?"
}
|
### QUESTION
what is the most weeks on chart when the peak position is less than 5 and from Sweden?
### CONTEXT
CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)
### ANSWER
SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden"
|
{
"answer": "SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = \"sweden\"",
"context": "CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)",
"question": "what is the most weeks on chart when the peak position is less than 5 and from Sweden?"
}
|
### QUESTION
Who has the home ground Aami stadium?
### CONTEXT
CREATE TABLE table_14312471_7 (home_team VARCHAR, ground VARCHAR)
### ANSWER
SELECT home_team FROM table_14312471_7 WHERE ground = "AAMI Stadium"
|
{
"answer": "SELECT home_team FROM table_14312471_7 WHERE ground = \"AAMI Stadium\"",
"context": "CREATE TABLE table_14312471_7 (home_team VARCHAR, ground VARCHAR)",
"question": "Who has the home ground Aami stadium?"
}
|
### QUESTION
What is the lowest grid number when Colin Edwards is the rider?
### CONTEXT
CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)
### ANSWER
SELECT MIN(grid) FROM table_name_46 WHERE rider = "colin edwards"
|
{
"answer": "SELECT MIN(grid) FROM table_name_46 WHERE rider = \"colin edwards\"",
"context": "CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)",
"question": "What is the lowest grid number when Colin Edwards is the rider?"
}
|
### QUESTION
What incumbent was a federalist that was first elected in 1803?
### CONTEXT
CREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
### ANSWER
SELECT incumbent FROM table_2668374_18 WHERE party = "Federalist" AND first_elected = "1803"
|
{
"answer": "SELECT incumbent FROM table_2668374_18 WHERE party = \"Federalist\" AND first_elected = \"1803\"",
"context": "CREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)",
"question": "What incumbent was a federalist that was first elected in 1803?"
}
|
### QUESTION
What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?
### CONTEXT
CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)
### ANSWER
SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34
|
{
"answer": "SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34",
"context": "CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)",
"question": "What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?"
}
|
### QUESTION
What is the record of the game on 13 May?
### CONTEXT
CREATE TABLE table_name_70 (record VARCHAR, date VARCHAR)
### ANSWER
SELECT record FROM table_name_70 WHERE date = "13 may"
|
{
"answer": "SELECT record FROM table_name_70 WHERE date = \"13 may\"",
"context": "CREATE TABLE table_name_70 (record VARCHAR, date VARCHAR)",
"question": "What is the record of the game on 13 May?"
}
|
### QUESTION
What are the response received dates for the documents described as 'Regular' or granted with more than 100?
### CONTEXT
CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR)
### ANSWER
SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100
|
{
"answer": "SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100",
"context": "CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR)",
"question": "What are the response received dates for the documents described as 'Regular' or granted with more than 100?"
}
|
### QUESTION
Which Perth has Auckland yes and Gold Coast yes?
### CONTEXT
CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)
### ANSWER
SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes"
|
{
"answer": "SELECT perth FROM table_name_50 WHERE auckland = \"yes\" AND gold_coast = \"yes\"",
"context": "CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)",
"question": "Which Perth has Auckland yes and Gold Coast yes?"
}
|
### QUESTION
Which episode had Hoagy carmichael safe with an order of 5?
### CONTEXT
CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR)
### ANSWER
SELECT episode FROM table_name_10 WHERE result = "safe" AND order__number = "5" AND original_artist = "hoagy carmichael"
|
{
"answer": "SELECT episode FROM table_name_10 WHERE result = \"safe\" AND order__number = \"5\" AND original_artist = \"hoagy carmichael\"",
"context": "CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR)",
"question": "Which episode had Hoagy carmichael safe with an order of 5?"
}
|
### QUESTION
What is the sales when the artist is kelly clarkson?
### CONTEXT
CREATE TABLE table_name_88 (sales VARCHAR, artist VARCHAR)
### ANSWER
SELECT COUNT(sales) FROM table_name_88 WHERE artist = "kelly clarkson"
|
{
"answer": "SELECT COUNT(sales) FROM table_name_88 WHERE artist = \"kelly clarkson\"",
"context": "CREATE TABLE table_name_88 (sales VARCHAR, artist VARCHAR)",
"question": "What is the sales when the artist is kelly clarkson?"
}
|
### QUESTION
For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993.
### CONTEXT
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR)
### ANSWER
SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = "sasol jordan"
|
{
"answer": "SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = \"sasol jordan\"",
"context": "CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR)",
"question": "For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993."
}
|
### QUESTION
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy
### CONTEXT
CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR)
### ANSWER
SELECT COUNT(original_airdate) FROM table_13956521_2 WHERE writer_s_ = "Becky Hartman Edwards" AND director = "Adam Nimoy"
|
{
"answer": "SELECT COUNT(original_airdate) FROM table_13956521_2 WHERE writer_s_ = \"Becky Hartman Edwards\" AND director = \"Adam Nimoy\"",
"context": "CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR)",
"question": " how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy"
}
|
### QUESTION
What is the lowest Round with the Location, Las Vegas, Nevada, the Method, Decision (unanimous), and the Event, K-1 World Grand Prix 2003 in Las Vegas II?
### CONTEXT
CREATE TABLE table_name_87 (round INTEGER, event VARCHAR, location VARCHAR, method VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_87 WHERE location = "las vegas, nevada" AND method = "decision (unanimous)" AND event = "k-1 world grand prix 2003 in las vegas ii"
|
{
"answer": "SELECT MIN(round) FROM table_name_87 WHERE location = \"las vegas, nevada\" AND method = \"decision (unanimous)\" AND event = \"k-1 world grand prix 2003 in las vegas ii\"",
"context": "CREATE TABLE table_name_87 (round INTEGER, event VARCHAR, location VARCHAR, method VARCHAR)",
"question": "What is the lowest Round with the Location, Las Vegas, Nevada, the Method, Decision (unanimous), and the Event, K-1 World Grand Prix 2003 in Las Vegas II?"
}
|
### QUESTION
what language is seethaiah in
### CONTEXT
CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR)
### ANSWER
SELECT language FROM table_name_27 WHERE film_name = "seethaiah"
|
{
"answer": "SELECT language FROM table_name_27 WHERE film_name = \"seethaiah\"",
"context": "CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR)",
"question": "what language is seethaiah in"
}
|
### QUESTION
For each customer who has at least two orders, find the customer name and number of orders made.
### CONTEXT
CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
### ANSWER
SELECT T2.customer_name, COUNT(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) >= 2
|
{
"answer": "SELECT T2.customer_name, COUNT(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)",
"question": "For each customer who has at least two orders, find the customer name and number of orders made."
}
|
### QUESTION
What is the epicenter of the earthquake on March 2, 1825 with an unknown intensity?
### CONTEXT
CREATE TABLE table_name_10 (epicenter VARCHAR, intensity VARCHAR, date VARCHAR)
### ANSWER
SELECT epicenter FROM table_name_10 WHERE intensity = "unknown" AND date = "march 2, 1825"
|
{
"answer": "SELECT epicenter FROM table_name_10 WHERE intensity = \"unknown\" AND date = \"march 2, 1825\"",
"context": "CREATE TABLE table_name_10 (epicenter VARCHAR, intensity VARCHAR, date VARCHAR)",
"question": "What is the epicenter of the earthquake on March 2, 1825 with an unknown intensity?"
}
|
### QUESTION
Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?
### CONTEXT
CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
### ANSWER
SELECT loser FROM table_name_89 WHERE location = "schaefer stadium" AND winner = "new england patriots" AND date = "october 18"
|
{
"answer": "SELECT loser FROM table_name_89 WHERE location = \"schaefer stadium\" AND winner = \"new england patriots\" AND date = \"october 18\"",
"context": "CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)",
"question": "Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?"
}
|
### QUESTION
Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7?
### CONTEXT
CREATE TABLE table_name_19 (population INTEGER, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)
### ANSWER
SELECT MAX(population) FROM table_name_19 WHERE altitude__mslm_ < 229 AND area__km_2__ > 32.7
|
{
"answer": "SELECT MAX(population) FROM table_name_19 WHERE altitude__mslm_ < 229 AND area__km_2__ > 32.7",
"context": "CREATE TABLE table_name_19 (population INTEGER, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)",
"question": "Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7?"
}
|
### QUESTION
On what Surface was the match with a Score of 3-6, 1-6 played?
### CONTEXT
CREATE TABLE table_name_99 (surface VARCHAR, score VARCHAR)
### ANSWER
SELECT surface FROM table_name_99 WHERE score = "3-6, 1-6"
|
{
"answer": "SELECT surface FROM table_name_99 WHERE score = \"3-6, 1-6\"",
"context": "CREATE TABLE table_name_99 (surface VARCHAR, score VARCHAR)",
"question": "On what Surface was the match with a Score of 3-6, 1-6 played?"
}
|
### QUESTION
What is the most current year signed for separation of † and a separation year of 1997?
### CONTEXT
CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)
### ANSWER
SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = "†" AND year_separated = "1997"
|
{
"answer": "SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = \"†\" AND year_separated = \"1997\"",
"context": "CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)",
"question": "What is the most current year signed for separation of † and a separation year of 1997?"
}
|
### QUESTION
Which unique cities are in Asian countries where Chinese is the official language ?
### CONTEXT
CREATE TABLE city (name VARCHAR, countrycode VARCHAR); CREATE TABLE countrylanguage (countrycode VARCHAR, isofficial VARCHAR, language VARCHAR); CREATE TABLE country (code VARCHAR, continent VARCHAR)
### ANSWER
SELECT DISTINCT t3.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode JOIN city AS t3 ON t1.code = t3.countrycode WHERE t2.isofficial = 't' AND t2.language = 'chinese' AND t1.continent = "asia"
|
{
"answer": "SELECT DISTINCT t3.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode JOIN city AS t3 ON t1.code = t3.countrycode WHERE t2.isofficial = 't' AND t2.language = 'chinese' AND t1.continent = \"asia\"",
"context": "CREATE TABLE city (name VARCHAR, countrycode VARCHAR); CREATE TABLE countrylanguage (countrycode VARCHAR, isofficial VARCHAR, language VARCHAR); CREATE TABLE country (code VARCHAR, continent VARCHAR)",
"question": "Which unique cities are in Asian countries where Chinese is the official language ?"
}
|
### QUESTION
How many Giro positions are associated with the year 1971 and Tour final positions over 50?
### CONTEXT
CREATE TABLE table_name_45 (final_position___giro VARCHAR, year VARCHAR, final_position___tour VARCHAR)
### ANSWER
SELECT COUNT(final_position___giro) FROM table_name_45 WHERE year = 1971 AND final_position___tour > 50
|
{
"answer": "SELECT COUNT(final_position___giro) FROM table_name_45 WHERE year = 1971 AND final_position___tour > 50",
"context": "CREATE TABLE table_name_45 (final_position___giro VARCHAR, year VARCHAR, final_position___tour VARCHAR)",
"question": "How many Giro positions are associated with the year 1971 and Tour final positions over 50?"
}
|
### QUESTION
In what Country will Dennis Blömke play the Germany F13 Futures Tournament?
### CONTEXT
CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR)
### ANSWER
SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"
|
{
"answer": "SELECT country FROM table_name_9 WHERE singles_champions = \"dennis blömke\" AND tournament = \"germany f13 futures\"",
"context": "CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR)",
"question": "In what Country will Dennis Blömke play the Germany F13 Futures Tournament?"
}
|
### QUESTION
Which bowl game had a conference matchup of Ohio State vs. Texas?
### CONTEXT
CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR)
### ANSWER
SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas"
|
{
"answer": "SELECT bowl_game FROM table_name_77 WHERE conference_matchups = \"ohio state vs. texas\"",
"context": "CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR)",
"question": "Which bowl game had a conference matchup of Ohio State vs. Texas?"
}
|
### QUESTION
Which trainer had a time of 1:10.09 with a year less than 2009?
### CONTEXT
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)
### ANSWER
SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"
|
{
"answer": "SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = \"1:10.09\"",
"context": "CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)",
"question": "Which trainer had a time of 1:10.09 with a year less than 2009?"
}
|
### QUESTION
tell me the total number of decile with a roll showing 251.
### CONTEXT
CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR)
### ANSWER
SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251
|
{
"answer": "SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251",
"context": "CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR)",
"question": "tell me the total number of decile with a roll showing 251."
}
|
### QUESTION
Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?
### CONTEXT
CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR)
### ANSWER
SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City"
|
{
"answer": "SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = \"3 April 2008\" AND theme = \"IIHF World Championships, Quebec City\"",
"context": "CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR)",
"question": "Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?"
}
|
### QUESTION
What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?
### CONTEXT
CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)
### ANSWER
SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast"
|
{
"answer": "SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = \"Kurgan Oblast\"",
"context": "CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)",
"question": "What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?"
}
|
### QUESTION
Which service has a hindi language, general genre and zee tv network?
### CONTEXT
CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR)
### ANSWER
SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv"
|
{
"answer": "SELECT service FROM table_name_95 WHERE language = \"hindi\" AND genre = \"general\" AND network = \"zee tv\"",
"context": "CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR)",
"question": "Which service has a hindi language, general genre and zee tv network?"
}
|
### QUESTION
What round has 3-4 as the record?
### CONTEXT
CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)
### ANSWER
SELECT round FROM table_name_49 WHERE record = "3-4"
|
{
"answer": "SELECT round FROM table_name_49 WHERE record = \"3-4\"",
"context": "CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)",
"question": "What round has 3-4 as the record?"
}
|
### QUESTION
What is the total capacity (MW) of the farm that is noted as being under construction?
### CONTEXT
CREATE TABLE table_name_17 (capacity__mw_ VARCHAR, notes VARCHAR)
### ANSWER
SELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = "under construction"
|
{
"answer": "SELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = \"under construction\"",
"context": "CREATE TABLE table_name_17 (capacity__mw_ VARCHAR, notes VARCHAR)",
"question": "What is the total capacity (MW) of the farm that is noted as being under construction?"
}
|
### QUESTION
What is the average draw for 186 games?
### CONTEXT
CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR)
### ANSWER
SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186
|
{
"answer": "SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186",
"context": "CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR)",
"question": "What is the average draw for 186 games?"
}
|
### QUESTION
Who had the high pick of the round of 10 for Fairmont State college?
### CONTEXT
CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, round VARCHAR)
### ANSWER
SELECT MAX(pick) FROM table_name_13 WHERE college = "fairmont state" AND round > 10
|
{
"answer": "SELECT MAX(pick) FROM table_name_13 WHERE college = \"fairmont state\" AND round > 10",
"context": "CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, round VARCHAR)",
"question": "Who had the high pick of the round of 10 for Fairmont State college?"
}
|
### QUESTION
What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?
### CONTEXT
CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)
### ANSWER
SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
|
{
"answer": "SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = \"km/h (mph)\" AND car_model = \"panamera 4s\"",
"context": "CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)",
"question": "What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?"
}
|
### QUESTION
Which Founded has a Club of tri-city storm and a Titles larger than 1?
### CONTEXT
CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR)
### ANSWER
SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1
|
{
"answer": "SELECT SUM(founded) FROM table_name_68 WHERE club = \"tri-city storm\" AND titles > 1",
"context": "CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR)",
"question": "Which Founded has a Club of tri-city storm and a Titles larger than 1?"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.