text
stringlengths
146
1.06k
source
dict
### QUESTION WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR? ### CONTEXT CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR) ### ANSWER SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012
{ "answer": "SELECT MIN(car__number) FROM table_name_11 WHERE current_car = \"son-e-wa\" AND year_started < 2012", "context": "CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR)", "question": "WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR?" }
### QUESTION What is Player, when Class is "senior", when Position is "shooting guard", and when School is "Bradley"? ### CONTEXT CREATE TABLE table_name_56 (player VARCHAR, school VARCHAR, class VARCHAR, position VARCHAR) ### ANSWER SELECT player FROM table_name_56 WHERE class = "senior" AND position = "shooting guard" AND school = "bradley"
{ "answer": "SELECT player FROM table_name_56 WHERE class = \"senior\" AND position = \"shooting guard\" AND school = \"bradley\"", "context": "CREATE TABLE table_name_56 (player VARCHAR, school VARCHAR, class VARCHAR, position VARCHAR)", "question": "What is Player, when Class is \"senior\", when Position is \"shooting guard\", and when School is \"Bradley\"?" }
### QUESTION What is the average grid for johnny dumfries with less than 8 laps? ### CONTEXT CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### ANSWER SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8
{ "answer": "SELECT AVG(grid) FROM table_name_26 WHERE driver = \"johnny dumfries\" AND laps < 8", "context": "CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR)", "question": "What is the average grid for johnny dumfries with less than 8 laps?" }
### QUESTION What is the total number of Silver medals for the Nation with less than 1 Bronze? ### CONTEXT CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER) ### ANSWER SELECT COUNT(silver) FROM table_name_84 WHERE bronze < 1
{ "answer": "SELECT COUNT(silver) FROM table_name_84 WHERE bronze < 1", "context": "CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER)", "question": "What is the total number of Silver medals for the Nation with less than 1 Bronze?" }
### QUESTION What Transfer window that has a Transfer fee of free, with a Moving to of derby county? ### CONTEXT CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ### ANSWER SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"
{ "answer": "SELECT transfer_window FROM table_name_54 WHERE transfer_fee = \"free\" AND moving_to = \"derby county\"", "context": "CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)", "question": "What Transfer window that has a Transfer fee of free, with a Moving to of derby county?" }
### QUESTION What was the year when My Mother's Teahouse was not nominated? ### CONTEXT CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT year__ceremony_ FROM table_17350255_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "My Mother's Teahouse"
{ "answer": "SELECT year__ceremony_ FROM table_17350255_1 WHERE result = \"Not Nominated\" AND film_title_used_in_nomination = \"My Mother's Teahouse\"", "context": "CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What was the year when My Mother's Teahouse was not nominated?" }
### QUESTION what is the rank when the heat is more than 4? ### CONTEXT CREATE TABLE table_name_66 (rank INTEGER, heat INTEGER) ### ANSWER SELECT SUM(rank) FROM table_name_66 WHERE heat > 4
{ "answer": "SELECT SUM(rank) FROM table_name_66 WHERE heat > 4", "context": "CREATE TABLE table_name_66 (rank INTEGER, heat INTEGER)", "question": "what is the rank when the heat is more than 4?" }
### QUESTION What amount of points for were there when there was 52 points? ### CONTEXT CREATE TABLE table_13399573_3 (points_for VARCHAR, points VARCHAR) ### ANSWER SELECT points_for FROM table_13399573_3 WHERE points = "52"
{ "answer": "SELECT points_for FROM table_13399573_3 WHERE points = \"52\"", "context": "CREATE TABLE table_13399573_3 (points_for VARCHAR, points VARCHAR)", "question": "What amount of points for were there when there was 52 points?" }
### QUESTION Name the series number for m. scott veach & rebecca kirsch ### CONTEXT CREATE TABLE table_20704243_5 (series__number VARCHAR, written_by VARCHAR) ### ANSWER SELECT series__number FROM table_20704243_5 WHERE written_by = "M. Scott Veach & Rebecca Kirsch"
{ "answer": "SELECT series__number FROM table_20704243_5 WHERE written_by = \"M. Scott Veach & Rebecca Kirsch\"", "context": "CREATE TABLE table_20704243_5 (series__number VARCHAR, written_by VARCHAR)", "question": "Name the series number for m. scott veach & rebecca kirsch" }
### QUESTION Which position had 5 games played and a record of 1-2-2? ### CONTEXT CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR) ### ANSWER SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = "1-2-2"
{ "answer": "SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = \"1-2-2\"", "context": "CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR)", "question": "Which position had 5 games played and a record of 1-2-2?" }
### QUESTION Find the name of the ship that is steered by the youngest captain. ### CONTEXT CREATE TABLE ship (name VARCHAR, ship_id VARCHAR); CREATE TABLE captain (ship_id VARCHAR, age VARCHAR) ### ANSWER SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id ORDER BY t2.age LIMIT 1
{ "answer": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id ORDER BY t2.age LIMIT 1", "context": "CREATE TABLE ship (name VARCHAR, ship_id VARCHAR); CREATE TABLE captain (ship_id VARCHAR, age VARCHAR)", "question": "Find the name of the ship that is steered by the youngest captain." }
### QUESTION I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29 ### CONTEXT CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_74 WHERE silver > 0 AND bronze > 21 AND gold > 29
{ "answer": "SELECT COUNT(total) FROM table_name_74 WHERE silver > 0 AND bronze > 21 AND gold > 29", "context": "CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)", "question": "I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29" }
### QUESTION How many figures are there for wheels for LMS numbers 16377-9? ### CONTEXT CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR) ### ANSWER SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = "16377-9"
{ "answer": "SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = \"16377-9\"", "context": "CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR)", "question": "How many figures are there for wheels for LMS numbers 16377-9?" }
### QUESTION If the equation is 0 × 9² + 3 × 9 + 3, what is the result? ### CONTEXT CREATE TABLE table_17265535_7 (result INTEGER, equation VARCHAR) ### ANSWER SELECT MIN(result) FROM table_17265535_7 WHERE equation = "0 × 9² + 3 × 9 + 3"
{ "answer": "SELECT MIN(result) FROM table_17265535_7 WHERE equation = \"0 × 9² + 3 × 9 + 3\"", "context": "CREATE TABLE table_17265535_7 (result INTEGER, equation VARCHAR)", "question": "If the equation is 0 × 9² + 3 × 9 + 3, what is the result?" }
### QUESTION What did the home team at Brunswick Street Oval score? ### CONTEXT CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
{ "answer": "SELECT home_team AS score FROM table_name_89 WHERE venue = \"brunswick street oval\"", "context": "CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)", "question": "What did the home team at Brunswick Street Oval score?" }
### QUESTION display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara. ### CONTEXT CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR) ### ANSWER SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara"
{ "answer": "SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = \"Clara\") AND first_name <> \"Clara\"", "context": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)", "question": "display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara." }
### QUESTION What is the lowest rank of Deutsche Telekom with a market value over 209,628? ### CONTEXT CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628
{ "answer": "SELECT MIN(rank) FROM table_name_85 WHERE name = \"deutsche telekom\" AND market_value___usd_million_ > 209 OFFSET 628", "context": "CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)", "question": "What is the lowest rank of Deutsche Telekom with a market value over 209,628?" }
### QUESTION When the runner-up is listed as Gigi Fernández Natalia Zvereva and the week is 26 June 2 weeks, who are the semi finalists? ### CONTEXT CREATE TABLE table_name_25 (semi_finalists VARCHAR, runner_up VARCHAR, week_of VARCHAR) ### ANSWER SELECT semi_finalists FROM table_name_25 WHERE runner_up = "gigi fernández natalia zvereva" AND week_of = "26 june 2 weeks"
{ "answer": "SELECT semi_finalists FROM table_name_25 WHERE runner_up = \"gigi fernández natalia zvereva\" AND week_of = \"26 june 2 weeks\"", "context": "CREATE TABLE table_name_25 (semi_finalists VARCHAR, runner_up VARCHAR, week_of VARCHAR)", "question": "When the runner-up is listed as Gigi Fernández Natalia Zvereva and the week is 26 June 2 weeks, who are the semi finalists?" }
### QUESTION In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition? ### CONTEXT CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR) ### ANSWER SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12
{ "answer": "SELECT AVG(rank) FROM table_name_48 WHERE opposition = \"tipperary\" AND county = \"limerick\" AND total > 12", "context": "CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR)", "question": "In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition?" }
### QUESTION what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28? ### CONTEXT CREATE TABLE table_name_14 (city VARCHAR, floors VARCHAR, height__m_ VARCHAR, height__ft_ VARCHAR, rank VARCHAR) ### ANSWER SELECT city FROM table_name_14 WHERE height__ft_ > 328.1 AND rank > 56 AND height__m_ = 103 AND floors < 28
{ "answer": "SELECT city FROM table_name_14 WHERE height__ft_ > 328.1 AND rank > 56 AND height__m_ = 103 AND floors < 28", "context": "CREATE TABLE table_name_14 (city VARCHAR, floors VARCHAR, height__m_ VARCHAR, height__ft_ VARCHAR, rank VARCHAR)", "question": "what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28?" }
### QUESTION What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification? ### CONTEXT CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) ### ANSWER SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde"
{ "answer": "SELECT points_classification FROM table_name_93 WHERE young_rider_classification = \"chris anker sørensen\" AND general_classification = \"christian vande velde\"", "context": "CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)", "question": "What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?" }
### QUESTION How may players played for the Grizzlies from 2000-2002? ### CONTEXT CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR) ### ANSWER SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002"
{ "answer": "SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = \"2000-2002\"", "context": "CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR)", "question": "How may players played for the Grizzlies from 2000-2002?" }
### QUESTION List the project details of the projects which did not hire any staff for a researcher role. ### CONTEXT CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR); CREATE TABLE Project_Staff (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR) ### ANSWER SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_Staff WHERE role_code = 'researcher')
{ "answer": "SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_Staff WHERE role_code = 'researcher')", "context": "CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR); CREATE TABLE Project_Staff (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR)", "question": "List the project details of the projects which did not hire any staff for a researcher role." }
### QUESTION How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi? ### CONTEXT CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR) ### ANSWER SELECT COUNT(foundation) FROM table_23143607_1 WHERE television_channels = "Canal Nou Canal Nou Dos Canal Nou 24 TVVi"
{ "answer": "SELECT COUNT(foundation) FROM table_23143607_1 WHERE television_channels = \"Canal Nou Canal Nou Dos Canal Nou 24 TVVi\"", "context": "CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR)", "question": "How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi?" }
### QUESTION Which Total matches is the lowest one that has a Total W-L-H of 1-2-0? ### CONTEXT CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR) ### ANSWER SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = "1-2-0"
{ "answer": "SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = \"1-2-0\"", "context": "CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR)", "question": "Which Total matches is the lowest one that has a Total W-L-H of 1-2-0?" }
### QUESTION Which animal has an AP duration of 1.0 and a conduction speed of 7–30? ### CONTEXT CREATE TABLE table_name_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR) ### ANSWER SELECT animal FROM table_name_11 WHERE ap_duration__ms_ = "1.0" AND conduction_speed__m_s_ = "7–30"
{ "answer": "SELECT animal FROM table_name_11 WHERE ap_duration__ms_ = \"1.0\" AND conduction_speed__m_s_ = \"7–30\"", "context": "CREATE TABLE table_name_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR)", "question": "Which animal has an AP duration of 1.0 and a conduction speed of 7–30?" }
### QUESTION What draw average has a televote less than 633 and Vilma Voroblevaitė as artist and the place is greater than 14? ### CONTEXT CREATE TABLE table_name_68 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR) ### ANSWER SELECT AVG(draw) FROM table_name_68 WHERE televote < 633 AND artist = "vilma voroblevaitė" AND place > 14
{ "answer": "SELECT AVG(draw) FROM table_name_68 WHERE televote < 633 AND artist = \"vilma voroblevaitė\" AND place > 14", "context": "CREATE TABLE table_name_68 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR)", "question": "What draw average has a televote less than 633 and Vilma Voroblevaitė as artist and the place is greater than 14?" }
### QUESTION Which Location has a Competition of Group Stage, a Lineup of Start and a Date of 2000-09-17? ### CONTEXT CREATE TABLE table_name_67 (location VARCHAR, date VARCHAR, competition VARCHAR, lineup VARCHAR) ### ANSWER SELECT location FROM table_name_67 WHERE competition = "group stage" AND lineup = "start" AND date = "2000-09-17"
{ "answer": "SELECT location FROM table_name_67 WHERE competition = \"group stage\" AND lineup = \"start\" AND date = \"2000-09-17\"", "context": "CREATE TABLE table_name_67 (location VARCHAR, date VARCHAR, competition VARCHAR, lineup VARCHAR)", "question": "Which Location has a Competition of Group Stage, a Lineup of Start and a Date of 2000-09-17?" }
### QUESTION What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph? ### CONTEXT CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR) ### ANSWER SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"
{ "answer": "SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = \"19' 30.70 116.023mph\"", "context": "CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR)", "question": "What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?" }
### QUESTION Which driver was in 8 rounds with a chassis of dallara f306? ### CONTEXT CREATE TABLE table_name_57 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) ### ANSWER SELECT driver FROM table_name_57 WHERE chassis = "dallara f306" AND rounds = "8"
{ "answer": "SELECT driver FROM table_name_57 WHERE chassis = \"dallara f306\" AND rounds = \"8\"", "context": "CREATE TABLE table_name_57 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)", "question": "Which driver was in 8 rounds with a chassis of dallara f306?" }
### QUESTION Record of 42–16–8, and a March larger than 5 has what average points? ### CONTEXT CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) ### ANSWER SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
{ "answer": "SELECT AVG(points) FROM table_name_95 WHERE record = \"42–16–8\" AND march > 5", "context": "CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR)", "question": "Record of 42–16–8, and a March larger than 5 has what average points?" }
### QUESTION What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined? ### CONTEXT CREATE TABLE table_name_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) ### ANSWER SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND moves = 39 AND opening = "d37 queen's gambit declined"
{ "answer": "SELECT white FROM table_name_20 WHERE black = \"anand\" AND result = \"½–½\" AND moves = 39 AND opening = \"d37 queen's gambit declined\"", "context": "CREATE TABLE table_name_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR)", "question": "What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined?" }
### QUESTION How many undergraduates are there in "San Jose State University" in year 2004? ### CONTEXT CREATE TABLE discipline_enrollments (undergraduate INTEGER, campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR, campus VARCHAR) ### ANSWER SELECT SUM(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University"
{ "answer": "SELECT SUM(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = \"San Jose State University\"", "context": "CREATE TABLE discipline_enrollments (undergraduate INTEGER, campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR, campus VARCHAR)", "question": "How many undergraduates are there in \"San Jose State University\" in year 2004?" }
### QUESTION What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth? ### CONTEXT CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_93 WHERE winning_team = "europe" AND usa_captain = "kathy whitworth"
{ "answer": "SELECT MAX(year) FROM table_name_93 WHERE winning_team = \"europe\" AND usa_captain = \"kathy whitworth\"", "context": "CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)", "question": "What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?" }
### QUESTION What is the date of the game between Melbourne and Footscray? ### CONTEXT CREATE TABLE table_name_78 (date VARCHAR, home_team VARCHAR) ### ANSWER SELECT date FROM table_name_78 WHERE home_team = "melbourne"
{ "answer": "SELECT date FROM table_name_78 WHERE home_team = \"melbourne\"", "context": "CREATE TABLE table_name_78 (date VARCHAR, home_team VARCHAR)", "question": "What is the date of the game between Melbourne and Footscray?" }
### QUESTION When was the outcome runner-up with a score of 4–6, 3–6? ### CONTEXT CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR) ### ANSWER SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6"
{ "answer": "SELECT date FROM table_name_49 WHERE outcome = \"runner-up\" AND score = \"4–6, 3–6\"", "context": "CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR)", "question": "When was the outcome runner-up with a score of 4–6, 3–6?" }
### QUESTION Which Stopping pattern has a Platform of [2777] mciver station platforms? ### CONTEXT CREATE TABLE table_name_50 (stopping_pattern VARCHAR, platform VARCHAR) ### ANSWER SELECT stopping_pattern FROM table_name_50 WHERE platform = "[2777] mciver station platforms"
{ "answer": "SELECT stopping_pattern FROM table_name_50 WHERE platform = \"[2777] mciver station platforms\"", "context": "CREATE TABLE table_name_50 (stopping_pattern VARCHAR, platform VARCHAR)", "question": "Which Stopping pattern has a Platform of [2777] mciver station platforms?" }
### QUESTION Which Gold has a Nation of india, and a Bronze smaller than 0? ### CONTEXT CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR) ### ANSWER SELECT AVG(gold) FROM table_name_84 WHERE nation = "india" AND bronze < 0
{ "answer": "SELECT AVG(gold) FROM table_name_84 WHERE nation = \"india\" AND bronze < 0", "context": "CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)", "question": "Which Gold has a Nation of india, and a Bronze smaller than 0?" }
### QUESTION What is the football conference for Henniker, New Hampshire>? ### CONTEXT CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) ### ANSWER SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire"
{ "answer": "SELECT football_conference FROM table_261927_2 WHERE location = \"Henniker, New Hampshire\"", "context": "CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR)", "question": "What is the football conference for Henniker, New Hampshire>?" }
### QUESTION What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent? ### CONTEXT CREATE TABLE table_name_43 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR) ### ANSWER SELECT score FROM table_name_43 WHERE surface = "clay" AND year > 2006 AND opponent = "david ferrer"
{ "answer": "SELECT score FROM table_name_43 WHERE surface = \"clay\" AND year > 2006 AND opponent = \"david ferrer\"", "context": "CREATE TABLE table_name_43 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR)", "question": "What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent?" }
### QUESTION What was the length for GT class at Portland International Raceway? ### CONTEXT CREATE TABLE table_name_22 (length VARCHAR, class VARCHAR, circuit VARCHAR) ### ANSWER SELECT length FROM table_name_22 WHERE class = "gt" AND circuit = "portland international raceway"
{ "answer": "SELECT length FROM table_name_22 WHERE class = \"gt\" AND circuit = \"portland international raceway\"", "context": "CREATE TABLE table_name_22 (length VARCHAR, class VARCHAR, circuit VARCHAR)", "question": "What was the length for GT class at Portland International Raceway?" }
### QUESTION Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected? ### CONTEXT CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR) ### ANSWER SELECT incumbent FROM table_name_45 WHERE party = "democratic" AND results = "re-elected" AND first_elected > 1992 AND district = "new york 1"
{ "answer": "SELECT incumbent FROM table_name_45 WHERE party = \"democratic\" AND results = \"re-elected\" AND first_elected > 1992 AND district = \"new york 1\"", "context": "CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)", "question": "Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected?" }
### QUESTION Find out the top 10 customers by total number of orders. List customers' first and last name and the number of total orders. ### CONTEXT CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR) ### ANSWER SELECT T1.first_name, T1.last_name, COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10
{ "answer": "SELECT T1.first_name, T1.last_name, COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10", "context": "CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR)", "question": "Find out the top 10 customers by total number of orders. List customers' first and last name and the number of total orders." }
### QUESTION How many in the introduced segment retired later than 1994 and had Fokker as a manufacturer? ### CONTEXT CREATE TABLE table_name_80 (introduced VARCHAR, retired VARCHAR, manufacturer VARCHAR) ### ANSWER SELECT COUNT(introduced) FROM table_name_80 WHERE retired > 1994 AND manufacturer = "fokker"
{ "answer": "SELECT COUNT(introduced) FROM table_name_80 WHERE retired > 1994 AND manufacturer = \"fokker\"", "context": "CREATE TABLE table_name_80 (introduced VARCHAR, retired VARCHAR, manufacturer VARCHAR)", "question": "How many in the introduced segment retired later than 1994 and had Fokker as a manufacturer?" }
### QUESTION What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen? ### CONTEXT CREATE TABLE table_name_16 (probate_activities VARCHAR, regulator VARCHAR, notarial_activities VARCHAR, conduct_of_litigation VARCHAR) ### ANSWER SELECT probate_activities FROM table_name_16 WHERE notarial_activities = "no" AND conduct_of_litigation = "yes" AND regulator = "association of law costs draftsmen"
{ "answer": "SELECT probate_activities FROM table_name_16 WHERE notarial_activities = \"no\" AND conduct_of_litigation = \"yes\" AND regulator = \"association of law costs draftsmen\"", "context": "CREATE TABLE table_name_16 (probate_activities VARCHAR, regulator VARCHAR, notarial_activities VARCHAR, conduct_of_litigation VARCHAR)", "question": "What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen?" }
### QUESTION What title was used in the nomination for the title Biola Tak Berdawai? ### CONTEXT CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### ANSWER SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"
{ "answer": "SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = \"Biola tak berdawai\"", "context": "CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "question": "What title was used in the nomination for the title Biola Tak Berdawai?" }
### QUESTION Show the locations of schools that have more than 1 player. ### CONTEXT CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR) ### ANSWER SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*) > 1
{ "answer": "SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*) > 1", "context": "CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR)", "question": "Show the locations of schools that have more than 1 player." }
### QUESTION Name the points against for cwmllynfell rfc ### CONTEXT CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR) ### ANSWER SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc"
{ "answer": "SELECT points_against FROM table_name_27 WHERE club = \"cwmllynfell rfc\"", "context": "CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR)", "question": "Name the points against for cwmllynfell rfc" }
### QUESTION What is the highest episode# with the writer Paul West? ### CONTEXT CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) ### ANSWER SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"
{ "answer": "SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = \"Paul West\"", "context": "CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)", "question": "What is the highest episode# with the writer Paul West?" }
### QUESTION What are the movie titles and average rating of the movies with the lowest average rating? ### CONTEXT CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) ### ANSWER SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) LIMIT 1
{ "answer": "SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) LIMIT 1", "context": "CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)", "question": "What are the movie titles and average rating of the movies with the lowest average rating?" }
### QUESTION What is Airport, when Country is "Egypt", and when ICAO is "Heba"? ### CONTEXT CREATE TABLE table_name_35 (airport VARCHAR, country VARCHAR, icao VARCHAR) ### ANSWER SELECT airport FROM table_name_35 WHERE country = "egypt" AND icao = "heba"
{ "answer": "SELECT airport FROM table_name_35 WHERE country = \"egypt\" AND icao = \"heba\"", "context": "CREATE TABLE table_name_35 (airport VARCHAR, country VARCHAR, icao VARCHAR)", "question": "What is Airport, when Country is \"Egypt\", and when ICAO is \"Heba\"?" }
### QUESTION How many episodes have a share of 16.2% and an episode number of less than 1? ### CONTEXT CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) ### ANSWER SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
{ "answer": "SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = \"16.2%\" AND episode_no < 1", "context": "CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)", "question": "How many episodes have a share of 16.2% and an episode number of less than 1?" }
### QUESTION Find the policy type used by more than 4 customers. ### CONTEXT CREATE TABLE available_policies (policy_type_code VARCHAR) ### ANSWER SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING COUNT(*) > 4
{ "answer": "SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING COUNT(*) > 4", "context": "CREATE TABLE available_policies (policy_type_code VARCHAR)", "question": "Find the policy type used by more than 4 customers." }
### QUESTION What is the result of the match with a H/A of A and a kick off at 1992-10-31 16:00? ### CONTEXT CREATE TABLE table_name_14 (result VARCHAR, h___a VARCHAR, kick_off VARCHAR) ### ANSWER SELECT result FROM table_name_14 WHERE h___a = "a" AND kick_off = "1992-10-31 16:00"
{ "answer": "SELECT result FROM table_name_14 WHERE h___a = \"a\" AND kick_off = \"1992-10-31 16:00\"", "context": "CREATE TABLE table_name_14 (result VARCHAR, h___a VARCHAR, kick_off VARCHAR)", "question": "What is the result of the match with a H/A of A and a kick off at 1992-10-31 16:00?" }
### QUESTION When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4? ### CONTEXT CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) ### ANSWER SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–4"
{ "answer": "SELECT MAX(date) FROM table_name_19 WHERE partner = \"nicklas kulti\" AND score = \"3–6, 7–6, 6–4\"", "context": "CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR)", "question": "When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4?" }
### QUESTION How many millions of people in the US watched when Kevin Bray was director? ### CONTEXT CREATE TABLE table_24319661_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR) ### ANSWER SELECT us_viewers__million_ FROM table_24319661_3 WHERE directed_by = "Kevin Bray"
{ "answer": "SELECT us_viewers__million_ FROM table_24319661_3 WHERE directed_by = \"Kevin Bray\"", "context": "CREATE TABLE table_24319661_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)", "question": "How many millions of people in the US watched when Kevin Bray was director?" }
### QUESTION what is the minimum population canada 2011 census with seat of rcm being cowansville ### CONTEXT CREATE TABLE table_1011906_1 (population_canada_2011_census INTEGER, seat_of_rcm VARCHAR) ### ANSWER SELECT MIN(population_canada_2011_census) FROM table_1011906_1 WHERE seat_of_rcm = "Cowansville"
{ "answer": "SELECT MIN(population_canada_2011_census) FROM table_1011906_1 WHERE seat_of_rcm = \"Cowansville\"", "context": "CREATE TABLE table_1011906_1 (population_canada_2011_census INTEGER, seat_of_rcm VARCHAR)", "question": "what is the minimum population canada 2011 census with seat of rcm being cowansville" }
### QUESTION What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? ### CONTEXT CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR) ### ANSWER SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003"
{ "answer": "SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = \"joyce brace\" AND year = \"2002-2003\"", "context": "CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR)", "question": "What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?" }
### QUESTION Find the SSN and name of scientists who are assigned to the project with the longest hours. ### CONTEXT CREATE TABLE scientists (ssn VARCHAR, name VARCHAR, SSN VARCHAR); CREATE TABLE projects (code VARCHAR, hours INTEGER); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (hours INTEGER) ### ANSWER SELECT T3.ssn, 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 MAX(hours) FROM projects)
{ "answer": "SELECT T3.ssn, 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 MAX(hours) FROM projects)", "context": "CREATE TABLE scientists (ssn VARCHAR, name VARCHAR, SSN VARCHAR); CREATE TABLE projects (code VARCHAR, hours INTEGER); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (hours INTEGER)", "question": "Find the SSN and name of scientists who are assigned to the project with the longest hours." }
### QUESTION What is the most unfavorable that is favorable of 34 during 1953 August and has a no opinion score larger than 24? ### CONTEXT CREATE TABLE table_name_34 (unfavorable INTEGER, no_opinion VARCHAR, favorable VARCHAR, date VARCHAR) ### ANSWER SELECT MAX(unfavorable) FROM table_name_34 WHERE favorable = 34 AND date = "1953 august" AND no_opinion > 24
{ "answer": "SELECT MAX(unfavorable) FROM table_name_34 WHERE favorable = 34 AND date = \"1953 august\" AND no_opinion > 24", "context": "CREATE TABLE table_name_34 (unfavorable INTEGER, no_opinion VARCHAR, favorable VARCHAR, date VARCHAR)", "question": "What is the most unfavorable that is favorable of 34 during 1953 August and has a no opinion score larger than 24?" }
### QUESTION Name the week 3 for team of mark/jennifer ### CONTEXT CREATE TABLE table_name_99 (week_3 VARCHAR, team VARCHAR) ### ANSWER SELECT week_3 FROM table_name_99 WHERE team = "mark/jennifer"
{ "answer": "SELECT week_3 FROM table_name_99 WHERE team = \"mark/jennifer\"", "context": "CREATE TABLE table_name_99 (week_3 VARCHAR, team VARCHAR)", "question": "Name the week 3 for team of mark/jennifer" }
### QUESTION What was the result for song of the year award in 1994? ### CONTEXT CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR) ### ANSWER SELECT result FROM table_name_69 WHERE year = 1994 AND award = "song of the year"
{ "answer": "SELECT result FROM table_name_69 WHERE year = 1994 AND award = \"song of the year\"", "context": "CREATE TABLE table_name_69 (result VARCHAR, year VARCHAR, award VARCHAR)", "question": "What was the result for song of the year award in 1994?" }
### QUESTION What position was drafted by the Hamilton Tiger-Cats? ### CONTEXT CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR) ### ANSWER SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats"
{ "answer": "SELECT position FROM table_21321804_5 WHERE cfl_team = \"Hamilton Tiger-Cats\"", "context": "CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR)", "question": "What position was drafted by the Hamilton Tiger-Cats? " }
### QUESTION What was the air date of the episod that had 456.58 thousand viewers? ### CONTEXT CREATE TABLE table_23114705_7 (original_air_date VARCHAR, nz_viewers__thousand_ VARCHAR) ### ANSWER SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58"
{ "answer": "SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = \"456.58\"", "context": "CREATE TABLE table_23114705_7 (original_air_date VARCHAR, nz_viewers__thousand_ VARCHAR)", "question": "What was the air date of the episod that had 456.58 thousand viewers?" }
### QUESTION What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season? ### CONTEXT CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR) ### ANSWER SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21
{ "answer": "SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = \"sam meikle\" AND no_in_season = 21", "context": "CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR)", "question": "What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?" }
### QUESTION Show the ids and details of the investors who have at least two transactions with type code "SALE". ### CONTEXT CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR) ### ANSWER SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.transaction_type_code = "SALE" GROUP BY T2.investor_id HAVING COUNT(*) >= 2
{ "answer": "SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.transaction_type_code = \"SALE\" GROUP BY T2.investor_id HAVING COUNT(*) >= 2", "context": "CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)", "question": "Show the ids and details of the investors who have at least two transactions with type code \"SALE\"." }
### QUESTION What is the highest rank for the boys swimming team in Albuquerque? ### CONTEXT CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR) ### ANSWER SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"
{ "answer": "SELECT MAX(rank) FROM table_name_72 WHERE sport = \"boys swimming\" AND city = \"albuquerque\"", "context": "CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)", "question": "What is the highest rank for the boys swimming team in Albuquerque?" }
### QUESTION When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? ### CONTEXT CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) ### ANSWER SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes"
{ "answer": "SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = \"10 years\" AND pct_route_available = \"Yes\"", "context": "CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR)", "question": "When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications?" }
### QUESTION What is the semi-final television commentator status in 1962 with an unknown spokesperson? ### CONTEXT CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR) ### ANSWER SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962
{ "answer": "SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = \"unknown\" AND year_s_ = 1962", "context": "CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)", "question": "What is the semi-final television commentator status in 1962 with an unknown spokesperson?" }
### QUESTION How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? ### CONTEXT CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1
{ "answer": "SELECT SUM(year) FROM table_name_98 WHERE engine = \"bmw str-4 t/c\" AND entrant = \"barclay nordica arrows bmw\" AND points < 1", "context": "CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR)", "question": "How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point?" }
### QUESTION What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? ### CONTEXT CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins"
{ "answer": "SELECT MIN(year) FROM table_name_90 WHERE award = \"drama desk award\" AND nominated_work = \"the mineola twins\"", "context": "CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)", "question": "What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work?" }
### QUESTION When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd? ### CONTEXT CREATE TABLE table_26986076_5 (mon_23_aug VARCHAR, tues_24_aug VARCHAR) ### ANSWER SELECT mon_23_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 18.87 106.209mph"
{ "answer": "SELECT mon_23_aug FROM table_26986076_5 WHERE tues_24_aug = \"21' 18.87 106.209mph\"", "context": "CREATE TABLE table_26986076_5 (mon_23_aug VARCHAR, tues_24_aug VARCHAR)", "question": "When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?" }
### QUESTION Steve Wallace was a Race Winner at the Kentucky Speedway on what date? ### CONTEXT CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR) ### ANSWER SELECT date FROM table_name_75 WHERE race_winner = "steve wallace" AND track = "kentucky speedway"
{ "answer": "SELECT date FROM table_name_75 WHERE race_winner = \"steve wallace\" AND track = \"kentucky speedway\"", "context": "CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR)", "question": "Steve Wallace was a Race Winner at the Kentucky Speedway on what date?" }
### QUESTION Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals? ### CONTEXT CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR) ### ANSWER SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "79"
{ "answer": "SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = \"fw\" AND apps < 492 AND goals = \"79\"", "context": "CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR)", "question": "Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals?" }
### QUESTION Who had a score of 70-69-70=209? ### CONTEXT CREATE TABLE table_name_50 (player VARCHAR, score VARCHAR) ### ANSWER SELECT player FROM table_name_50 WHERE score = 70 - 69 - 70 = 209
{ "answer": "SELECT player FROM table_name_50 WHERE score = 70 - 69 - 70 = 209", "context": "CREATE TABLE table_name_50 (player VARCHAR, score VARCHAR)", "question": "Who had a score of 70-69-70=209?" }
### QUESTION What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2? ### CONTEXT CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR) ### ANSWER SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14
{ "answer": "SELECT MIN(area__km²_) FROM table_name_26 WHERE province = \"napoli\" AND comune = \"piano di sorrento\" AND total__km²_ < 121.14", "context": "CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR)", "question": "What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2?" }
### QUESTION What city and state are the miners located in? ### CONTEXT CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR) ### ANSWER SELECT location FROM table_11044765_1 WHERE mascot = "Miners"
{ "answer": "SELECT location FROM table_11044765_1 WHERE mascot = \"Miners\"", "context": "CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR)", "question": "What city and state are the miners located in?" }
### QUESTION What is the Time/Retired for a Grid smaller than 10, a Laps larger than 20, and a Constructor of talbot-lago - talbot? ### CONTEXT CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) ### ANSWER SELECT time_retired FROM table_name_89 WHERE grid < 10 AND laps > 20 AND constructor = "talbot-lago - talbot"
{ "answer": "SELECT time_retired FROM table_name_89 WHERE grid < 10 AND laps > 20 AND constructor = \"talbot-lago - talbot\"", "context": "CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)", "question": "What is the Time/Retired for a Grid smaller than 10, a Laps larger than 20, and a Constructor of talbot-lago - talbot?" }
### QUESTION Name the annual rainfail for 2002 population being 493984 ### CONTEXT CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) ### ANSWER SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984
{ "answer": "SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984", "context": "CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR)", "question": "Name the annual rainfail for 2002 population being 493984" }
### QUESTION What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin? ### CONTEXT CREATE TABLE table_name_94 (vineyard_surface__2010_ VARCHAR, village VARCHAR, grand_cru VARCHAR) ### ANSWER SELECT vineyard_surface__2010_ FROM table_name_94 WHERE village = "gevrey-chambertin" AND grand_cru = "latricières-chambertin"
{ "answer": "SELECT vineyard_surface__2010_ FROM table_name_94 WHERE village = \"gevrey-chambertin\" AND grand_cru = \"latricières-chambertin\"", "context": "CREATE TABLE table_name_94 (vineyard_surface__2010_ VARCHAR, village VARCHAR, grand_cru VARCHAR)", "question": "What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin?" }
### QUESTION What is the point total for the Formula Renault 2.0 Italy series? ### CONTEXT CREATE TABLE table_21795650_1 (points VARCHAR, series VARCHAR) ### ANSWER SELECT COUNT(points) FROM table_21795650_1 WHERE series = "Formula Renault 2.0 Italy"
{ "answer": "SELECT COUNT(points) FROM table_21795650_1 WHERE series = \"Formula Renault 2.0 Italy\"", "context": "CREATE TABLE table_21795650_1 (points VARCHAR, series VARCHAR)", "question": "What is the point total for the Formula Renault 2.0 Italy series?" }
### QUESTION What is the Catalog number in the Region of France? ### CONTEXT CREATE TABLE table_name_42 (catalog VARCHAR, region VARCHAR) ### ANSWER SELECT catalog FROM table_name_42 WHERE region = "france"
{ "answer": "SELECT catalog FROM table_name_42 WHERE region = \"france\"", "context": "CREATE TABLE table_name_42 (catalog VARCHAR, region VARCHAR)", "question": "What is the Catalog number in the Region of France?" }
### QUESTION If the working force of HK is 10.4%, what is the salary range? ### CONTEXT CREATE TABLE table_27257896_2 (salary_range VARCHAR, working_force_of_hk VARCHAR) ### ANSWER SELECT salary_range FROM table_27257896_2 WHERE working_force_of_hk = "10.4%"
{ "answer": "SELECT salary_range FROM table_27257896_2 WHERE working_force_of_hk = \"10.4%\"", "context": "CREATE TABLE table_27257896_2 (salary_range VARCHAR, working_force_of_hk VARCHAR)", "question": "If the working force of HK is 10.4%, what is the salary range?" }
### QUESTION What is the total for the first exercise and has 18 as the second exercise? ### CONTEXT CREATE TABLE table_name_2 (first_exercise INTEGER, second_exercise VARCHAR) ### ANSWER SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18
{ "answer": "SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18", "context": "CREATE TABLE table_name_2 (first_exercise INTEGER, second_exercise VARCHAR)", "question": "What is the total for the first exercise and has 18 as the second exercise?" }
### QUESTION Who's the principal of Edgewood High School?/ ### CONTEXT CREATE TABLE table_1984697_53 (principal VARCHAR, school VARCHAR) ### ANSWER SELECT principal FROM table_1984697_53 WHERE school = "Edgewood High school"
{ "answer": "SELECT principal FROM table_1984697_53 WHERE school = \"Edgewood High school\"", "context": "CREATE TABLE table_1984697_53 (principal VARCHAR, school VARCHAR)", "question": "Who's the principal of Edgewood High School?/" }
### QUESTION What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ? ### CONTEXT CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR) ### ANSWER SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)"
{ "answer": "SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = \"80 g/mi (50 g/km)\" AND southeast__atlanta_ = \"250 g/mi (155 g/km)\"", "context": "CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)", "question": "What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?" }
### QUESTION Name the vacator for reason for change died january 12, 1826 ### CONTEXT CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR) ### ANSWER SELECT vacator FROM table_225102_4 WHERE reason_for_change = "Died January 12, 1826"
{ "answer": "SELECT vacator FROM table_225102_4 WHERE reason_for_change = \"Died January 12, 1826\"", "context": "CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR)", "question": "Name the vacator for reason for change died january 12, 1826" }
### QUESTION Show the names of players coached by the rank 1 coach. ### CONTEXT CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (Coach_ID VARCHAR, Rank VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR) ### ANSWER SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T2.Rank = 1
{ "answer": "SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T2.Rank = 1", "context": "CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (Coach_ID VARCHAR, Rank VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)", "question": "Show the names of players coached by the rank 1 coach." }
### QUESTION List singer names and number of concerts for each singer. ### CONTEXT CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR) ### ANSWER SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id
{ "answer": "SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id", "context": "CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)", "question": "List singer names and number of concerts for each singer." }
### QUESTION Who were the comptrollers of the parties associated with the delegates from district 1 or district 2? ### CONTEXT CREATE TABLE party (Comptroller VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR) ### ANSWER SELECT T2.Comptroller FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 OR T1.District = 2
{ "answer": "SELECT T2.Comptroller FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 OR T1.District = 2", "context": "CREATE TABLE party (Comptroller VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR)", "question": "Who were the comptrollers of the parties associated with the delegates from district 1 or district 2?" }
### QUESTION What is the average attendance when Brewers are the opponent with a score of 6–3? ### CONTEXT CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) ### ANSWER SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–3"
{ "answer": "SELECT AVG(attendance) FROM table_name_68 WHERE opponent = \"brewers\" AND score = \"6–3\"", "context": "CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR)", "question": "What is the average attendance when Brewers are the opponent with a score of 6–3?" }
### QUESTION Which countries in europe have at least 3 car manufacturers? ### CONTEXT CREATE TABLE COUNTRIES (CountryName VARCHAR, Continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR) ### ANSWER SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING COUNT(*) >= 3
{ "answer": "SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING COUNT(*) >= 3", "context": "CREATE TABLE COUNTRIES (CountryName VARCHAR, Continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)", "question": "Which countries in europe have at least 3 car manufacturers?" }
### QUESTION Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position? ### CONTEXT CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) ### ANSWER SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"
{ "answer": "SELECT grand_prix FROM table_name_24 WHERE fastest_lap = \"gerhard berger\" AND pole_position = \"jacques villeneuve\"", "context": "CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)", "question": "Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?" }
### QUESTION What player has a college named san sebastian? ### CONTEXT CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR) ### ANSWER SELECT player FROM table_name_97 WHERE college = "san sebastian"
{ "answer": "SELECT player FROM table_name_97 WHERE college = \"san sebastian\"", "context": "CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR)", "question": "What player has a college named san sebastian?" }
### QUESTION What college did the player from Fort Lauderdale, FL attend? ### CONTEXT CREATE TABLE table_name_79 (college VARCHAR, hometown VARCHAR) ### ANSWER SELECT college FROM table_name_79 WHERE hometown = "fort lauderdale, fl"
{ "answer": "SELECT college FROM table_name_79 WHERE hometown = \"fort lauderdale, fl\"", "context": "CREATE TABLE table_name_79 (college VARCHAR, hometown VARCHAR)", "question": "What college did the player from Fort Lauderdale, FL attend?" }
### QUESTION Name the least field goals for chantel hilliard ### CONTEXT CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR) ### ANSWER SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard"
{ "answer": "SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = \"Chantel Hilliard\"", "context": "CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR)", "question": "Name the least field goals for chantel hilliard" }
### QUESTION What are the code and description of the least frequent detention type ? ### CONTEXT CREATE TABLE Ref_Detention_Type (detention_type_description VARCHAR, detention_type_code VARCHAR); CREATE TABLE Detention (detention_type_code VARCHAR) ### ANSWER SELECT T1.detention_type_code, T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code = T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T1.detention_type_code, T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code = T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE Ref_Detention_Type (detention_type_description VARCHAR, detention_type_code VARCHAR); CREATE TABLE Detention (detention_type_code VARCHAR)", "question": "What are the code and description of the least frequent detention type ?" }
### QUESTION What team has adam barclay as the rider? ### CONTEXT CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR) ### ANSWER SELECT team FROM table_name_79 WHERE rider = "adam barclay"
{ "answer": "SELECT team FROM table_name_79 WHERE rider = \"adam barclay\"", "context": "CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR)", "question": "What team has adam barclay as the rider?" }
### QUESTION What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo? ### CONTEXT CREATE TABLE table_name_20 (visitor VARCHAR, game__number VARCHAR, home VARCHAR) ### ANSWER SELECT visitor FROM table_name_20 WHERE game__number < 67 AND home = "buffalo"
{ "answer": "SELECT visitor FROM table_name_20 WHERE game__number < 67 AND home = \"buffalo\"", "context": "CREATE TABLE table_name_20 (visitor VARCHAR, game__number VARCHAR, home VARCHAR)", "question": "What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo?" }
### QUESTION Which city has a C1 class and Identifier of CBCD-FM? ### CONTEXT CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) ### ANSWER SELECT city_of_license FROM table_name_77 WHERE class = "c1" AND identifier = "cbcd-fm"
{ "answer": "SELECT city_of_license FROM table_name_77 WHERE class = \"c1\" AND identifier = \"cbcd-fm\"", "context": "CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)", "question": "Which city has a C1 class and Identifier of CBCD-FM?" }