text
stringlengths
146
1.06k
source
dict
### QUESTION What are the wines that have prices lower than 50 and have appelations in Monterey county? ### CONTEXT CREATE TABLE APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR, price VARCHAR) ### ANSWER SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Monterey" AND T2.price < 50
{ "answer": "SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = \"Monterey\" AND T2.price < 50", "context": "CREATE TABLE APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR, price VARCHAR)", "question": "What are the wines that have prices lower than 50 and have appelations in Monterey county?" }
### QUESTION Which winning team has a winning pitcher of Chris Young and was played in Arlington? ### CONTEXT CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR) ### ANSWER SELECT winning_team FROM table_name_46 WHERE winning_pitcher = "chris young" AND location = "arlington"
{ "answer": "SELECT winning_team FROM table_name_46 WHERE winning_pitcher = \"chris young\" AND location = \"arlington\"", "context": "CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR)", "question": "Which winning team has a winning pitcher of Chris Young and was played in Arlington?" }
### QUESTION The 2002 African Cup of Nations was held on what date? ### CONTEXT CREATE TABLE table_name_20 (date VARCHAR, competition VARCHAR) ### ANSWER SELECT date FROM table_name_20 WHERE competition = "2002 african cup of nations"
{ "answer": "SELECT date FROM table_name_20 WHERE competition = \"2002 african cup of nations\"", "context": "CREATE TABLE table_name_20 (date VARCHAR, competition VARCHAR)", "question": "The 2002 African Cup of Nations was held on what date?" }
### QUESTION What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows? ### CONTEXT CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR) ### ANSWER SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14
{ "answer": "SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14", "context": "CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR)", "question": "What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows?" }
### QUESTION What are the notes for South Africa? ### CONTEXT CREATE TABLE table_name_8 (notes VARCHAR, country VARCHAR) ### ANSWER SELECT notes FROM table_name_8 WHERE country = "south africa"
{ "answer": "SELECT notes FROM table_name_8 WHERE country = \"south africa\"", "context": "CREATE TABLE table_name_8 (notes VARCHAR, country VARCHAR)", "question": "What are the notes for South Africa?" }
### QUESTION What is the Date, when the Sport is luge - men's doubles, and when the Record is, "start"? ### CONTEXT CREATE TABLE table_name_90 (date VARCHAR, sport VARCHAR, record VARCHAR) ### ANSWER SELECT date FROM table_name_90 WHERE sport = "luge - men's doubles" AND record = "start"
{ "answer": "SELECT date FROM table_name_90 WHERE sport = \"luge - men's doubles\" AND record = \"start\"", "context": "CREATE TABLE table_name_90 (date VARCHAR, sport VARCHAR, record VARCHAR)", "question": "What is the Date, when the Sport is luge - men's doubles, and when the Record is, \"start\"?" }
### QUESTION Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic ### CONTEXT CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) ### ANSWER SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic"
{ "answer": "SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = \"1 stroke\" AND tournament = \"legend financial group classic\"", "context": "CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)", "question": "Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic" }
### QUESTION Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012? ### CONTEXT CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR) ### ANSWER SELECT written_by FROM table_29087004_3 WHERE directed_by = "Greg Sullivan" AND united_states_original_airdate = "July 21, 2012"
{ "answer": "SELECT written_by FROM table_29087004_3 WHERE directed_by = \"Greg Sullivan\" AND united_states_original_airdate = \"July 21, 2012\"", "context": "CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)", "question": "Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?" }
### QUESTION Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July? ### CONTEXT CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR) ### ANSWER SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july"
{ "answer": "SELECT winning_driver FROM table_name_55 WHERE winning_team = \"engstler motorsport engstler motorsport\" AND date = \"22 july\"", "context": "CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)", "question": "Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?" }
### QUESTION What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36? ### CONTEXT CREATE TABLE table_name_67 (magnitude VARCHAR, time__utc_ VARCHAR, epicenter VARCHAR, intensity VARCHAR) ### ANSWER SELECT magnitude FROM table_name_67 WHERE epicenter = "vrancea county" AND intensity = "unknown" AND time__utc_ = "06:36"
{ "answer": "SELECT magnitude FROM table_name_67 WHERE epicenter = \"vrancea county\" AND intensity = \"unknown\" AND time__utc_ = \"06:36\"", "context": "CREATE TABLE table_name_67 (magnitude VARCHAR, time__utc_ VARCHAR, epicenter VARCHAR, intensity VARCHAR)", "question": "What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36?" }
### QUESTION What is the lowest jews and others 1 for the localities 11? ### CONTEXT CREATE TABLE table_25947046_1 (jews_and_others_1 INTEGER, localities VARCHAR) ### ANSWER SELECT MIN(jews_and_others_1) FROM table_25947046_1 WHERE localities = 11
{ "answer": "SELECT MIN(jews_and_others_1) FROM table_25947046_1 WHERE localities = 11", "context": "CREATE TABLE table_25947046_1 (jews_and_others_1 INTEGER, localities VARCHAR)", "question": "What is the lowest jews and others 1 for the localities 11?" }
### QUESTION What is the lowest combined mpg in the US for the A6 transmission, a CO2 g/km under 303, engine capacity over 2461, and L/100km urban (cold) of 15.9? ### CONTEXT CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR) ### ANSWER SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = "a6" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = 15.9
{ "answer": "SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = \"a6\" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = 15.9", "context": "CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR)", "question": "What is the lowest combined mpg in the US for the A6 transmission, a CO2 g/km under 303, engine capacity over 2461, and L/100km urban (cold) of 15.9?" }
### QUESTION What series has dan povenmire as the director, with museum scream as the title? ### CONTEXT CREATE TABLE table_name_46 (series VARCHAR, director VARCHAR, title VARCHAR) ### ANSWER SELECT series FROM table_name_46 WHERE director = "dan povenmire" AND title = "museum scream"
{ "answer": "SELECT series FROM table_name_46 WHERE director = \"dan povenmire\" AND title = \"museum scream\"", "context": "CREATE TABLE table_name_46 (series VARCHAR, director VARCHAR, title VARCHAR)", "question": "What series has dan povenmire as the director, with museum scream as the title?" }
### QUESTION When winner is the status and 77 is the total days in pbb house what is the edition? ### CONTEXT CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR) ### ANSWER SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner"
{ "answer": "SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = \"Winner\"", "context": "CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)", "question": "When winner is the status and 77 is the total days in pbb house what is the edition?" }
### QUESTION What is the sum of Tujia population with the Zhangjiajie prefecture in Sangzhi county? ### CONTEXT CREATE TABLE table_name_20 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR) ### ANSWER SELECT SUM(tujia_population) FROM table_name_20 WHERE prefecture = "zhangjiajie" AND county = "sangzhi"
{ "answer": "SELECT SUM(tujia_population) FROM table_name_20 WHERE prefecture = \"zhangjiajie\" AND county = \"sangzhi\"", "context": "CREATE TABLE table_name_20 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR)", "question": "What is the sum of Tujia population with the Zhangjiajie prefecture in Sangzhi county?" }
### QUESTION Show the name, average attendance, total attendance for stadiums where no accidents happened. ### CONTEXT CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR) ### ANSWER SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id
{ "answer": "SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id", "context": "CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)", "question": "Show the name, average attendance, total attendance for stadiums where no accidents happened." }
### QUESTION Can you tell me the sum of Wins that has the Club of abuls smiltene, and the Goals smaller than 18? ### CONTEXT CREATE TABLE table_name_47 (wins INTEGER, club VARCHAR, goals_for VARCHAR) ### ANSWER SELECT SUM(wins) FROM table_name_47 WHERE club = "abuls smiltene" AND goals_for < 18
{ "answer": "SELECT SUM(wins) FROM table_name_47 WHERE club = \"abuls smiltene\" AND goals_for < 18", "context": "CREATE TABLE table_name_47 (wins INTEGER, club VARCHAR, goals_for VARCHAR)", "question": "Can you tell me the sum of Wins that has the Club of abuls smiltene, and the Goals smaller than 18?" }
### QUESTION What was the score when Sheffield United was the home team? ### CONTEXT CREATE TABLE table_name_37 (score VARCHAR, home_team VARCHAR) ### ANSWER SELECT score FROM table_name_37 WHERE home_team = "sheffield united"
{ "answer": "SELECT score FROM table_name_37 WHERE home_team = \"sheffield united\"", "context": "CREATE TABLE table_name_37 (score VARCHAR, home_team VARCHAR)", "question": "What was the score when Sheffield United was the home team?" }
### QUESTION What was the language for the movie "Late Bloomers"? ### CONTEXT CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Late Bloomers"
{ "answer": "SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = \"Late Bloomers\"", "context": "CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What was the language for the movie \"Late Bloomers\"?" }
### QUESTION What label is in download format in the United States? ### CONTEXT CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR) ### ANSWER SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download"
{ "answer": "SELECT label FROM table_name_88 WHERE region = \"united states\" AND format = \"download\"", "context": "CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR)", "question": "What label is in download format in the United States?" }
### QUESTION What are the songs in album "A Kiss Before You Go: Live in Hamburg"? ### CONTEXT CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) ### ANSWER SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = "A Kiss Before You Go: Live in Hamburg"
{ "answer": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = \"A Kiss Before You Go: Live in Hamburg\"", "context": "CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)", "question": "What are the songs in album \"A Kiss Before You Go: Live in Hamburg\"?" }
### QUESTION Scott Dixon had how many Grid positions? ### CONTEXT CREATE TABLE table_17244483_1 (grid VARCHAR, driver VARCHAR) ### ANSWER SELECT COUNT(grid) FROM table_17244483_1 WHERE driver = "Scott Dixon"
{ "answer": "SELECT COUNT(grid) FROM table_17244483_1 WHERE driver = \"Scott Dixon\"", "context": "CREATE TABLE table_17244483_1 (grid VARCHAR, driver VARCHAR)", "question": "Scott Dixon had how many Grid positions?" }
### QUESTION What is the score of the away team who played home team Hawthorn? ### CONTEXT CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
{ "answer": "SELECT away_team AS score FROM table_name_21 WHERE home_team = \"hawthorn\"", "context": "CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR)", "question": "What is the score of the away team who played home team Hawthorn?" }
### QUESTION Who wrote the episodes watched by 1.816 million people in Canada? ### CONTEXT CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) ### ANSWER SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816"
{ "answer": "SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = \"1.816\"", "context": "CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)", "question": "Who wrote the episodes watched by 1.816 million people in Canada?" }
### QUESTION Name the most numbers dam and gnis query link for borough or census area for fairbanks north star ### CONTEXT CREATE TABLE table_18760137_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) ### ANSWER SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_18760137_2 WHERE borough_or_census_area = "Fairbanks North Star"
{ "answer": "SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_18760137_2 WHERE borough_or_census_area = \"Fairbanks North Star\"", "context": "CREATE TABLE table_18760137_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)", "question": "Name the most numbers dam and gnis query link for borough or census area for fairbanks north star" }
### QUESTION What was the highest rank for rowers who represented Denmark? ### CONTEXT CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR) ### ANSWER SELECT MAX(rank) FROM table_name_94 WHERE country = "denmark"
{ "answer": "SELECT MAX(rank) FROM table_name_94 WHERE country = \"denmark\"", "context": "CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR)", "question": "What was the highest rank for rowers who represented Denmark?" }
### QUESTION What is the sum of poverty (2009) HPI-1 % when the GDP (PPP) (2012) US$ per capita of 11,284? ### CONTEXT CREATE TABLE table_name_69 (poverty__2009__hpi_1__percentage VARCHAR, gdp__ppp___2012__us$_per_capita VARCHAR) ### ANSWER SELECT COUNT(poverty__2009__hpi_1__percentage) FROM table_name_69 WHERE gdp__ppp___2012__us$_per_capita = "11,284"
{ "answer": "SELECT COUNT(poverty__2009__hpi_1__percentage) FROM table_name_69 WHERE gdp__ppp___2012__us$_per_capita = \"11,284\"", "context": "CREATE TABLE table_name_69 (poverty__2009__hpi_1__percentage VARCHAR, gdp__ppp___2012__us$_per_capita VARCHAR)", "question": "What is the sum of poverty (2009) HPI-1 % when the GDP (PPP) (2012) US$ per capita of 11,284?" }
### QUESTION Which building does the instructor who teaches the most number of courses live in? ### CONTEXT CREATE TABLE COURSE (Instructor VARCHAR); CREATE TABLE FACULTY (Building VARCHAR, FacID VARCHAR) ### ANSWER SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE COURSE (Instructor VARCHAR); CREATE TABLE FACULTY (Building VARCHAR, FacID VARCHAR)", "question": "Which building does the instructor who teaches the most number of courses live in?" }
### QUESTION What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3? ### CONTEXT CREATE TABLE table_name_1 (total_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR) ### ANSWER SELECT COUNT(total_goals) FROM table_name_1 WHERE player = "stan mortensen" AND qualifying_goals > 3
{ "answer": "SELECT COUNT(total_goals) FROM table_name_1 WHERE player = \"stan mortensen\" AND qualifying_goals > 3", "context": "CREATE TABLE table_name_1 (total_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR)", "question": "What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3?" }
### QUESTION In what Year was the Result of the game 16-14? ### CONTEXT CREATE TABLE table_name_81 (year INTEGER, result VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_81 WHERE result = "16-14"
{ "answer": "SELECT MAX(year) FROM table_name_81 WHERE result = \"16-14\"", "context": "CREATE TABLE table_name_81 (year INTEGER, result VARCHAR)", "question": "In what Year was the Result of the game 16-14?" }
### QUESTION When melbourne was the home team what was their score? ### CONTEXT CREATE TABLE table_name_46 (home_team VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_46 WHERE home_team = "melbourne"
{ "answer": "SELECT home_team AS score FROM table_name_46 WHERE home_team = \"melbourne\"", "context": "CREATE TABLE table_name_46 (home_team VARCHAR)", "question": "When melbourne was the home team what was their score?" }
### QUESTION How many different percentages of immigrants in 2006 can there be for Morocco? ### CONTEXT CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR) ### ANSWER SELECT COUNT(_percentage_of_all_immigrants_2006) FROM table_23619212_1 WHERE country = "Morocco"
{ "answer": "SELECT COUNT(_percentage_of_all_immigrants_2006) FROM table_23619212_1 WHERE country = \"Morocco\"", "context": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR)", "question": "How many different percentages of immigrants in 2006 can there be for Morocco?" }
### QUESTION what was the lowest elevation in april 2006? ### CONTEXT CREATE TABLE table_27435931_1 (elevation_ft INTEGER, year VARCHAR) ### ANSWER SELECT MIN(elevation_ft) FROM table_27435931_1 WHERE year = "April 2006"
{ "answer": "SELECT MIN(elevation_ft) FROM table_27435931_1 WHERE year = \"April 2006\"", "context": "CREATE TABLE table_27435931_1 (elevation_ft INTEGER, year VARCHAR)", "question": "what was the lowest elevation in april 2006?" }
### QUESTION When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? ### CONTEXT CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR) ### ANSWER SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles Bateman Michael Lyons"
{ "answer": "SELECT gt4_winner FROM table_30062172_3 WHERE circuit = \"Donington Park\" AND gt3_winner = \"Charles Bateman Michael Lyons\"", "context": "CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR)", "question": "When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner?" }
### QUESTION Name the sum of Laps for co-drivers of oliver gavin jan magnussen and class of gts with year less than 2004 ### CONTEXT CREATE TABLE table_name_17 (laps INTEGER, year VARCHAR, co_drivers VARCHAR, class VARCHAR) ### ANSWER SELECT SUM(laps) FROM table_name_17 WHERE co_drivers = "oliver gavin jan magnussen" AND class = "gts" AND year < 2004
{ "answer": "SELECT SUM(laps) FROM table_name_17 WHERE co_drivers = \"oliver gavin jan magnussen\" AND class = \"gts\" AND year < 2004", "context": "CREATE TABLE table_name_17 (laps INTEGER, year VARCHAR, co_drivers VARCHAR, class VARCHAR)", "question": "Name the sum of Laps for co-drivers of oliver gavin jan magnussen and class of gts with year less than 2004" }
### QUESTION What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? ### CONTEXT CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) ### ANSWER SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"
{ "answer": "SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = \"sacked\" AND outgoing_manager = \"fred rutten\"", "context": "CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)", "question": "What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?" }
### QUESTION What is the person born in Australia, rick springfield notable for? ### CONTEXT CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR) ### ANSWER SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"
{ "answer": "SELECT notable_for FROM table_name_23 WHERE connection_with_australia = \"born in australia\" AND name = \"rick springfield\"", "context": "CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)", "question": "What is the person born in Australia, rick springfield notable for?" }
### QUESTION Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137? ### CONTEXT CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137
{ "answer": "SELECT AVG(week) FROM table_name_65 WHERE opponent = \"baltimore colts\" AND attendance < 55 OFFSET 137", "context": "CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR)", "question": "Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137?" }
### QUESTION What is the original air date of the episode that was number 31 in the series? ### CONTEXT CREATE TABLE table_29584044_1 (original_air_date VARCHAR, no_in_series VARCHAR) ### ANSWER SELECT original_air_date FROM table_29584044_1 WHERE no_in_series = 31
{ "answer": "SELECT original_air_date FROM table_29584044_1 WHERE no_in_series = 31", "context": "CREATE TABLE table_29584044_1 (original_air_date VARCHAR, no_in_series VARCHAR)", "question": "What is the original air date of the episode that was number 31 in the series? " }
### QUESTION What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28? ### CONTEXT CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR) ### ANSWER SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28"
{ "answer": "SELECT team FROM table_name_86 WHERE high_rebounds = \"popeye jones (14)\" AND record = \"16-28\"", "context": "CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)", "question": "What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?" }
### QUESTION Name the title for marion burns leading lady and role of john mason ### CONTEXT CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR) ### ANSWER SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason"
{ "answer": "SELECT title FROM table_name_89 WHERE leading_lady = \"marion burns\" AND role = \"john mason\"", "context": "CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR)", "question": "Name the title for marion burns leading lady and role of john mason" }
### QUESTION who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200 ### CONTEXT CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR) ### ANSWER SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_name = "Miller Genuine Draft 200"
{ "answer": "SELECT winning_driver FROM table_14638077_2 WHERE pole_position = \"Paul Tracy\" AND race_name = \"Miller Genuine Draft 200\"", "context": "CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR)", "question": "who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200" }
### QUESTION What is the power output for class 5? ### CONTEXT CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR) ### ANSWER SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5
{ "answer": "SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5", "context": "CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR)", "question": "What is the power output for class 5?" }
### QUESTION With 0 Goals and less than 1 Tries, what is Matt James position? ### CONTEXT CREATE TABLE table_name_38 (position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR) ### ANSWER SELECT position FROM table_name_38 WHERE goals = "0" AND tries < 1 AND player = "matt james"
{ "answer": "SELECT position FROM table_name_38 WHERE goals = \"0\" AND tries < 1 AND player = \"matt james\"", "context": "CREATE TABLE table_name_38 (position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR)", "question": "With 0 Goals and less than 1 Tries, what is Matt James position?" }
### QUESTION Name the birth date for shirt number 7 ### CONTEXT CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR) ### ANSWER SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7
{ "answer": "SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7", "context": "CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR)", "question": "Name the birth date for shirt number 7" }
### QUESTION What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"? ### CONTEXT CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR) ### ANSWER SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta"
{ "answer": "SELECT director FROM table_name_90 WHERE primary_language_s_ = \"azerbaijani\" AND original_title = \"buta\"", "context": "CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)", "question": "What is Director, when Primary Language(s) is \"Azerbaijani\", and when Original Title is \"Buta\"?" }
### QUESTION Who was the director of Battalion Wars 2 which was released on GCN after 2004? ### CONTEXT CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR) ### ANSWER SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 2"
{ "answer": "SELECT director FROM table_name_72 WHERE platform_s_ = \"gcn\" AND year > 2004 AND title = \"battalion wars 2\"", "context": "CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR)", "question": "Who was the director of Battalion Wars 2 which was released on GCN after 2004?" }
### QUESTION Which Draws has a Wins smaller than 17, and an Against smaller than 1158? ### CONTEXT CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR) ### ANSWER SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158
{ "answer": "SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158", "context": "CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)", "question": "Which Draws has a Wins smaller than 17, and an Against smaller than 1158?" }
### QUESTION What was the founding of navy blue? ### CONTEXT CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR) ### ANSWER SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue"
{ "answer": "SELECT founded FROM table_11604804_5 WHERE color = \"Navy Blue\"", "context": "CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR)", "question": "What was the founding of navy blue?" }
### QUESTION What was the score for the tournament in Michigan where the purse was smaller than 1813335.221493934? ### CONTEXT CREATE TABLE table_11603006_1 (score VARCHAR, location VARCHAR, purse__$__ VARCHAR) ### ANSWER SELECT score FROM table_11603006_1 WHERE location = "Michigan" AND purse__$__ < 1813335.221493934
{ "answer": "SELECT score FROM table_11603006_1 WHERE location = \"Michigan\" AND purse__$__ < 1813335.221493934", "context": "CREATE TABLE table_11603006_1 (score VARCHAR, location VARCHAR, purse__$__ VARCHAR)", "question": "What was the score for the tournament in Michigan where the purse was smaller than 1813335.221493934?" }
### QUESTION How many goals was by Rix from Eng who started before 2005 in the youth system? ### CONTEXT CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR) ### ANSWER SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix"
{ "answer": "SELECT COUNT(goals) FROM table_name_38 WHERE nat = \"eng\" AND transfer_fee = \"youth system\" AND since < 2005 AND name = \"rix\"", "context": "CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR)", "question": "How many goals was by Rix from Eng who started before 2005 in the youth system?" }
### QUESTION What is the "active to date" of the latest contact channel used by "Tillman Ernser"? ### CONTEXT CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR) ### ANSWER SELECT MAX(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
{ "answer": "SELECT MAX(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = \"Tillman Ernser\"", "context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)", "question": "What is the \"active to date\" of the latest contact channel used by \"Tillman Ernser\"?" }
### QUESTION For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL. ### CONTEXT CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) ### ANSWER SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director
{ "answer": "SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> \"null\" GROUP BY director", "context": "CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)", "question": "For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL." }
### QUESTION What is the total number of Year, when Result is "Nominated", when Category is "Outstanding Actor in a Musical", and when Award is "Drama Desk Award"? ### CONTEXT CREATE TABLE table_name_68 (year VARCHAR, award VARCHAR, result VARCHAR, category VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_68 WHERE result = "nominated" AND category = "outstanding actor in a musical" AND award = "drama desk award"
{ "answer": "SELECT COUNT(year) FROM table_name_68 WHERE result = \"nominated\" AND category = \"outstanding actor in a musical\" AND award = \"drama desk award\"", "context": "CREATE TABLE table_name_68 (year VARCHAR, award VARCHAR, result VARCHAR, category VARCHAR)", "question": "What is the total number of Year, when Result is \"Nominated\", when Category is \"Outstanding Actor in a Musical\", and when Award is \"Drama Desk Award\"?" }
### QUESTION How many laps were driven in 2:54:23.8? ### CONTEXT CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR) ### ANSWER SELECT SUM(laps) FROM table_name_45 WHERE time_retired = "2:54:23.8"
{ "answer": "SELECT SUM(laps) FROM table_name_45 WHERE time_retired = \"2:54:23.8\"", "context": "CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR)", "question": "How many laps were driven in 2:54:23.8?" }
### QUESTION Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE. ### CONTEXT CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR) ### ANSWER SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE"
{ "answer": "SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = \"INTRODUCTION TO COMPUTER SCIENCE\"", "context": "CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)", "question": "Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE." }
### QUESTION Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations. ### CONTEXT CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR) ### ANSWER SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)", "question": "Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations." }
### QUESTION Who was the successor for the state of Maine (2) ? ### CONTEXT CREATE TABLE table_225099_3 (successor VARCHAR, state__class_ VARCHAR) ### ANSWER SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (2)"
{ "answer": "SELECT successor FROM table_225099_3 WHERE state__class_ = \"Maine (2)\"", "context": "CREATE TABLE table_225099_3 (successor VARCHAR, state__class_ VARCHAR)", "question": "Who was the successor for the state of Maine (2) ?" }
### QUESTION Name the country when dar is 16:9 for italian english for disney xd +2 ### CONTEXT CREATE TABLE table_15887683_9 (country VARCHAR, television_service VARCHAR, dar VARCHAR, language VARCHAR) ### ANSWER SELECT country FROM table_15887683_9 WHERE dar = "16:9" AND language = "Italian English" AND television_service = "Disney XD +2"
{ "answer": "SELECT country FROM table_15887683_9 WHERE dar = \"16:9\" AND language = \"Italian English\" AND television_service = \"Disney XD +2\"", "context": "CREATE TABLE table_15887683_9 (country VARCHAR, television_service VARCHAR, dar VARCHAR, language VARCHAR)", "question": "Name the country when dar is 16:9 for italian english for disney xd +2" }
### QUESTION What is the total number for a total when the nation is netherlands and silver is larger than 0? ### CONTEXT CREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_12 WHERE nation = "netherlands" AND silver > 0
{ "answer": "SELECT COUNT(total) FROM table_name_12 WHERE nation = \"netherlands\" AND silver > 0", "context": "CREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR)", "question": "What is the total number for a total when the nation is netherlands and silver is larger than 0?" }
### QUESTION How many years did the team place 2nd in Antwerp, Belgium? ### CONTEXT CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd"
{ "answer": "SELECT COUNT(year) FROM table_name_21 WHERE venue = \"antwerp, belgium\" AND result = \"2nd\"", "context": "CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR)", "question": "How many years did the team place 2nd in Antwerp, Belgium?" }
### QUESTION Who directed the episode written by Matt Ford? ### CONTEXT CREATE TABLE table_18712423_3 (directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT directed_by FROM table_18712423_3 WHERE written_by = "Matt Ford"
{ "answer": "SELECT directed_by FROM table_18712423_3 WHERE written_by = \"Matt Ford\"", "context": "CREATE TABLE table_18712423_3 (directed_by VARCHAR, written_by VARCHAR)", "question": "Who directed the episode written by Matt Ford?" }
### QUESTION Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people? ### CONTEXT CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR) ### ANSWER SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398
{ "answer": "SELECT municipality FROM table_name_2 WHERE area = \"outer circle south\" AND area_km² < 368 AND county = \"akershus\" AND population > 14 OFFSET 398", "context": "CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)", "question": "Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?" }
### QUESTION Find the name of the program that is broadcast most frequently. ### CONTEXT CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE broadcast (program_id VARCHAR) ### ANSWER SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id GROUP BY t2.program_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id GROUP BY t2.program_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE broadcast (program_id VARCHAR)", "question": "Find the name of the program that is broadcast most frequently." }
### QUESTION What is the name of the country that has a transfer window of winter with an end after 2009 and moving from Bolton Wanderers? ### CONTEXT CREATE TABLE table_name_45 (country VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, ends VARCHAR) ### ANSWER SELECT country FROM table_name_45 WHERE transfer_window = "winter" AND ends > 2009 AND moving_from = "bolton wanderers"
{ "answer": "SELECT country FROM table_name_45 WHERE transfer_window = \"winter\" AND ends > 2009 AND moving_from = \"bolton wanderers\"", "context": "CREATE TABLE table_name_45 (country VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, ends VARCHAR)", "question": "What is the name of the country that has a transfer window of winter with an end after 2009 and moving from Bolton Wanderers?" }
### QUESTION Which Finalist has a Semi finalists of monica seles conchita martínez? ### CONTEXT CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR) ### ANSWER SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez"
{ "answer": "SELECT finalist FROM table_name_69 WHERE semi_finalists = \"monica seles conchita martínez\"", "context": "CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR)", "question": "Which Finalist has a Semi finalists of monica seles conchita martínez?" }
### QUESTION What is the rank for the episode that premiered on September 13, 1978? ### CONTEXT CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) ### ANSWER SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978"
{ "answer": "SELECT rank FROM table_name_21 WHERE premiere = \"september 13, 1978\"", "context": "CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR)", "question": "What is the rank for the episode that premiered on September 13, 1978?" }
### QUESTION For the week of August 6, who is the finalist? ### CONTEXT CREATE TABLE table_name_26 (finalist VARCHAR, week VARCHAR) ### ANSWER SELECT finalist FROM table_name_26 WHERE week = "august 6"
{ "answer": "SELECT finalist FROM table_name_26 WHERE week = \"august 6\"", "context": "CREATE TABLE table_name_26 (finalist VARCHAR, week VARCHAR)", "question": "For the week of August 6, who is the finalist?" }
### QUESTION What AP increase has an AP duration of 0.75? ### CONTEXT CREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR) ### ANSWER SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = "0.75"
{ "answer": "SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = \"0.75\"", "context": "CREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR)", "question": "What AP increase has an AP duration of 0.75?" }
### QUESTION Select the names of manufacturer whose products have an average price higher than or equal to $150. ### CONTEXT CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR, price INTEGER) ### ANSWER SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name HAVING AVG(T1.price) >= 150
{ "answer": "SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name HAVING AVG(T1.price) >= 150", "context": "CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR, price INTEGER)", "question": "Select the names of manufacturer whose products have an average price higher than or equal to $150." }
### QUESTION What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic? ### CONTEXT CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR) ### ANSWER SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"
{ "answer": "SELECT tie_no FROM table_name_10 WHERE date = \"18 february 1956\" AND home_team = \"charlton athletic\"", "context": "CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)", "question": "What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?" }
### QUESTION Find the name and college of students whose decisions are yes in the tryout. ### CONTEXT CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) ### ANSWER SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
{ "answer": "SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'", "context": "CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)", "question": "Find the name and college of students whose decisions are yes in the tryout." }
### QUESTION What's the order number of the song originally performed by Rickie Lee Jones? ### CONTEXT CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR) ### ANSWER SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"
{ "answer": "SELECT order__number FROM table_12310814_1 WHERE original_artist = \"Rickie Lee Jones\"", "context": "CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR)", "question": "What's the order number of the song originally performed by Rickie Lee Jones?" }
### QUESTION what's the introduced where notes is 9 withdrawn in 1946 after fire ### CONTEXT CREATE TABLE table_1181375_1 (introduced VARCHAR, notes VARCHAR) ### ANSWER SELECT introduced FROM table_1181375_1 WHERE notes = "9 withdrawn in 1946 after fire"
{ "answer": "SELECT introduced FROM table_1181375_1 WHERE notes = \"9 withdrawn in 1946 after fire\"", "context": "CREATE TABLE table_1181375_1 (introduced VARCHAR, notes VARCHAR)", "question": " what's the introduced where notes is 9 withdrawn in 1946 after fire" }
### QUESTION What is the enrollment for Ashland University? ### CONTEXT CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR) ### ANSWER SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland"
{ "answer": "SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = \"Ashland\"", "context": "CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)", "question": "What is the enrollment for Ashland University?" }
### QUESTION What is the population when the area is 4,575? ### CONTEXT CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR) ### ANSWER SELECT population FROM table_name_8 WHERE area = "4,575"
{ "answer": "SELECT population FROM table_name_8 WHERE area = \"4,575\"", "context": "CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR)", "question": "What is the population when the area is 4,575?" }
### QUESTION What is the organisation type and id of the organisation which has the most number of research staff? ### CONTEXT CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR) ### ANSWER SELECT T1.organisation_type, T1.organisation_id FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.organisation_type, T1.organisation_id FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)", "question": "What is the organisation type and id of the organisation which has the most number of research staff?" }
### QUESTION Who is the Skip when Alasdair Guthrie is the third? ### CONTEXT CREATE TABLE table_name_83 (skip VARCHAR, third VARCHAR) ### ANSWER SELECT skip FROM table_name_83 WHERE third = "alasdair guthrie"
{ "answer": "SELECT skip FROM table_name_83 WHERE third = \"alasdair guthrie\"", "context": "CREATE TABLE table_name_83 (skip VARCHAR, third VARCHAR)", "question": "Who is the Skip when Alasdair Guthrie is the third?" }
### QUESTION Name the number of administrative county for area 1961 and 176694 ### CONTEXT CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) ### ANSWER SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694
{ "answer": "SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694", "context": "CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR)", "question": "Name the number of administrative county for area 1961 and 176694" }
### QUESTION What are the id and the amount of refund of the booking that incurred the most times of payments? ### CONTEXT CREATE TABLE Payments (booking_id VARCHAR); CREATE TABLE Bookings (booking_id VARCHAR, amount_of_refund VARCHAR) ### ANSWER SELECT T1.booking_id, T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id = T2.booking_id GROUP BY T1.booking_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.booking_id, T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id = T2.booking_id GROUP BY T1.booking_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Payments (booking_id VARCHAR); CREATE TABLE Bookings (booking_id VARCHAR, amount_of_refund VARCHAR)", "question": "What are the id and the amount of refund of the booking that incurred the most times of payments?" }
### QUESTION What company has an unknown date and is an energy business? ### CONTEXT CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR) ### ANSWER SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown"
{ "answer": "SELECT company FROM table_name_20 WHERE business = \"energy\" AND date = \"unknown\"", "context": "CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR)", "question": "What company has an unknown date and is an energy business?" }
### QUESTION What was the tries against when the drawn was 2? ### CONTEXT CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR) ### ANSWER SELECT tries_against FROM table_12792876_3 WHERE drawn = "2"
{ "answer": "SELECT tries_against FROM table_12792876_3 WHERE drawn = \"2\"", "context": "CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR)", "question": "What was the tries against when the drawn was 2?" }
### QUESTION Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win? ### CONTEXT CREATE TABLE table_name_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR) ### ANSWER SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "1"
{ "answer": "SELECT driver___passenger FROM table_name_56 WHERE third = \"1\" AND position < 8 AND wins = \"1\"", "context": "CREATE TABLE table_name_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR)", "question": "Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?" }
### QUESTION What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g? ### CONTEXT CREATE TABLE table_name_48 (people_on_board INTEGER, airline VARCHAR, aircraft_type VARCHAR) ### ANSWER SELECT AVG(people_on_board) FROM table_name_48 WHERE airline = "iberia" AND aircraft_type = "lockheed l-1049g"
{ "answer": "SELECT AVG(people_on_board) FROM table_name_48 WHERE airline = \"iberia\" AND aircraft_type = \"lockheed l-1049g\"", "context": "CREATE TABLE table_name_48 (people_on_board INTEGER, airline VARCHAR, aircraft_type VARCHAR)", "question": "What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g?" }
### QUESTION What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? ### CONTEXT CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR) ### ANSWER SELECT venue FROM table_name_23 WHERE competition = "2002 fifa world cup qualifier" AND result = "8-2"
{ "answer": "SELECT venue FROM table_name_23 WHERE competition = \"2002 fifa world cup qualifier\" AND result = \"8-2\"", "context": "CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR)", "question": "What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2?" }
### QUESTION What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling? ### CONTEXT CREATE TABLE table_name_44 (frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR) ### ANSWER SELECT frame_size FROM table_name_44 WHERE audio_coding = "pcm 4 ch/16 bit/48khz" AND format_name = "dvcam" AND color_sampling = "4:1:1"
{ "answer": "SELECT frame_size FROM table_name_44 WHERE audio_coding = \"pcm 4 ch/16 bit/48khz\" AND format_name = \"dvcam\" AND color_sampling = \"4:1:1\"", "context": "CREATE TABLE table_name_44 (frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR)", "question": "What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling?" }
### QUESTION Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100? ### CONTEXT CREATE TABLE table_name_94 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR) ### ANSWER SELECT SUM(comp) FROM table_name_94 WHERE yds_game < 209.5 AND name = "brytus" AND rating < 100
{ "answer": "SELECT SUM(comp) FROM table_name_94 WHERE yds_game < 209.5 AND name = \"brytus\" AND rating < 100", "context": "CREATE TABLE table_name_94 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR)", "question": "Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100?" }
### QUESTION For how long did Bolivia have a lane greater than 6? ### CONTEXT CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR) ### ANSWER SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 6
{ "answer": "SELECT COUNT(time) FROM table_name_56 WHERE country = \"bolivia\" AND lane > 6", "context": "CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR)", "question": "For how long did Bolivia have a lane greater than 6?" }
### QUESTION What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? ### CONTEXT CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) ### ANSWER SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks"
{ "answer": "SELECT record FROM table_name_72 WHERE arena = \"arrowhead pond of anaheim\" AND opponent = \"sharks\"", "context": "CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR)", "question": "What was the record after the game against the Sharks at Arrowhead Pond of Anaheim?" }
### QUESTION What is week 7 when week 3 is 35.90? ### CONTEXT CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR) ### ANSWER SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90"
{ "answer": "SELECT week_7 FROM table_name_62 WHERE week_3 = \"35.90\"", "context": "CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR)", "question": "What is week 7 when week 3 is 35.90?" }
### QUESTION Find the name and email for the users who have more than one follower. ### CONTEXT CREATE TABLE follows (f1 VARCHAR); CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, uid VARCHAR) ### ANSWER SELECT T1.name, T1.email FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > 1
{ "answer": "SELECT T1.name, T1.email FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > 1", "context": "CREATE TABLE follows (f1 VARCHAR); CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, uid VARCHAR)", "question": "Find the name and email for the users who have more than one follower." }
### QUESTION What are the notes for svishtov , bulgaria? ### CONTEXT CREATE TABLE table_242785_1 (notes VARCHAR, main_legionary_base VARCHAR) ### ANSWER SELECT notes FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
{ "answer": "SELECT notes FROM table_242785_1 WHERE main_legionary_base = \"Svishtov , Bulgaria\"", "context": "CREATE TABLE table_242785_1 (notes VARCHAR, main_legionary_base VARCHAR)", "question": "What are the notes for svishtov , bulgaria?" }
### QUESTION What team did Russ Wiechnik, on the centre position, come from? ### CONTEXT CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR) ### ANSWER SELECT college_junior_club_team FROM table_1965650_11 WHERE position = "Centre" AND player = "Russ Wiechnik"
{ "answer": "SELECT college_junior_club_team FROM table_1965650_11 WHERE position = \"Centre\" AND player = \"Russ Wiechnik\"", "context": "CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)", "question": "What team did Russ Wiechnik, on the centre position, come from?" }
### QUESTION In which season did the évora settlements join the league? ### CONTEXT CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR) ### ANSWER SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
{ "answer": "SELECT season_joined_league FROM table_name_28 WHERE settlements = \"évora\"", "context": "CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR)", "question": "In which season did the évora settlements join the league?" }
### QUESTION What is the most stolen ends? ### CONTEXT CREATE TABLE table_29704430_1 (stolen_ends INTEGER) ### ANSWER SELECT MAX(stolen_ends) FROM table_29704430_1
{ "answer": "SELECT MAX(stolen_ends) FROM table_29704430_1", "context": "CREATE TABLE table_29704430_1 (stolen_ends INTEGER)", "question": "What is the most stolen ends?" }
### QUESTION Who was the runner-up when the margin was 1 stroke? ### CONTEXT CREATE TABLE table_name_1 (runner_s__up VARCHAR, margin VARCHAR) ### ANSWER SELECT runner_s__up FROM table_name_1 WHERE margin = "1 stroke"
{ "answer": "SELECT runner_s__up FROM table_name_1 WHERE margin = \"1 stroke\"", "context": "CREATE TABLE table_name_1 (runner_s__up VARCHAR, margin VARCHAR)", "question": "Who was the runner-up when the margin was 1 stroke?" }
### QUESTION What was the fastest lap time in the Escort Radar Warning 200? ### CONTEXT CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR) ### ANSWER SELECT fastest_lap FROM table_10706961_2 WHERE name = "Escort Radar Warning 200"
{ "answer": "SELECT fastest_lap FROM table_10706961_2 WHERE name = \"Escort Radar Warning 200\"", "context": "CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR)", "question": "What was the fastest lap time in the Escort Radar Warning 200?" }
### QUESTION Which Artist has an English translation of all this is music? ### CONTEXT CREATE TABLE table_name_92 (artist VARCHAR, english_translation VARCHAR) ### ANSWER SELECT artist FROM table_name_92 WHERE english_translation = "all this is music"
{ "answer": "SELECT artist FROM table_name_92 WHERE english_translation = \"all this is music\"", "context": "CREATE TABLE table_name_92 (artist VARCHAR, english_translation VARCHAR)", "question": "Which Artist has an English translation of all this is music?" }
### QUESTION What is the number of ends lost when there are 15 blank ends, less than 14 stolen ends? ### CONTEXT CREATE TABLE table_name_67 (ends_lost VARCHAR, blank_ends VARCHAR, stolen_ends VARCHAR) ### ANSWER SELECT COUNT(ends_lost) FROM table_name_67 WHERE blank_ends = 15 AND stolen_ends < 14
{ "answer": "SELECT COUNT(ends_lost) FROM table_name_67 WHERE blank_ends = 15 AND stolen_ends < 14", "context": "CREATE TABLE table_name_67 (ends_lost VARCHAR, blank_ends VARCHAR, stolen_ends VARCHAR)", "question": "What is the number of ends lost when there are 15 blank ends, less than 14 stolen ends?" }
### QUESTION What are the names of the stations which serve both "Ananthapuri Express" and "Guruvayur Express" trains? ### CONTEXT CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (train_id VARCHAR, Name VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) ### ANSWER SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T3.Name = "Ananthapuri Express" INTERSECT SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T3.Name = "Guruvayur Express"
{ "answer": "SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T3.Name = \"Ananthapuri Express\" INTERSECT SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T3.Name = \"Guruvayur Express\"", "context": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (train_id VARCHAR, Name VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)", "question": "What are the names of the stations which serve both \"Ananthapuri Express\" and \"Guruvayur Express\" trains?" }