text
stringlengths
146
1.06k
source
dict
### QUESTION Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points? ### CONTEXT CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR) ### ANSWER SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38
{ "answer": "SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38", "context": "CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)", "question": "Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?" }
### QUESTION For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title. ### CONTEXT CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR) ### ANSWER SELECT T1.title, T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title ORDER BY T1.director, T1.title
{ "answer": "SELECT T1.title, T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title ORDER BY T1.director, T1.title", "context": "CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR)", "question": "For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title." }
### QUESTION What is the country named feeney with a bbc sport start source? ### CONTEXT CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR) ### ANSWER SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"
{ "answer": "SELECT country FROM table_name_16 WHERE start_source = \"bbc sport\" AND name = \"feeney\"", "context": "CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)", "question": "What is the country named feeney with a bbc sport start source?" }
### QUESTION What is the average agricultural panel value with a Labour panel less than 1, a total value less than 21, and a National University of Ireland value greater than 0? ### CONTEXT CREATE TABLE table_name_53 (agricultural_panel INTEGER, national_university_of_ireland VARCHAR, labour_panel VARCHAR, total VARCHAR) ### ANSWER SELECT AVG(agricultural_panel) FROM table_name_53 WHERE labour_panel < 1 AND total < 21 AND national_university_of_ireland > 0
{ "answer": "SELECT AVG(agricultural_panel) FROM table_name_53 WHERE labour_panel < 1 AND total < 21 AND national_university_of_ireland > 0", "context": "CREATE TABLE table_name_53 (agricultural_panel INTEGER, national_university_of_ireland VARCHAR, labour_panel VARCHAR, total VARCHAR)", "question": "What is the average agricultural panel value with a Labour panel less than 1, a total value less than 21, and a National University of Ireland value greater than 0?" }
### QUESTION Who won the points classification when the teams classification winner was Lampre-Farnese? ### CONTEXT CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR) ### ANSWER SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese"
{ "answer": "SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = \"Lampre-Farnese\"", "context": "CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)", "question": "Who won the points classification when the teams classification winner was Lampre-Farnese?" }
### QUESTION What is the color description of the product with name "catnip"? ### CONTEXT CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR) ### ANSWER SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "catnip"
{ "answer": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = \"catnip\"", "context": "CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)", "question": "What is the color description of the product with name \"catnip\"?" }
### QUESTION What team placed second during the season where Western Australia placed fifth, South Australia placed sixth, and Tasmania placed fourth? ### CONTEXT CREATE TABLE table_name_2 (second VARCHAR, fourth VARCHAR, fifth VARCHAR, sixth VARCHAR) ### ANSWER SELECT second FROM table_name_2 WHERE fifth = "western australia" AND sixth = "south australia" AND fourth = "tasmania"
{ "answer": "SELECT second FROM table_name_2 WHERE fifth = \"western australia\" AND sixth = \"south australia\" AND fourth = \"tasmania\"", "context": "CREATE TABLE table_name_2 (second VARCHAR, fourth VARCHAR, fifth VARCHAR, sixth VARCHAR)", "question": "What team placed second during the season where Western Australia placed fifth, South Australia placed sixth, and Tasmania placed fourth?" }
### QUESTION How many numbers were listed under losing bonus when there were 68 tries for? ### CONTEXT CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) ### ANSWER SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68"
{ "answer": "SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = \"68\"", "context": "CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR)", "question": "How many numbers were listed under losing bonus when there were 68 tries for?" }
### QUESTION What is the sum of households that makes a median household income of $44,718? ### CONTEXT CREATE TABLE table_name_43 (number_of_households INTEGER, median_household_income VARCHAR) ### ANSWER SELECT SUM(number_of_households) FROM table_name_43 WHERE median_household_income = "$44,718"
{ "answer": "SELECT SUM(number_of_households) FROM table_name_43 WHERE median_household_income = \"$44,718\"", "context": "CREATE TABLE table_name_43 (number_of_households INTEGER, median_household_income VARCHAR)", "question": "What is the sum of households that makes a median household income of $44,718?" }
### QUESTION who is the constructor when the driver is juan pablo montoya? ### CONTEXT CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR) ### ANSWER SELECT constructor FROM table_name_41 WHERE driver = "juan pablo montoya"
{ "answer": "SELECT constructor FROM table_name_41 WHERE driver = \"juan pablo montoya\"", "context": "CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR)", "question": "who is the constructor when the driver is juan pablo montoya?" }
### QUESTION What year was Aaron Tveit nominated in the Favorite Male Replacement category? ### CONTEXT CREATE TABLE table_name_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_87 WHERE result = "nominated" AND category = "favorite male replacement" AND nominee = "aaron tveit"
{ "answer": "SELECT AVG(year) FROM table_name_87 WHERE result = \"nominated\" AND category = \"favorite male replacement\" AND nominee = \"aaron tveit\"", "context": "CREATE TABLE table_name_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR)", "question": "What year was Aaron Tveit nominated in the Favorite Male Replacement category?" }
### QUESTION What's the rank when the laps are fewer than 137 and the qual is 116.470? ### CONTEXT CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR) ### ANSWER SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470"
{ "answer": "SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = \"116.470\"", "context": "CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR)", "question": "What's the rank when the laps are fewer than 137 and the qual is 116.470?" }
### QUESTION What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is "Muhammad Fairul Azreen Bin Mohd Zahid"? ### CONTEXT CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR) ### ANSWER SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = "muhammad fairul azreen bin mohd zahid"
{ "answer": "SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = \"muhammad fairul azreen bin mohd zahid\"", "context": "CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)", "question": "What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is \"Muhammad Fairul Azreen Bin Mohd Zahid\"?" }
### QUESTION Which cornerback has the highest round? ### CONTEXT CREATE TABLE table_name_97 (round INTEGER, position VARCHAR) ### ANSWER SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback"
{ "answer": "SELECT MAX(round) FROM table_name_97 WHERE position = \"cornerback\"", "context": "CREATE TABLE table_name_97 (round INTEGER, position VARCHAR)", "question": "Which cornerback has the highest round?" }
### QUESTION How many people per km2 are there in the municipality whose mayor is Boy Quiat? ### CONTEXT CREATE TABLE table_216776_2 (pop_density__per_km²_ VARCHAR, municipal_mayor VARCHAR) ### ANSWER SELECT pop_density__per_km²_ FROM table_216776_2 WHERE municipal_mayor = "Boy Quiat"
{ "answer": "SELECT pop_density__per_km²_ FROM table_216776_2 WHERE municipal_mayor = \"Boy Quiat\"", "context": "CREATE TABLE table_216776_2 (pop_density__per_km²_ VARCHAR, municipal_mayor VARCHAR)", "question": "How many people per km2 are there in the municipality whose mayor is Boy Quiat?" }
### QUESTION How many managers for club in Turku where kitmaker is Puma? ### CONTEXT CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR) ### ANSWER SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku"
{ "answer": "SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = \"Puma\" AND location = \"Turku\"", "context": "CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR)", "question": "How many managers for club in Turku where kitmaker is Puma?" }
### QUESTION List the names of all songs that have 4 minute duration or are in English. ### CONTEXT CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE song (song_name VARCHAR, languages VARCHAR) ### ANSWER SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE "4:%" UNION SELECT song_name FROM song WHERE languages = "english"
{ "answer": "SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE \"4:%\" UNION SELECT song_name FROM song WHERE languages = \"english\"", "context": "CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE song (song_name VARCHAR, languages VARCHAR)", "question": "List the names of all songs that have 4 minute duration or are in English." }
### QUESTION What is Partner, when Outcome is Winner, and when Date is 12 October 2003? ### CONTEXT CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR) ### ANSWER SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003"
{ "answer": "SELECT partner FROM table_name_73 WHERE outcome = \"winner\" AND date = \"12 october 2003\"", "context": "CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR)", "question": "What is Partner, when Outcome is Winner, and when Date is 12 October 2003?" }
### QUESTION What is the ratings for the original air date may 25, 2010 22.00 - 22.54? ### CONTEXT CREATE TABLE table_26591434_1 (ratings__kansai_ VARCHAR, original_airdate VARCHAR) ### ANSWER SELECT ratings__kansai_ FROM table_26591434_1 WHERE original_airdate = "May 25, 2010 22.00 - 22.54"
{ "answer": "SELECT ratings__kansai_ FROM table_26591434_1 WHERE original_airdate = \"May 25, 2010 22.00 - 22.54\"", "context": "CREATE TABLE table_26591434_1 (ratings__kansai_ VARCHAR, original_airdate VARCHAR)", "question": "What is the ratings for the original air date may 25, 2010 22.00 - 22.54?" }
### QUESTION What Date is listed for the Region of France and Catalog of 82876-70291-2? ### CONTEXT CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR) ### ANSWER SELECT date FROM table_name_48 WHERE region = "france" AND catalog = "82876-70291-2"
{ "answer": "SELECT date FROM table_name_48 WHERE region = \"france\" AND catalog = \"82876-70291-2\"", "context": "CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR)", "question": "What Date is listed for the Region of France and Catalog of 82876-70291-2?" }
### QUESTION What is the total of PI GP played by Anton Rodin with a Reg GP less than 0? ### CONTEXT CREATE TABLE table_name_73 (pl_gp VARCHAR, player VARCHAR, reg_gp VARCHAR) ### ANSWER SELECT COUNT(pl_gp) FROM table_name_73 WHERE player = "anton rodin" AND reg_gp < 0
{ "answer": "SELECT COUNT(pl_gp) FROM table_name_73 WHERE player = \"anton rodin\" AND reg_gp < 0", "context": "CREATE TABLE table_name_73 (pl_gp VARCHAR, player VARCHAR, reg_gp VARCHAR)", "question": "What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?" }
### QUESTION What is the Call sign of the Frequency 106.9 the X? ### CONTEXT CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR) ### ANSWER SELECT call_sign FROM table_name_19 WHERE branding = "106.9 the x"
{ "answer": "SELECT call_sign FROM table_name_19 WHERE branding = \"106.9 the x\"", "context": "CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR)", "question": "What is the Call sign of the Frequency 106.9 the X?" }
### QUESTION What was the Director with a Ceremony of 2001? ### CONTEXT CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR) ### ANSWER SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001
{ "answer": "SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001", "context": "CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR)", "question": "What was the Director with a Ceremony of 2001?" }
### QUESTION How many pages does the ISBN 1-40122-328-1 have? ### CONTEXT CREATE TABLE table_name_47 (pages INTEGER, isbn VARCHAR) ### ANSWER SELECT SUM(pages) FROM table_name_47 WHERE isbn = "1-40122-328-1"
{ "answer": "SELECT SUM(pages) FROM table_name_47 WHERE isbn = \"1-40122-328-1\"", "context": "CREATE TABLE table_name_47 (pages INTEGER, isbn VARCHAR)", "question": "How many pages does the ISBN 1-40122-328-1 have?" }
### QUESTION What was built in 1857? ### CONTEXT CREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR) ### ANSWER SELECT name FROM table_name_89 WHERE year_built = 1857
{ "answer": "SELECT name FROM table_name_89 WHERE year_built = 1857", "context": "CREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR)", "question": "What was built in 1857?" }
### QUESTION Is the biggest win recorded as home or away? ### CONTEXT CREATE TABLE table_1233808_2 (home_or_away VARCHAR, record VARCHAR) ### ANSWER SELECT home_or_away FROM table_1233808_2 WHERE record = "Biggest win"
{ "answer": "SELECT home_or_away FROM table_1233808_2 WHERE record = \"Biggest win\"", "context": "CREATE TABLE table_1233808_2 (home_or_away VARCHAR, record VARCHAR)", "question": "Is the biggest win recorded as home or away?" }
### QUESTION Who has a reported age of 111 years, 66 days? ### CONTEXT CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR) ### ANSWER SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days"
{ "answer": "SELECT name FROM table_name_38 WHERE reported_age = \"111 years, 66 days\"", "context": "CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR)", "question": "Who has a reported age of 111 years, 66 days?" }
### QUESTION What is the winning song for the artist with a debut album "the winner"? ### CONTEXT CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR) ### ANSWER SELECT winning_song FROM table_1646960_3 WHERE debut_album = "The winner"
{ "answer": "SELECT winning_song FROM table_1646960_3 WHERE debut_album = \"The winner\"", "context": "CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR)", "question": "What is the winning song for the artist with a debut album \"the winner\"?" }
### QUESTION when notes are prima italica:raised for aborted caucasus war, when was that founded? ### CONTEXT CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR) ### ANSWER SELECT date_founded__founder FROM table_242785_1 WHERE notes = "prima Italica:raised for aborted Caucasus war"
{ "answer": "SELECT date_founded__founder FROM table_242785_1 WHERE notes = \"prima Italica:raised for aborted Caucasus war\"", "context": "CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR)", "question": "when notes are prima italica:raised for aborted caucasus war, when was that founded?" }
### QUESTION Find the name and access counts of all documents, in alphabetic order of the document name. ### CONTEXT CREATE TABLE documents (document_name VARCHAR, access_count VARCHAR) ### ANSWER SELECT document_name, access_count FROM documents ORDER BY document_name
{ "answer": "SELECT document_name, access_count FROM documents ORDER BY document_name", "context": "CREATE TABLE documents (document_name VARCHAR, access_count VARCHAR)", "question": "Find the name and access counts of all documents, in alphabetic order of the document name." }
### QUESTION What is the location of the river mile that is larger than 938.9, and Olmsted Locks and Dam? ### CONTEXT CREATE TABLE table_name_8 (location_ VARCHAR, l_ VARCHAR, river_mile VARCHAR, locks_ VARCHAR, _dam VARCHAR) ### ANSWER SELECT location_[l_] FROM table_name_8 WHERE river_mile > 938.9 AND locks_ & _dam = "olmsted locks and dam"
{ "answer": "SELECT location_[l_] FROM table_name_8 WHERE river_mile > 938.9 AND locks_ & _dam = \"olmsted locks and dam\"", "context": "CREATE TABLE table_name_8 (location_ VARCHAR, l_ VARCHAR, river_mile VARCHAR, locks_ VARCHAR, _dam VARCHAR)", "question": "What is the location of the river mile that is larger than 938.9, and Olmsted Locks and Dam?" }
### QUESTION Name the most attendance for giants points of 10 ### CONTEXT CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR) ### ANSWER SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10
{ "answer": "SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10", "context": "CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR)", "question": "Name the most attendance for giants points of 10" }
### QUESTION Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007? ### CONTEXT CREATE TABLE table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR) ### ANSWER SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007"
{ "answer": "SELECT replaced_by FROM table_name_46 WHERE team = \"brussels\" AND date_of_vacancy = \"22 december 2007\"", "context": "CREATE TABLE table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR)", "question": "Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?" }
### QUESTION Name the averag scored for 2011 long teng cup and 2 october 2011 ### CONTEXT CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR) ### ANSWER SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"
{ "answer": "SELECT AVG(scored) FROM table_name_64 WHERE competition = \"2011 long teng cup\" AND date = \"2 october 2011\"", "context": "CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR)", "question": "Name the averag scored for 2011 long teng cup and 2 october 2011" }
### QUESTION List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15. ### CONTEXT CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, used_kb INTEGER) ### ANSWER SELECT DISTINCT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15
{ "answer": "SELECT DISTINCT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15", "context": "CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, used_kb INTEGER)", "question": "List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15." }
### QUESTION Which Issue Date(s) has an Artist of men at work? ### CONTEXT CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR) ### ANSWER SELECT issue_date_s_ FROM table_name_32 WHERE artist = "men at work"
{ "answer": "SELECT issue_date_s_ FROM table_name_32 WHERE artist = \"men at work\"", "context": "CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR)", "question": "Which Issue Date(s) has an Artist of men at work?" }
### QUESTION Which Score has High points of raymond felton (32)? ### CONTEXT CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR) ### ANSWER SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"
{ "answer": "SELECT score FROM table_name_56 WHERE high_points = \"raymond felton (32)\"", "context": "CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)", "question": "Which Score has High points of raymond felton (32)?" }
### QUESTION How many stations are called radyo5 101.9 news fm? ### CONTEXT CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR) ### ANSWER SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM"
{ "answer": "SELECT COUNT(location) FROM table_17822401_1 WHERE branding = \"Radyo5 101.9 News FM\"", "context": "CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)", "question": "How many stations are called radyo5 101.9 news fm?" }
### QUESTION What is the model number with a release price of $303, and a sSpec number of sr14q(c0)? ### CONTEXT CREATE TABLE table_name_2 (model_number VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) ### ANSWER SELECT model_number FROM table_name_2 WHERE release_price___usd__ = "$303" AND sspec_number = "sr14q(c0)"
{ "answer": "SELECT model_number FROM table_name_2 WHERE release_price___usd__ = \"$303\" AND sspec_number = \"sr14q(c0)\"", "context": "CREATE TABLE table_name_2 (model_number VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR)", "question": "What is the model number with a release price of $303, and a sSpec number of sr14q(c0)?" }
### QUESTION What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941? ### CONTEXT CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR) ### ANSWER SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941
{ "answer": "SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = \"pr\" AND commenced_operations < 1941", "context": "CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR)", "question": "What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941?" }
### QUESTION What is the place when the performance is 60.73m? ### CONTEXT CREATE TABLE table_name_65 (place VARCHAR, performance VARCHAR) ### ANSWER SELECT place FROM table_name_65 WHERE performance = "60.73m"
{ "answer": "SELECT place FROM table_name_65 WHERE performance = \"60.73m\"", "context": "CREATE TABLE table_name_65 (place VARCHAR, performance VARCHAR)", "question": "What is the place when the performance is 60.73m?" }
### QUESTION In what position was the driver who won $60,000? ### CONTEXT CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR) ### ANSWER SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000"
{ "answer": "SELECT MIN(position) FROM table_25146455_1 WHERE winnings = \"$60,000\"", "context": "CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR)", "question": "In what position was the driver who won $60,000?" }
### QUESTION Which country has a delegate who was first elected in 2006? ### CONTEXT CREATE TABLE table_14009909_1 (counties_represented VARCHAR, first_elected VARCHAR) ### ANSWER SELECT counties_represented FROM table_14009909_1 WHERE first_elected = 2006
{ "answer": "SELECT counties_represented FROM table_14009909_1 WHERE first_elected = 2006", "context": "CREATE TABLE table_14009909_1 (counties_represented VARCHAR, first_elected VARCHAR)", "question": "Which country has a delegate who was first elected in 2006?" }
### QUESTION What is every year where opponent in the final is John Mcenroe at Wimbledon? ### CONTEXT CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) ### ANSWER SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"
{ "answer": "SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = \"John McEnroe\" AND championship = \"Wimbledon\"", "context": "CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)", "question": "What is every year where opponent in the final is John Mcenroe at Wimbledon?" }
### QUESTION Which Player has position of power forward and School/Club Team of Depaul? ### CONTEXT CREATE TABLE table_name_85 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) ### ANSWER SELECT player FROM table_name_85 WHERE position = "power forward" AND school_club_team = "depaul"
{ "answer": "SELECT player FROM table_name_85 WHERE position = \"power forward\" AND school_club_team = \"depaul\"", "context": "CREATE TABLE table_name_85 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)", "question": "Which Player has position of power forward and School/Club Team of Depaul?" }
### QUESTION What is the location of 11 April 2013 and Mexico Home team? ### CONTEXT CREATE TABLE table_name_8 (location VARCHAR, home_team VARCHAR, date VARCHAR) ### ANSWER SELECT location FROM table_name_8 WHERE home_team = "mexico" AND date = "11 april 2013"
{ "answer": "SELECT location FROM table_name_8 WHERE home_team = \"mexico\" AND date = \"11 april 2013\"", "context": "CREATE TABLE table_name_8 (location VARCHAR, home_team VARCHAR, date VARCHAR)", "question": "What is the location of 11 April 2013 and Mexico Home team?" }
### QUESTION When was the final loss of the club last won in 2001 and has a total of 3 wins? ### CONTEXT CREATE TABLE table_name_84 (last_final_lost VARCHAR, wins VARCHAR, last_win VARCHAR) ### ANSWER SELECT last_final_lost FROM table_name_84 WHERE wins = "3" AND last_win = "2001"
{ "answer": "SELECT last_final_lost FROM table_name_84 WHERE wins = \"3\" AND last_win = \"2001\"", "context": "CREATE TABLE table_name_84 (last_final_lost VARCHAR, wins VARCHAR, last_win VARCHAR)", "question": "When was the final loss of the club last won in 2001 and has a total of 3 wins?" }
### QUESTION Which Mac OSX had no haiku and a client that was dc++? ### CONTEXT CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR) ### ANSWER SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++"
{ "answer": "SELECT mac_os_x FROM table_name_98 WHERE haiku = \"no\" AND client = \"dc++\"", "context": "CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR)", "question": "Which Mac OSX had no haiku and a client that was dc++?" }
### QUESTION What is every trigram when direction is Northwest? ### CONTEXT CREATE TABLE table_23406517_2 (trigram VARCHAR, direction VARCHAR) ### ANSWER SELECT trigram FROM table_23406517_2 WHERE direction = "Northwest"
{ "answer": "SELECT trigram FROM table_23406517_2 WHERE direction = \"Northwest\"", "context": "CREATE TABLE table_23406517_2 (trigram VARCHAR, direction VARCHAR)", "question": "What is every trigram when direction is Northwest?" }
### QUESTION What was the country with a population density per km² of 3.5/km² (/sqmi)? ### CONTEXT CREATE TABLE table_26769_1 (country_or_territory_with_flag VARCHAR, population_density_per_km² VARCHAR) ### ANSWER SELECT country_or_territory_with_flag FROM table_26769_1 WHERE population_density_per_km² = "3.5/km² (/sqmi)"
{ "answer": "SELECT country_or_territory_with_flag FROM table_26769_1 WHERE population_density_per_km² = \"3.5/km² (/sqmi)\"", "context": "CREATE TABLE table_26769_1 (country_or_territory_with_flag VARCHAR, population_density_per_km² VARCHAR)", "question": "What was the country with a population density per km² of 3.5/km² (/sqmi)?" }
### QUESTION Find the first name of students who have both cat and dog pets . ### CONTEXT CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR) ### ANSWER SELECT t1.fname FROM student AS t1 JOIN has_pet AS t2 ON t1.stuid = t2.stuid JOIN pets AS t3 ON t3.petid = t2.petid WHERE t3.pettype = 'cat' INTERSECT SELECT t1.fname FROM student AS t1 JOIN has_pet AS t2 ON t1.stuid = t2.stuid JOIN pets AS t3 ON t3.petid = t2.petid WHERE t3.pettype = 'dog'
{ "answer": "SELECT t1.fname FROM student AS t1 JOIN has_pet AS t2 ON t1.stuid = t2.stuid JOIN pets AS t3 ON t3.petid = t2.petid WHERE t3.pettype = 'cat' INTERSECT SELECT t1.fname FROM student AS t1 JOIN has_pet AS t2 ON t1.stuid = t2.stuid JOIN pets AS t3 ON t3.petid = t2.petid WHERE t3.pettype = 'dog'", "context": "CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR)", "question": "Find the first name of students who have both cat and dog pets ." }
### QUESTION A nucleus that is blue/black will specifically stain what? ### CONTEXT CREATE TABLE table_13570_1 (specifically_stains VARCHAR, nucleus VARCHAR) ### ANSWER SELECT specifically_stains FROM table_13570_1 WHERE nucleus = "Blue/black"
{ "answer": "SELECT specifically_stains FROM table_13570_1 WHERE nucleus = \"Blue/black\"", "context": "CREATE TABLE table_13570_1 (specifically_stains VARCHAR, nucleus VARCHAR)", "question": "A nucleus that is blue/black will specifically stain what?" }
### QUESTION Who was the developer of Resident Evil 4? ### CONTEXT CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR) ### ANSWER SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4"
{ "answer": "SELECT developer_s_ FROM table_name_4 WHERE game = \"resident evil 4\"", "context": "CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR)", "question": "Who was the developer of Resident Evil 4?" }
### QUESTION What is the name of the diety for the river of sone? ### CONTEXT CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR) ### ANSWER SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"
{ "answer": "SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = \"sone\"", "context": "CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR)", "question": "What is the name of the diety for the river of sone?" }
### QUESTION find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30. ### CONTEXT CREATE TABLE MATCH (winning_pilot VARCHAR); CREATE TABLE pilot (name VARCHAR, age INTEGER, pilot_id VARCHAR) ### ANSWER SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE MATCH (winning_pilot VARCHAR); CREATE TABLE pilot (name VARCHAR, age INTEGER, pilot_id VARCHAR)", "question": "find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30." }
### QUESTION Find the names of users whose emails contain ‘superstar’ or ‘edu’. ### CONTEXT CREATE TABLE user_profiles (name VARCHAR, email VARCHAR) ### ANSWER SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'
{ "answer": "SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'", "context": "CREATE TABLE user_profiles (name VARCHAR, email VARCHAR)", "question": "Find the names of users whose emails contain ‘superstar’ or ‘edu’." }
### QUESTION Name the division for detroit diesel series 50egr allison wb-400r ### CONTEXT CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR) ### ANSWER SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R"
{ "answer": "SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = \"Detroit Diesel Series 50EGR Allison WB-400R\"", "context": "CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR)", "question": "Name the division for detroit diesel series 50egr allison wb-400r" }
### QUESTION What date was the Competition of 2014 fifa world cup qualification, with a Score of 1–0? ### CONTEXT CREATE TABLE table_name_26 (date VARCHAR, competition VARCHAR, score VARCHAR) ### ANSWER SELECT date FROM table_name_26 WHERE competition = "2014 fifa world cup qualification" AND score = "1–0"
{ "answer": "SELECT date FROM table_name_26 WHERE competition = \"2014 fifa world cup qualification\" AND score = \"1–0\"", "context": "CREATE TABLE table_name_26 (date VARCHAR, competition VARCHAR, score VARCHAR)", "question": "What date was the Competition of 2014 fifa world cup qualification, with a Score of 1–0?" }
### QUESTION How many ERP W is it that has a Call sign of w273bs? ### CONTEXT CREATE TABLE table_name_40 (erp_w INTEGER, call_sign VARCHAR) ### ANSWER SELECT SUM(erp_w) FROM table_name_40 WHERE call_sign = "w273bs"
{ "answer": "SELECT SUM(erp_w) FROM table_name_40 WHERE call_sign = \"w273bs\"", "context": "CREATE TABLE table_name_40 (erp_w INTEGER, call_sign VARCHAR)", "question": "How many ERP W is it that has a Call sign of w273bs?" }
### QUESTION What opposing team has second test as the status? ### CONTEXT CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR) ### ANSWER SELECT opposing_team FROM table_name_12 WHERE status = "second test"
{ "answer": "SELECT opposing_team FROM table_name_12 WHERE status = \"second test\"", "context": "CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR)", "question": "What opposing team has second test as the status?" }
### QUESTION What is the total number of Goals with a nationality of England, and position of DF, and a Crewe Alexandra career is 1958–1962, and less than 170 appearances? ### CONTEXT CREATE TABLE table_name_98 (goals VARCHAR, appearances VARCHAR, crewe_alexandra_career VARCHAR, nationality VARCHAR, position VARCHAR) ### ANSWER SELECT COUNT(goals) FROM table_name_98 WHERE nationality = "england" AND position = "df" AND crewe_alexandra_career = "1958–1962" AND appearances < 170
{ "answer": "SELECT COUNT(goals) FROM table_name_98 WHERE nationality = \"england\" AND position = \"df\" AND crewe_alexandra_career = \"1958–1962\" AND appearances < 170", "context": "CREATE TABLE table_name_98 (goals VARCHAR, appearances VARCHAR, crewe_alexandra_career VARCHAR, nationality VARCHAR, position VARCHAR)", "question": "What is the total number of Goals with a nationality of England, and position of DF, and a Crewe Alexandra career is 1958–1962, and less than 170 appearances?" }
### QUESTION Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? ### CONTEXT CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR) ### ANSWER SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8
{ "answer": "SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = \"kawasaki zx-10r\" AND grid = 8", "context": "CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR)", "question": "Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8?" }
### QUESTION Who was the Ole Miss player associated with Chuck Dicus? ### CONTEXT CREATE TABLE table_name_65 (ole_miss VARCHAR, arkansas VARCHAR) ### ANSWER SELECT ole_miss FROM table_name_65 WHERE arkansas = "chuck dicus"
{ "answer": "SELECT ole_miss FROM table_name_65 WHERE arkansas = \"chuck dicus\"", "context": "CREATE TABLE table_name_65 (ole_miss VARCHAR, arkansas VARCHAR)", "question": "Who was the Ole Miss player associated with Chuck Dicus?" }
### QUESTION What is the socket type for the processor with a multiplier 1 of 11.5x? ### CONTEXT CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR) ### ANSWER SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x"
{ "answer": "SELECT socket FROM table_name_66 WHERE multiplier_1 = \"11.5x\"", "context": "CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR)", "question": "What is the socket type for the processor with a multiplier 1 of 11.5x?" }
### QUESTION How many overalls have a pick greater than 19, with florida as the college? ### CONTEXT CREATE TABLE table_name_24 (overall INTEGER, pick VARCHAR, college VARCHAR) ### ANSWER SELECT SUM(overall) FROM table_name_24 WHERE pick > 19 AND college = "florida"
{ "answer": "SELECT SUM(overall) FROM table_name_24 WHERE pick > 19 AND college = \"florida\"", "context": "CREATE TABLE table_name_24 (overall INTEGER, pick VARCHAR, college VARCHAR)", "question": "How many overalls have a pick greater than 19, with florida as the college?" }
### QUESTION What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? ### CONTEXT CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR) ### ANSWER SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325"
{ "answer": "SELECT earpads FROM table_name_43 WHERE construction = \"plastic\" AND sensitivity__db_ = \"unknown\" AND succeeded_by = \"sr325\"", "context": "CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR)", "question": "What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325?" }
### QUESTION What are the names of the tourist attractions Vincent and Marcelle visit? ### CONTEXT CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_Details VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) ### ANSWER SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Marcelle"
{ "answer": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = \"Vincent\" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = \"Marcelle\"", "context": "CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_Details VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)", "question": "What are the names of the tourist attractions Vincent and Marcelle visit?" }
### QUESTION How many United Airlines flights go to City 'Aberdeen'? ### CONTEXT CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR) ### ANSWER SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines"
{ "answer": "SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\"", "context": "CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)", "question": "How many United Airlines flights go to City 'Aberdeen'?" }
### QUESTION What seat does Gubernia Warszawska hold? ### CONTEXT CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR) ### ANSWER SELECT seat FROM table_11614581_3 WHERE name_in_polish = "Gubernia warszawska"
{ "answer": "SELECT seat FROM table_11614581_3 WHERE name_in_polish = \"Gubernia warszawska\"", "context": "CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR)", "question": "What seat does Gubernia Warszawska hold?" }
### QUESTION Who is the shirt sponsor of the team with an average squad age of 25.46? ### CONTEXT CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, average_squad_age VARCHAR) ### ANSWER SELECT shirt_sponsor FROM table_25527255_2 WHERE average_squad_age = "25.46"
{ "answer": "SELECT shirt_sponsor FROM table_25527255_2 WHERE average_squad_age = \"25.46\"", "context": "CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, average_squad_age VARCHAR)", "question": "Who is the shirt sponsor of the team with an average squad age of 25.46?" }
### QUESTION How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859? ### CONTEXT CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR) ### ANSWER SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859
{ "answer": "SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859", "context": "CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR)", "question": "How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859?" }
### QUESTION What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? ### CONTEXT CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR) ### ANSWER SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
{ "answer": "SELECT AVG(game) FROM table_name_17 WHERE opponent = \"@ florida panthers\" AND record = \"0-1-2\" AND october > 8", "context": "CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)", "question": "What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?" }
### QUESTION What was the score on november 21? ### CONTEXT CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_2 WHERE date = "november 21"
{ "answer": "SELECT score FROM table_name_2 WHERE date = \"november 21\"", "context": "CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)", "question": "What was the score on november 21?" }
### QUESTION What is the ID of marshall landfill on 09/08/1983? ### CONTEXT CREATE TABLE table_name_98 (cerclis_id VARCHAR, listed VARCHAR, name VARCHAR) ### ANSWER SELECT cerclis_id FROM table_name_98 WHERE listed = "09/08/1983" AND name = "marshall landfill"
{ "answer": "SELECT cerclis_id FROM table_name_98 WHERE listed = \"09/08/1983\" AND name = \"marshall landfill\"", "context": "CREATE TABLE table_name_98 (cerclis_id VARCHAR, listed VARCHAR, name VARCHAR)", "question": "What is the ID of marshall landfill on 09/08/1983?" }
### QUESTION What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has? ### CONTEXT CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR) ### ANSWER SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = "finland" AND gold < 0
{ "answer": "SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = \"finland\" AND gold < 0", "context": "CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)", "question": "What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has?" }
### QUESTION How many laps led when the Grid was 15? ### CONTEXT CREATE TABLE table_name_29 (laps VARCHAR, grid VARCHAR) ### ANSWER SELECT laps AS Led FROM table_name_29 WHERE grid = "15"
{ "answer": "SELECT laps AS Led FROM table_name_29 WHERE grid = \"15\"", "context": "CREATE TABLE table_name_29 (laps VARCHAR, grid VARCHAR)", "question": "How many laps led when the Grid was 15?" }
### QUESTION Which Country has a Catalogue number(s) of eredv711? ### CONTEXT CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR) ### ANSWER SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711"
{ "answer": "SELECT country FROM table_name_94 WHERE catalogue_number_s_ = \"eredv711\"", "context": "CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR)", "question": "Which Country has a Catalogue number(s) of eredv711?" }
### QUESTION how many parts does detroit red wings person urban nordin play ### CONTEXT CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin"
{ "answer": "SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = \"Detroit Red Wings\" AND player = \"Urban Nordin\"", "context": "CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR)", "question": "how many parts does detroit red wings person urban nordin play" }
### QUESTION Show the station name with greatest number of trains. ### CONTEXT CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR) ### ANSWER SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)", "question": "Show the station name with greatest number of trains." }
### QUESTION What is Team, when Replaced By is "Jesús Ramírez"? ### CONTEXT CREATE TABLE table_name_92 (team VARCHAR, replaced_by VARCHAR) ### ANSWER SELECT team FROM table_name_92 WHERE replaced_by = "jesús ramírez"
{ "answer": "SELECT team FROM table_name_92 WHERE replaced_by = \"jesús ramírez\"", "context": "CREATE TABLE table_name_92 (team VARCHAR, replaced_by VARCHAR)", "question": "What is Team, when Replaced By is \"Jesús Ramírez\"?" }
### QUESTION Which Result has an Award of virgin media tv awards? ### CONTEXT CREATE TABLE table_name_45 (result VARCHAR, award VARCHAR) ### ANSWER SELECT result FROM table_name_45 WHERE award = "virgin media tv awards"
{ "answer": "SELECT result FROM table_name_45 WHERE award = \"virgin media tv awards\"", "context": "CREATE TABLE table_name_45 (result VARCHAR, award VARCHAR)", "question": "Which Result has an Award of virgin media tv awards?" }
### QUESTION What award was Denis Lawson nominated for in the Best Actor in a Musical category? ### CONTEXT CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR) ### ANSWER SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson"
{ "answer": "SELECT award FROM table_name_95 WHERE category = \"best actor in a musical\" AND nominee = \"denis lawson\"", "context": "CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR)", "question": "What award was Denis Lawson nominated for in the Best Actor in a Musical category?" }
### QUESTION What is the total number of Round(s), when Time is "N/A", when Location is "Alabama , United States", and when Record is "1-2-0"? ### CONTEXT CREATE TABLE table_name_53 (round VARCHAR, record VARCHAR, time VARCHAR, location VARCHAR) ### ANSWER SELECT COUNT(round) FROM table_name_53 WHERE time = "n/a" AND location = "alabama , united states" AND record = "1-2-0"
{ "answer": "SELECT COUNT(round) FROM table_name_53 WHERE time = \"n/a\" AND location = \"alabama , united states\" AND record = \"1-2-0\"", "context": "CREATE TABLE table_name_53 (round VARCHAR, record VARCHAR, time VARCHAR, location VARCHAR)", "question": "What is the total number of Round(s), when Time is \"N/A\", when Location is \"Alabama , United States\", and when Record is \"1-2-0\"?" }
### QUESTION What is the highest crude death rate when deaths are 3 433 and average population is greater than 298? ### CONTEXT CREATE TABLE table_name_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR) ### ANSWER SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = "3 433" AND average_population__x_1000_ > 298
{ "answer": "SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = \"3 433\" AND average_population__x_1000_ > 298", "context": "CREATE TABLE table_name_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR)", "question": "What is the highest crude death rate when deaths are 3 433 and average population is greater than 298?" }
### QUESTION Name the total number of material collected for justice league of america by george pérez, vol. 2 ### CONTEXT CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR) ### ANSWER SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = "Justice League of America by George Pérez, Vol. 2"
{ "answer": "SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = \"Justice League of America by George Pérez, Vol. 2\"", "context": "CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR)", "question": "Name the total number of material collected for justice league of america by george pérez, vol. 2" }
### QUESTION What competition was played at Shay Stadium? ### CONTEXT CREATE TABLE table_name_84 (competition VARCHAR, venue VARCHAR) ### ANSWER SELECT competition FROM table_name_84 WHERE venue = "shay stadium"
{ "answer": "SELECT competition FROM table_name_84 WHERE venue = \"shay stadium\"", "context": "CREATE TABLE table_name_84 (competition VARCHAR, venue VARCHAR)", "question": "What competition was played at Shay Stadium?" }
### QUESTION Where did robert nkemdiche ‡ go to college ### CONTEXT CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR) ### ANSWER SELECT college FROM table_11677691_8 WHERE player = "Robert Nkemdiche ‡"
{ "answer": "SELECT college FROM table_11677691_8 WHERE player = \"Robert Nkemdiche ‡\"", "context": "CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR)", "question": "Where did robert nkemdiche ‡ go to college" }
### QUESTION What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired? ### CONTEXT CREATE TABLE table_name_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR) ### ANSWER SELECT year AS Retired FROM table_name_2 WHERE fuel_propulsion = "diesel" AND length = "40'" AND numbers__quantity_ordered_ = "3701-3729 (29 buses)"
{ "answer": "SELECT year AS Retired FROM table_name_2 WHERE fuel_propulsion = \"diesel\" AND length = \"40'\" AND numbers__quantity_ordered_ = \"3701-3729 (29 buses)\"", "context": "CREATE TABLE table_name_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR)", "question": "What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired?" }
### QUESTION Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? ### CONTEXT CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR) ### ANSWER SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Lacey" AND T3.staff_last_name = "Bosco" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Kenton" AND T3.staff_last_name = "Champlin"
{ "answer": "SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Lacey\" AND T3.staff_last_name = \"Bosco\" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Kenton\" AND T3.staff_last_name = \"Champlin\"", "context": "CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR)", "question": "Find the products which have problems reported by both Lacey Bosco and Kenton Champlin?" }
### QUESTION What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen? ### CONTEXT CREATE TABLE table_name_40 (year INTEGER, director VARCHAR, english_title VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_40 WHERE director = "erik clausen" AND english_title = "the dark side of the moon"
{ "answer": "SELECT SUM(year) FROM table_name_40 WHERE director = \"erik clausen\" AND english_title = \"the dark side of the moon\"", "context": "CREATE TABLE table_name_40 (year INTEGER, director VARCHAR, english_title VARCHAR)", "question": "What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen?" }
### QUESTION what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes? ### CONTEXT CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR) ### ANSWER SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = "yes" AND consistency_ & _participation = "no" AND clone_independence = "yes"
{ "answer": "SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = \"yes\" AND consistency_ & _participation = \"no\" AND clone_independence = \"yes\"", "context": "CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR)", "question": "what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes?" }
### QUESTION Who had 41.76% yes votes ### CONTEXT CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR) ### ANSWER SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%"
{ "answer": "SELECT description FROM table_256286_20 WHERE _percentage_yes = \"41.76%\"", "context": "CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR)", "question": "Who had 41.76% yes votes" }
### QUESTION What is the least amount of tropical lows for the 1993–94 season with less than 11 tropical cyclones ### CONTEXT CREATE TABLE table_name_41 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR) ### ANSWER SELECT MIN(tropical_lows) FROM table_name_41 WHERE season = "1993–94" AND tropical_cyclones < 11
{ "answer": "SELECT MIN(tropical_lows) FROM table_name_41 WHERE season = \"1993–94\" AND tropical_cyclones < 11", "context": "CREATE TABLE table_name_41 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)", "question": "What is the least amount of tropical lows for the 1993–94 season with less than 11 tropical cyclones" }
### QUESTION For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars. ### CONTEXT CREATE TABLE Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR) ### ANSWER SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name
{ "answer": "SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name", "context": "CREATE TABLE Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR)", "question": "For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars." }
### QUESTION What is Beohari's reserved for (SC/ST/None)? ### CONTEXT CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) ### ANSWER SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "beohari"
{ "answer": "SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = \"beohari\"", "context": "CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)", "question": "What is Beohari's reserved for (SC/ST/None)?" }
### QUESTION Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? ### CONTEXT CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR) ### ANSWER SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.3
{ "answer": "SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.3", "context": "CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR)", "question": "Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3?" }
### QUESTION What is the code of airport that has fewest number of flights? ### CONTEXT CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR) ### ANSWER SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) LIMIT 1
{ "answer": "SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) LIMIT 1", "context": "CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)", "question": "What is the code of airport that has fewest number of flights?" }
### QUESTION Which league has a pick number larger than 204 from Canada and LW as the position? ### CONTEXT CREATE TABLE table_name_61 (league_from VARCHAR, position VARCHAR, pick__number VARCHAR, nationality VARCHAR) ### ANSWER SELECT league_from FROM table_name_61 WHERE pick__number > 204 AND nationality = "canada" AND position = "lw"
{ "answer": "SELECT league_from FROM table_name_61 WHERE pick__number > 204 AND nationality = \"canada\" AND position = \"lw\"", "context": "CREATE TABLE table_name_61 (league_from VARCHAR, position VARCHAR, pick__number VARCHAR, nationality VARCHAR)", "question": "Which league has a pick number larger than 204 from Canada and LW as the position?" }
### QUESTION What is the Score of the 1996 Asian Cup Qualification on June 29, 1996? ### CONTEXT CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996"
{ "answer": "SELECT score FROM table_name_24 WHERE competition = \"1996 asian cup qualification\" AND date = \"june 29, 1996\"", "context": "CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR)", "question": "What is the Score of the 1996 Asian Cup Qualification on June 29, 1996?" }
### QUESTION Which driver was in all rounds as an entrant of Motor Racing Developments? ### CONTEXT CREATE TABLE table_name_6 (driver VARCHAR, rounds VARCHAR, entrant VARCHAR) ### ANSWER SELECT driver FROM table_name_6 WHERE rounds = "all" AND entrant = "motor racing developments"
{ "answer": "SELECT driver FROM table_name_6 WHERE rounds = \"all\" AND entrant = \"motor racing developments\"", "context": "CREATE TABLE table_name_6 (driver VARCHAR, rounds VARCHAR, entrant VARCHAR)", "question": "Which driver was in all rounds as an entrant of Motor Racing Developments?" }