text
stringlengths
146
1.06k
source
dict
### QUESTION What player has a no pick position in 1976? ### CONTEXT CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR) ### ANSWER SELECT player FROM table_name_33 WHERE position = "no pick" AND year = 1976
{ "answer": "SELECT player FROM table_name_33 WHERE position = \"no pick\" AND year = 1976", "context": "CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR)", "question": "What player has a no pick position in 1976?" }
### QUESTION Which ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas? ### CONTEXT CREATE TABLE table_name_54 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) ### ANSWER SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = "de queen, arkansas"
{ "answer": "SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = \"de queen, arkansas\"", "context": "CREATE TABLE table_name_54 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)", "question": "Which ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas?" }
### QUESTION Tell me the date for jody scheckter being the fastest lap at the french grand prix ### CONTEXT CREATE TABLE table_name_14 (date VARCHAR, fastest_lap VARCHAR, race VARCHAR) ### ANSWER SELECT date FROM table_name_14 WHERE fastest_lap = "jody scheckter" AND race = "french grand prix"
{ "answer": "SELECT date FROM table_name_14 WHERE fastest_lap = \"jody scheckter\" AND race = \"french grand prix\"", "context": "CREATE TABLE table_name_14 (date VARCHAR, fastest_lap VARCHAR, race VARCHAR)", "question": "Tell me the date for jody scheckter being the fastest lap at the french grand prix" }
### QUESTION How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? ### CONTEXT CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR) ### ANSWER SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre"
{ "answer": "SELECT crowd FROM table_name_94 WHERE away_team = \"south dragons\" AND venue = \"gold coast convention centre\"", "context": "CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR)", "question": "How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre?" }
### QUESTION For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years? ### CONTEXT CREATE TABLE table_name_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR) ### ANSWER SELECT AVG(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_1 WHERE end_of_fiscal_year > 1980 AND as__percentage_of_gdp_low_high = "83.4-84.4" AND debt_held_by_public__$billions_ < 7 OFFSET 552
{ "answer": "SELECT AVG(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_1 WHERE end_of_fiscal_year > 1980 AND as__percentage_of_gdp_low_high = \"83.4-84.4\" AND debt_held_by_public__$billions_ < 7 OFFSET 552", "context": "CREATE TABLE table_name_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR)", "question": "For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years?" }
### QUESTION What venue does the soccer team Pennsylvania Stoners play in? ### CONTEXT CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR) ### ANSWER SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners"
{ "answer": "SELECT venue FROM table_name_55 WHERE sport = \"soccer\" AND club = \"pennsylvania stoners\"", "context": "CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR)", "question": "What venue does the soccer team Pennsylvania Stoners play in?" }
### QUESTION What was France's highest score when the venue was Bokskogens? ### CONTEXT CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR) ### ANSWER SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens"
{ "answer": "SELECT MAX(score) FROM table_name_1 WHERE country = \"france\" AND venue = \"bokskogens\"", "context": "CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR)", "question": "What was France's highest score when the venue was Bokskogens?" }
### QUESTION What year did the university of Pittsburgh school join the hockey league? ### CONTEXT CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR) ### ANSWER SELECT joined_tschl FROM table_16384648_2 WHERE institution = "University of Pittsburgh"
{ "answer": "SELECT joined_tschl FROM table_16384648_2 WHERE institution = \"University of Pittsburgh\"", "context": "CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR)", "question": "What year did the university of Pittsburgh school join the hockey league? " }
### QUESTION Which Death date has a Place of death or residence of united states, and an Age (as of 1 February 2014) of 111 years, 61 days? ### CONTEXT CREATE TABLE table_name_49 (death_date VARCHAR, place_of_death_or_residence VARCHAR, age__as_of_1_february_2014_ VARCHAR) ### ANSWER SELECT death_date FROM table_name_49 WHERE place_of_death_or_residence = "united states" AND age__as_of_1_february_2014_ = "111 years, 61 days"
{ "answer": "SELECT death_date FROM table_name_49 WHERE place_of_death_or_residence = \"united states\" AND age__as_of_1_february_2014_ = \"111 years, 61 days\"", "context": "CREATE TABLE table_name_49 (death_date VARCHAR, place_of_death_or_residence VARCHAR, age__as_of_1_february_2014_ VARCHAR)", "question": "Which Death date has a Place of death or residence of united states, and an Age (as of 1 February 2014) of 111 years, 61 days?" }
### QUESTION How many division titles are there when the win pc is .558? ### CONTEXT CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR) ### ANSWER SELECT division_titles FROM table_19451173_1 WHERE win_pct = ".558"
{ "answer": "SELECT division_titles FROM table_19451173_1 WHERE win_pct = \".558\"", "context": "CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR)", "question": "How many division titles are there when the win pc is .558?" }
### QUESTION What is the green rating for the vehicle with L/100km urban (cold) over 10.9, mpg in the US (urban) over 14.1, manufacturer of Volkswagen, and engine capacity under 3189? ### CONTEXT CREATE TABLE table_name_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHAR) ### ANSWER SELECT green_rating FROM table_name_68 WHERE l_100km_urban__cold_ > 10.9 AND mpg_us_urban > 14.1 AND manufacturer = "volkswagen" AND engine_capacity < 3189
{ "answer": "SELECT green_rating FROM table_name_68 WHERE l_100km_urban__cold_ > 10.9 AND mpg_us_urban > 14.1 AND manufacturer = \"volkswagen\" AND engine_capacity < 3189", "context": "CREATE TABLE table_name_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHAR)", "question": "What is the green rating for the vehicle with L/100km urban (cold) over 10.9, mpg in the US (urban) over 14.1, manufacturer of Volkswagen, and engine capacity under 3189?" }
### QUESTION How many members of "Bootup Baltimore" are older than 18? ### CONTEXT CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) ### ANSWER SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age > 18
{ "answer": "SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Bootup Baltimore\" AND t3.age > 18", "context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)", "question": "How many members of \"Bootup Baltimore\" are older than 18?" }
### QUESTION Which Electrics has an Engine of 175cc, bhp (kw), and a Model Name of d10 sports & bushman? ### CONTEXT CREATE TABLE table_name_28 (electrics VARCHAR, engine VARCHAR, model_name VARCHAR) ### ANSWER SELECT electrics FROM table_name_28 WHERE engine = "175cc, bhp (kw)" AND model_name = "d10 sports & bushman"
{ "answer": "SELECT electrics FROM table_name_28 WHERE engine = \"175cc, bhp (kw)\" AND model_name = \"d10 sports & bushman\"", "context": "CREATE TABLE table_name_28 (electrics VARCHAR, engine VARCHAR, model_name VARCHAR)", "question": "Which Electrics has an Engine of 175cc, bhp (kw), and a Model Name of d10 sports & bushman?" }
### QUESTION Which School has a Year Joined larger than 1926, and a Mascot of vikings? ### CONTEXT CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) ### ANSWER SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"
{ "answer": "SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = \"vikings\"", "context": "CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)", "question": "Which School has a Year Joined larger than 1926, and a Mascot of vikings?" }
### QUESTION What is California State University, Hayward's new conference for Western Collegiate Lacrosse? ### CONTEXT CREATE TABLE table_14976504_2 (new_conference VARCHAR, institution VARCHAR) ### ANSWER SELECT new_conference FROM table_14976504_2 WHERE institution = "California State University, Hayward"
{ "answer": "SELECT new_conference FROM table_14976504_2 WHERE institution = \"California State University, Hayward\"", "context": "CREATE TABLE table_14976504_2 (new_conference VARCHAR, institution VARCHAR)", "question": "What is California State University, Hayward's new conference for Western Collegiate Lacrosse?" }
### QUESTION what is the number of draws for ali said gouled? ### CONTEXT CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled"
{ "answer": "SELECT COUNT(draws) FROM table_name_12 WHERE name = \"ali said gouled\"", "context": "CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR)", "question": "what is the number of draws for ali said gouled?" }
### QUESTION Which method was used when Rafael Cavalcante was the opponent? ### CONTEXT CREATE TABLE table_name_2 (method VARCHAR, opponent VARCHAR) ### ANSWER SELECT method FROM table_name_2 WHERE opponent = "rafael cavalcante"
{ "answer": "SELECT method FROM table_name_2 WHERE opponent = \"rafael cavalcante\"", "context": "CREATE TABLE table_name_2 (method VARCHAR, opponent VARCHAR)", "question": "Which method was used when Rafael Cavalcante was the opponent?" }
### QUESTION What is the number of English names that have a Traditional Chinese name of 全椒縣? ### CONTEXT CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR) ### ANSWER SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣"
{ "answer": "SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = \"全椒縣\"", "context": "CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)", "question": "What is the number of English names that have a Traditional Chinese name of 全椒縣?" }
### QUESTION Name the points for top tens being 24 and ownder david pearson ### CONTEXT CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR) ### ANSWER SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson"
{ "answer": "SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = \"David Pearson\"", "context": "CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR)", "question": "Name the points for top tens being 24 and ownder david pearson" }
### QUESTION What is the lowest 2013 population estimate of the province with a 23.7 percentage? ### CONTEXT CREATE TABLE table_name_57 (population_estimate__2013_ INTEGER, percentage VARCHAR) ### ANSWER SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7
{ "answer": "SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7", "context": "CREATE TABLE table_name_57 (population_estimate__2013_ INTEGER, percentage VARCHAR)", "question": "What is the lowest 2013 population estimate of the province with a 23.7 percentage?" }
### QUESTION Which exaltation has a fall of moon? ### CONTEXT CREATE TABLE table_name_21 (exaltation VARCHAR, fall VARCHAR) ### ANSWER SELECT exaltation FROM table_name_21 WHERE fall = "moon"
{ "answer": "SELECT exaltation FROM table_name_21 WHERE fall = \"moon\"", "context": "CREATE TABLE table_name_21 (exaltation VARCHAR, fall VARCHAR)", "question": "Which exaltation has a fall of moon?" }
### QUESTION What is the modern german standard wording for the german based writing system 2 phrase "wie mir die vergewwe wu uns schuldich sinn."? ### CONTEXT CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, writing_system_2__german_based_ VARCHAR) ### ANSWER SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE writing_system_2__german_based_ = "wie mir die vergewwe wu uns schuldich sinn."
{ "answer": "SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE writing_system_2__german_based_ = \"wie mir die vergewwe wu uns schuldich sinn.\"", "context": "CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, writing_system_2__german_based_ VARCHAR)", "question": "What is the modern german standard wording for the german based writing system 2 phrase \"wie mir die vergewwe wu uns schuldich sinn.\"?" }
### QUESTION Which authors belong to the institution "Google"? Show the first names and last names. ### CONTEXT CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR) ### ANSWER SELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Google"
{ "answer": "SELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = \"Google\"", "context": "CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR)", "question": "Which authors belong to the institution \"Google\"? Show the first names and last names." }
### QUESTION What is the total losses against 1412, and 10 wins, but draws less than 0? ### CONTEXT CREATE TABLE table_name_56 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) ### ANSWER SELECT SUM(losses) FROM table_name_56 WHERE against > 1412 AND wins = 10 AND draws < 0
{ "answer": "SELECT SUM(losses) FROM table_name_56 WHERE against > 1412 AND wins = 10 AND draws < 0", "context": "CREATE TABLE table_name_56 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)", "question": "What is the total losses against 1412, and 10 wins, but draws less than 0?" }
### QUESTION Name the least number for production code for 3abc21 ### CONTEXT CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) ### ANSWER SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC21"
{ "answer": "SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = \"3ABC21\"", "context": "CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)", "question": "Name the least number for production code for 3abc21" }
### QUESTION On what Surface will the Venezuela F5 Futures in Caracas be played? ### CONTEXT CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR) ### ANSWER SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
{ "answer": "SELECT surface FROM table_name_30 WHERE city = \"caracas\" AND tournament = \"venezuela f5 futures\"", "context": "CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)", "question": "On what Surface will the Venezuela F5 Futures in Caracas be played?" }
### QUESTION Which languages are spoken by only one country in republic governments? ### CONTEXT CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR) ### ANSWER SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = "Republic" GROUP BY T2.Language HAVING COUNT(*) = 1
{ "answer": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = \"Republic\" GROUP BY T2.Language HAVING COUNT(*) = 1", "context": "CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR)", "question": "Which languages are spoken by only one country in republic governments?" }
### QUESTION Name the Gold which has a Nation of australia, and a Bronze smaller than 1? ### CONTEXT CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR) ### ANSWER SELECT MIN(gold) FROM table_name_64 WHERE nation = "australia" AND bronze < 1
{ "answer": "SELECT MIN(gold) FROM table_name_64 WHERE nation = \"australia\" AND bronze < 1", "context": "CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR)", "question": "Name the Gold which has a Nation of australia, and a Bronze smaller than 1?" }
### QUESTION What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460? ### CONTEXT CREATE TABLE table_name_66 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR) ### ANSWER SELECT COUNT(area_km_2) FROM table_name_66 WHERE census_ranking = "3,129 of 5,008" AND population > 460
{ "answer": "SELECT COUNT(area_km_2) FROM table_name_66 WHERE census_ranking = \"3,129 of 5,008\" AND population > 460", "context": "CREATE TABLE table_name_66 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)", "question": "What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460?" }
### QUESTION What is the average Joined with a Nickname of wildcats in longmeadow, massachusetts? ### CONTEXT CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR) ### ANSWER SELECT AVG(joined) FROM table_name_55 WHERE nickname = "wildcats" AND location = "longmeadow, massachusetts"
{ "answer": "SELECT AVG(joined) FROM table_name_55 WHERE nickname = \"wildcats\" AND location = \"longmeadow, massachusetts\"", "context": "CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR)", "question": "What is the average Joined with a Nickname of wildcats in longmeadow, massachusetts?" }
### QUESTION How many totals have a Silver of 40, and a Gold smaller than 39? ### CONTEXT CREATE TABLE table_name_21 (total VARCHAR, silver VARCHAR, gold VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_21 WHERE silver = 40 AND gold < 39
{ "answer": "SELECT COUNT(total) FROM table_name_21 WHERE silver = 40 AND gold < 39", "context": "CREATE TABLE table_name_21 (total VARCHAR, silver VARCHAR, gold VARCHAR)", "question": "How many totals have a Silver of 40, and a Gold smaller than 39?" }
### QUESTION What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? ### CONTEXT CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR) ### ANSWER SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein"
{ "answer": "SELECT office FROM table_name_55 WHERE socialist_workers_ticket = \"sylvia weinstein\"", "context": "CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR)", "question": "What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket?" }
### QUESTION Name the number of teams for 11th position september 10 ### CONTEXT CREATE TABLE table_25361570_2 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR) ### ANSWER SELECT COUNT(team) FROM table_25361570_2 WHERE position_in_table = "11th" AND date_of_appointment = "September 10"
{ "answer": "SELECT COUNT(team) FROM table_25361570_2 WHERE position_in_table = \"11th\" AND date_of_appointment = \"September 10\"", "context": "CREATE TABLE table_25361570_2 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR)", "question": "Name the number of teams for 11th position september 10" }
### QUESTION What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'? ### CONTEXT CREATE TABLE customer_master_index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE cmi_cross_references (source_system_code VARCHAR, master_customer_id VARCHAR) ### ANSWER SELECT DISTINCT T2.source_system_code FROM customer_master_index AS T1 JOIN cmi_cross_references AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T1.cmi_details = 'Gottlieb , Becker and Wyman'
{ "answer": "SELECT DISTINCT T2.source_system_code FROM customer_master_index AS T1 JOIN cmi_cross_references AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T1.cmi_details = 'Gottlieb , Becker and Wyman'", "context": "CREATE TABLE customer_master_index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE cmi_cross_references (source_system_code VARCHAR, master_customer_id VARCHAR)", "question": "What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'?" }
### QUESTION When did Robert G. Miner present his credentials? ### CONTEXT CREATE TABLE table_name_62 (presentation_of_credentials VARCHAR, name VARCHAR) ### ANSWER SELECT presentation_of_credentials FROM table_name_62 WHERE name = "robert g. miner"
{ "answer": "SELECT presentation_of_credentials FROM table_name_62 WHERE name = \"robert g. miner\"", "context": "CREATE TABLE table_name_62 (presentation_of_credentials VARCHAR, name VARCHAR)", "question": "When did Robert G. Miner present his credentials?" }
### QUESTION List the name of all tracks in the playlists of Movies. ### CONTEXT CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) ### ANSWER SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = "Movies"
{ "answer": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = \"Movies\"", "context": "CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)", "question": "List the name of all tracks in the playlists of Movies." }
### QUESTION What tournament was on May 31, 1987? ### CONTEXT CREATE TABLE table_name_93 (tournament VARCHAR, date VARCHAR) ### ANSWER SELECT tournament FROM table_name_93 WHERE date = "may 31, 1987"
{ "answer": "SELECT tournament FROM table_name_93 WHERE date = \"may 31, 1987\"", "context": "CREATE TABLE table_name_93 (tournament VARCHAR, date VARCHAR)", "question": "What tournament was on May 31, 1987?" }
### QUESTION When steve mcclaren is the replacer what is the manner of departure? ### CONTEXT CREATE TABLE table_24162080_3 (manner_of_departure VARCHAR, replaced_by VARCHAR) ### ANSWER SELECT manner_of_departure FROM table_24162080_3 WHERE replaced_by = "Steve McClaren"
{ "answer": "SELECT manner_of_departure FROM table_24162080_3 WHERE replaced_by = \"Steve McClaren\"", "context": "CREATE TABLE table_24162080_3 (manner_of_departure VARCHAR, replaced_by VARCHAR)", "question": "When steve mcclaren is the replacer what is the manner of departure?" }
### QUESTION What is the name and job title of the staff who was assigned the latest? ### CONTEXT CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR) ### ANSWER SELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1
{ "answer": "SELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1", "context": "CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR)", "question": "What is the name and job title of the staff who was assigned the latest?" }
### QUESTION What is every country with a flag with population of 11346670? ### CONTEXT CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR) ### ANSWER SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670
{ "answer": "SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670", "context": "CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR)", "question": "What is every country with a flag with population of 11346670?" }
### QUESTION How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983? ### CONTEXT CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, june_10_11 VARCHAR) ### ANSWER SELECT COUNT(august_21_22) FROM table_25287007_2 WHERE june_10_11 = "June 11, 1983"
{ "answer": "SELECT COUNT(august_21_22) FROM table_25287007_2 WHERE june_10_11 = \"June 11, 1983\"", "context": "CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, june_10_11 VARCHAR)", "question": "How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?" }
### QUESTION Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? ### CONTEXT CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) ### ANSWER SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0
{ "answer": "SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0", "context": "CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)", "question": "Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?" }
### QUESTION What date was the ship named Manhattan completed? ### CONTEXT CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR) ### ANSWER SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"
{ "answer": "SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = \"manhattan\"", "context": "CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)", "question": "What date was the ship named Manhattan completed?" }
### QUESTION Show the minimum, average, maximum order quantity of all invoices. ### CONTEXT CREATE TABLE INVOICES (Order_Quantity INTEGER) ### ANSWER SELECT MIN(Order_Quantity), AVG(Order_Quantity), MAX(Order_Quantity) FROM INVOICES
{ "answer": "SELECT MIN(Order_Quantity), AVG(Order_Quantity), MAX(Order_Quantity) FROM INVOICES", "context": "CREATE TABLE INVOICES (Order_Quantity INTEGER)", "question": "Show the minimum, average, maximum order quantity of all invoices." }
### QUESTION I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected ### CONTEXT CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) ### ANSWER SELECT condition FROM table_name_75 WHERE prothrombin_time = "unaffected" AND bleeding_time = "prolonged" AND partial_thromboplastin_time = "unaffected" AND platelet_count = "decreased or unaffected"
{ "answer": "SELECT condition FROM table_name_75 WHERE prothrombin_time = \"unaffected\" AND bleeding_time = \"prolonged\" AND partial_thromboplastin_time = \"unaffected\" AND platelet_count = \"decreased or unaffected\"", "context": "CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)", "question": "I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected" }
### QUESTION Name the year for spiele leben ### CONTEXT CREATE TABLE table_16255245_1 (year__ceremony_ VARCHAR, original_title VARCHAR) ### ANSWER SELECT year__ceremony_ FROM table_16255245_1 WHERE original_title = "Spiele Leben"
{ "answer": "SELECT year__ceremony_ FROM table_16255245_1 WHERE original_title = \"Spiele Leben\"", "context": "CREATE TABLE table_16255245_1 (year__ceremony_ VARCHAR, original_title VARCHAR)", "question": "Name the year for spiele leben" }
### QUESTION Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes ### CONTEXT CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR) ### ANSWER SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes"
{ "answer": "SELECT sydney FROM table_name_53 WHERE perth = \"no\" AND adelaide = \"no\" AND melbourne = \"yes\" AND gold_coast = \"yes\"", "context": "CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR)", "question": "Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes" }
### QUESTION What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player? ### CONTEXT CREATE TABLE table_name_75 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) ### ANSWER SELECT nationality FROM table_name_75 WHERE position = "left wing" AND round > 4 AND player = "mattia baldi"
{ "answer": "SELECT nationality FROM table_name_75 WHERE position = \"left wing\" AND round > 4 AND player = \"mattia baldi\"", "context": "CREATE TABLE table_name_75 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)", "question": "What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?" }
### QUESTION How much money does the player with a 68-67-69-71=275 score have? ### CONTEXT CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR) ### ANSWER SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275
{ "answer": "SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275", "context": "CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR)", "question": "How much money does the player with a 68-67-69-71=275 score have?" }
### QUESTION What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5? ### CONTEXT CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR) ### ANSWER SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 5
{ "answer": "SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = \"arsine\" AND field_stability < 5", "context": "CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)", "question": "What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?" }
### QUESTION What is the original air date of # 6? ### CONTEXT CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR) ### ANSWER SELECT original_airdate FROM table_27547668_2 WHERE _number = 6
{ "answer": "SELECT original_airdate FROM table_27547668_2 WHERE _number = 6", "context": "CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)", "question": "What is the original air date of # 6?" }
### QUESTION Name the most game for december 1 ### CONTEXT CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR) ### ANSWER SELECT MAX(game) FROM table_27722734_7 WHERE date = "December 1"
{ "answer": "SELECT MAX(game) FROM table_27722734_7 WHERE date = \"December 1\"", "context": "CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR)", "question": "Name the most game for december 1" }
### QUESTION Which district has a Democratic incumbent that was first elected before 1996? ### CONTEXT CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR) ### ANSWER SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996
{ "answer": "SELECT district FROM table_name_62 WHERE party = \"democratic\" AND first_elected < 1996", "context": "CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR)", "question": "Which district has a Democratic incumbent that was first elected before 1996?" }
### QUESTION What date was the match where Daniel Gimeno-Traver's partner was pere riba? ### CONTEXT CREATE TABLE table_name_26 (date VARCHAR, partner VARCHAR) ### ANSWER SELECT date FROM table_name_26 WHERE partner = "pere riba"
{ "answer": "SELECT date FROM table_name_26 WHERE partner = \"pere riba\"", "context": "CREATE TABLE table_name_26 (date VARCHAR, partner VARCHAR)", "question": "What date was the match where Daniel Gimeno-Traver's partner was pere riba?" }
### QUESTION Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? ### CONTEXT CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR) ### ANSWER SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)"
{ "answer": "SELECT opponents_in_the_final FROM table_name_63 WHERE partner = \"katarina srebotnik\" AND championship = \"wimbledon (4)\"", "context": "CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)", "question": "Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?" }
### QUESTION Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano? ### CONTEXT CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) ### ANSWER SELECT winner FROM table_name_45 WHERE points_classification = "robbie mcewen" AND mountains_classification = "josé rujano"
{ "answer": "SELECT winner FROM table_name_45 WHERE points_classification = \"robbie mcewen\" AND mountains_classification = \"josé rujano\"", "context": "CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)", "question": "Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano?" }
### QUESTION Show the names of customers having an order with shipping method FedEx and order status Paid. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR) ### ANSWER SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE shipping_method_code = 'FedEx' AND order_status_code = 'Paid'
{ "answer": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE shipping_method_code = 'FedEx' AND order_status_code = 'Paid'", "context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)", "question": "Show the names of customers having an order with shipping method FedEx and order status Paid." }
### QUESTION What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway? ### CONTEXT CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR) ### ANSWER SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway"
{ "answer": "SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = \"cargo ship\" AND nationality = \"norway\"", "context": "CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)", "question": "What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?" }
### QUESTION Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? ### CONTEXT CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR) ### ANSWER SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2
{ "answer": "SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2", "context": "CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR)", "question": "Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?" }
### QUESTION What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport? ### CONTEXT CREATE TABLE table_name_58 (city VARCHAR, country VARCHAR, airport VARCHAR) ### ANSWER SELECT city FROM table_name_58 WHERE country = "india" AND airport = "sardar vallabhbhai patel international airport"
{ "answer": "SELECT city FROM table_name_58 WHERE country = \"india\" AND airport = \"sardar vallabhbhai patel international airport\"", "context": "CREATE TABLE table_name_58 (city VARCHAR, country VARCHAR, airport VARCHAR)", "question": "What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?" }
### QUESTION Name least series number for writers david e. kelley & jill goldsmith ### CONTEXT CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR) ### ANSWER SELECT MIN(series__number) FROM table_23286722_1 WHERE written_by = "David E. Kelley & Jill Goldsmith"
{ "answer": "SELECT MIN(series__number) FROM table_23286722_1 WHERE written_by = \"David E. Kelley & Jill Goldsmith\"", "context": "CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR)", "question": "Name least series number for writers david e. kelley & jill goldsmith" }
### QUESTION which Completion % has a Yards of 2,175? ### CONTEXT CREATE TABLE table_name_57 (completion__percentage VARCHAR, yards VARCHAR) ### ANSWER SELECT completion__percentage FROM table_name_57 WHERE yards = "2,175"
{ "answer": "SELECT completion__percentage FROM table_name_57 WHERE yards = \"2,175\"", "context": "CREATE TABLE table_name_57 (completion__percentage VARCHAR, yards VARCHAR)", "question": "which Completion % has a Yards of 2,175?" }
### QUESTION Show the residences that have both a player of gender "M" and a player of gender "F". ### CONTEXT CREATE TABLE player (Residence VARCHAR, gender VARCHAR) ### ANSWER SELECT Residence FROM player WHERE gender = "M" INTERSECT SELECT Residence FROM player WHERE gender = "F"
{ "answer": "SELECT Residence FROM player WHERE gender = \"M\" INTERSECT SELECT Residence FROM player WHERE gender = \"F\"", "context": "CREATE TABLE player (Residence VARCHAR, gender VARCHAR)", "question": "Show the residences that have both a player of gender \"M\" and a player of gender \"F\"." }
### QUESTION Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000. ### CONTEXT CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR) ### ANSWER SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000
{ "answer": "SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000", "context": "CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)", "question": "Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000." }
### QUESTION What team was Bodine in when he had an average finish of 8.3? ### CONTEXT CREATE TABLE table_2387790_2 (team_s_ VARCHAR, avg_finish VARCHAR) ### ANSWER SELECT team_s_ FROM table_2387790_2 WHERE avg_finish = "8.3"
{ "answer": "SELECT team_s_ FROM table_2387790_2 WHERE avg_finish = \"8.3\"", "context": "CREATE TABLE table_2387790_2 (team_s_ VARCHAR, avg_finish VARCHAR)", "question": "What team was Bodine in when he had an average finish of 8.3?" }
### QUESTION How many age figures for the player fired in week 6? ### CONTEXT CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR) ### ANSWER SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6"
{ "answer": "SELECT COUNT(age) FROM table_24501530_1 WHERE result = \"Fired in week 6\"", "context": "CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR)", "question": "How many age figures for the player fired in week 6?" }
### QUESTION What is the total number played with 8 points and a position more than 6? ### CONTEXT CREATE TABLE table_name_90 (played VARCHAR, points VARCHAR, position VARCHAR) ### ANSWER SELECT COUNT(played) FROM table_name_90 WHERE points = 8 AND position > 6
{ "answer": "SELECT COUNT(played) FROM table_name_90 WHERE points = 8 AND position > 6", "context": "CREATE TABLE table_name_90 (played VARCHAR, points VARCHAR, position VARCHAR)", "question": "What is the total number played with 8 points and a position more than 6?" }
### QUESTION What is the name of the away captain when the game was at Adelaide Oval? ### CONTEXT CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR) ### ANSWER SELECT away_captain FROM table_name_5 WHERE venue = "adelaide oval"
{ "answer": "SELECT away_captain FROM table_name_5 WHERE venue = \"adelaide oval\"", "context": "CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR)", "question": "What is the name of the away captain when the game was at Adelaide Oval?" }
### QUESTION What is the highest Bush#, when Others% is "1.7%", when Others# is less than 75, and when Kerry# is greater than 1,524? ### CONTEXT CREATE TABLE table_name_85 (bush_number INTEGER, kerry_number VARCHAR, others_percentage VARCHAR, others_number VARCHAR) ### ANSWER SELECT MAX(bush_number) FROM table_name_85 WHERE others_percentage = "1.7%" AND others_number < 75 AND kerry_number > 1 OFFSET 524
{ "answer": "SELECT MAX(bush_number) FROM table_name_85 WHERE others_percentage = \"1.7%\" AND others_number < 75 AND kerry_number > 1 OFFSET 524", "context": "CREATE TABLE table_name_85 (bush_number INTEGER, kerry_number VARCHAR, others_percentage VARCHAR, others_number VARCHAR)", "question": "What is the highest Bush#, when Others% is \"1.7%\", when Others# is less than 75, and when Kerry# is greater than 1,524?" }
### QUESTION Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? ### CONTEXT CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) ### ANSWER SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767
{ "answer": "SELECT AVG(population) FROM table_name_54 WHERE median_household_income = \"$40,340\" AND number_of_households < 64 OFFSET 767", "context": "CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)", "question": "Median household income of $40,340, and a Number of households smaller than 64,767 is what average population?" }
### QUESTION What is the name of the national final main host at BBC Television Centre, and the selection show was Eurovision: Your Country Needs You? ### CONTEXT CREATE TABLE table_name_75 (national_final_main_host VARCHAR, venue VARCHAR, selection_show VARCHAR) ### ANSWER SELECT national_final_main_host FROM table_name_75 WHERE venue = "bbc television centre" AND selection_show = "eurovision: your country needs you"
{ "answer": "SELECT national_final_main_host FROM table_name_75 WHERE venue = \"bbc television centre\" AND selection_show = \"eurovision: your country needs you\"", "context": "CREATE TABLE table_name_75 (national_final_main_host VARCHAR, venue VARCHAR, selection_show VARCHAR)", "question": "What is the name of the national final main host at BBC Television Centre, and the selection show was Eurovision: Your Country Needs You?" }
### QUESTION Show headquarters with at least two companies in the banking industry. ### CONTEXT CREATE TABLE company (headquarters VARCHAR, main_industry VARCHAR) ### ANSWER SELECT headquarters FROM company WHERE main_industry = 'Banking' GROUP BY headquarters HAVING COUNT(*) >= 2
{ "answer": "SELECT headquarters FROM company WHERE main_industry = 'Banking' GROUP BY headquarters HAVING COUNT(*) >= 2", "context": "CREATE TABLE company (headquarters VARCHAR, main_industry VARCHAR)", "question": "Show headquarters with at least two companies in the banking industry." }
### QUESTION Find the number of dog pets that are raised by female students (with sex F). ### CONTEXT CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR) ### ANSWER SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'
{ "answer": "SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog'", "context": "CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR)", "question": "Find the number of dog pets that are raised by female students (with sex F)." }
### QUESTION Who was the away team at Arden Street Oval? ### CONTEXT CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR) ### ANSWER SELECT away_team FROM table_name_20 WHERE venue = "arden street oval"
{ "answer": "SELECT away_team FROM table_name_20 WHERE venue = \"arden street oval\"", "context": "CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR)", "question": "Who was the away team at Arden Street Oval?" }
### QUESTION Find the name of the club that has the most female students. ### CONTEXT CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) ### ANSWER SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = \"F\" GROUP BY t1.clubname ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)", "question": "Find the name of the club that has the most female students." }
### QUESTION What is the high loss total for players with zero wins and a win % greater than 0? ### CONTEXT CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR) ### ANSWER SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0
{ "answer": "SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0", "context": "CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR)", "question": "What is the high loss total for players with zero wins and a win % greater than 0?" }
### QUESTION What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902? ### CONTEXT CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR) ### ANSWER SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
{ "answer": "SELECT date_of_birth FROM table_name_66 WHERE begin_date = \"april 24, 1902\"", "context": "CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR)", "question": "What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?" }
### QUESTION Where is the Holy Cross of Davao College campus located? ### CONTEXT CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR) ### ANSWER SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"
{ "answer": "SELECT province_region FROM table_name_42 WHERE home_campus = \"holy cross of davao college\"", "context": "CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)", "question": "Where is the Holy Cross of Davao College campus located?" }
### QUESTION What is the attendance of the game with the NY Islanders as home team? ### CONTEXT CREATE TABLE table_name_59 (attendance VARCHAR, home VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_59 WHERE home = "ny islanders"
{ "answer": "SELECT COUNT(attendance) FROM table_name_59 WHERE home = \"ny islanders\"", "context": "CREATE TABLE table_name_59 (attendance VARCHAR, home VARCHAR)", "question": "What is the attendance of the game with the NY Islanders as home team?" }
### QUESTION How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta? ### CONTEXT CREATE TABLE table_28793672_1 (golden_tickets VARCHAR, callback_venue VARCHAR) ### ANSWER SELECT COUNT(golden_tickets) FROM table_28793672_1 WHERE callback_venue = "RCTI Studio, Jakarta"
{ "answer": "SELECT COUNT(golden_tickets) FROM table_28793672_1 WHERE callback_venue = \"RCTI Studio, Jakarta\"", "context": "CREATE TABLE table_28793672_1 (golden_tickets VARCHAR, callback_venue VARCHAR)", "question": "How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta?" }
### QUESTION What is the time for Adi Bichman? ### CONTEXT CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR) ### ANSWER SELECT time FROM table_name_28 WHERE name = "adi bichman"
{ "answer": "SELECT time FROM table_name_28 WHERE name = \"adi bichman\"", "context": "CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR)", "question": "What is the time for Adi Bichman?" }
### QUESTION Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold? ### CONTEXT CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR) ### ANSWER SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold"
{ "answer": "SELECT incumbent FROM table_2668336_19 WHERE candidates = \"John Murray (DR) 50.4% George Denison (DR) 49.6%\" AND result = \"Retired Democratic-Republican hold\"", "context": "CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR)", "question": "Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?" }
### QUESTION What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian? ### CONTEXT CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR) ### ANSWER SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"
{ "answer": "SELECT position FROM table_name_13 WHERE club_team = \"warroad lakers\" AND name = \"roger christian\"", "context": "CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)", "question": "What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?" }
### QUESTION what is the mccain % where obama got 19.3% ### CONTEXT CREATE TABLE table_20424014_1 (mccain__percentage VARCHAR, obama__percentage VARCHAR) ### ANSWER SELECT mccain__percentage FROM table_20424014_1 WHERE obama__percentage = "19.3%"
{ "answer": "SELECT mccain__percentage FROM table_20424014_1 WHERE obama__percentage = \"19.3%\"", "context": "CREATE TABLE table_20424014_1 (mccain__percentage VARCHAR, obama__percentage VARCHAR)", "question": "what is the mccain % where obama got 19.3%" }
### QUESTION How many records are there for the game on november 24? ### CONTEXT CREATE TABLE table_27715173_6 (record VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(record) FROM table_27715173_6 WHERE date = "November 24"
{ "answer": "SELECT COUNT(record) FROM table_27715173_6 WHERE date = \"November 24\"", "context": "CREATE TABLE table_27715173_6 (record VARCHAR, date VARCHAR)", "question": "How many records are there for the game on november 24?" }
### QUESTION What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4? ### CONTEXT CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR) ### ANSWER SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4
{ "answer": "SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4", "context": "CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR)", "question": "What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4?" }
### QUESTION Which player is the centre for the Detroit Red Wings? ### CONTEXT CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR) ### ANSWER SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings"
{ "answer": "SELECT player FROM table_2897457_4 WHERE position = \"Centre\" AND nhl_team = \"Detroit Red Wings\"", "context": "CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)", "question": "Which player is the centre for the Detroit Red Wings?" }
### QUESTION What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012? ### CONTEXT CREATE TABLE table_name_99 (country VARCHAR) ### ANSWER SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4
{ "answer": "SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = \"russia\" AND 2012 < 4", "context": "CREATE TABLE table_name_99 (country VARCHAR)", "question": "What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?" }
### QUESTION Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in? ### CONTEXT CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR) ### ANSWER SELECT MIN(goals) FROM table_name_92 WHERE matches = "16" AND scorer = "park sang-in"
{ "answer": "SELECT MIN(goals) FROM table_name_92 WHERE matches = \"16\" AND scorer = \"park sang-in\"", "context": "CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR)", "question": "Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?" }
### QUESTION What is the date construction is completed in Jo Daviess county? ### CONTEXT CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR) ### ANSWER SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess"
{ "answer": "SELECT construction_completed FROM table_name_70 WHERE county = \"jo daviess\"", "context": "CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR)", "question": "What is the date construction is completed in Jo Daviess county?" }
### QUESTION Tell me the lowest tries for goals more than 0 with centre position and points less than 54 ### CONTEXT CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR) ### ANSWER SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54
{ "answer": "SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = \"centre\" AND points < 54", "context": "CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)", "question": "Tell me the lowest tries for goals more than 0 with centre position and points less than 54" }
### QUESTION What score did the away team receive against home team Port Adelaide? ### CONTEXT CREATE TABLE table_16388478_3 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_16388478_3 WHERE home_team = "Port Adelaide"
{ "answer": "SELECT away_team AS score FROM table_16388478_3 WHERE home_team = \"Port Adelaide\"", "context": "CREATE TABLE table_16388478_3 (away_team VARCHAR, home_team VARCHAR)", "question": "What score did the away team receive against home team Port Adelaide?" }
### QUESTION What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún? ### CONTEXT CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) ### ANSWER SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciún"
{ "answer": "SELECT score FROM table_name_48 WHERE surface = \"clay\" AND outcome = \"winner\" AND tournament = \"ciudad juárez\" AND opponent_in_the_final = \"estefania craciún\"", "context": "CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)", "question": "What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?" }
### QUESTION What is 2005, when 2006 is "1R"? ### CONTEXT CREATE TABLE table_name_73 (Id VARCHAR) ### ANSWER SELECT 2005 FROM table_name_73 WHERE 2006 = "1r"
{ "answer": "SELECT 2005 FROM table_name_73 WHERE 2006 = \"1r\"", "context": "CREATE TABLE table_name_73 (Id VARCHAR)", "question": "What is 2005, when 2006 is \"1R\"?" }
### QUESTION What's the name of the central bank in the country where Colombian Peso (cop) is the local currency? ### CONTEXT CREATE TABLE table_1222653_10 (central_bank VARCHAR, currency VARCHAR) ### ANSWER SELECT central_bank FROM table_1222653_10 WHERE currency = "Colombian peso (COP)"
{ "answer": "SELECT central_bank FROM table_1222653_10 WHERE currency = \"Colombian peso (COP)\"", "context": "CREATE TABLE table_1222653_10 (central_bank VARCHAR, currency VARCHAR)", "question": "What's the name of the central bank in the country where Colombian Peso (cop) is the local currency?" }
### QUESTION How many DVDs where were in the complete collection series 1-8 with extras? ### CONTEXT CREATE TABLE table_25721_4 (_number_of_discs VARCHAR, release VARCHAR) ### ANSWER SELECT _number_of_discs FROM table_25721_4 WHERE release = "The Complete Collection Series 1-8 with extras"
{ "answer": "SELECT _number_of_discs FROM table_25721_4 WHERE release = \"The Complete Collection Series 1-8 with extras\"", "context": "CREATE TABLE table_25721_4 (_number_of_discs VARCHAR, release VARCHAR)", "question": "How many DVDs where were in the complete collection series 1-8 with extras?" }
### QUESTION Which match did FCR 2001 Duisburg participate as the opponent? ### CONTEXT CREATE TABLE table_name_39 (match INTEGER, opponent VARCHAR) ### ANSWER SELECT SUM(match) FROM table_name_39 WHERE opponent = "fcr 2001 duisburg"
{ "answer": "SELECT SUM(match) FROM table_name_39 WHERE opponent = \"fcr 2001 duisburg\"", "context": "CREATE TABLE table_name_39 (match INTEGER, opponent VARCHAR)", "question": "Which match did FCR 2001 Duisburg participate as the opponent?" }
### QUESTION Name the total number of pinyin for hsin-yüan-i-ma ### CONTEXT CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR) ### ANSWER SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = "hsin-yüan-i-ma"
{ "answer": "SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = \"hsin-yüan-i-ma\"", "context": "CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)", "question": "Name the total number of pinyin for hsin-yüan-i-ma" }
### QUESTION Who was eliminated by being pinned after a spear at 22:50? ### CONTEXT CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR) ### ANSWER SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = "Pinned after a spear" AND time = "22:50"
{ "answer": "SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = \"Pinned after a spear\" AND time = \"22:50\"", "context": "CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR)", "question": "Who was eliminated by being pinned after a spear at 22:50?" }
### QUESTION WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ? ### CONTEXT CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo"
{ "answer": "SELECT score FROM table_name_80 WHERE tournament = \"sant cugat\" AND opponent_in_the_final = \"jose checa-calvo\"", "context": "CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)", "question": "WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ?" }