text
stringlengths
146
1.06k
source
dict
### QUESTION Which Vertices have a Dual Archimedean solid of truncated dodecahedron? ### CONTEXT CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR) ### ANSWER SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron"
{ "answer": "SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = \"truncated dodecahedron\"", "context": "CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR)", "question": "Which Vertices have a Dual Archimedean solid of truncated dodecahedron?" }
### QUESTION When was the date of death for the person married to Charles II? ### CONTEXT CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR) ### ANSWER SELECT death FROM table_name_86 WHERE spouse = "charles ii"
{ "answer": "SELECT death FROM table_name_86 WHERE spouse = \"charles ii\"", "context": "CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)", "question": "When was the date of death for the person married to Charles II?" }
### QUESTION When hayden roulston is the winner what is the stage? ### CONTEXT CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR) ### ANSWER SELECT stage FROM table_28298471_14 WHERE winner = "Hayden Roulston"
{ "answer": "SELECT stage FROM table_28298471_14 WHERE winner = \"Hayden Roulston\"", "context": "CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR)", "question": "When hayden roulston is the winner what is the stage?" }
### QUESTION What is the largest number of households with median family income of $52,106 with less than 21,403 in population? ### CONTEXT CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) ### ANSWER SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = "$52,106" AND population < 21 OFFSET 403
{ "answer": "SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = \"$52,106\" AND population < 21 OFFSET 403", "context": "CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)", "question": "What is the largest number of households with median family income of $52,106 with less than 21,403 in population?" }
### QUESTION What was the area in Glenella with a population of 522 in 2011? ### CONTEXT CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR) ### ANSWER SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522
{ "answer": "SELECT AVG(area__km²_) FROM table_name_24 WHERE name = \"glenella\" AND population__2011_ < 522", "context": "CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR)", "question": "What was the area in Glenella with a population of 522 in 2011?" }
### QUESTION What is the average of points for 8th place with draw more than 8? ### CONTEXT CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR) ### ANSWER SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8
{ "answer": "SELECT AVG(points) FROM table_name_55 WHERE place = \"8th\" AND draw > 8", "context": "CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)", "question": "What is the average of points for 8th place with draw more than 8?" }
### QUESTION Which location had previous champions of Mike Webb and Nick Fahrenheit? ### CONTEXT CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR) ### ANSWER SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit"
{ "answer": "SELECT location FROM table_name_93 WHERE previous_champion_s_ = \"mike webb and nick fahrenheit\"", "context": "CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)", "question": "Which location had previous champions of Mike Webb and Nick Fahrenheit?" }
### QUESTION Find the personal name, family name, and author ID of the course author that teaches the most courses. ### CONTEXT CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR) ### ANSWER SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR)", "question": "Find the personal name, family name, and author ID of the course author that teaches the most courses." }
### QUESTION What's the pick number of the player from Springfield Olympics (Nejhl)? ### CONTEXT CREATE TABLE table_1013129_3 (pick VARCHAR, college_junior_club_team VARCHAR) ### ANSWER SELECT pick FROM table_1013129_3 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)"
{ "answer": "SELECT pick FROM table_1013129_3 WHERE college_junior_club_team = \"Springfield Olympics (NEJHL)\"", "context": "CREATE TABLE table_1013129_3 (pick VARCHAR, college_junior_club_team VARCHAR)", "question": "What's the pick number of the player from Springfield Olympics (Nejhl)?" }
### QUESTION What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament? ### CONTEXT CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR) ### ANSWER SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990
{ "answer": "SELECT runners_up FROM table_name_80 WHERE champions = \"ivan lendl\" AND name_of_tournament = \"seiko super tennis\" AND year < 1990", "context": "CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR)", "question": "What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?" }
### QUESTION Show all game names played by Linda Smith ### CONTEXT CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR) ### ANSWER SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JOIN Student AS T3 ON T3.Stuid = T1.Stuid WHERE T3.Lname = "Smith" AND T3.Fname = "Linda"
{ "answer": "SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JOIN Student AS T3 ON T3.Stuid = T1.Stuid WHERE T3.Lname = \"Smith\" AND T3.Fname = \"Linda\"", "context": "CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR)", "question": "Show all game names played by Linda Smith" }
### QUESTION What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"? ### CONTEXT CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR) ### ANSWER SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003"
{ "answer": "SELECT SUM(against) FROM table_name_20 WHERE status = \"six nations\" AND date = \"30/03/2003\"", "context": "CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR)", "question": "What is the sum of Against, when Status is \"Six Nations\", and when Date is \"30/03/2003\"?" }
### QUESTION What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa? ### CONTEXT CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR) ### ANSWER SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoing" AND current_club = "aston villa" AND player = "graham burke"
{ "answer": "SELECT position FROM table_name_47 WHERE first_team_appearances = \"ongoing\" AND current_club = \"aston villa\" AND player = \"graham burke\"", "context": "CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR)", "question": "What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa?" }
### QUESTION who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge? ### CONTEXT CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR) ### ANSWER SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge"
{ "answer": "SELECT constructor FROM table_name_75 WHERE tyre = \"d\" AND engine = \"talbot 23cv 4.5 l6\" AND chassis = \"talbot-lago t26c\" AND entrant = \"ecurie belge\"", "context": "CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR)", "question": "who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?" }
### QUESTION What pens have a draw of 0 when the player is sione mafi pahulu? ### CONTEXT CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR) ### ANSWER SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"
{ "answer": "SELECT pens FROM table_name_17 WHERE draw = \"0\" AND player = \"sione mafi pahulu\"", "context": "CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)", "question": "What pens have a draw of 0 when the player is sione mafi pahulu?" }
### QUESTION Who are the candidates in Washington 1 district? ### CONTEXT CREATE TABLE table_16185956_1 (district VARCHAR) ### ANSWER SELECT 2008 AS _candidates FROM table_16185956_1 WHERE district = "Washington 1"
{ "answer": "SELECT 2008 AS _candidates FROM table_16185956_1 WHERE district = \"Washington 1\"", "context": "CREATE TABLE table_16185956_1 (district VARCHAR)", "question": "Who are the candidates in Washington 1 district?" }
### QUESTION What start has a ford cosworth dfx as the engine, a year later than 1981, and kraco enterprises as the entrant? ### CONTEXT CREATE TABLE table_name_22 (start VARCHAR, entrant VARCHAR, engine VARCHAR, year VARCHAR) ### ANSWER SELECT start FROM table_name_22 WHERE engine = "ford cosworth dfx" AND year > 1981 AND entrant = "kraco enterprises"
{ "answer": "SELECT start FROM table_name_22 WHERE engine = \"ford cosworth dfx\" AND year > 1981 AND entrant = \"kraco enterprises\"", "context": "CREATE TABLE table_name_22 (start VARCHAR, entrant VARCHAR, engine VARCHAR, year VARCHAR)", "question": "What start has a ford cosworth dfx as the engine, a year later than 1981, and kraco enterprises as the entrant?" }
### QUESTION Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa? ### CONTEXT CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR) ### ANSWER SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa"
{ "answer": "SELECT enrollment FROM table_name_4 WHERE primary_conference = \"mid-hoosier\" AND county = \"16 decatur\" AND ihsaa_class = \"aa\"", "context": "CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR)", "question": "Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?" }
### QUESTION What is the production code of the episode written by José Molina that aired on October 12, 2004? ### CONTEXT CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR) ### ANSWER SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004"
{ "answer": "SELECT production_code FROM table_10935548_1 WHERE written_by = \"José Molina\" AND original_air_date = \"October 12, 2004\"", "context": "CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR)", "question": "What is the production code of the episode written by José Molina that aired on October 12, 2004?" }
### QUESTION Which type of surface do Amer Delic Robert Kendrick's opponents have? ### CONTEXT CREATE TABLE table_name_53 (surface VARCHAR, opponents VARCHAR) ### ANSWER SELECT surface FROM table_name_53 WHERE opponents = "amer delic robert kendrick"
{ "answer": "SELECT surface FROM table_name_53 WHERE opponents = \"amer delic robert kendrick\"", "context": "CREATE TABLE table_name_53 (surface VARCHAR, opponents VARCHAR)", "question": "Which type of surface do Amer Delic Robert Kendrick's opponents have?" }
### QUESTION Which Score has a January larger than 21, and Points of 63? ### CONTEXT CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR) ### ANSWER SELECT score FROM table_name_18 WHERE january > 21 AND points = 63
{ "answer": "SELECT score FROM table_name_18 WHERE january > 21 AND points = 63", "context": "CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)", "question": "Which Score has a January larger than 21, and Points of 63?" }
### QUESTION What was the intermediate sprint classification for the race whose winner was Daniel Martin? ### CONTEXT CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR) ### ANSWER SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin"
{ "answer": "SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = \"Daniel Martin\"", "context": "CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)", "question": "What was the intermediate sprint classification for the race whose winner was Daniel Martin?" }
### QUESTION Name the most 10 3 bbl/d (2008) for present share being 1.7% ### CONTEXT CREATE TABLE table_23195_5 (present_share VARCHAR) ### ANSWER SELECT MAX(_3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%"
{ "answer": "SELECT MAX(_3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = \"1.7%\"", "context": "CREATE TABLE table_23195_5 (present_share VARCHAR)", "question": "Name the most 10 3 bbl/d (2008) for present share being 1.7%" }
### QUESTION Find the id and last name of the student that has the most behavior incidents? ### CONTEXT CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR) ### ANSWER SELECT T1.student_id, T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.student_id, T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR)", "question": "Find the id and last name of the student that has the most behavior incidents?" }
### QUESTION Tell me the tv time for attendance of 60,894 ### CONTEXT CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR) ### ANSWER SELECT tv_time FROM table_name_86 WHERE attendance = "60,894"
{ "answer": "SELECT tv_time FROM table_name_86 WHERE attendance = \"60,894\"", "context": "CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR)", "question": "Tell me the tv time for attendance of 60,894" }
### QUESTION What is the mean average score when the evening gown score is more than 9.35, the state is South Carolina, and the swimsuit score is more than 9.4? ### CONTEXT CREATE TABLE table_name_52 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR, state VARCHAR) ### ANSWER SELECT AVG(average) FROM table_name_52 WHERE evening_gown > 9.35 AND state = "south carolina" AND swimsuit > 9.4
{ "answer": "SELECT AVG(average) FROM table_name_52 WHERE evening_gown > 9.35 AND state = \"south carolina\" AND swimsuit > 9.4", "context": "CREATE TABLE table_name_52 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR, state VARCHAR)", "question": "What is the mean average score when the evening gown score is more than 9.35, the state is South Carolina, and the swimsuit score is more than 9.4?" }
### QUESTION Which date did the oakland raiders play as the opponent when the Bills first downs were under 28? ### CONTEXT CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
{ "answer": "SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = \"oakland raiders\"", "context": "CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)", "question": "Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?" }
### QUESTION Return ids of all the products that are supplied by supplier id 2 and are more expensive than the average price of all products. ### CONTEXT CREATE TABLE products (product_id VARCHAR, product_price INTEGER); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_price INTEGER) ### ANSWER SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 2 AND T2.product_price > (SELECT AVG(product_price) FROM products)
{ "answer": "SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 2 AND T2.product_price > (SELECT AVG(product_price) FROM products)", "context": "CREATE TABLE products (product_id VARCHAR, product_price INTEGER); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_price INTEGER)", "question": "Return ids of all the products that are supplied by supplier id 2 and are more expensive than the average price of all products." }
### QUESTION What is the gross capacity where the reactor is ABWR type? ### CONTEXT CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR) ### ANSWER SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
{ "answer": "SELECT gross_capacity FROM table_name_54 WHERE reactor_type = \"abwr\"", "context": "CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)", "question": "What is the gross capacity where the reactor is ABWR type?" }
### QUESTION Find the names of all reviewers who rated Gone with the Wind. ### CONTEXT CREATE TABLE Movie (mID VARCHAR, title VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### ANSWER SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.title = 'Gone with the Wind'
{ "answer": "SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.title = 'Gone with the Wind'", "context": "CREATE TABLE Movie (mID VARCHAR, title VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)", "question": "Find the names of all reviewers who rated Gone with the Wind." }
### QUESTION Where has a Name of zhongornis? ### CONTEXT CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR) ### ANSWER SELECT location FROM table_name_84 WHERE name = "zhongornis"
{ "answer": "SELECT location FROM table_name_84 WHERE name = \"zhongornis\"", "context": "CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR)", "question": "Where has a Name of zhongornis?" }
### QUESTION When mixed quad singles is the event what is the final/bronze medal match? ### CONTEXT CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, event VARCHAR) ### ANSWER SELECT final__bronze_medal_match FROM table_18602462_21 WHERE event = "Mixed Quad Singles"
{ "answer": "SELECT final__bronze_medal_match FROM table_18602462_21 WHERE event = \"Mixed Quad Singles\"", "context": "CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, event VARCHAR)", "question": "When mixed quad singles is the event what is the final/bronze medal match?" }
### QUESTION What is the total number of Years that has the Group, Method Fest Independent Film Festival? ### CONTEXT CREATE TABLE table_name_45 (year VARCHAR, group VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_45 WHERE group = "method fest independent film festival"
{ "answer": "SELECT COUNT(year) FROM table_name_45 WHERE group = \"method fest independent film festival\"", "context": "CREATE TABLE table_name_45 (year VARCHAR, group VARCHAR)", "question": "What is the total number of Years that has the Group, Method Fest Independent Film Festival?" }
### QUESTION What is the average for the agricultural panel that has a National University of Ireland less than 0? ### CONTEXT CREATE TABLE table_name_16 (agricultural_panel INTEGER, national_university_of_ireland INTEGER) ### ANSWER SELECT AVG(agricultural_panel) FROM table_name_16 WHERE national_university_of_ireland < 0
{ "answer": "SELECT AVG(agricultural_panel) FROM table_name_16 WHERE national_university_of_ireland < 0", "context": "CREATE TABLE table_name_16 (agricultural_panel INTEGER, national_university_of_ireland INTEGER)", "question": "What is the average for the agricultural panel that has a National University of Ireland less than 0?" }
### QUESTION Which title has a Black Ice for a guest performer and a length of 5:49? ### CONTEXT CREATE TABLE table_name_50 (title VARCHAR, guest_performer VARCHAR, time VARCHAR) ### ANSWER SELECT title FROM table_name_50 WHERE guest_performer = "black ice" AND time = "5:49"
{ "answer": "SELECT title FROM table_name_50 WHERE guest_performer = \"black ice\" AND time = \"5:49\"", "context": "CREATE TABLE table_name_50 (title VARCHAR, guest_performer VARCHAR, time VARCHAR)", "question": "Which title has a Black Ice for a guest performer and a length of 5:49?" }
### QUESTION What Social AO has a President of harm van leeuwen? ### CONTEXT CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR) ### ANSWER SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen"
{ "answer": "SELECT social_ao FROM table_name_68 WHERE president = \"harm van leeuwen\"", "context": "CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR)", "question": "What Social AO has a President of harm van leeuwen?" }
### QUESTION What is the id of the order which has the most items? ### CONTEXT CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR) ### ANSWER SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR)", "question": "What is the id of the order which has the most items?" }
### QUESTION What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008? ### CONTEXT CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR) ### ANSWER SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2008 = "1.7%"
{ "answer": "SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2008 = \"1.7%\"", "context": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR)", "question": "What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?" }
### QUESTION Name the segment b for s dress form ### CONTEXT CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR) ### ANSWER SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form"
{ "answer": "SELECT segment_b FROM table_15187735_10 WHERE segment_a = \"s Dress Form\"", "context": "CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR)", "question": "Name the segment b for s dress form" }
### QUESTION Why did the change happened in Massachusetts (2)? ### CONTEXT CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) ### ANSWER SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massachusetts (2)"
{ "answer": "SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = \"Massachusetts (2)\"", "context": "CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)", "question": "Why did the change happened in Massachusetts (2)?" }
### QUESTION When north melbourne played as the home team, what was the away team score? ### CONTEXT CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_7 WHERE home_team = "north melbourne"
{ "answer": "SELECT away_team AS score FROM table_name_7 WHERE home_team = \"north melbourne\"", "context": "CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)", "question": "When north melbourne played as the home team, what was the away team score?" }
### QUESTION What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? ### CONTEXT CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) ### ANSWER SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5"
{ "answer": "SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = \"peckett and sons\" AND gwr_nos = \"696, 779, 93 5\"", "context": "CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR)", "question": "What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?" }
### QUESTION What are the the approximate translations when the Morphological Category is 1st. plur. perfect? ### CONTEXT CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) ### ANSWER SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"
{ "answer": "SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = \"1st. plur. perfect\"", "context": "CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)", "question": "What are the the approximate translations when the Morphological Category is 1st. plur. perfect?" }
### QUESTION Which Socialist Labor ticket has a Office of secretary of state? ### CONTEXT CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR) ### ANSWER SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state"
{ "answer": "SELECT socialist_labor_ticket FROM table_name_78 WHERE office = \"secretary of state\"", "context": "CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)", "question": "Which Socialist Labor ticket has a Office of secretary of state?" }
### QUESTION Which episode had viewership of 0.296 million? ### CONTEXT CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR) ### ANSWER SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296"
{ "answer": "SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = \"0.296\"", "context": "CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)", "question": "Which episode had viewership of 0.296 million?" }
### QUESTION Name the least place for draw more than 3 and points of 8 ### CONTEXT CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) ### ANSWER SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8
{ "answer": "SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8", "context": "CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR)", "question": "Name the least place for draw more than 3 and points of 8" }
### QUESTION Opponents of sebastián decoud santiago giraldo had what surface? ### CONTEXT CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR) ### ANSWER SELECT surface FROM table_name_71 WHERE opponents = "sebastián decoud santiago giraldo"
{ "answer": "SELECT surface FROM table_name_71 WHERE opponents = \"sebastián decoud santiago giraldo\"", "context": "CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR)", "question": "Opponents of sebastián decoud santiago giraldo had what surface?" }
### QUESTION How many Goals have a Result of 0 – 4? ### CONTEXT CREATE TABLE table_name_26 (goals INTEGER, result VARCHAR) ### ANSWER SELECT AVG(goals) FROM table_name_26 WHERE result = "0 – 4"
{ "answer": "SELECT AVG(goals) FROM table_name_26 WHERE result = \"0 – 4\"", "context": "CREATE TABLE table_name_26 (goals INTEGER, result VARCHAR)", "question": "How many Goals have a Result of 0 – 4?" }
### QUESTION What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? ### CONTEXT CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) ### ANSWER SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2"
{ "answer": "SELECT SUM(round) FROM table_name_84 WHERE method = \"submission (ankle lock)\" AND location = \"tokyo, japan\" AND record = \"13-5-2\"", "context": "CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)", "question": "What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?" }
### QUESTION What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat? ### CONTEXT CREATE TABLE table_name_46 (result VARCHAR, director VARCHAR, original_title VARCHAR) ### ANSWER SELECT result FROM table_name_46 WHERE director = "veljko bulajić category:articles with hcards" AND original_title = "sarajevski atentat"
{ "answer": "SELECT result FROM table_name_46 WHERE director = \"veljko bulajić category:articles with hcards\" AND original_title = \"sarajevski atentat\"", "context": "CREATE TABLE table_name_46 (result VARCHAR, director VARCHAR, original_title VARCHAR)", "question": "What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat?" }
### QUESTION How many floors does the building on 800 Boylston Street have? ### CONTEXT CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR) ### ANSWER SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street"
{ "answer": "SELECT MAX(floors) FROM table_name_52 WHERE street_address = \"800 boylston street\"", "context": "CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR)", "question": "How many floors does the building on 800 Boylston Street have?" }
### QUESTION Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday? ### CONTEXT CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR) ### ANSWER SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday"
{ "answer": "SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = \"4:3\" AND hours = \"20:30\" AND days_of_the_week = \"monday, wednesday, friday\"", "context": "CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR)", "question": "Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday?" }
### QUESTION How many cover dates does the story "Devastation Derby! (part 1)" have? ### CONTEXT CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR) ### ANSWER SELECT COUNT(cover_date) FROM table_18305523_2 WHERE story_title = "DEVASTATION DERBY! (Part 1)"
{ "answer": "SELECT COUNT(cover_date) FROM table_18305523_2 WHERE story_title = \"DEVASTATION DERBY! (Part 1)\"", "context": "CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR)", "question": "How many cover dates does the story \"Devastation Derby! (part 1)\" have?" }
### QUESTION What is the name of the winner of the tour championship tournament? ### CONTEXT CREATE TABLE table_name_73 (winner VARCHAR, tournament VARCHAR) ### ANSWER SELECT winner FROM table_name_73 WHERE tournament = "the tour championship"
{ "answer": "SELECT winner FROM table_name_73 WHERE tournament = \"the tour championship\"", "context": "CREATE TABLE table_name_73 (winner VARCHAR, tournament VARCHAR)", "question": "What is the name of the winner of the tour championship tournament?" }
### QUESTION Which player has a Position of fly-half, and a Caps of 3? ### CONTEXT CREATE TABLE table_name_41 (player VARCHAR, position VARCHAR, caps VARCHAR) ### ANSWER SELECT player FROM table_name_41 WHERE position = "fly-half" AND caps = 3
{ "answer": "SELECT player FROM table_name_41 WHERE position = \"fly-half\" AND caps = 3", "context": "CREATE TABLE table_name_41 (player VARCHAR, position VARCHAR, caps VARCHAR)", "question": "Which player has a Position of fly-half, and a Caps of 3?" }
### QUESTION Which last names are both used by customers and by staff? ### CONTEXT CREATE TABLE Customers (last_name VARCHAR); CREATE TABLE Staff (last_name VARCHAR) ### ANSWER SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff
{ "answer": "SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff", "context": "CREATE TABLE Customers (last_name VARCHAR); CREATE TABLE Staff (last_name VARCHAR)", "question": "Which last names are both used by customers and by staff?" }
### QUESTION Which province is Villa Bisonó in? ### CONTEXT CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR) ### ANSWER SELECT province, _community FROM table_22447251_2 WHERE hometown = "Villa Bisonó"
{ "answer": "SELECT province, _community FROM table_22447251_2 WHERE hometown = \"Villa Bisonó\"", "context": "CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR)", "question": "Which province is Villa Bisonó in?" }
### QUESTION What is the general classification of the stage 3 with Daniele Bennati as the points classification and Morris Possoni as the young rider classification. ### CONTEXT CREATE TABLE table_name_21 (general_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR) ### ANSWER SELECT general_classification FROM table_name_21 WHERE points_classification = "daniele bennati" AND young_rider_classification = "morris possoni" AND stage = "3"
{ "answer": "SELECT general_classification FROM table_name_21 WHERE points_classification = \"daniele bennati\" AND young_rider_classification = \"morris possoni\" AND stage = \"3\"", "context": "CREATE TABLE table_name_21 (general_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)", "question": "What is the general classification of the stage 3 with Daniele Bennati as the points classification and Morris Possoni as the young rider classification." }
### QUESTION What is the Rowers of the race with a Time of 7:41.97 and Notes of FC? ### CONTEXT CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR) ### ANSWER SELECT rowers FROM table_name_99 WHERE notes = "fc" AND time = "7:41.97"
{ "answer": "SELECT rowers FROM table_name_99 WHERE notes = \"fc\" AND time = \"7:41.97\"", "context": "CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR)", "question": "What is the Rowers of the race with a Time of 7:41.97 and Notes of FC?" }
### QUESTION what is the total number of rank where viewers is 9.38? ### CONTEXT CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR) ### ANSWER SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = "9.38"
{ "answer": "SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = \"9.38\"", "context": "CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)", "question": "what is the total number of rank where viewers is 9.38?" }
### QUESTION How many live births per year are there in the period where the life expectancy for females is 73.3? ### CONTEXT CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR) ### ANSWER SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3"
{ "answer": "SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = \"73.3\"", "context": "CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR)", "question": "How many live births per year are there in the period where the life expectancy for females is 73.3?" }
### QUESTION Name the launched for 13 september 1934 completion ### CONTEXT CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR) ### ANSWER SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"
{ "answer": "SELECT launched FROM table_name_91 WHERE completed = \"13 september 1934\"", "context": "CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)", "question": "Name the launched for 13 september 1934 completion" }
### QUESTION What batting style corresponds to a bowling style of right arm medium for Stuart Williams? ### CONTEXT CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR) ### ANSWER SELECT batting_style FROM table_name_32 WHERE bowling_style = "right arm medium" AND player = "stuart williams"
{ "answer": "SELECT batting_style FROM table_name_32 WHERE bowling_style = \"right arm medium\" AND player = \"stuart williams\"", "context": "CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)", "question": "What batting style corresponds to a bowling style of right arm medium for Stuart Williams?" }
### QUESTION Name the champion for london hunt and country club ( london , on ) ### CONTEXT CREATE TABLE table_1628792_1 (champion VARCHAR, tournament_location VARCHAR) ### ANSWER SELECT champion FROM table_1628792_1 WHERE tournament_location = "London Hunt and country Club ( London , ON )"
{ "answer": "SELECT champion FROM table_1628792_1 WHERE tournament_location = \"London Hunt and country Club ( London , ON )\"", "context": "CREATE TABLE table_1628792_1 (champion VARCHAR, tournament_location VARCHAR)", "question": "Name the champion for london hunt and country club ( london , on )" }
### QUESTION What was the sum of attendance for games with a time of 3:23? ### CONTEXT CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR) ### ANSWER SELECT SUM(attendance) FROM table_name_53 WHERE time = "3:23"
{ "answer": "SELECT SUM(attendance) FROM table_name_53 WHERE time = \"3:23\"", "context": "CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR)", "question": "What was the sum of attendance for games with a time of 3:23?" }
### QUESTION What is the record for January 19? ### CONTEXT CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR) ### ANSWER SELECT record FROM table_name_37 WHERE date = "january 19"
{ "answer": "SELECT record FROM table_name_37 WHERE date = \"january 19\"", "context": "CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)", "question": "What is the record for January 19?" }
### QUESTION When tim brasil brokers are the minor sponsors who is the kit manufacturer? ### CONTEXT CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR) ### ANSWER SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers"
{ "answer": "SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = \"Tim Brasil Brokers\"", "context": "CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR)", "question": "When tim brasil brokers are the minor sponsors who is the kit manufacturer?" }
### QUESTION For the cars with 4 cylinders, which model has the largest horsepower? ### CONTEXT CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, Cylinders VARCHAR, horsepower VARCHAR) ### ANSWER SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1
{ "answer": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1", "context": "CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, Cylinders VARCHAR, horsepower VARCHAR)", "question": "For the cars with 4 cylinders, which model has the largest horsepower?" }
### QUESTION What is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0? ### CONTEXT CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR) ### ANSWER SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0
{ "answer": "SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0", "context": "CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)", "question": "What is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0?" }
### QUESTION What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10? ### CONTEXT CREATE TABLE table_name_12 (laps VARCHAR, points VARCHAR, team VARCHAR, grid VARCHAR) ### ANSWER SELECT COUNT(laps) FROM table_name_12 WHERE team = "team player's" AND grid = 9 AND points > 10
{ "answer": "SELECT COUNT(laps) FROM table_name_12 WHERE team = \"team player's\" AND grid = 9 AND points > 10", "context": "CREATE TABLE table_name_12 (laps VARCHAR, points VARCHAR, team VARCHAR, grid VARCHAR)", "question": "What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10?" }
### QUESTION Show the most common headquarter for companies. ### CONTEXT CREATE TABLE company (Headquarters VARCHAR) ### ANSWER SELECT Headquarters FROM company GROUP BY Headquarters ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT Headquarters FROM company GROUP BY Headquarters ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE company (Headquarters VARCHAR)", "question": "Show the most common headquarter for companies." }
### QUESTION What is the average 2006 value for wheat with a 2005 value greater than 7340? ### CONTEXT CREATE TABLE table_name_47 (production_year VARCHAR) ### ANSWER SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
{ "answer": "SELECT AVG(2006) FROM table_name_47 WHERE production_year = \"wheat\" AND 2005 > 7340", "context": "CREATE TABLE table_name_47 (production_year VARCHAR)", "question": "What is the average 2006 value for wheat with a 2005 value greater than 7340?" }
### QUESTION What genre is revolving doors of vengeance 酒店風雲? ### CONTEXT CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR) ### ANSWER SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲"
{ "answer": "SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = \"revolving doors of vengeance 酒店風雲\"", "context": "CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR)", "question": "What genre is revolving doors of vengeance 酒店風雲?" }
### QUESTION For the event held in Tartu, Estonia, what is the name of the runner-up? ### CONTEXT CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR) ### ANSWER SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia"
{ "answer": "SELECT runner_up FROM table_name_90 WHERE venue = \"tartu, estonia\"", "context": "CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR)", "question": "For the event held in Tartu, Estonia, what is the name of the runner-up?" }
### QUESTION I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time ### CONTEXT CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) ### ANSWER SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected"
{ "answer": "SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = \"prolonged\" AND bleeding_time = \"unaffected\"", "context": "CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)", "question": "I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time" }
### QUESTION Show the dates of performances with attending members whose roles are "Violin". ### CONTEXT CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Member_ID VARCHAR, Role VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR) ### ANSWER SELECT T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID WHERE T2.Role = "Violin"
{ "answer": "SELECT T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID WHERE T2.Role = \"Violin\"", "context": "CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Member_ID VARCHAR, Role VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)", "question": "Show the dates of performances with attending members whose roles are \"Violin\"." }
### QUESTION Which Score points has an Event of og beijing, and Rank points of olympic gold medalist? ### CONTEXT CREATE TABLE table_name_9 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) ### ANSWER SELECT score_points FROM table_name_9 WHERE event = "og beijing" AND rank_points = "olympic gold medalist"
{ "answer": "SELECT score_points FROM table_name_9 WHERE event = \"og beijing\" AND rank_points = \"olympic gold medalist\"", "context": "CREATE TABLE table_name_9 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)", "question": "Which Score points has an Event of og beijing, and Rank points of olympic gold medalist?" }
### QUESTION What is Team, when Tries Against is 8? ### CONTEXT CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR) ### ANSWER SELECT team FROM table_name_40 WHERE tries_against = "8"
{ "answer": "SELECT team FROM table_name_40 WHERE tries_against = \"8\"", "context": "CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR)", "question": "What is Team, when Tries Against is 8?" }
### QUESTION What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3? ### CONTEXT CREATE TABLE table_name_48 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR) ### ANSWER SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = "preseason" AND result = "w 0–3"
{ "answer": "SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = \"preseason\" AND result = \"w 0–3\"", "context": "CREATE TABLE table_name_48 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR)", "question": "What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3?" }
### QUESTION Which Ending has British of iz, and Examples of achilles, appendices, fæces? ### CONTEXT CREATE TABLE table_name_49 (ending VARCHAR, british VARCHAR, examples VARCHAR) ### ANSWER SELECT ending FROM table_name_49 WHERE british = "iz" AND examples = "achilles, appendices, fæces"
{ "answer": "SELECT ending FROM table_name_49 WHERE british = \"iz\" AND examples = \"achilles, appendices, fæces\"", "context": "CREATE TABLE table_name_49 (ending VARCHAR, british VARCHAR, examples VARCHAR)", "question": "Which Ending has British of iz, and Examples of achilles, appendices, fæces?" }
### QUESTION What is Mark Joseph Kong's pick? ### CONTEXT CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR) ### ANSWER SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"
{ "answer": "SELECT AVG(pick) FROM table_name_15 WHERE player = \"mark joseph kong\"", "context": "CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)", "question": "What is Mark Joseph Kong's pick?" }
### QUESTION List the names and phone numbers of all the distinct suppliers who supply red jeans. ### CONTEXT CREATE TABLE product_suppliers (supplier_id VARCHAR, product_id VARCHAR); CREATE TABLE suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR) ### ANSWER SELECT DISTINCT T1.supplier_name, T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id = T2.supplier_id JOIN products AS T3 ON T2.product_id = T3.product_id WHERE T3.product_name = "red jeans"
{ "answer": "SELECT DISTINCT T1.supplier_name, T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id = T2.supplier_id JOIN products AS T3 ON T2.product_id = T3.product_id WHERE T3.product_name = \"red jeans\"", "context": "CREATE TABLE product_suppliers (supplier_id VARCHAR, product_id VARCHAR); CREATE TABLE suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)", "question": "List the names and phone numbers of all the distinct suppliers who supply red jeans." }
### QUESTION What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? ### CONTEXT CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR) ### ANSWER SELECT SUM(losses) FROM table_name_75 WHERE portland_dfl = "westerns" AND draws > 1
{ "answer": "SELECT SUM(losses) FROM table_name_75 WHERE portland_dfl = \"westerns\" AND draws > 1", "context": "CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR)", "question": "What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns?" }
### QUESTION What is the date for the grass surface final against Nathan Healey? ### CONTEXT CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey"
{ "answer": "SELECT date FROM table_name_41 WHERE surface = \"grass\" AND opponent_in_the_final = \"nathan healey\"", "context": "CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)", "question": "What is the date for the grass surface final against Nathan Healey?" }
### QUESTION What is the original air date for episode graeme clifford directed and lindsay sturman wrote? ### CONTEXT CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT original_air_date FROM table_28859177_3 WHERE directed_by = "Graeme Clifford" AND written_by = "Lindsay Sturman"
{ "answer": "SELECT original_air_date FROM table_28859177_3 WHERE directed_by = \"Graeme Clifford\" AND written_by = \"Lindsay Sturman\"", "context": "CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)", "question": "What is the original air date for episode graeme clifford directed and lindsay sturman wrote?" }
### QUESTION What was the margin of the Masters Tournament? ### CONTEXT CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR) ### ANSWER SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament"
{ "answer": "SELECT margin FROM table_13026799_1 WHERE championship = \"Masters Tournament\"", "context": "CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR)", "question": "What was the margin of the Masters Tournament?" }
### QUESTION Find the name and country of origin for all artists who have release at least one song of resolution above 900. ### CONTEXT CREATE TABLE song (artist_name VARCHAR, resolution INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) ### ANSWER SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.resolution > 900 GROUP BY T2.artist_name HAVING COUNT(*) >= 1
{ "answer": "SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.resolution > 900 GROUP BY T2.artist_name HAVING COUNT(*) >= 1", "context": "CREATE TABLE song (artist_name VARCHAR, resolution INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)", "question": "Find the name and country of origin for all artists who have release at least one song of resolution above 900." }
### QUESTION What is the package/option in Italy when the content is religione? ### CONTEXT CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR) ### ANSWER SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy"
{ "answer": "SELECT package_option FROM table_name_68 WHERE content = \"religione\" AND country = \"italy\"", "context": "CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR)", "question": "What is the package/option in Italy when the content is religione?" }
### QUESTION What is the current status for GM Advanced Design with more than 41 seats? ### CONTEXT CREATE TABLE table_name_64 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR) ### ANSWER SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41
{ "answer": "SELECT current_status FROM table_name_64 WHERE make = \"gm advanced design\" AND number_of_seats > 41", "context": "CREATE TABLE table_name_64 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR)", "question": "What is the current status for GM Advanced Design with more than 41 seats?" }
### QUESTION What is the film title and inventory id of the item in the inventory which was rented most frequently? ### CONTEXT CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR) ### ANSWER SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR)", "question": "What is the film title and inventory id of the item in the inventory which was rented most frequently?" }
### QUESTION What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"? ### CONTEXT CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) ### ANSWER SELECT local_location FROM table_name_68 WHERE resident_country = "belgium" AND mission = "poland"
{ "answer": "SELECT local_location FROM table_name_68 WHERE resident_country = \"belgium\" AND mission = \"poland\"", "context": "CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR)", "question": "What is Local Location, when Resident Country is \"Belgium\", and when Mission is \"Poland\"?" }
### QUESTION What was the score on the first leg when gimnasia de mendoza played at home for the second leg? ### CONTEXT CREATE TABLE table_name_57 (home__2nd_leg_ VARCHAR) ### ANSWER SELECT 1 AS st_leg FROM table_name_57 WHERE home__2nd_leg_ = "gimnasia de mendoza"
{ "answer": "SELECT 1 AS st_leg FROM table_name_57 WHERE home__2nd_leg_ = \"gimnasia de mendoza\"", "context": "CREATE TABLE table_name_57 (home__2nd_leg_ VARCHAR)", "question": "What was the score on the first leg when gimnasia de mendoza played at home for the second leg?" }
### QUESTION What Year has a Tyre of D, and Chassis of Mazda 787? ### CONTEXT CREATE TABLE table_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR) ### ANSWER SELECT year FROM table_name_55 WHERE tyre = "d" AND chassis = "mazda 787"
{ "answer": "SELECT year FROM table_name_55 WHERE tyre = \"d\" AND chassis = \"mazda 787\"", "context": "CREATE TABLE table_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR)", "question": "What Year has a Tyre of D, and Chassis of Mazda 787?" }
### QUESTION What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th? ### CONTEXT CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR) ### ANSWER SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = "dalian shide" AND fourth_placed = "sichuan quanxing"
{ "answer": "SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = \"dalian shide\" AND fourth_placed = \"sichuan quanxing\"", "context": "CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR)", "question": "What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th?" }
### QUESTION Which city had the charleston area convention center as its callback location ### CONTEXT CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR) ### ANSWER SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center"
{ "answer": "SELECT audition_city FROM table_11129123_1 WHERE callback_venue = \"Charleston Area Convention Center\"", "context": "CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR)", "question": "Which city had the charleston area convention center as its callback location" }
### QUESTION Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494? ### CONTEXT CREATE TABLE table_name_25 (total INTEGER, name VARCHAR, league VARCHAR) ### ANSWER SELECT AVG(total) FROM table_name_25 WHERE name = "alex mcleish category:articles with hcards" AND league < 494
{ "answer": "SELECT AVG(total) FROM table_name_25 WHERE name = \"alex mcleish category:articles with hcards\" AND league < 494", "context": "CREATE TABLE table_name_25 (total INTEGER, name VARCHAR, league VARCHAR)", "question": "Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494?" }
### QUESTION What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4? ### CONTEXT CREATE TABLE table_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR) ### ANSWER SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.4"
{ "answer": "SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = \"4.4\"", "context": "CREATE TABLE table_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR)", "question": "What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4?" }
### QUESTION display the department ID, full name (first and last name), salary for those employees who is highest salary in every department. ### CONTEXT CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR) ### ANSWER SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id
{ "answer": "SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id", "context": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)", "question": "display the department ID, full name (first and last name), salary for those employees who is highest salary in every department." }
### QUESTION Show the positions of the players from the team with name "Ryley Goldner". ### CONTEXT CREATE TABLE match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) ### ANSWER SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner"
{ "answer": "SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = \"Ryley Goldner\"", "context": "CREATE TABLE match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR)", "question": "Show the positions of the players from the team with name \"Ryley Goldner\"." }
### QUESTION Name the most number for new england blazers ### CONTEXT CREATE TABLE table_16227492_1 (_number INTEGER, opponent VARCHAR) ### ANSWER SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = "New England Blazers"
{ "answer": "SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = \"New England Blazers\"", "context": "CREATE TABLE table_16227492_1 (_number INTEGER, opponent VARCHAR)", "question": "Name the most number for new england blazers" }