text
stringlengths
146
1.06k
source
dict
### QUESTION Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kafelnikov Juan Carlos Ferrero (2)? ### CONTEXT CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR) ### ANSWER SELECT finalist FROM table_name_20 WHERE surface = "clay" AND semifinalists = "yevgeny kafelnikov juan carlos ferrero (2)"
{ "answer": "SELECT finalist FROM table_name_20 WHERE surface = \"clay\" AND semifinalists = \"yevgeny kafelnikov juan carlos ferrero (2)\"", "context": "CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR)", "question": "Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kafelnikov Juan Carlos Ferrero (2)?" }
### QUESTION What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY? ### CONTEXT CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) ### ANSWER SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny"
{ "answer": "SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = \"lowville, ny\"", "context": "CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)", "question": "What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY?" }
### QUESTION What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? ### CONTEXT CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) ### ANSWER SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0"
{ "answer": "SELECT result FROM table_name_17 WHERE venue = \"dakar , senegal\" AND date = \"3 september 2011\" AND score = \"2–0\"", "context": "CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR)", "question": "What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0?" }
### QUESTION Which manager sponsor arke shirt? ### CONTEXT CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR) ### ANSWER SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"
{ "answer": "SELECT manager FROM table_name_90 WHERE shirt_sponsor = \"arke\"", "context": "CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)", "question": "Which manager sponsor arke shirt?" }
### QUESTION What are the most wins in 1971 in 250cc class? ### CONTEXT CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR) ### ANSWER SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971
{ "answer": "SELECT MAX(wins) FROM table_name_11 WHERE class = \"250cc\" AND year = 1971", "context": "CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR)", "question": "What are the most wins in 1971 in 250cc class?" }
### QUESTION Name the total number of dar for disney channel and number is 613 ### CONTEXT CREATE TABLE table_15887683_9 (dar VARCHAR, television_service VARCHAR, n° VARCHAR) ### ANSWER SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service = "Disney Channel" AND n° = 613
{ "answer": "SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service = \"Disney Channel\" AND n° = 613", "context": "CREATE TABLE table_15887683_9 (dar VARCHAR, television_service VARCHAR, n° VARCHAR)", "question": "Name the total number of dar for disney channel and number is 613" }
### QUESTION What County has a Median household income of $46,872? ### CONTEXT CREATE TABLE table_name_36 (county VARCHAR, median_household_income VARCHAR) ### ANSWER SELECT county FROM table_name_36 WHERE median_household_income = "$46,872"
{ "answer": "SELECT county FROM table_name_36 WHERE median_household_income = \"$46,872\"", "context": "CREATE TABLE table_name_36 (county VARCHAR, median_household_income VARCHAR)", "question": "What County has a Median household income of $46,872?" }
### QUESTION Name the windows builders for apache gump ### CONTEXT CREATE TABLE table_22903426_1 (windows_builders VARCHAR, name VARCHAR) ### ANSWER SELECT windows_builders FROM table_22903426_1 WHERE name = "Apache Gump"
{ "answer": "SELECT windows_builders FROM table_22903426_1 WHERE name = \"Apache Gump\"", "context": "CREATE TABLE table_22903426_1 (windows_builders VARCHAR, name VARCHAR)", "question": "Name the windows builders for apache gump" }
### QUESTION When the elevator was Innocent IV what was the nationality? ### CONTEXT CREATE TABLE table_name_98 (nationality VARCHAR, elevator VARCHAR) ### ANSWER SELECT nationality FROM table_name_98 WHERE elevator = "innocent iv"
{ "answer": "SELECT nationality FROM table_name_98 WHERE elevator = \"innocent iv\"", "context": "CREATE TABLE table_name_98 (nationality VARCHAR, elevator VARCHAR)", "question": "When the elevator was Innocent IV what was the nationality?" }
### QUESTION What is Tommy Nobis' position that has fewer than 16 picks? ### CONTEXT CREATE TABLE table_name_80 (position VARCHAR, pick__number VARCHAR, name VARCHAR) ### ANSWER SELECT position FROM table_name_80 WHERE pick__number < 16 AND name = "tommy nobis"
{ "answer": "SELECT position FROM table_name_80 WHERE pick__number < 16 AND name = \"tommy nobis\"", "context": "CREATE TABLE table_name_80 (position VARCHAR, pick__number VARCHAR, name VARCHAR)", "question": "What is Tommy Nobis' position that has fewer than 16 picks?" }
### QUESTION List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin. ### CONTEXT CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR) ### ANSWER SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Bill Turnbull and Louise Minchin"
{ "answer": "SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = \"Bill Turnbull and Louise Minchin\"", "context": "CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)", "question": "List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin." }
### QUESTION What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? ### CONTEXT CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) ### ANSWER SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780"
{ "answer": "SELECT red_list FROM table_name_22 WHERE order = \"artiodactyla\" AND family = \"cervidae\" AND species_authority = \"odocoileus virginianus zimmermann, 1780\"", "context": "CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR)", "question": "What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780?" }
### QUESTION Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? ### CONTEXT CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) ### ANSWER SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama"
{ "answer": "SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = \"modern drama\"", "context": "CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)", "question": "Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?" }
### QUESTION what is the mexico stat where mañana es para siempre is love never dies ### CONTEXT CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR) ### ANSWER SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies"
{ "answer": "SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = \"Love Never Dies\"", "context": "CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR)", "question": "what is the mexico stat where mañana es para siempre is love never dies" }
### QUESTION Name the Report of tourist trophy? ### CONTEXT CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR) ### ANSWER SELECT report FROM table_name_77 WHERE name = "tourist trophy"
{ "answer": "SELECT report FROM table_name_77 WHERE name = \"tourist trophy\"", "context": "CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)", "question": "Name the Report of tourist trophy?" }
### QUESTION What status has gauteng falcons as the opposing team? ### CONTEXT CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR) ### ANSWER SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons"
{ "answer": "SELECT status FROM table_name_2 WHERE opposing_team = \"gauteng falcons\"", "context": "CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR)", "question": "What status has gauteng falcons as the opposing team?" }
### QUESTION Find the names of the clubs that have at least a member from the city with city code "HOU". ### CONTEXT CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR) ### ANSWER SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "HOU"
{ "answer": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = \"HOU\"", "context": "CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR)", "question": "Find the names of the clubs that have at least a member from the city with city code \"HOU\"." }
### QUESTION who are the writers of the episode that had 3.07 millions of North American spectators? ### CONTEXT CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) ### ANSWER SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = "3.07"
{ "answer": "SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = \"3.07\"", "context": "CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)", "question": "who are the writers of the episode that had 3.07 millions of North American spectators?" }
### QUESTION when does the train arriving at stamford east at 11.45 departure ### CONTEXT CREATE TABLE table_18333678_2 (departure VARCHAR, arrival VARCHAR, going_to VARCHAR) ### ANSWER SELECT departure FROM table_18333678_2 WHERE arrival = "11.45" AND going_to = "Stamford East"
{ "answer": "SELECT departure FROM table_18333678_2 WHERE arrival = \"11.45\" AND going_to = \"Stamford East\"", "context": "CREATE TABLE table_18333678_2 (departure VARCHAR, arrival VARCHAR, going_to VARCHAR)", "question": "when does the train arriving at stamford east at 11.45 departure " }
### QUESTION Who were the umpires when Paul Medhurst (C) won the Simpson Medal? ### CONTEXT CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) ### ANSWER SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"
{ "answer": "SELECT umpires FROM table_13514348_7 WHERE simpson_medal = \"Paul Medhurst (C)\"", "context": "CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)", "question": "Who were the umpires when Paul Medhurst (C) won the Simpson Medal?" }
### QUESTION How many top 10s belong to the team with a start of 7 and an average finish less than 16.7? ### CONTEXT CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR) ### ANSWER SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7
{ "answer": "SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7", "context": "CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)", "question": "How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?" }
### QUESTION When did the term begin that ended January 3, 1995? ### CONTEXT CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR) ### ANSWER SELECT term_began FROM table_224672_2 WHERE term_ended = "January 3, 1995"
{ "answer": "SELECT term_began FROM table_224672_2 WHERE term_ended = \"January 3, 1995\"", "context": "CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR)", "question": "When did the term begin that ended January 3, 1995?" }
### QUESTION Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul? ### CONTEXT CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR) ### ANSWER SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = "ron paul"
{ "answer": "SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = \"ron paul\"", "context": "CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR)", "question": "Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?" }
### QUESTION What is the id of the instructor who advises of all students from History department? ### CONTEXT CREATE TABLE advisor (s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR) ### ANSWER SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'
{ "answer": "SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'", "context": "CREATE TABLE advisor (s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)", "question": "What is the id of the instructor who advises of all students from History department?" }
### QUESTION How many games have more than 288 goals and less than 34 losses? ### CONTEXT CREATE TABLE table_name_38 (games VARCHAR, goals_against VARCHAR, lost VARCHAR) ### ANSWER SELECT COUNT(games) FROM table_name_38 WHERE goals_against > 288 AND lost < 34
{ "answer": "SELECT COUNT(games) FROM table_name_38 WHERE goals_against > 288 AND lost < 34", "context": "CREATE TABLE table_name_38 (games VARCHAR, goals_against VARCHAR, lost VARCHAR)", "question": "How many games have more than 288 goals and less than 34 losses?" }
### QUESTION Show names of technicians and the number of machines they are assigned to repair. ### CONTEXT CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) ### ANSWER SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name
{ "answer": "SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name", "context": "CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)", "question": "Show names of technicians and the number of machines they are assigned to repair." }
### QUESTION Which professionals have done at least two treatments? List the professional's id, role, and first name. ### CONTEXT CREATE TABLE Professionals (professional_id VARCHAR, role_code VARCHAR, first_name VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR) ### ANSWER SELECT T1.professional_id, T1.role_code, T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.professional_id, T1.role_code, T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE Professionals (professional_id VARCHAR, role_code VARCHAR, first_name VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)", "question": "Which professionals have done at least two treatments? List the professional's id, role, and first name." }
### QUESTION Title of the angry brigade involves which lowest year? ### CONTEXT CREATE TABLE table_name_49 (year INTEGER, title VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade"
{ "answer": "SELECT MIN(year) FROM table_name_49 WHERE title = \"the angry brigade\"", "context": "CREATE TABLE table_name_49 (year INTEGER, title VARCHAR)", "question": "Title of the angry brigade involves which lowest year?" }
### QUESTION With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹? ### CONTEXT CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR) ### ANSWER SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 2"
{ "answer": "SELECT results¹ FROM table_name_82 WHERE type_of_game = \"friendly\" AND city = \"belgrade\" AND date = \"november 2\"", "context": "CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR)", "question": "With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹?" }
### QUESTION What was the number of channels in New Zealand? ### CONTEXT CREATE TABLE table_11323532_2 (channel VARCHAR, country_region VARCHAR) ### ANSWER SELECT COUNT(channel) FROM table_11323532_2 WHERE country_region = "New Zealand"
{ "answer": "SELECT COUNT(channel) FROM table_11323532_2 WHERE country_region = \"New Zealand\"", "context": "CREATE TABLE table_11323532_2 (channel VARCHAR, country_region VARCHAR)", "question": "What was the number of channels in New Zealand?" }
### QUESTION List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'. ### CONTEXT CREATE TABLE Lessons (lesson_id VARCHAR, staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### ANSWER SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn" AND nickname LIKE "%s%"
{ "answer": "SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\" AND nickname LIKE \"%s%\"", "context": "CREATE TABLE Lessons (lesson_id VARCHAR, staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)", "question": "List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'." }
### QUESTION What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5, and fall 05 is less than 3? ### CONTEXT CREATE TABLE table_name_96 (fall_08 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR, fall_06 VARCHAR) ### ANSWER SELECT MAX(fall_08) FROM table_name_96 WHERE fall_09 < 82 AND fall_06 = 5 AND fall_05 < 3
{ "answer": "SELECT MAX(fall_08) FROM table_name_96 WHERE fall_09 < 82 AND fall_06 = 5 AND fall_05 < 3", "context": "CREATE TABLE table_name_96 (fall_08 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR, fall_06 VARCHAR)", "question": "What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5, and fall 05 is less than 3?" }
### QUESTION What is the average Lost for Team Matlock Town when the Goals Against is higher than 66? ### CONTEXT CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR) ### ANSWER SELECT AVG(lost) FROM table_name_79 WHERE team = "matlock town" AND goals_against > 66
{ "answer": "SELECT AVG(lost) FROM table_name_79 WHERE team = \"matlock town\" AND goals_against > 66", "context": "CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR)", "question": "What is the average Lost for Team Matlock Town when the Goals Against is higher than 66?" }
### QUESTION Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771? ### CONTEXT CREATE TABLE table_name_77 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) ### ANSWER SELECT constructor FROM table_name_77 WHERE grid < 15 AND laps = 77 AND time_retired = "+ 0.771"
{ "answer": "SELECT constructor FROM table_name_77 WHERE grid < 15 AND laps = 77 AND time_retired = \"+ 0.771\"", "context": "CREATE TABLE table_name_77 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)", "question": "Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771?" }
### QUESTION For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees. ### CONTEXT CREATE TABLE Circulation_History (document_id VARCHAR, employee_id VARCHAR) ### ANSWER SELECT document_id, COUNT(DISTINCT employee_id) FROM Circulation_History GROUP BY document_id
{ "answer": "SELECT document_id, COUNT(DISTINCT employee_id) FROM Circulation_History GROUP BY document_id", "context": "CREATE TABLE Circulation_History (document_id VARCHAR, employee_id VARCHAR)", "question": "For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees." }
### QUESTION what is the teams for season 1950-51? ### CONTEXT CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR) ### ANSWER SELECT teams FROM table_name_89 WHERE season = "1950-51"
{ "answer": "SELECT teams FROM table_name_89 WHERE season = \"1950-51\"", "context": "CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR)", "question": "what is the teams for season 1950-51?" }
### QUESTION WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO? ### CONTEXT CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) ### ANSWER SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"
{ "answer": "SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = \"Piret Hamer Helen Reino\"", "context": "CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)", "question": "WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?" }
### QUESTION What is the date of appointment for the date of vacancy of 22 august 2010? ### CONTEXT CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_26976615_3 WHERE date_of_vacancy = "22 August 2010"
{ "answer": "SELECT date_of_appointment FROM table_26976615_3 WHERE date_of_vacancy = \"22 August 2010\"", "context": "CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)", "question": "What is the date of appointment for the date of vacancy of 22 august 2010?" }
### QUESTION One 6 November 2007 what was the manner of departure for the coach release in football league one? ### CONTEXT CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 2007"
{ "answer": "SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = \"6 November 2007\"", "context": "CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)", "question": "One 6 November 2007 what was the manner of departure for the coach release in football league one?" }
### QUESTION What is the total number of goals from 24 tries and 96 or greater points? ### CONTEXT CREATE TABLE table_name_46 (goals INTEGER, tries VARCHAR, points VARCHAR) ### ANSWER SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96
{ "answer": "SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96", "context": "CREATE TABLE table_name_46 (goals INTEGER, tries VARCHAR, points VARCHAR)", "question": "What is the total number of goals from 24 tries and 96 or greater points?" }
### QUESTION What player is from Scotland and has a score of 74-70=144? ### CONTEXT CREATE TABLE table_name_90 (player VARCHAR, country VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_90 WHERE score = 74 - 70 = 144 AND country = "scotland"
{ "answer": "SELECT player FROM table_name_90 WHERE score = 74 - 70 = 144 AND country = \"scotland\"", "context": "CREATE TABLE table_name_90 (player VARCHAR, country VARCHAR, score VARCHAR)", "question": "What player is from Scotland and has a score of 74-70=144?" }
### QUESTION What is the chassis of rahel frey's volkswagen engine? ### CONTEXT CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR) ### ANSWER SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey"
{ "answer": "SELECT chassis FROM table_name_74 WHERE engine = \"volkswagen\" AND driver = \"rahel frey\"", "context": "CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR)", "question": "What is the chassis of rahel frey's volkswagen engine?" }
### QUESTION What's the duration of the Archers with Pauline Seville acting? ### CONTEXT CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) ### ANSWER SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"
{ "answer": "SELECT duration FROM table_name_45 WHERE soap_opera = \"the archers\" AND actor = \"pauline seville\"", "context": "CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)", "question": "What's the duration of the Archers with Pauline Seville acting?" }
### QUESTION Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green? ### CONTEXT CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR) ### ANSWER SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011"
{ "answer": "SELECT polling_firm FROM table_name_96 WHERE link = \"html\" AND liberal < 36 AND green < 8 AND date_of_polling = \"september 26–28, 2011\"", "context": "CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR)", "question": "Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?" }
### QUESTION What is the total number of areas that are called Nanqiao District? ### CONTEXT CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR) ### ANSWER SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District"
{ "answer": "SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = \"Nanqiao District\"", "context": "CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR)", "question": "What is the total number of areas that are called Nanqiao District?" }
### QUESTION When 7th place, what is the date? ### CONTEXT CREATE TABLE table_name_45 (date VARCHAR, place VARCHAR) ### ANSWER SELECT date FROM table_name_45 WHERE place = "7th"
{ "answer": "SELECT date FROM table_name_45 WHERE place = \"7th\"", "context": "CREATE TABLE table_name_45 (date VARCHAR, place VARCHAR)", "question": "When 7th place, what is the date?" }
### QUESTION Who had the high assists when the team was @ Minnesota? ### CONTEXT CREATE TABLE table_17323092_7 (high_assists VARCHAR, team VARCHAR) ### ANSWER SELECT high_assists FROM table_17323092_7 WHERE team = "@ Minnesota"
{ "answer": "SELECT high_assists FROM table_17323092_7 WHERE team = \"@ Minnesota\"", "context": "CREATE TABLE table_17323092_7 (high_assists VARCHAR, team VARCHAR)", "question": "Who had the high assists when the team was @ Minnesota?" }
### QUESTION Who is the coach of the 2012 Gold Coast Titans season? ### CONTEXT CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR) ### ANSWER SELECT coach FROM table_name_4 WHERE details = "2012 gold coast titans season"
{ "answer": "SELECT coach FROM table_name_4 WHERE details = \"2012 gold coast titans season\"", "context": "CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR)", "question": "Who is the coach of the 2012 Gold Coast Titans season?" }
### QUESTION WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6? ### CONTEXT CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR) ### ANSWER SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = "smw rovers" AND wins > 6
{ "answer": "SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = \"smw rovers\" AND wins > 6", "context": "CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)", "question": "WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?" }
### QUESTION What location is listed from 2005-2010? ### CONTEXT CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR) ### ANSWER SELECT location FROM table_26476336_2 WHERE years = "2005-2010"
{ "answer": "SELECT location FROM table_26476336_2 WHERE years = \"2005-2010\"", "context": "CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR)", "question": "What location is listed from 2005-2010?" }
### QUESTION Please list the years of film market estimations when the market is in country "Japan" in descending order. ### CONTEXT CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Market_ID VARCHAR, Country VARCHAR) ### ANSWER SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = "Japan" ORDER BY T1.Year DESC
{ "answer": "SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = \"Japan\" ORDER BY T1.Year DESC", "context": "CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Market_ID VARCHAR, Country VARCHAR)", "question": "Please list the years of film market estimations when the market is in country \"Japan\" in descending order." }
### QUESTION How many department stores does the store chain South have? ### CONTEXT CREATE TABLE department_stores (dept_store_chain_id VARCHAR); CREATE TABLE department_store_chain (dept_store_chain_id VARCHAR, dept_store_chain_name VARCHAR) ### ANSWER SELECT COUNT(*) FROM department_stores AS T1 JOIN department_store_chain AS T2 ON T1.dept_store_chain_id = T2.dept_store_chain_id WHERE T2.dept_store_chain_name = "South"
{ "answer": "SELECT COUNT(*) FROM department_stores AS T1 JOIN department_store_chain AS T2 ON T1.dept_store_chain_id = T2.dept_store_chain_id WHERE T2.dept_store_chain_name = \"South\"", "context": "CREATE TABLE department_stores (dept_store_chain_id VARCHAR); CREATE TABLE department_store_chain (dept_store_chain_id VARCHAR, dept_store_chain_name VARCHAR)", "question": "How many department stores does the store chain South have?" }
### QUESTION what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? ### CONTEXT CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) ### ANSWER SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1
{ "answer": "SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1", "context": "CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)", "question": "what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?" }
### QUESTION Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403? ### CONTEXT CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR) ### ANSWER SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"
{ "answer": "SELECT label FROM table_name_89 WHERE format = \"cd\" AND country = \"japan\" AND catalog = \"vjcp-68403\"", "context": "CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)", "question": "Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403?" }
### QUESTION What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2? ### CONTEXT CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR) ### ANSWER SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2"
{ "answer": "SELECT tournament FROM table_name_96 WHERE opponent = \"alberta brianti\" AND score = \"6-4 2-6 6-2\"", "context": "CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)", "question": "What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?" }
### QUESTION What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points? ### CONTEXT CREATE TABLE table_name_49 (location_attendance VARCHAR, high_rebounds VARCHAR, high_points VARCHAR) ### ANSWER SELECT location_attendance FROM table_name_49 WHERE high_rebounds = "a. horford (10)" AND high_points = "j. johnson (21)"
{ "answer": "SELECT location_attendance FROM table_name_49 WHERE high_rebounds = \"a. horford (10)\" AND high_points = \"j. johnson (21)\"", "context": "CREATE TABLE table_name_49 (location_attendance VARCHAR, high_rebounds VARCHAR, high_points VARCHAR)", "question": "What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points?" }
### QUESTION Which city in the mideast region is the hot of Temple University? ### CONTEXT CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR) ### ANSWER SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"
{ "answer": "SELECT city FROM table_name_39 WHERE region = \"mideast\" AND host = \"temple university\"", "context": "CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)", "question": "Which city in the mideast region is the hot of Temple University?" }
### QUESTION What is the number in January for Philadelphia Flyers as opponents? ### CONTEXT CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers"
{ "answer": "SELECT COUNT(january) FROM table_name_30 WHERE opponent = \"philadelphia flyers\"", "context": "CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR)", "question": "What is the number in January for Philadelphia Flyers as opponents?" }
### QUESTION What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6? ### CONTEXT CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR) ### ANSWER SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles"
{ "answer": "SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = \"at philadelphia eagles\"", "context": "CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR)", "question": "What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6?" }
### QUESTION Name the number of appearances for yugoslavia ### CONTEXT CREATE TABLE table_24565004_20 (appearances¹ VARCHAR, nationality² VARCHAR) ### ANSWER SELECT COUNT(appearances¹) FROM table_24565004_20 WHERE nationality² = "Yugoslavia"
{ "answer": "SELECT COUNT(appearances¹) FROM table_24565004_20 WHERE nationality² = \"Yugoslavia\"", "context": "CREATE TABLE table_24565004_20 (appearances¹ VARCHAR, nationality² VARCHAR)", "question": "Name the number of appearances for yugoslavia" }
### QUESTION How many customers are living in city "Lake Geovannyton"? ### CONTEXT CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, city VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.city = "Lake Geovannyton"
{ "answer": "SELECT COUNT(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.city = \"Lake Geovannyton\"", "context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, city VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)", "question": "How many customers are living in city \"Lake Geovannyton\"?" }
### QUESTION Show the themes of parties and the names of the party hosts. ### CONTEXT CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR) ### ANSWER SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID
{ "answer": "SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID", "context": "CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR)", "question": "Show the themes of parties and the names of the party hosts." }
### QUESTION Who won that game on 24 July 2010? ### CONTEXT CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR) ### ANSWER SELECT result FROM table_name_26 WHERE date = "24 july 2010"
{ "answer": "SELECT result FROM table_name_26 WHERE date = \"24 july 2010\"", "context": "CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)", "question": "Who won that game on 24 July 2010?" }
### QUESTION Who was the lead envoy of the congratulation mission in 1718 with the Ryūkyūan King shō kei? ### CONTEXT CREATE TABLE table_name_10 (lead_envoy VARCHAR, year VARCHAR, ryūkyūan_king VARCHAR, mission_type VARCHAR) ### ANSWER SELECT lead_envoy FROM table_name_10 WHERE ryūkyūan_king = "shō kei" AND mission_type = "congratulation" AND year = 1718
{ "answer": "SELECT lead_envoy FROM table_name_10 WHERE ryūkyūan_king = \"shō kei\" AND mission_type = \"congratulation\" AND year = 1718", "context": "CREATE TABLE table_name_10 (lead_envoy VARCHAR, year VARCHAR, ryūkyūan_king VARCHAR, mission_type VARCHAR)", "question": "Who was the lead envoy of the congratulation mission in 1718 with the Ryūkyūan King shō kei?" }
### QUESTION What was the type that had an award for song of the year and the position of 3rd place? ### CONTEXT CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR) ### ANSWER SELECT type FROM table_name_1 WHERE award = "song of the year" AND position = "3rd place"
{ "answer": "SELECT type FROM table_name_1 WHERE award = \"song of the year\" AND position = \"3rd place\"", "context": "CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR)", "question": "What was the type that had an award for song of the year and the position of 3rd place?" }
### QUESTION What year did jaroslav vojtek category:articles with hcards Direct? ### CONTEXT CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR) ### ANSWER SELECT year__ceremony_ FROM table_22032599_1 WHERE director = "Jaroslav Vojtek Category:Articles with hCards"
{ "answer": "SELECT year__ceremony_ FROM table_22032599_1 WHERE director = \"Jaroslav Vojtek Category:Articles with hCards\"", "context": "CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR)", "question": "What year did jaroslav vojtek category:articles with hcards Direct?" }
### QUESTION How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055? ### CONTEXT CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR) ### ANSWER SELECT AVG(south_asians_2001) FROM table_name_86 WHERE province = "alberta" AND south_asians_2011 > 159 OFFSET 055
{ "answer": "SELECT AVG(south_asians_2001) FROM table_name_86 WHERE province = \"alberta\" AND south_asians_2011 > 159 OFFSET 055", "context": "CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR)", "question": "How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?" }
### QUESTION What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No? ### CONTEXT CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR) ### ANSWER SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "no"
{ "answer": "SELECT city FROM table_name_30 WHERE state = \"california\" AND aam_accredited = \"no\" AND astc_member = \"yes\" AND aam_member = \"no\"", "context": "CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR)", "question": "What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No?" }
### QUESTION What is the transfer fee of assoumani, who has a summer transfer window? ### CONTEXT CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR) ### ANSWER SELECT transfer_fee FROM table_name_70 WHERE transfer_window = "summer" AND name = "assoumani"
{ "answer": "SELECT transfer_fee FROM table_name_70 WHERE transfer_window = \"summer\" AND name = \"assoumani\"", "context": "CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR)", "question": "What is the transfer fee of assoumani, who has a summer transfer window?" }
### QUESTION Which City of license has a Call sign of w220ba? ### CONTEXT CREATE TABLE table_name_64 (city_of_license VARCHAR, call_sign VARCHAR) ### ANSWER SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba"
{ "answer": "SELECT city_of_license FROM table_name_64 WHERE call_sign = \"w220ba\"", "context": "CREATE TABLE table_name_64 (city_of_license VARCHAR, call_sign VARCHAR)", "question": "Which City of license has a Call sign of w220ba?" }
### QUESTION How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? ### CONTEXT CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) ### ANSWER SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1
{ "answer": "SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = \"puerto rico\" AND total < 1", "context": "CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)", "question": "How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less?" }
### QUESTION What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters? ### CONTEXT CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) ### ANSWER SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = "baltimore county" AND district = "06.0 6" AND committee = "economic matters"
{ "answer": "SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = \"baltimore county\" AND district = \"06.0 6\" AND committee = \"economic matters\"", "context": "CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)", "question": "What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters?" }
### QUESTION What 3ds game did Naohiko Aoyama direct? ### CONTEXT CREATE TABLE table_name_72 (title VARCHAR, platform_s_ VARCHAR, director VARCHAR) ### ANSWER SELECT title FROM table_name_72 WHERE platform_s_ = "3ds" AND director = "naohiko aoyama"
{ "answer": "SELECT title FROM table_name_72 WHERE platform_s_ = \"3ds\" AND director = \"naohiko aoyama\"", "context": "CREATE TABLE table_name_72 (title VARCHAR, platform_s_ VARCHAR, director VARCHAR)", "question": "What 3ds game did Naohiko Aoyama direct?" }
### QUESTION What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1? ### CONTEXT CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR) ### ANSWER SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1
{ "answer": "SELECT SUM(goals) FROM table_name_8 WHERE team = \"partizan\" AND country = \"serbia\" AND division > 1", "context": "CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR)", "question": "What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1?" }
### QUESTION List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32. ### CONTEXT CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR) ### ANSWER SELECT T2.Hardware_Model_name, T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32
{ "answer": "SELECT T2.Hardware_Model_name, T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32", "context": "CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR)", "question": "List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32." }
### QUESTION WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD? ### CONTEXT CREATE TABLE table_15621965_18 (no VARCHAR, position VARCHAR, school_club_team VARCHAR) ### ANSWER SELECT no FROM table_15621965_18 WHERE position = "Guard" AND school_club_team = "Oklahoma State"
{ "answer": "SELECT no FROM table_15621965_18 WHERE position = \"Guard\" AND school_club_team = \"Oklahoma State\"", "context": "CREATE TABLE table_15621965_18 (no VARCHAR, position VARCHAR, school_club_team VARCHAR)", "question": "WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD?" }
### QUESTION On November 14, 2007, how many different Republican: Jeff Sessions are there? ### CONTEXT CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR) ### ANSWER SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = "November 14, 2007"
{ "answer": "SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = \"November 14, 2007\"", "context": "CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR)", "question": "On November 14, 2007, how many different Republican: Jeff Sessions are there?" }
### QUESTION What year is the date when the boiler type is forward topfeed, the built at is Crewe, and lot number is less than 187? ### CONTEXT CREATE TABLE table_name_94 (date VARCHAR, lot_no VARCHAR, boiler_type VARCHAR, built_at VARCHAR) ### ANSWER SELECT COUNT(date) FROM table_name_94 WHERE boiler_type = "forward topfeed" AND built_at = "crewe" AND lot_no < 187
{ "answer": "SELECT COUNT(date) FROM table_name_94 WHERE boiler_type = \"forward topfeed\" AND built_at = \"crewe\" AND lot_no < 187", "context": "CREATE TABLE table_name_94 (date VARCHAR, lot_no VARCHAR, boiler_type VARCHAR, built_at VARCHAR)", "question": "What year is the date when the boiler type is forward topfeed, the built at is Crewe, and lot number is less than 187?" }
### QUESTION What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? ### CONTEXT CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) ### ANSWER SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655
{ "answer": "SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = \"19.4\" AND tourism_receipts__2011___us$_per_arrival_ < 655", "context": "CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)", "question": "What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts?" }
### QUESTION How many seats were forfeited in the revolutionary socialist party? ### CONTEXT CREATE TABLE table_20728138_1 (seats_forfeited VARCHAR, party VARCHAR) ### ANSWER SELECT COUNT(seats_forfeited) FROM table_20728138_1 WHERE party = "Revolutionary Socialist party"
{ "answer": "SELECT COUNT(seats_forfeited) FROM table_20728138_1 WHERE party = \"Revolutionary Socialist party\"", "context": "CREATE TABLE table_20728138_1 (seats_forfeited VARCHAR, party VARCHAR)", "question": "How many seats were forfeited in the revolutionary socialist party?" }
### QUESTION Find the distinct driver id and the stop number of all drivers that have a shorter pit stop duration than some drivers in the race with id 841. ### CONTEXT CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR) ### ANSWER SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration < (SELECT MAX(duration) FROM pitstops WHERE raceid = 841)
{ "answer": "SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration < (SELECT MAX(duration) FROM pitstops WHERE raceid = 841)", "context": "CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR)", "question": "Find the distinct driver id and the stop number of all drivers that have a shorter pit stop duration than some drivers in the race with id 841." }
### QUESTION Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233? ### CONTEXT CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) ### ANSWER SELECT MIN(evening_gown) FROM table_name_63 WHERE interview > 9.164 AND swimsuit < 9.35 AND average < 9.233
{ "answer": "SELECT MIN(evening_gown) FROM table_name_63 WHERE interview > 9.164 AND swimsuit < 9.35 AND average < 9.233", "context": "CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR)", "question": "Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233?" }
### QUESTION What years have goals less than 229, and 440 as matches? ### CONTEXT CREATE TABLE table_name_70 (years VARCHAR, goals VARCHAR, matches VARCHAR) ### ANSWER SELECT years FROM table_name_70 WHERE goals < 229 AND matches = 440
{ "answer": "SELECT years FROM table_name_70 WHERE goals < 229 AND matches = 440", "context": "CREATE TABLE table_name_70 (years VARCHAR, goals VARCHAR, matches VARCHAR)", "question": "What years have goals less than 229, and 440 as matches?" }
### QUESTION Which Artist has a Week of Top 12? ### CONTEXT CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR) ### ANSWER SELECT artist FROM table_name_54 WHERE week = "top 12"
{ "answer": "SELECT artist FROM table_name_54 WHERE week = \"top 12\"", "context": "CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR)", "question": "Which Artist has a Week of Top 12?" }
### QUESTION Who was the partner when the championship was us open on a hard surface? ### CONTEXT CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR) ### ANSWER SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"
{ "answer": "SELECT partner FROM table_name_30 WHERE surface = \"hard\" AND championship = \"us open\"", "context": "CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR)", "question": "Who was the partner when the championship was us open on a hard surface?" }
### QUESTION What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart? ### CONTEXT CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR) ### ANSWER SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"
{ "answer": "SELECT gp_winner FROM table_name_30 WHERE place = \"genk\" AND race_winners = \"ben adriaenssen / ben van den bogaart\"", "context": "CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)", "question": "What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?" }
### QUESTION What country did Chris Witty represent? ### CONTEXT CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR) ### ANSWER SELECT nation FROM table_name_50 WHERE name = "chris witty"
{ "answer": "SELECT nation FROM table_name_50 WHERE name = \"chris witty\"", "context": "CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR)", "question": "What country did Chris Witty represent?" }
### QUESTION What is the largest money for a t4 place, for Tiger Woods? ### CONTEXT CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, player VARCHAR) ### ANSWER SELECT MAX(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND player = "tiger woods"
{ "answer": "SELECT MAX(money___) AS $__ FROM table_name_64 WHERE place = \"t4\" AND player = \"tiger woods\"", "context": "CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, player VARCHAR)", "question": "What is the largest money for a t4 place, for Tiger Woods?" }
### QUESTION Which country won in 1988? ### CONTEXT CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR) ### ANSWER SELECT country FROM table_name_19 WHERE year_s__won = "1988"
{ "answer": "SELECT country FROM table_name_19 WHERE year_s__won = \"1988\"", "context": "CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR)", "question": "Which country won in 1988?" }
### QUESTION Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open? ### CONTEXT CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR) ### ANSWER SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8"
{ "answer": "SELECT player FROM table_1506950_9 WHERE pga_ch = \"T6\" AND masters = \"T4\" AND us_open = \"T8\"", "context": "CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR)", "question": "Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open?" }
### QUESTION Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? ### CONTEXT CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR) ### ANSWER SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"
{ "answer": "SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > \"0\" AND ncaa_titles = \"0\" AND coach = \"lou watson\"", "context": "CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)", "question": "Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?" }
### QUESTION What is the date the new york giants were the visiting team and the Final Score was 37-34? ### CONTEXT CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR) ### ANSWER SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34"
{ "answer": "SELECT date FROM table_name_70 WHERE visiting_team = \"new york giants\" AND final_score = \"37-34\"", "context": "CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR)", "question": "What is the date the new york giants were the visiting team and the Final Score was 37-34?" }
### QUESTION What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? ### CONTEXT CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR) ### ANSWER SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova"
{ "answer": "SELECT zone FROM table_name_42 WHERE round = \"semifinal\" AND against = \"israel\" AND opponent = \"anna smashnova\"", "context": "CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR)", "question": "What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent?" }
### QUESTION What is the population (2010 census) if s barangay is 51? ### CONTEXT CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR) ### ANSWER SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51
{ "answer": "SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51", "context": "CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR)", "question": "What is the population (2010 census) if s barangay is 51?" }
### QUESTION Find the number of visitors who did not visit any museum opened after 2010. ### CONTEXT CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR) ### ANSWER SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)
{ "answer": "SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)", "context": "CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)", "question": "Find the number of visitors who did not visit any museum opened after 2010." }
### QUESTION Find the student ID and personal name of the student with at least two enrollments. ### CONTEXT CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR) ### ANSWER SELECT T1.student_id, T2.personal_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.student_id, T2.personal_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR)", "question": "Find the student ID and personal name of the student with at least two enrollments." }
### QUESTION How many scores did Goodman give to "samba / young hearts run free", which was in second place? ### CONTEXT CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR) ### ANSWER SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run Free"
{ "answer": "SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = \"Second place\" AND dance_song = \"Samba / Young Hearts Run Free\"", "context": "CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR)", "question": "How many scores did Goodman give to \"samba / young hearts run free\", which was in second place?" }
### QUESTION On what day did the team play the Indianapolis Colts? ### CONTEXT CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_26 WHERE opponent = "indianapolis colts"
{ "answer": "SELECT date FROM table_name_26 WHERE opponent = \"indianapolis colts\"", "context": "CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)", "question": "On what day did the team play the Indianapolis Colts?" }
### QUESTION what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060? ### CONTEXT CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR) ### ANSWER SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1037103 AND geo_id = 3801985060
{ "answer": "SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1037103 AND geo_id = 3801985060", "context": "CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR)", "question": "what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060?" }
### QUESTION What was the termination type for the headphones with comfort pads and selling for $150? ### CONTEXT CREATE TABLE table_name_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR) ### ANSWER SELECT termination FROM table_name_2 WHERE earpads = "comfort pads" AND us_msrp = "$150"
{ "answer": "SELECT termination FROM table_name_2 WHERE earpads = \"comfort pads\" AND us_msrp = \"$150\"", "context": "CREATE TABLE table_name_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR)", "question": "What was the termination type for the headphones with comfort pads and selling for $150?" }