text
stringlengths
146
1.06k
source
dict
### QUESTION What is the average, minimum, maximum, and total transaction amount? ### CONTEXT CREATE TABLE Financial_transactions (transaction_amount INTEGER) ### ANSWER SELECT AVG(transaction_amount), MIN(transaction_amount), MAX(transaction_amount), SUM(transaction_amount) FROM Financial_transactions
{ "answer": "SELECT AVG(transaction_amount), MIN(transaction_amount), MAX(transaction_amount), SUM(transaction_amount) FROM Financial_transactions", "context": "CREATE TABLE Financial_transactions (transaction_amount INTEGER)", "question": "What is the average, minimum, maximum, and total transaction amount?" }
### QUESTION Name the date for loss of ruffin (3-5) ### CONTEXT CREATE TABLE table_name_44 (date VARCHAR, loss VARCHAR) ### ANSWER SELECT date FROM table_name_44 WHERE loss = "ruffin (3-5)"
{ "answer": "SELECT date FROM table_name_44 WHERE loss = \"ruffin (3-5)\"", "context": "CREATE TABLE table_name_44 (date VARCHAR, loss VARCHAR)", "question": "Name the date for loss of ruffin (3-5)" }
### QUESTION Played on Clay Surface, what was the Score of the Dortmund Tournament? ### CONTEXT CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) ### ANSWER SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund"
{ "answer": "SELECT score_in_the_final FROM table_name_70 WHERE surface = \"clay\" AND tournament = \"dortmund\"", "context": "CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)", "question": "Played on Clay Surface, what was the Score of the Dortmund Tournament?" }
### QUESTION If the grand average is 12.76-202, who is the player? ### CONTEXT CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR) ### ANSWER SELECT players FROM table_27533947_1 WHERE grand_average = "12.76-202"
{ "answer": "SELECT players FROM table_27533947_1 WHERE grand_average = \"12.76-202\"", "context": "CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR)", "question": "If the grand average is 12.76-202, who is the player?" }
### QUESTION What are all the production codes of episodes written by Michael G. Moye? ### CONTEXT CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR) ### ANSWER SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye"
{ "answer": "SELECT production_code FROM table_2226817_8 WHERE written_by = \"Michael G. Moye\"", "context": "CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)", "question": "What are all the production codes of episodes written by Michael G. Moye?" }
### QUESTION What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'? ### CONTEXT CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, medicine_id VARCHAR, interaction_type VARCHAR); CREATE TABLE enzyme (name VARCHAR, id VARCHAR) ### ANSWER SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id = T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id = T3.id WHERE T3.name = 'Amisulpride' AND T2.interaction_type = 'inhibitor'
{ "answer": "SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id = T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id = T3.id WHERE T3.name = 'Amisulpride' AND T2.interaction_type = 'inhibitor'", "context": "CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, medicine_id VARCHAR, interaction_type VARCHAR); CREATE TABLE enzyme (name VARCHAR, id VARCHAR)", "question": "What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?" }
### QUESTION What was the comment on the Denali area? ### CONTEXT CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR) ### ANSWER SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali"
{ "answer": "SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = \"Denali\"", "context": "CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)", "question": "What was the comment on the Denali area?" }
### QUESTION What 1972 Hindi film had Ravindra Jain directing the music? ### CONTEXT CREATE TABLE table_name_50 (film_name VARCHAR, music_director VARCHAR, lyricist VARCHAR, year VARCHAR, language VARCHAR) ### ANSWER SELECT film_name FROM table_name_50 WHERE year > 1972 AND language = "hindi" AND lyricist = "ravindra jain" AND music_director = "ravindra jain"
{ "answer": "SELECT film_name FROM table_name_50 WHERE year > 1972 AND language = \"hindi\" AND lyricist = \"ravindra jain\" AND music_director = \"ravindra jain\"", "context": "CREATE TABLE table_name_50 (film_name VARCHAR, music_director VARCHAR, lyricist VARCHAR, year VARCHAR, language VARCHAR)", "question": "What 1972 Hindi film had Ravindra Jain directing the music?" }
### QUESTION Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966? ### CONTEXT CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR) ### ANSWER SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966
{ "answer": "SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966", "context": "CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR)", "question": "Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966?" }
### QUESTION What is the GP winner for the Race winners valentin giraud / nicolas musset, and a place genk? ### CONTEXT CREATE TABLE table_name_2 (gp_winner VARCHAR, race_winners VARCHAR, place VARCHAR) ### ANSWER SELECT gp_winner FROM table_name_2 WHERE race_winners = "valentin giraud / nicolas musset" AND place = "genk"
{ "answer": "SELECT gp_winner FROM table_name_2 WHERE race_winners = \"valentin giraud / nicolas musset\" AND place = \"genk\"", "context": "CREATE TABLE table_name_2 (gp_winner VARCHAR, race_winners VARCHAR, place VARCHAR)", "question": "What is the GP winner for the Race winners valentin giraud / nicolas musset, and a place genk?" }
### QUESTION What is the release date for Ben 10: Alien Force Volume 9 on DVD? ### CONTEXT CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR) ### ANSWER SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 9"
{ "answer": "SELECT release_date FROM table_name_22 WHERE dvd_title = \"ben 10: alien force volume 9\"", "context": "CREATE TABLE table_name_22 (release_date VARCHAR, dvd_title VARCHAR)", "question": "What is the release date for Ben 10: Alien Force Volume 9 on DVD?" }
### QUESTION Tell me the average 1st prize for tennessee ### CONTEXT ### ANSWER SELECT AVG(_1st_prize) FROM table_name_55 WHERE location = "tennessee"
{ "answer": "SELECT AVG(_1st_prize) FROM table_name_55 WHERE location = \"tennessee\"", "context": "", "question": "Tell me the average 1st prize for tennessee" }
### QUESTION Show names for all aircraft with at least two flights. ### CONTEXT CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR) ### ANSWER SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2
{ "answer": "SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2", "context": "CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)", "question": "Show names for all aircraft with at least two flights." }
### QUESTION Find names of all students who took some course and the course description. ### CONTEXT CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR) ### ANSWER SELECT T1.stu_fname, T1.stu_lname, T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code
{ "answer": "SELECT T1.stu_fname, T1.stu_lname, T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code", "context": "CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)", "question": "Find names of all students who took some course and the course description." }
### QUESTION How many drivers drove 300 laps at average speed of 103.594? ### CONTEXT CREATE TABLE table_2175858_1 (driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR) ### ANSWER SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594"
{ "answer": "SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = \"300\" AND average_speed__mph_ = \"103.594\"", "context": "CREATE TABLE table_2175858_1 (driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR)", "question": "How many drivers drove 300 laps at average speed of 103.594?" }
### QUESTION Which venue led to a result of 13th and had an extra of Long Race? ### CONTEXT CREATE TABLE table_name_51 (venue VARCHAR, extra VARCHAR, result VARCHAR) ### ANSWER SELECT venue FROM table_name_51 WHERE extra = "long race" AND result = "13th"
{ "answer": "SELECT venue FROM table_name_51 WHERE extra = \"long race\" AND result = \"13th\"", "context": "CREATE TABLE table_name_51 (venue VARCHAR, extra VARCHAR, result VARCHAR)", "question": "Which venue led to a result of 13th and had an extra of Long Race?" }
### QUESTION When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)? ### CONTEXT CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR) ### ANSWER SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = "018" AND source = "Private individual"
{ "answer": "SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = \"018\" AND source = \"Private individual\"", "context": "CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR)", "question": "When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?" }
### QUESTION What was the last year MCA had a Release? ### CONTEXT CREATE TABLE table_name_40 (year_of_release INTEGER, label VARCHAR) ### ANSWER SELECT MAX(year_of_release) FROM table_name_40 WHERE label = "mca"
{ "answer": "SELECT MAX(year_of_release) FROM table_name_40 WHERE label = \"mca\"", "context": "CREATE TABLE table_name_40 (year_of_release INTEGER, label VARCHAR)", "question": "What was the last year MCA had a Release?" }
### QUESTION What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken? ### CONTEXT CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR) ### ANSWER SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = "xhosa" AND area__km_2__ > 15.34 AND place = "remainder of the municipality"
{ "answer": "SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = \"xhosa\" AND area__km_2__ > 15.34 AND place = \"remainder of the municipality\"", "context": "CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR)", "question": "What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken?" }
### QUESTION List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text. ### CONTEXT CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR) ### ANSWER SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name = "Nokia Corporation" AND T1.Type <> "Text"
{ "answer": "SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name = \"Nokia Corporation\" AND T1.Type <> \"Text\"", "context": "CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)", "question": "List the hardware model name for the phons that were produced by \"Nokia Corporation\" but whose screen mode type is not Text." }
### QUESTION What is the division in the season more recent than 2012 when the round of 16 was reached in the FA Cup? ### CONTEXT CREATE TABLE table_name_9 (division VARCHAR, fa_cup VARCHAR, season VARCHAR) ### ANSWER SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = "round of 16" AND season > 2012
{ "answer": "SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = \"round of 16\" AND season > 2012", "context": "CREATE TABLE table_name_9 (division VARCHAR, fa_cup VARCHAR, season VARCHAR)", "question": "What is the division in the season more recent than 2012 when the round of 16 was reached in the FA Cup?" }
### QUESTION Which team has a Game of 49? ### CONTEXT CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR) ### ANSWER SELECT team FROM table_name_18 WHERE game = 49
{ "answer": "SELECT team FROM table_name_18 WHERE game = 49", "context": "CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR)", "question": "Which team has a Game of 49?" }
### QUESTION What was the lowest re-elected result for Sylvester C. Smith? ### CONTEXT CREATE TABLE table_name_47 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) ### ANSWER SELECT MIN(first_elected) FROM table_name_47 WHERE result = "re-elected" AND incumbent = "sylvester c. smith"
{ "answer": "SELECT MIN(first_elected) FROM table_name_47 WHERE result = \"re-elected\" AND incumbent = \"sylvester c. smith\"", "context": "CREATE TABLE table_name_47 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR)", "question": "What was the lowest re-elected result for Sylvester C. Smith?" }
### QUESTION what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? ### CONTEXT CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) ### ANSWER SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0
{ "answer": "SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = \"poland\" AND gold < 0", "context": "CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)", "question": "what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?" }
### QUESTION What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB? ### CONTEXT CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR) ### ANSWER SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus"
{ "answer": "SELECT time FROM table_name_98 WHERE rank > 2 AND notes = \"fb\" AND country = \"belarus\"", "context": "CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR)", "question": "What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?" }
### QUESTION What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method? ### CONTEXT CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR) ### ANSWER SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder"
{ "answer": "SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = \"induced\" AND counting_method = \"exact\" AND name = \"mfinder\"", "context": "CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)", "question": "What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?" }
### QUESTION List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'. ### CONTEXT CREATE TABLE Documents (document_type_code VARCHAR, document_name VARCHAR, document_description VARCHAR) ### ANSWER SELECT document_type_code, document_name, document_description FROM Documents WHERE document_name = 'Noel CV' OR document_name = 'King Book'
{ "answer": "SELECT document_type_code, document_name, document_description FROM Documents WHERE document_name = 'Noel CV' OR document_name = 'King Book'", "context": "CREATE TABLE Documents (document_type_code VARCHAR, document_name VARCHAR, document_description VARCHAR)", "question": "List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'." }
### QUESTION When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there? ### CONTEXT CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR) ### ANSWER SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010" AND home_or_representative_town_or_province = "Davao City"
{ "answer": "SELECT COUNT(age) FROM table_19061741_3 WHERE edition = \"Clash 2010\" AND home_or_representative_town_or_province = \"Davao City\"", "context": "CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)", "question": "When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there?" }
### QUESTION What is To par, when Score is "70-68-68-71=277"? ### CONTEXT CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277
{ "answer": "SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277", "context": "CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)", "question": "What is To par, when Score is \"70-68-68-71=277\"?" }
### QUESTION What types of stations are located in Cebu? ### CONTEXT CREATE TABLE table_28794440_1 (station_type VARCHAR, location VARCHAR) ### ANSWER SELECT station_type FROM table_28794440_1 WHERE location = "Cebu"
{ "answer": "SELECT station_type FROM table_28794440_1 WHERE location = \"Cebu\"", "context": "CREATE TABLE table_28794440_1 (station_type VARCHAR, location VARCHAR)", "question": "What types of stations are located in Cebu?" }
### QUESTION What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill? ### CONTEXT CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR) ### ANSWER SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0"
{ "answer": "SELECT objectnumber FROM table_name_95 WHERE location = \"barrow hill\" AND wheels = \"4-4-0\"", "context": "CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)", "question": "What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?" }
### QUESTION What are the contestant numbers and names of the contestants who had at least two votes? ### CONTEXT CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) ### ANSWER SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING COUNT(*) >= 2
{ "answer": "SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number HAVING COUNT(*) >= 2", "context": "CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)", "question": "What are the contestant numbers and names of the contestants who had at least two votes?" }
### QUESTION How many types of work is хромая судьба? ### CONTEXT CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR) ### ANSWER SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба"
{ "answer": "SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = \"Хромая судьба\"", "context": "CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR)", "question": "How many types of work is хромая судьба?" }
### QUESTION What is the lowest value for Olympics, when Sailors is greater than 1, when First OG is after 1948, and when Class is "Flying Dutchman"? ### CONTEXT CREATE TABLE table_name_80 (olympics_so_far INTEGER, class VARCHAR, sailors VARCHAR, first_og VARCHAR) ### ANSWER SELECT MIN(olympics_so_far) FROM table_name_80 WHERE sailors > 1 AND first_og > 1948 AND class = "flying dutchman"
{ "answer": "SELECT MIN(olympics_so_far) FROM table_name_80 WHERE sailors > 1 AND first_og > 1948 AND class = \"flying dutchman\"", "context": "CREATE TABLE table_name_80 (olympics_so_far INTEGER, class VARCHAR, sailors VARCHAR, first_og VARCHAR)", "question": "What is the lowest value for Olympics, when Sailors is greater than 1, when First OG is after 1948, and when Class is \"Flying Dutchman\"?" }
### QUESTION What is the L2 cache of the microprocessor with model number pentium dual-core t3400? ### CONTEXT CREATE TABLE table_name_91 (l2_cache VARCHAR, model_number VARCHAR) ### ANSWER SELECT l2_cache FROM table_name_91 WHERE model_number = "pentium dual-core t3400"
{ "answer": "SELECT l2_cache FROM table_name_91 WHERE model_number = \"pentium dual-core t3400\"", "context": "CREATE TABLE table_name_91 (l2_cache VARCHAR, model_number VARCHAR)", "question": "What is the L2 cache of the microprocessor with model number pentium dual-core t3400?" }
### QUESTION How many times does Switzerland have under 7 golds and less than 3 silvers? ### CONTEXT CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 3
{ "answer": "SELECT COUNT(total) FROM table_name_17 WHERE country = \"switzerland\" AND gold < 7 AND silver < 3", "context": "CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR)", "question": "How many times does Switzerland have under 7 golds and less than 3 silvers?" }
### QUESTION What is High Assists, when High Points is Keon Clark (19)? ### CONTEXT CREATE TABLE table_name_57 (high_assists VARCHAR, high_points VARCHAR) ### ANSWER SELECT high_assists FROM table_name_57 WHERE high_points = "keon clark (19)"
{ "answer": "SELECT high_assists FROM table_name_57 WHERE high_points = \"keon clark (19)\"", "context": "CREATE TABLE table_name_57 (high_assists VARCHAR, high_points VARCHAR)", "question": "What is High Assists, when High Points is Keon Clark (19)?" }
### QUESTION What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms? ### CONTEXT CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_96 WHERE main = "eintracht frankfurt" AND rhein = "waldhof mannheim" AND saar = "fk pirmasens" AND hessen = "wormatia worms"
{ "answer": "SELECT MIN(year) FROM table_name_96 WHERE main = \"eintracht frankfurt\" AND rhein = \"waldhof mannheim\" AND saar = \"fk pirmasens\" AND hessen = \"wormatia worms\"", "context": "CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR)", "question": "What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms?" }
### QUESTION What is the total number of runners-up for a club with winning years of 2010? ### CONTEXT CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR) ### ANSWER SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010"
{ "answer": "SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = \"2010\"", "context": "CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR)", "question": "What is the total number of runners-up for a club with winning years of 2010?" }
### QUESTION What is the result of the game on May 14 with Philadelphia as the road team? ### CONTEXT CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) ### ANSWER SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 14"
{ "answer": "SELECT result FROM table_name_48 WHERE road_team = \"philadelphia\" AND date = \"may 14\"", "context": "CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR)", "question": "What is the result of the game on May 14 with Philadelphia as the road team?" }
### QUESTION What is the total number of silver medals for karate athletes with over 2 golds? ### CONTEXT CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR) ### ANSWER SELECT COUNT(silver) FROM table_name_33 WHERE sport = "karate" AND gold > 2
{ "answer": "SELECT COUNT(silver) FROM table_name_33 WHERE sport = \"karate\" AND gold > 2", "context": "CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR)", "question": "What is the total number of silver medals for karate athletes with over 2 golds?" }
### QUESTION What is the Theme Song of the Yukan Club? ### CONTEXT CREATE TABLE table_name_64 (theme_song_s_ VARCHAR, romaji_title VARCHAR) ### ANSWER SELECT theme_song_s_ FROM table_name_64 WHERE romaji_title = "yukan club"
{ "answer": "SELECT theme_song_s_ FROM table_name_64 WHERE romaji_title = \"yukan club\"", "context": "CREATE TABLE table_name_64 (theme_song_s_ VARCHAR, romaji_title VARCHAR)", "question": "What is the Theme Song of the Yukan Club?" }
### QUESTION What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2? ### CONTEXT CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR, date VARCHAR, championship VARCHAR) ### ANSWER SELECT surface FROM table_name_75 WHERE date > 1979 AND championship = "melbourne indoor, australia" AND score = "2–6, 6–2, 6–2"
{ "answer": "SELECT surface FROM table_name_75 WHERE date > 1979 AND championship = \"melbourne indoor, australia\" AND score = \"2–6, 6–2, 6–2\"", "context": "CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR, date VARCHAR, championship VARCHAR)", "question": "What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2?" }
### QUESTION On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7? ### CONTEXT CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR) ### ANSWER SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7
{ "answer": "SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7", "context": "CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR)", "question": "On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7?" }
### QUESTION What is Lawson Little's Money ($) amount? ### CONTEXT CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR) ### ANSWER SELECT money___$__ FROM table_name_30 WHERE player = "lawson little"
{ "answer": "SELECT money___$__ FROM table_name_30 WHERE player = \"lawson little\"", "context": "CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR)", "question": "What is Lawson Little's Money ($) amount?" }
### QUESTION What is Event, when Meet is "World Championships", and when Time is "20.51"? ### CONTEXT CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR) ### ANSWER SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51"
{ "answer": "SELECT event FROM table_name_41 WHERE meet = \"world championships\" AND time = \"20.51\"", "context": "CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR)", "question": "What is Event, when Meet is \"World Championships\", and when Time is \"20.51\"?" }
### QUESTION Which Set 1 has a Date of 24 may, and a Total of 57–75? ### CONTEXT CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR) ### ANSWER SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57–75"
{ "answer": "SELECT set_1 FROM table_name_37 WHERE date = \"24 may\" AND total = \"57–75\"", "context": "CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR)", "question": "Which Set 1 has a Date of 24 may, and a Total of 57–75?" }
### QUESTION In which district is anna university - tiruchirappalli campus, whose website is http://www.annauniv.edu, located? ### CONTEXT CREATE TABLE table_name_3 (district VARCHAR, weblink VARCHAR, college_or_campus_name VARCHAR) ### ANSWER SELECT district FROM table_name_3 WHERE weblink = "http://www.annauniv.edu" AND college_or_campus_name = "anna university - tiruchirappalli campus"
{ "answer": "SELECT district FROM table_name_3 WHERE weblink = \"http://www.annauniv.edu\" AND college_or_campus_name = \"anna university - tiruchirappalli campus\"", "context": "CREATE TABLE table_name_3 (district VARCHAR, weblink VARCHAR, college_or_campus_name VARCHAR)", "question": "In which district is anna university - tiruchirappalli campus, whose website is http://www.annauniv.edu, located?" }
### QUESTION How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored? ### CONTEXT CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR) ### ANSWER SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19
{ "answer": "SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19", "context": "CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)", "question": "How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored?" }
### QUESTION Who is the publisher of the book titled daughters of an emerald dusk? ### CONTEXT CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR) ### ANSWER SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk"
{ "answer": "SELECT publisher FROM table_20193855_2 WHERE book_title = \"Daughters of an Emerald Dusk\"", "context": "CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)", "question": "Who is the publisher of the book titled daughters of an emerald dusk?" }
### QUESTION Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk? ### CONTEXT CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR) ### ANSWER SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK"
{ "answer": "SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = \"Stefan Karlsson Claes Nordin , BK Aura GBK\"", "context": "CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR)", "question": "Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?" }
### QUESTION What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson? ### CONTEXT CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR) ### ANSWER SELECT termination_of_mission FROM table_name_37 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "reynold e. carlson"
{ "answer": "SELECT termination_of_mission FROM table_name_37 WHERE title = \"ambassador extraordinary and plenipotentiary\" AND representative = \"reynold e. carlson\"", "context": "CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)", "question": "What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?" }
### QUESTION What is the Power (kW) for the station with a frequency of 95.1mhz? ### CONTEXT CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR) ### ANSWER SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz"
{ "answer": "SELECT power__kw_ FROM table_name_72 WHERE frequency = \"95.1mhz\"", "context": "CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR)", "question": "What is the Power (kW) for the station with a frequency of 95.1mhz?" }
### QUESTION What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft? ### CONTEXT CREATE TABLE table_name_63 (season VARCHAR, second VARCHAR, lead VARCHAR, third VARCHAR) ### ANSWER SELECT season FROM table_name_63 WHERE lead = "don bartlett" AND third = "don walchuk" AND second = "carter rycroft"
{ "answer": "SELECT season FROM table_name_63 WHERE lead = \"don bartlett\" AND third = \"don walchuk\" AND second = \"carter rycroft\"", "context": "CREATE TABLE table_name_63 (season VARCHAR, second VARCHAR, lead VARCHAR, third VARCHAR)", "question": "What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?" }
### QUESTION Find the name, age, and job title of persons who are friends with Alice for the longest years. ### CONTEXT CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year VARCHAR); CREATE TABLE Person (name VARCHAR, age VARCHAR, job VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, friend VARCHAR) ### ANSWER SELECT T1.name, T1.age, T1.job FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE friend = 'Alice')
{ "answer": "SELECT T1.name, T1.age, T1.job FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE friend = 'Alice')", "context": "CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year VARCHAR); CREATE TABLE Person (name VARCHAR, age VARCHAR, job VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, friend VARCHAR)", "question": "Find the name, age, and job title of persons who are friends with Alice for the longest years." }
### QUESTION What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"? ### CONTEXT CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR) ### ANSWER SELECT american FROM table_name_23 WHERE british = "ɪ, ə" AND initial_syllable_open_semi_open_unstressed_vowels = "æ /ɨ/"
{ "answer": "SELECT american FROM table_name_23 WHERE british = \"ɪ, ə\" AND initial_syllable_open_semi_open_unstressed_vowels = \"æ /ɨ/\"", "context": "CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)", "question": "What is American, when British is \"ɪ, ə\", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is \"æ /ɨ/\"?" }
### QUESTION How many Bronze medals did Switzerland with less than 3 Silver medals receive? ### CONTEXT CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ### ANSWER SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3
{ "answer": "SELECT MIN(bronze) FROM table_name_75 WHERE nation = \"switzerland\" AND silver < 3", "context": "CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)", "question": "How many Bronze medals did Switzerland with less than 3 Silver medals receive?" }
### QUESTION What record has Glenn Robinson (16) as the leading scorer? ### CONTEXT CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR) ### ANSWER SELECT record FROM table_name_83 WHERE leading_scorer = "glenn robinson (16)"
{ "answer": "SELECT record FROM table_name_83 WHERE leading_scorer = \"glenn robinson (16)\"", "context": "CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR)", "question": "What record has Glenn Robinson (16) as the leading scorer?" }
### QUESTION What is the total budget amount for school "Glenn" in all years? ### CONTEXT CREATE TABLE budget (budgeted INTEGER, school_id VARCHAR); CREATE TABLE school (school_id VARCHAR, school_name VARCHAR) ### ANSWER SELECT SUM(T1.budgeted) FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn'
{ "answer": "SELECT SUM(T1.budgeted) FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn'", "context": "CREATE TABLE budget (budgeted INTEGER, school_id VARCHAR); CREATE TABLE school (school_id VARCHAR, school_name VARCHAR)", "question": "What is the total budget amount for school \"Glenn\" in all years?" }
### QUESTION What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages? ### CONTEXT CREATE TABLE table_name_4 (number_of_districts__kecamatan_ INTEGER, villages VARCHAR, geographical_unit VARCHAR, number_of_regencies__kabupaten_ VARCHAR) ### ANSWER SELECT SUM(number_of_districts__kecamatan_) FROM table_name_4 WHERE geographical_unit = "java" AND number_of_regencies__kabupaten_ > 4 AND villages < 8 OFFSET 577
{ "answer": "SELECT SUM(number_of_districts__kecamatan_) FROM table_name_4 WHERE geographical_unit = \"java\" AND number_of_regencies__kabupaten_ > 4 AND villages < 8 OFFSET 577", "context": "CREATE TABLE table_name_4 (number_of_districts__kecamatan_ INTEGER, villages VARCHAR, geographical_unit VARCHAR, number_of_regencies__kabupaten_ VARCHAR)", "question": "What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages?" }
### QUESTION Who held the same position in 2014 that Garion Weller held in 2014? ### CONTEXT CREATE TABLE table_name_82 (Id VARCHAR) ### ANSWER SELECT 2014 FROM table_name_82 WHERE 2012 = "garion weller"
{ "answer": "SELECT 2014 FROM table_name_82 WHERE 2012 = \"garion weller\"", "context": "CREATE TABLE table_name_82 (Id VARCHAR)", "question": "Who held the same position in 2014 that Garion Weller held in 2014?" }
### QUESTION What RolePlay actor played the same role Alison Pargeter played in the original production? ### CONTEXT CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR) ### ANSWER SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter"
{ "answer": "SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = \"Alison Pargeter\"", "context": "CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)", "question": "What RolePlay actor played the same role Alison Pargeter played in the original production?" }
### QUESTION What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? ### CONTEXT CREATE TABLE table_name_36 (tournament VARCHAR) ### ANSWER SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon"
{ "answer": "SELECT 2007 FROM table_name_36 WHERE 2009 = \"1r\" AND 2011 = \"2r\" AND tournament = \"wimbledon\"", "context": "CREATE TABLE table_name_36 (tournament VARCHAR)", "question": "What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon?" }
### QUESTION What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition? ### CONTEXT CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) ### ANSWER SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"
{ "answer": "SELECT match_report FROM table_name_13 WHERE venue = \"stark's park\" AND competition = \"second division\" AND date = \"23 august 2008\"", "context": "CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)", "question": "What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?" }
### QUESTION How much has dave stockton earned? ### CONTEXT CREATE TABLE table_name_41 (earnings__ INTEGER, player VARCHAR) ### ANSWER SELECT MAX(earnings__) AS $__ FROM table_name_41 WHERE player = "dave stockton"
{ "answer": "SELECT MAX(earnings__) AS $__ FROM table_name_41 WHERE player = \"dave stockton\"", "context": "CREATE TABLE table_name_41 (earnings__ INTEGER, player VARCHAR)", "question": "How much has dave stockton earned?" }
### QUESTION What yacht did Andrew Saies sail on? ### CONTEXT CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR) ### ANSWER SELECT yacht FROM table_25561560_3 WHERE skipper = "Andrew Saies"
{ "answer": "SELECT yacht FROM table_25561560_3 WHERE skipper = \"Andrew Saies\"", "context": "CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR)", "question": "What yacht did Andrew Saies sail on?" }
### QUESTION Show all the activity names and the number of faculty involved in each activity. ### CONTEXT CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR) ### ANSWER SELECT T1.activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID
{ "answer": "SELECT T1.activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID", "context": "CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)", "question": "Show all the activity names and the number of faculty involved in each activity." }
### QUESTION Where did the team play and what was the attendance against new jersey? ### CONTEXT CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR) ### ANSWER SELECT location_attendance FROM table_13619135_7 WHERE team = "New Jersey"
{ "answer": "SELECT location_attendance FROM table_13619135_7 WHERE team = \"New Jersey\"", "context": "CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR)", "question": "Where did the team play and what was the attendance against new jersey?" }
### QUESTION how many remittances in 2010 where the remittances is 19.73? ### CONTEXT CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR) ### ANSWER SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
{ "answer": "SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = \"19.73\"", "context": "CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR)", "question": "how many remittances in 2010 where the remittances is 19.73?" }
### QUESTION What is the average year they finished 5th in santiago, chile? ### CONTEXT CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"
{ "answer": "SELECT AVG(year) FROM table_name_57 WHERE position = \"5th\" AND venue = \"santiago, chile\"", "context": "CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)", "question": "What is the average year they finished 5th in santiago, chile?" }
### QUESTION Which sport was held in Huntsville at the Von Braun Center as part of the Southern Indoor Football League? ### CONTEXT CREATE TABLE table_name_76 (sport VARCHAR, league VARCHAR, city VARCHAR, venue VARCHAR) ### ANSWER SELECT sport FROM table_name_76 WHERE city = "huntsville" AND venue = "von braun center" AND league = "southern indoor football league"
{ "answer": "SELECT sport FROM table_name_76 WHERE city = \"huntsville\" AND venue = \"von braun center\" AND league = \"southern indoor football league\"", "context": "CREATE TABLE table_name_76 (sport VARCHAR, league VARCHAR, city VARCHAR, venue VARCHAR)", "question": "Which sport was held in Huntsville at the Von Braun Center as part of the Southern Indoor Football League?" }
### QUESTION What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098? ### CONTEXT CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR) ### ANSWER SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098
{ "answer": "SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098", "context": "CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)", "question": "What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098?" }
### QUESTION what are name and phone number of patients who had more than one appointment? ### CONTEXT CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR) ### ANSWER SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1
{ "answer": "SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1", "context": "CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)", "question": "what are name and phone number of patients who had more than one appointment?" }
### QUESTION What is the format for the station owned by Dakota Broadcasting? ### CONTEXT CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR) ### ANSWER SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting"
{ "answer": "SELECT format FROM table_2709_4 WHERE owner = \"Dakota Broadcasting\"", "context": "CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR)", "question": "What is the format for the station owned by Dakota Broadcasting?" }
### QUESTION Which Schwaben has an Oberbayern of fc ingolstadt 04 and a Mittelfranken of sv seligenporten ### CONTEXT CREATE TABLE table_name_98 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR) ### ANSWER SELECT schwaben FROM table_name_98 WHERE oberbayern = "fc ingolstadt 04" AND mittelfranken = "sv seligenporten"
{ "answer": "SELECT schwaben FROM table_name_98 WHERE oberbayern = \"fc ingolstadt 04\" AND mittelfranken = \"sv seligenporten\"", "context": "CREATE TABLE table_name_98 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)", "question": "Which Schwaben has an Oberbayern of fc ingolstadt 04 and a Mittelfranken of sv seligenporten" }
### QUESTION What is the largest amount of wins that was before the 2007 season, as well as the Team being silverstone motorsport academy? ### CONTEXT CREATE TABLE table_name_92 (wins INTEGER, season VARCHAR, team VARCHAR) ### ANSWER SELECT MAX(wins) FROM table_name_92 WHERE season < 2007 AND team = "silverstone motorsport academy"
{ "answer": "SELECT MAX(wins) FROM table_name_92 WHERE season < 2007 AND team = \"silverstone motorsport academy\"", "context": "CREATE TABLE table_name_92 (wins INTEGER, season VARCHAR, team VARCHAR)", "question": "What is the largest amount of wins that was before the 2007 season, as well as the Team being silverstone motorsport academy?" }
### QUESTION What is the games lost when games played was 2, year was earlier than 1999, and points for was 24? ### CONTEXT CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR) ### ANSWER SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "24"
{ "answer": "SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = \"2\" AND year_s_ < 1999 AND points_for___tests__ = \"24\"", "context": "CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR)", "question": "What is the games lost when games played was 2, year was earlier than 1999, and points for was 24?" }
### QUESTION What year did Yuri Omeltchenko win Silver? ### CONTEXT CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR) ### ANSWER SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
{ "answer": "SELECT year FROM table_name_57 WHERE silver = \"yuri omeltchenko\"", "context": "CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)", "question": "What year did Yuri Omeltchenko win Silver?" }
### QUESTION What is every score in the final for opponent in final John Mcenroe at US Open? ### CONTEXT CREATE TABLE table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) ### ANSWER SELECT score_in_the_final FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "US Open"
{ "answer": "SELECT score_in_the_final FROM table_23235767_1 WHERE opponent_in_the_final = \"John McEnroe\" AND championship = \"US Open\"", "context": "CREATE TABLE table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)", "question": "What is every score in the final for opponent in final John Mcenroe at US Open?" }
### QUESTION What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision (unanimous)", and when Record is "4-1"? ### CONTEXT CREATE TABLE table_name_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR) ### ANSWER SELECT opponent FROM table_name_43 WHERE location = "tokyo , japan" AND method = "decision (unanimous)" AND record = "4-1"
{ "answer": "SELECT opponent FROM table_name_43 WHERE location = \"tokyo , japan\" AND method = \"decision (unanimous)\" AND record = \"4-1\"", "context": "CREATE TABLE table_name_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR)", "question": "What is Opponent, when Location is \"Tokyo , Japan\", when Method is \"Decision (unanimous)\", and when Record is \"4-1\"?" }
### QUESTION On what date is there a Tryre of d at the Circuit of monaco? ### CONTEXT CREATE TABLE table_name_91 (date VARCHAR, tyre VARCHAR, circuit VARCHAR) ### ANSWER SELECT date FROM table_name_91 WHERE tyre = "d" AND circuit = "monaco"
{ "answer": "SELECT date FROM table_name_91 WHERE tyre = \"d\" AND circuit = \"monaco\"", "context": "CREATE TABLE table_name_91 (date VARCHAR, tyre VARCHAR, circuit VARCHAR)", "question": "On what date is there a Tryre of d at the Circuit of monaco?" }
### QUESTION Who was the winner with a mountain stage type on 22 May? ### CONTEXT CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR) ### ANSWER SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"
{ "answer": "SELECT winner FROM table_name_81 WHERE type = \"mountain stage\" AND date = \"22 may\"", "context": "CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)", "question": "Who was the winner with a mountain stage type on 22 May?" }
### QUESTION List the brands of lenses that took both a picture of mountains with range 'Toubkal Atlas' and a picture of mountains with range 'Lasta Massif' ### CONTEXT CREATE TABLE mountain (id VARCHAR, range VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (brand VARCHAR, id VARCHAR) ### ANSWER SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.range = 'Toubkal Atlas' INTERSECT SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.range = 'Lasta Massif'
{ "answer": "SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.range = 'Toubkal Atlas' INTERSECT SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.range = 'Lasta Massif'", "context": "CREATE TABLE mountain (id VARCHAR, range VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (brand VARCHAR, id VARCHAR)", "question": "List the brands of lenses that took both a picture of mountains with range 'Toubkal Atlas' and a picture of mountains with range 'Lasta Massif'" }
### QUESTION What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps? ### CONTEXT CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) ### ANSWER SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66
{ "answer": "SELECT MAX(grid) FROM table_name_99 WHERE constructor = \"mclaren - mercedes\" AND driver = \"david coulthard\" AND laps < 66", "context": "CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)", "question": "What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?" }
### QUESTION Which H/A/N has a score of 105*♠? ### CONTEXT CREATE TABLE table_name_13 (h_a_n VARCHAR, score VARCHAR) ### ANSWER SELECT h_a_n FROM table_name_13 WHERE score = "105*♠"
{ "answer": "SELECT h_a_n FROM table_name_13 WHERE score = \"105*♠\"", "context": "CREATE TABLE table_name_13 (h_a_n VARCHAR, score VARCHAR)", "question": "Which H/A/N has a score of 105*♠?" }
### QUESTION Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013? ### CONTEXT CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR) ### ANSWER SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013
{ "answer": "SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = \"nbc\" AND play_by_play = \"al michaels\" AND year > 2013", "context": "CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)", "question": "Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?" }
### QUESTION What day was the complete 2nd series: volume one released? ### CONTEXT CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR) ### ANSWER SELECT date_released FROM table_17798548_4 WHERE season = "The Complete 2nd Series: Volume One"
{ "answer": "SELECT date_released FROM table_17798548_4 WHERE season = \"The Complete 2nd Series: Volume One\"", "context": "CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR)", "question": "What day was the complete 2nd series: volume one released?" }
### QUESTION Name the population 1891 for area being 175836 ### CONTEXT CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR) ### ANSWER SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836
{ "answer": "SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836", "context": "CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)", "question": "Name the population 1891 for area being 175836" }
### QUESTION Who had a disputed marriage? ### CONTEXT CREATE TABLE table_name_57 (name VARCHAR, marriage VARCHAR) ### ANSWER SELECT name FROM table_name_57 WHERE marriage = "disputed"
{ "answer": "SELECT name FROM table_name_57 WHERE marriage = \"disputed\"", "context": "CREATE TABLE table_name_57 (name VARCHAR, marriage VARCHAR)", "question": "Who had a disputed marriage?" }
### QUESTION When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis? ### CONTEXT CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR) ### ANSWER SELECT year FROM table_name_12 WHERE winner = "olympiacos" AND venue = "georgios karaiskakis stadium" AND runner_up = "iraklis"
{ "answer": "SELECT year FROM table_name_12 WHERE winner = \"olympiacos\" AND venue = \"georgios karaiskakis stadium\" AND runner_up = \"iraklis\"", "context": "CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)", "question": "When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis?" }
### QUESTION How many episodes had celebrity guest stars Frank Skinner and Lee Mack? ### CONTEXT CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR) ### ANSWER SELECT COUNT(episode) FROM table_24725951_1 WHERE celebrities = "Frank Skinner and Lee Mack"
{ "answer": "SELECT COUNT(episode) FROM table_24725951_1 WHERE celebrities = \"Frank Skinner and Lee Mack\"", "context": "CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR)", "question": "How many episodes had celebrity guest stars Frank Skinner and Lee Mack?" }
### QUESTION What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider classification? ### CONTEXT CREATE TABLE table_name_3 (stage__winner_ VARCHAR, general_classification VARCHAR, young_rider_classification VARCHAR) ### ANSWER SELECT stage__winner_ FROM table_name_3 WHERE general_classification = "thor hushovd" AND young_rider_classification = "trent lowe"
{ "answer": "SELECT stage__winner_ FROM table_name_3 WHERE general_classification = \"thor hushovd\" AND young_rider_classification = \"trent lowe\"", "context": "CREATE TABLE table_name_3 (stage__winner_ VARCHAR, general_classification VARCHAR, young_rider_classification VARCHAR)", "question": "What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider classification?" }
### QUESTION What's the event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up? ### CONTEXT CREATE TABLE table_name_91 (event VARCHAR, runner_up_skip VARCHAR, location VARCHAR) ### ANSWER SELECT event FROM table_name_91 WHERE runner_up_skip = "randy ferbey" AND location = "gander, newfoundland and labrador"
{ "answer": "SELECT event FROM table_name_91 WHERE runner_up_skip = \"randy ferbey\" AND location = \"gander, newfoundland and labrador\"", "context": "CREATE TABLE table_name_91 (event VARCHAR, runner_up_skip VARCHAR, location VARCHAR)", "question": "What's the event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up?" }
### QUESTION Show the record companies shared by orchestras founded before 2003 and after 2003. ### CONTEXT CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded INTEGER) ### ANSWER SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003
{ "answer": "SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003", "context": "CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded INTEGER)", "question": "Show the record companies shared by orchestras founded before 2003 and after 2003." }
### QUESTION center-to-center distance of 6,900 to 46,300 km involves which orbital period? ### CONTEXT CREATE TABLE table_name_69 (orbital_period VARCHAR, center_to_center_distance VARCHAR) ### ANSWER SELECT orbital_period FROM table_name_69 WHERE center_to_center_distance = "6,900 to 46,300 km"
{ "answer": "SELECT orbital_period FROM table_name_69 WHERE center_to_center_distance = \"6,900 to 46,300 km\"", "context": "CREATE TABLE table_name_69 (orbital_period VARCHAR, center_to_center_distance VARCHAR)", "question": "center-to-center distance of 6,900 to 46,300 km involves which orbital period?" }
### QUESTION How many races had #99 gainsco/bob stallings racing in round 10? ### CONTEXT CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR) ### ANSWER SELECT COUNT(fastest_lap) FROM table_19751479_4 WHERE rnd = 10 AND pole_position = "#99 GAINSCO/Bob Stallings Racing"
{ "answer": "SELECT COUNT(fastest_lap) FROM table_19751479_4 WHERE rnd = 10 AND pole_position = \"#99 GAINSCO/Bob Stallings Racing\"", "context": "CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR)", "question": "How many races had #99 gainsco/bob stallings racing in round 10?" }
### QUESTION Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998? ### CONTEXT CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) ### ANSWER SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0–1" AND date = "29 august 1998"
{ "answer": "SELECT opponent FROM table_name_12 WHERE venue = \"h\" AND result = \"0–1\" AND date = \"29 august 1998\"", "context": "CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)", "question": "Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998?" }
### QUESTION What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies. ### CONTEXT CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR) ### ANSWER SELECT T1.Allergy, T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" ORDER BY T1.Allergy
{ "answer": "SELECT T1.Allergy, T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = \"Lisa\" ORDER BY T1.Allergy", "context": "CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR)", "question": "What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies." }
### QUESTION What segment A is associated with a Segment D of manual motorcycle transmissions? ### CONTEXT CREATE TABLE table_name_76 (segment_a VARCHAR, segment_d VARCHAR) ### ANSWER SELECT segment_a FROM table_name_76 WHERE segment_d = "manual motorcycle transmissions"
{ "answer": "SELECT segment_a FROM table_name_76 WHERE segment_d = \"manual motorcycle transmissions\"", "context": "CREATE TABLE table_name_76 (segment_a VARCHAR, segment_d VARCHAR)", "question": "What segment A is associated with a Segment D of manual motorcycle transmissions?" }
### QUESTION What date was the surface hard and Eva Hrdinová was the opponent? ### CONTEXT CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová"
{ "answer": "SELECT date FROM table_name_40 WHERE surface = \"hard\" AND opponent = \"eva hrdinová\"", "context": "CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR)", "question": "What date was the surface hard and Eva Hrdinová was the opponent?" }