text
stringlengths
146
1.06k
source
dict
### QUESTION What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? ### CONTEXT CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) ### ANSWER SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9
{ "answer": "SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9", "context": "CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)", "question": "What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9?" }
### QUESTION Which decile has an Area of welcome bay, and an Authority of state? ### CONTEXT CREATE TABLE table_name_62 (decile VARCHAR, area VARCHAR, authority VARCHAR) ### ANSWER SELECT decile FROM table_name_62 WHERE area = "welcome bay" AND authority = "state"
{ "answer": "SELECT decile FROM table_name_62 WHERE area = \"welcome bay\" AND authority = \"state\"", "context": "CREATE TABLE table_name_62 (decile VARCHAR, area VARCHAR, authority VARCHAR)", "question": "Which decile has an Area of welcome bay, and an Authority of state?" }
### QUESTION Which wicket had 580 runs? ### CONTEXT CREATE TABLE table_name_85 (wicket VARCHAR, runs VARCHAR) ### ANSWER SELECT wicket FROM table_name_85 WHERE runs = "580"
{ "answer": "SELECT wicket FROM table_name_85 WHERE runs = \"580\"", "context": "CREATE TABLE table_name_85 (wicket VARCHAR, runs VARCHAR)", "question": "Which wicket had 580 runs?" }
### QUESTION What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings? ### CONTEXT CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR) ### ANSWER SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings"
{ "answer": "SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = \"lakefront office buildings\"", "context": "CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)", "question": "What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?" }
### QUESTION Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best? ### CONTEXT CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR) ### ANSWER SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384
{ "answer": "SELECT MIN(best) FROM table_name_34 WHERE team = \"n/h/l racing\" AND name = \"graham rahal\" AND qual_2 > 59.384", "context": "CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)", "question": "Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best?" }
### QUESTION What is the Score of the game against the boston celtics? ### CONTEXT CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) ### ANSWER SELECT score FROM table_name_58 WHERE opponent = "boston celtics"
{ "answer": "SELECT score FROM table_name_58 WHERE opponent = \"boston celtics\"", "context": "CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)", "question": "What is the Score of the game against the boston celtics?" }
### QUESTION who had the pole position at rockingham circuit with adam christodoulou having the fastest lap? ### CONTEXT CREATE TABLE table_name_10 (pole_position VARCHAR, fastest_lap VARCHAR, circuit VARCHAR) ### ANSWER SELECT pole_position FROM table_name_10 WHERE fastest_lap = "adam christodoulou" AND circuit = "rockingham"
{ "answer": "SELECT pole_position FROM table_name_10 WHERE fastest_lap = \"adam christodoulou\" AND circuit = \"rockingham\"", "context": "CREATE TABLE table_name_10 (pole_position VARCHAR, fastest_lap VARCHAR, circuit VARCHAR)", "question": "who had the pole position at rockingham circuit with adam christodoulou having the fastest lap?" }
### QUESTION What is the cell phone number of the student whose address has the lowest monthly rental? ### CONTEXT CREATE TABLE Students (cell_mobile_number VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR, monthly_rental VARCHAR) ### ANSWER SELECT T2.cell_mobile_number FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.monthly_rental LIMIT 1
{ "answer": "SELECT T2.cell_mobile_number FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.monthly_rental LIMIT 1", "context": "CREATE TABLE Students (cell_mobile_number VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR, monthly_rental VARCHAR)", "question": "What is the cell phone number of the student whose address has the lowest monthly rental?" }
### QUESTION What is the name of the museum that had no visitor yet? ### CONTEXT CREATE TABLE visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR) ### ANSWER SELECT name FROM museum WHERE NOT Museum_ID IN (SELECT museum_id FROM visit)
{ "answer": "SELECT name FROM museum WHERE NOT Museum_ID IN (SELECT museum_id FROM visit)", "context": "CREATE TABLE visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR)", "question": "What is the name of the museum that had no visitor yet?" }
### QUESTION What is the date of the label Dos or Die Recordings? ### CONTEXT CREATE TABLE table_name_9 (date VARCHAR, label VARCHAR) ### ANSWER SELECT date FROM table_name_9 WHERE label = "dos or die recordings"
{ "answer": "SELECT date FROM table_name_9 WHERE label = \"dos or die recordings\"", "context": "CREATE TABLE table_name_9 (date VARCHAR, label VARCHAR)", "question": "What is the date of the label Dos or Die Recordings?" }
### QUESTION What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"? ### CONTEXT CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### ANSWER SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert"
{ "answer": "SELECT score FROM table_name_28 WHERE country = \"united states\" AND place = \"t9\" AND player = \"jay hebert\"", "context": "CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)", "question": "What is Score, when Country is \"United States\", when Place is \"T9\", and when Player is \"Jay Hebert\"?" }
### QUESTION How many Byes have an Against of 972, and more than 11 wins? ### CONTEXT CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR) ### ANSWER SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11
{ "answer": "SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11", "context": "CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR)", "question": "How many Byes have an Against of 972, and more than 11 wins?" }
### QUESTION What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007? ### CONTEXT CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR) ### ANSWER SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = "december 7, 2007"
{ "answer": "SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = \"december 7, 2007\"", "context": "CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)", "question": "What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?" }
### QUESTION Who was the winning constructor at the circuit of parioli? ### CONTEXT CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR) ### ANSWER SELECT winning_constructor FROM table_name_71 WHERE circuit = "parioli"
{ "answer": "SELECT winning_constructor FROM table_name_71 WHERE circuit = \"parioli\"", "context": "CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR)", "question": "Who was the winning constructor at the circuit of parioli?" }
### QUESTION How many years have toyota team tom's as the team, with Laps greater than 64? ### CONTEXT CREATE TABLE table_name_60 (year VARCHAR, team VARCHAR, laps VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_60 WHERE team = "toyota team tom's" AND laps > 64
{ "answer": "SELECT COUNT(year) FROM table_name_60 WHERE team = \"toyota team tom's\" AND laps > 64", "context": "CREATE TABLE table_name_60 (year VARCHAR, team VARCHAR, laps VARCHAR)", "question": "How many years have toyota team tom's as the team, with Laps greater than 64?" }
### QUESTION What prefix has Haloalkane as the chemical class? ### CONTEXT CREATE TABLE table_name_4 (prefix VARCHAR, chemical_class VARCHAR) ### ANSWER SELECT prefix FROM table_name_4 WHERE chemical_class = "haloalkane"
{ "answer": "SELECT prefix FROM table_name_4 WHERE chemical_class = \"haloalkane\"", "context": "CREATE TABLE table_name_4 (prefix VARCHAR, chemical_class VARCHAR)", "question": "What prefix has Haloalkane as the chemical class?" }
### QUESTION In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4? ### CONTEXT CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) ### ANSWER SELECT opponent_in_the_final FROM table_name_23 WHERE surface = "clay" AND score = "6–4, 6–4"
{ "answer": "SELECT opponent_in_the_final FROM table_name_23 WHERE surface = \"clay\" AND score = \"6–4, 6–4\"", "context": "CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)", "question": "In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4?" }
### QUESTION Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? ### CONTEXT CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR) ### ANSWER SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c"
{ "answer": "SELECT release_price___usd__ FROM table_name_3 WHERE release_date = \"2008 q3\" AND part_number_s_ = \"nu80579ez009c\"", "context": "CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)", "question": "Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )?" }
### QUESTION Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion? ### CONTEXT CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR) ### ANSWER SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion"
{ "answer": "SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = \"$33.3 billion\"", "context": "CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR)", "question": "Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?" }
### QUESTION What is the lowest Draft, when Nationality is "Canada", when Player is "Shane Doan Category:Articles with hCards", and when Round is less than 1? ### CONTEXT CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR) ### ANSWER SELECT MIN(draft) FROM table_name_7 WHERE nationality = "canada" AND player = "shane doan category:articles with hcards" AND round < 1
{ "answer": "SELECT MIN(draft) FROM table_name_7 WHERE nationality = \"canada\" AND player = \"shane doan category:articles with hcards\" AND round < 1", "context": "CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR)", "question": "What is the lowest Draft, when Nationality is \"Canada\", when Player is \"Shane Doan Category:Articles with hCards\", and when Round is less than 1?" }
### QUESTION What is the child sex ration for the population with 37.7% work participation? ### CONTEXT CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) ### ANSWER SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"
{ "answer": "SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = \"37.7%\"", "context": "CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)", "question": "What is the child sex ration for the population with 37.7% work participation?" }
### QUESTION What year was the congressional service elected for a term beginning on January 3, 1989? ### CONTEXT CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR) ### ANSWER SELECT elected FROM table_197446_1 WHERE term_began = "January 3, 1989"
{ "answer": "SELECT elected FROM table_197446_1 WHERE term_began = \"January 3, 1989\"", "context": "CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR)", "question": "What year was the congressional service elected for a term beginning on January 3, 1989?" }
### QUESTION What are the name and id of the team offering the lowest average salary? ### CONTEXT CREATE TABLE team (name VARCHAR, team_id VARCHAR); CREATE TABLE salary (team_id VARCHAR, salary INTEGER) ### ANSWER SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1
{ "answer": "SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1", "context": "CREATE TABLE team (name VARCHAR, team_id VARCHAR); CREATE TABLE salary (team_id VARCHAR, salary INTEGER)", "question": "What are the name and id of the team offering the lowest average salary?" }
### QUESTION What is every institution with the nickname of Quakers? ### CONTEXT CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR) ### ANSWER SELECT institution FROM table_261954_1 WHERE nickname = "Quakers"
{ "answer": "SELECT institution FROM table_261954_1 WHERE nickname = \"Quakers\"", "context": "CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR)", "question": "What is every institution with the nickname of Quakers?" }
### QUESTION How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)? ### CONTEXT CREATE TABLE table_1850339_2 (season VARCHAR, army___navy_score VARCHAR) ### ANSWER SELECT COUNT(season) FROM table_1850339_2 WHERE army___navy_score = "10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)"
{ "answer": "SELECT COUNT(season) FROM table_1850339_2 WHERE army___navy_score = \"10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)\"", "context": "CREATE TABLE table_1850339_2 (season VARCHAR, army___navy_score VARCHAR)", "question": "How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?" }
### QUESTION WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54? ### CONTEXT CREATE TABLE table_name_77 (elevation__ft_ INTEGER, isolation VARCHAR, range VARCHAR, peak_name VARCHAR) ### ANSWER SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = "unaka mountains" AND peak_name = "roan high bluff" AND isolation > 1.54
{ "answer": "SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = \"unaka mountains\" AND peak_name = \"roan high bluff\" AND isolation > 1.54", "context": "CREATE TABLE table_name_77 (elevation__ft_ INTEGER, isolation VARCHAR, range VARCHAR, peak_name VARCHAR)", "question": "WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54?" }
### QUESTION Where is the frequency 102.3mhz and 5kw power? ### CONTEXT CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR) ### ANSWER SELECT location FROM table_19215259_1 WHERE power__kw_ = "5kW" AND frequency = "102.3MHz"
{ "answer": "SELECT location FROM table_19215259_1 WHERE power__kw_ = \"5kW\" AND frequency = \"102.3MHz\"", "context": "CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR)", "question": "Where is the frequency 102.3mhz and 5kw power?" }
### QUESTION How many Miss Waters has Canada had? ### CONTEXT CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR) ### ANSWER SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = "Canada"
{ "answer": "SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = \"Canada\"", "context": "CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR)", "question": "How many Miss Waters has Canada had?" }
### QUESTION What was the Date From for Theo Robinson, who was with the team until the end of season? ### CONTEXT CREATE TABLE table_name_30 (date_from VARCHAR, date_to VARCHAR, name VARCHAR) ### ANSWER SELECT date_from FROM table_name_30 WHERE date_to = "end of season" AND name = "theo robinson"
{ "answer": "SELECT date_from FROM table_name_30 WHERE date_to = \"end of season\" AND name = \"theo robinson\"", "context": "CREATE TABLE table_name_30 (date_from VARCHAR, date_to VARCHAR, name VARCHAR)", "question": "What was the Date From for Theo Robinson, who was with the team until the end of season?" }
### QUESTION Which country in the 2008 summer olympics is vadim devyatovskiy from? ### CONTEXT CREATE TABLE table_name_16 (country VARCHAR, olympics VARCHAR, name VARCHAR) ### ANSWER SELECT country FROM table_name_16 WHERE olympics = "2008 summer olympics" AND name = "vadim devyatovskiy"
{ "answer": "SELECT country FROM table_name_16 WHERE olympics = \"2008 summer olympics\" AND name = \"vadim devyatovskiy\"", "context": "CREATE TABLE table_name_16 (country VARCHAR, olympics VARCHAR, name VARCHAR)", "question": "Which country in the 2008 summer olympics is vadim devyatovskiy from?" }
### QUESTION WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7? ### CONTEXT CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) ### ANSWER SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "1.4"
{ "answer": "SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = \"1.4\"", "context": "CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR)", "question": "WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7?" }
### QUESTION What is Ateneo de Manila's PBA Team? ### CONTEXT CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR) ### ANSWER SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila"
{ "answer": "SELECT pba_team FROM table_name_96 WHERE college = \"ateneo de manila\"", "context": "CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR)", "question": "What is Ateneo de Manila's PBA Team?" }
### QUESTION Show distinct types of artworks that are nominated in festivals in 2007. ### CONTEXT CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR); CREATE TABLE artwork (Type VARCHAR, Artwork_ID VARCHAR) ### ANSWER SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T3.Year = 2007
{ "answer": "SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T3.Year = 2007", "context": "CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR); CREATE TABLE artwork (Type VARCHAR, Artwork_ID VARCHAR)", "question": "Show distinct types of artworks that are nominated in festivals in 2007." }
### QUESTION Which country had a series that premiered on September 4, 2006? ### CONTEXT CREATE TABLE table_name_77 (country VARCHAR, series_premiere VARCHAR) ### ANSWER SELECT country FROM table_name_77 WHERE series_premiere = "september 4, 2006"
{ "answer": "SELECT country FROM table_name_77 WHERE series_premiere = \"september 4, 2006\"", "context": "CREATE TABLE table_name_77 (country VARCHAR, series_premiere VARCHAR)", "question": "Which country had a series that premiered on September 4, 2006?" }
### QUESTION What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score? ### CONTEXT CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR) ### ANSWER SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"
{ "answer": "SELECT score FROM table_name_35 WHERE opponents = \"diego junqueira gabriel trujillo-soler\"", "context": "CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)", "question": "What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?" }
### QUESTION What is Date to [H], when Position [F] is "Defender", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is "1997"? ### CONTEXT CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR) ### ANSWER SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = "defender" AND goals < 3 AND appearances > 113 AND date_from_[g_] = "1997"
{ "answer": "SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = \"defender\" AND goals < 3 AND appearances > 113 AND date_from_[g_] = \"1997\"", "context": "CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR)", "question": "What is Date to [H], when Position [F] is \"Defender\", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is \"1997\"?" }
### QUESTION What is the g (μs/km)when the frequency (hz) is 100k? ### CONTEXT CREATE TABLE table_261642_3 (g__μs_km_ VARCHAR, frequency__hz_ VARCHAR) ### ANSWER SELECT g__μs_km_ FROM table_261642_3 WHERE frequency__hz_ = "100k"
{ "answer": "SELECT g__μs_km_ FROM table_261642_3 WHERE frequency__hz_ = \"100k\"", "context": "CREATE TABLE table_261642_3 (g__μs_km_ VARCHAR, frequency__hz_ VARCHAR)", "question": "What is the g (μs/km)when the frequency (hz) is 100k?" }
### QUESTION What is the name of the city with the Socialist Party of the Extremadurian People? ### CONTEXT CREATE TABLE table_name_89 (city VARCHAR, name_in_english VARCHAR) ### ANSWER SELECT city FROM table_name_89 WHERE name_in_english = "socialist party of the extremadurian people"
{ "answer": "SELECT city FROM table_name_89 WHERE name_in_english = \"socialist party of the extremadurian people\"", "context": "CREATE TABLE table_name_89 (city VARCHAR, name_in_english VARCHAR)", "question": "What is the name of the city with the Socialist Party of the Extremadurian People?" }
### QUESTION What is the result of the directorial debut of the year award? ### CONTEXT CREATE TABLE table_name_77 (result VARCHAR, category VARCHAR) ### ANSWER SELECT result FROM table_name_77 WHERE category = "directorial debut of the year"
{ "answer": "SELECT result FROM table_name_77 WHERE category = \"directorial debut of the year\"", "context": "CREATE TABLE table_name_77 (result VARCHAR, category VARCHAR)", "question": "What is the result of the directorial debut of the year award?" }
### QUESTION I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56 ### CONTEXT CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR) ### ANSWER SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56
{ "answer": "SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = \"010 12th\" AND number_of_seasons_in_ligue_1 > 56", "context": "CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR)", "question": "I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56" }
### QUESTION When the Winning score was –9 (69-72-68-70=279), what was the Margin of victory? ### CONTEXT CREATE TABLE table_name_66 (margin_of_victory VARCHAR, winning_score VARCHAR) ### ANSWER SELECT margin_of_victory FROM table_name_66 WHERE winning_score = –9(69 - 72 - 68 - 70 = 279)
{ "answer": "SELECT margin_of_victory FROM table_name_66 WHERE winning_score = –9(69 - 72 - 68 - 70 = 279)", "context": "CREATE TABLE table_name_66 (margin_of_victory VARCHAR, winning_score VARCHAR)", "question": "When the Winning score was –9 (69-72-68-70=279), what was the Margin of victory?" }
### QUESTION Name the episode for year more than 1999 ### CONTEXT CREATE TABLE table_name_30 (episode VARCHAR, year INTEGER) ### ANSWER SELECT episode FROM table_name_30 WHERE year > 1999
{ "answer": "SELECT episode FROM table_name_30 WHERE year > 1999", "context": "CREATE TABLE table_name_30 (episode VARCHAR, year INTEGER)", "question": "Name the episode for year more than 1999" }
### QUESTION What is the total attendance at games against the New York Mets with a record of 18-18? ### CONTEXT CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18"
{ "answer": "SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = \"new york mets\" AND record = \"18-18\"", "context": "CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)", "question": "What is the total attendance at games against the New York Mets with a record of 18-18?" }
### QUESTION In which state is the city of knoxville? ### CONTEXT CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR) ### ANSWER SELECT state FROM table_name_81 WHERE city = "knoxville"
{ "answer": "SELECT state FROM table_name_81 WHERE city = \"knoxville\"", "context": "CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR)", "question": "In which state is the city of knoxville?" }
### QUESTION Who was supporting in round 1 where the gt winning car was dodge viper? ### CONTEXT CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR) ### ANSWER SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1
{ "answer": "SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = \"Dodge Viper\" AND rnd = 1", "context": "CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR)", "question": "Who was supporting in round 1 where the gt winning car was dodge viper?" }
### QUESTION How many parties does william b. cravens represent? ### CONTEXT CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR) ### ANSWER SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"
{ "answer": "SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = \"William B. Cravens\"", "context": "CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR)", "question": "How many parties does william b. cravens represent?" }
### QUESTION What date has friendly as the type of game, france as an opponent, and paris, france as the city? ### CONTEXT CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france"
{ "answer": "SELECT date FROM table_name_92 WHERE type_of_game = \"friendly\" AND opponent = \"france\" AND city = \"paris, france\"", "context": "CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)", "question": "What date has friendly as the type of game, france as an opponent, and paris, france as the city?" }
### QUESTION What is the target market for the station on 97.9 fm? ### CONTEXT CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR) ### ANSWER SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM"
{ "answer": "SELECT target_city__market FROM table_134987_3 WHERE frequency = \"97.9 FM\"", "context": "CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)", "question": "What is the target market for the station on 97.9 fm?" }
### QUESTION How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? ### CONTEXT CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR) ### ANSWER SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = "unknown" AND total_deaths__not_including_foreigners_ = "unknown"
{ "answer": "SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = \"unknown\" AND total_deaths__not_including_foreigners_ = \"unknown\"", "context": "CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR)", "question": "How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths?" }
### QUESTION What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents? ### CONTEXT CREATE TABLE Employees (employee_name VARCHAR, employee_id VARCHAR); CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR, Destroyed_by_Employee_ID VARCHAR) ### ANSWER SELECT T2.employee_name, T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id
{ "answer": "SELECT T2.employee_name, T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id", "context": "CREATE TABLE Employees (employee_name VARCHAR, employee_id VARCHAR); CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR, Destroyed_by_Employee_ID VARCHAR)", "question": "What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?" }
### QUESTION How many films are titled "Dans la Ville Blanche"? ### CONTEXT CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### ANSWER SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche"
{ "answer": "SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = \"Dans la ville blanche\"", "context": "CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "question": "How many films are titled \"Dans la Ville Blanche\"?" }
### QUESTION What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification? ### CONTEXT CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) ### ANSWER SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"
{ "answer": "SELECT stage FROM table_name_36 WHERE points_classification = \"daniele bennati\" AND general_classification = \"giovanni visconti\"", "context": "CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)", "question": "What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?" }
### QUESTION What venue hsoted the european cross country championships with a notes of junior men individual 6.595km? ### CONTEXT CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR) ### ANSWER SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km"
{ "answer": "SELECT venue FROM table_name_20 WHERE competition = \"european cross country championships\" AND notes = \"junior men individual 6.595km\"", "context": "CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR)", "question": "What venue hsoted the european cross country championships with a notes of junior men individual 6.595km?" }
### QUESTION How many games played catagories are there for Lauren McGee? ### CONTEXT CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lauren McGee"
{ "answer": "SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = \"Lauren McGee\"", "context": "CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR)", "question": "How many games played catagories are there for Lauren McGee? " }
### QUESTION What is the final score in 2007 for the world league in novi sad played against Italy? ### CONTEXT CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR) ### ANSWER SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy"
{ "answer": "SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = \"world league\" AND town = \"novi sad\" AND opponent = \"italy\"", "context": "CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR)", "question": "What is the final score in 2007 for the world league in novi sad played against Italy?" }
### QUESTION What league has 2-3 as the away? ### CONTEXT CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) ### ANSWER SELECT league FROM table_name_18 WHERE away = "2-3"
{ "answer": "SELECT league FROM table_name_18 WHERE away = \"2-3\"", "context": "CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR)", "question": "What league has 2-3 as the away?" }
### QUESTION How many fast laps are in 6 races with 30 points in the World Series by Nissan? ### CONTEXT CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR) ### ANSWER SELECT fast_laps FROM table_name_28 WHERE series = "world series by nissan" AND races = "6" AND points = "30"
{ "answer": "SELECT fast_laps FROM table_name_28 WHERE series = \"world series by nissan\" AND races = \"6\" AND points = \"30\"", "context": "CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR)", "question": "How many fast laps are in 6 races with 30 points in the World Series by Nissan?" }
### QUESTION What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths? ### CONTEXT CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR) ### ANSWER SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27
{ "answer": "SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = \"78\" AND total_deaths > 27", "context": "CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR)", "question": "What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths?" }
### QUESTION Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley? ### CONTEXT CREATE TABLE table_name_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) ### ANSWER SELECT winning_team FROM table_name_75 WHERE fastest_lap = "brendon hartley" AND pole_position = "oliver turvey" AND circuit = "spa-francorchamps" AND winning_driver = "brendon hartley"
{ "answer": "SELECT winning_team FROM table_name_75 WHERE fastest_lap = \"brendon hartley\" AND pole_position = \"oliver turvey\" AND circuit = \"spa-francorchamps\" AND winning_driver = \"brendon hartley\"", "context": "CREATE TABLE table_name_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)", "question": "Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley?" }
### QUESTION How many years was Louis Armstrong performing? ### CONTEXT CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong"
{ "answer": "SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = \"louis armstrong\"", "context": "CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR)", "question": "How many years was Louis Armstrong performing?" }
### QUESTION What is the To Par score for the player with an overall score of 71-68-69=208? ### CONTEXT CREATE TABLE table_name_38 (to_par VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_38 WHERE score = 71 - 68 - 69 = 208
{ "answer": "SELECT to_par FROM table_name_38 WHERE score = 71 - 68 - 69 = 208", "context": "CREATE TABLE table_name_38 (to_par VARCHAR, score VARCHAR)", "question": "What is the To Par score for the player with an overall score of 71-68-69=208?" }
### QUESTION If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals? ### CONTEXT CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR) ### ANSWER SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = "corey pavin"
{ "answer": "SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = \"corey pavin\"", "context": "CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR)", "question": "If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals?" }
### QUESTION What are the enrollment dates of all the tests that have result "Pass"? ### CONTEXT CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, registration_id VARCHAR) ### ANSWER SELECT T1.date_of_enrolment FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass"
{ "answer": "SELECT T1.date_of_enrolment FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = \"Pass\"", "context": "CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, registration_id VARCHAR)", "question": "What are the enrollment dates of all the tests that have result \"Pass\"?" }
### QUESTION Retrieve the title of the paper that has the largest number of authors. ### CONTEXT CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) ### ANSWER SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)
{ "answer": "SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)", "context": "CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)", "question": "Retrieve the title of the paper that has the largest number of authors." }
### QUESTION What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1? ### CONTEXT CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) ### ANSWER SELECT AVG(bronze) FROM table_name_80 WHERE silver = 0 AND rank = "17" AND gold < 1
{ "answer": "SELECT AVG(bronze) FROM table_name_80 WHERE silver = 0 AND rank = \"17\" AND gold < 1", "context": "CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)", "question": "What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?" }
### QUESTION The league of 400 (21) has what years listed? ### CONTEXT CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR) ### ANSWER SELECT years FROM table_name_87 WHERE league = "400 (21)"
{ "answer": "SELECT years FROM table_name_87 WHERE league = \"400 (21)\"", "context": "CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)", "question": "The league of 400 (21) has what years listed?" }
### QUESTION Name the total number of series for april 26 ### CONTEXT CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(series) FROM table_17621978_11 WHERE date = "April 26"
{ "answer": "SELECT COUNT(series) FROM table_17621978_11 WHERE date = \"April 26\"", "context": "CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR)", "question": "Name the total number of series for april 26" }
### QUESTION Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name. ### CONTEXT CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) ### ANSWER SELECT T2.first_name, T2.last_name FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id HAVING COUNT(*) > 30
{ "answer": "SELECT T2.first_name, T2.last_name FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id HAVING COUNT(*) > 30", "context": "CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR)", "question": "Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name." }
### QUESTION Which tournament had a playoff with a margin of victory? ### CONTEXT CREATE TABLE table_name_49 (tournament VARCHAR, margin_of_victory VARCHAR) ### ANSWER SELECT tournament FROM table_name_49 WHERE margin_of_victory = "playoff"
{ "answer": "SELECT tournament FROM table_name_49 WHERE margin_of_victory = \"playoff\"", "context": "CREATE TABLE table_name_49 (tournament VARCHAR, margin_of_victory VARCHAR)", "question": "Which tournament had a playoff with a margin of victory?" }
### QUESTION Who had the most rebounds in the game against Chicago? ### CONTEXT CREATE TABLE table_name_52 (high_rebounds VARCHAR, team VARCHAR) ### ANSWER SELECT high_rebounds FROM table_name_52 WHERE team = "chicago"
{ "answer": "SELECT high_rebounds FROM table_name_52 WHERE team = \"chicago\"", "context": "CREATE TABLE table_name_52 (high_rebounds VARCHAR, team VARCHAR)", "question": "Who had the most rebounds in the game against Chicago?" }
### QUESTION What was marlboro brm's lowest points by using brm p160b? ### CONTEXT CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR) ### ANSWER SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"
{ "answer": "SELECT MIN(points) FROM table_name_60 WHERE entrant = \"marlboro brm\" AND chassis = \"brm p160b\"", "context": "CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)", "question": "What was marlboro brm's lowest points by using brm p160b?" }
### QUESTION Name the fifth district for william womer ### CONTEXT CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR) ### ANSWER SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer"
{ "answer": "SELECT fifth_district FROM table_15442974_1 WHERE third_district = \"William Womer\"", "context": "CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)", "question": "Name the fifth district for william womer" }
### QUESTION Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id. ### CONTEXT CREATE TABLE payment (customer_id VARCHAR); CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR) ### ANSWER SELECT T1.first_name, T1.last_name, T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY SUM(amount) LIMIT 1
{ "answer": "SELECT T1.first_name, T1.last_name, T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY SUM(amount) LIMIT 1", "context": "CREATE TABLE payment (customer_id VARCHAR); CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR)", "question": "Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id." }
### QUESTION What year before 1980 has is the highest Inflation Index (2000=100)? ### CONTEXT CREATE TABLE table_name_34 (year INTEGER, inflation_index__2000 INTEGER) ### ANSWER SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_34 WHERE year < 1980
{ "answer": "SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_34 WHERE year < 1980", "context": "CREATE TABLE table_name_34 (year INTEGER, inflation_index__2000 INTEGER)", "question": "What year before 1980 has is the highest Inflation Index (2000=100)?" }
### QUESTION Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981? ### CONTEXT CREATE TABLE table_name_19 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR) ### ANSWER SELECT winning_score FROM table_name_19 WHERE margin_of_victory = "1 stroke" AND date = "21 jun 1981"
{ "answer": "SELECT winning_score FROM table_name_19 WHERE margin_of_victory = \"1 stroke\" AND date = \"21 jun 1981\"", "context": "CREATE TABLE table_name_19 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)", "question": "Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981?" }
### QUESTION What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama? ### CONTEXT CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR) ### ANSWER SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = "1.6%" AND mccain_percentage = "40.5%" AND obama_number < 256 OFFSET 299
{ "answer": "SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = \"1.6%\" AND mccain_percentage = \"40.5%\" AND obama_number < 256 OFFSET 299", "context": "CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)", "question": "What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama?" }
### QUESTION How many laps were there for a grid of 13? ### CONTEXT CREATE TABLE table_name_35 (laps VARCHAR, grid VARCHAR) ### ANSWER SELECT COUNT(laps) FROM table_name_35 WHERE grid = 13
{ "answer": "SELECT COUNT(laps) FROM table_name_35 WHERE grid = 13", "context": "CREATE TABLE table_name_35 (laps VARCHAR, grid VARCHAR)", "question": "How many laps were there for a grid of 13?" }
### QUESTION What's the highest Played with a Scored of 15, and Draws that's less than 1? ### CONTEXT CREATE TABLE table_name_80 (played INTEGER, scored VARCHAR, draws VARCHAR) ### ANSWER SELECT MAX(played) FROM table_name_80 WHERE scored = 15 AND draws < 1
{ "answer": "SELECT MAX(played) FROM table_name_80 WHERE scored = 15 AND draws < 1", "context": "CREATE TABLE table_name_80 (played INTEGER, scored VARCHAR, draws VARCHAR)", "question": "What's the highest Played with a Scored of 15, and Draws that's less than 1?" }
### QUESTION What is the Domestic Tournament with Chennai Super Kings Team? ### CONTEXT CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR) ### ANSWER SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings"
{ "answer": "SELECT domestic_tournament FROM table_name_42 WHERE team = \"chennai super kings\"", "context": "CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR)", "question": "What is the Domestic Tournament with Chennai Super Kings Team?" }
### QUESTION Name the score for september 25 ### CONTEXT CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_93 WHERE date = "september 25"
{ "answer": "SELECT score FROM table_name_93 WHERE date = \"september 25\"", "context": "CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)", "question": "Name the score for september 25" }
### QUESTION What is the fastest lap with pole position of gilles villeneuve? ### CONTEXT CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR) ### ANSWER SELECT fastest_lap FROM table_1140077_2 WHERE pole_position = "Gilles Villeneuve"
{ "answer": "SELECT fastest_lap FROM table_1140077_2 WHERE pole_position = \"Gilles Villeneuve\"", "context": "CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR)", "question": "What is the fastest lap with pole position of gilles villeneuve?" }
### QUESTION Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff. ### CONTEXT CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, job_title_code VARCHAR) ### ANSWER SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Sales Person" EXCEPT SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Clerical Staff"
{ "answer": "SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = \"Sales Person\" EXCEPT SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = \"Clerical Staff\"", "context": "CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, job_title_code VARCHAR)", "question": "Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff." }
### QUESTION Which team has fewer than 4 rounds for Jan Van Breda Kolff? ### CONTEXT CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) ### ANSWER SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff"
{ "answer": "SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = \"jan van breda kolff\"", "context": "CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)", "question": "Which team has fewer than 4 rounds for Jan Van Breda Kolff?" }
### QUESTION Who is the builder with a works number of 2534? ### CONTEXT CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR) ### ANSWER SELECT builder FROM table_name_16 WHERE works_number = "2534"
{ "answer": "SELECT builder FROM table_name_16 WHERE works_number = \"2534\"", "context": "CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)", "question": "Who is the builder with a works number of 2534?" }
### QUESTION How many numbers were recorded under revenue when revenue per capita was $6,126? ### CONTEXT CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR) ### ANSWER SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE revenue_per_capita = "$6,126"
{ "answer": "SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE revenue_per_capita = \"$6,126\"", "context": "CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR)", "question": "How many numbers were recorded under revenue when revenue per capita was $6,126?" }
### QUESTION Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996? ### CONTEXT CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR) ### ANSWER SELECT opponents FROM table_name_61 WHERE surface = "grass" AND partner = "mark woodforde" AND outcome = "winner" AND year > 1996
{ "answer": "SELECT opponents FROM table_name_61 WHERE surface = \"grass\" AND partner = \"mark woodforde\" AND outcome = \"winner\" AND year > 1996", "context": "CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR)", "question": "Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996?" }
### QUESTION Which Adelaide has Sydney yes, Melbourne yes, and Perth no? ### CONTEXT CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR) ### ANSWER SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"
{ "answer": "SELECT adelaide FROM table_name_31 WHERE sydney = \"yes\" AND melbourne = \"yes\" AND perth = \"no\"", "context": "CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)", "question": "Which Adelaide has Sydney yes, Melbourne yes, and Perth no?" }
### QUESTION What is the height of the player who attended Hartford? ### CONTEXT CREATE TABLE table_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) ### ANSWER SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = "Hartford"
{ "answer": "SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = \"Hartford\"", "context": "CREATE TABLE table_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)", "question": "What is the height of the player who attended Hartford?" }
### QUESTION What is the name of the shipping agent of the document with id 2? ### CONTEXT CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR) ### ANSWER SELECT Ref_Shipping_Agents.shipping_agent_name FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Documents.document_id = 2
{ "answer": "SELECT Ref_Shipping_Agents.shipping_agent_name FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Documents.document_id = 2", "context": "CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)", "question": "What is the name of the shipping agent of the document with id 2?" }
### QUESTION What's the date in the United Kingdom having a catalog of reveal50cd/lp? ### CONTEXT CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR) ### ANSWER SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom"
{ "answer": "SELECT date FROM table_name_3 WHERE catalog = \"reveal50cd/lp\" AND region = \"united kingdom\"", "context": "CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR)", "question": "What's the date in the United Kingdom having a catalog of reveal50cd/lp?" }
### QUESTION Which year's crew is varsity 8+ when the record is 7-3? ### CONTEXT CREATE TABLE table_name_63 (year VARCHAR, crew VARCHAR, record VARCHAR) ### ANSWER SELECT year FROM table_name_63 WHERE crew = "varsity 8+" AND record = "7-3"
{ "answer": "SELECT year FROM table_name_63 WHERE crew = \"varsity 8+\" AND record = \"7-3\"", "context": "CREATE TABLE table_name_63 (year VARCHAR, crew VARCHAR, record VARCHAR)", "question": "Which year's crew is varsity 8+ when the record is 7-3?" }
### QUESTION What is Game, when Road Team is "Syracuse", and when Result is "109-82"? ### CONTEXT CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) ### ANSWER SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82"
{ "answer": "SELECT game FROM table_name_77 WHERE road_team = \"syracuse\" AND result = \"109-82\"", "context": "CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR)", "question": "What is Game, when Road Team is \"Syracuse\", and when Result is \"109-82\"?" }
### QUESTION What is the height in Rouen? ### CONTEXT CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR) ### ANSWER SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"
{ "answer": "SELECT height_metres___ft FROM table_name_23 WHERE town = \"rouen\"", "context": "CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)", "question": "What is the height in Rouen?" }
### QUESTION I want the total number of ends for filip šebo and Goals more than 2 ### CONTEXT CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR) ### ANSWER SELECT COUNT(ends) FROM table_name_67 WHERE name = "filip šebo" AND goals > 2
{ "answer": "SELECT COUNT(ends) FROM table_name_67 WHERE name = \"filip šebo\" AND goals > 2", "context": "CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR)", "question": "I want the total number of ends for filip šebo and Goals more than 2" }
### QUESTION I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes ### CONTEXT CREATE TABLE table_name_75 (cast VARCHAR, director VARCHAR, serial_title VARCHAR) ### ANSWER SELECT cast FROM table_name_75 WHERE director = "colbert clark and armand schaefer" AND serial_title = "burn 'em up barnes"
{ "answer": "SELECT cast FROM table_name_75 WHERE director = \"colbert clark and armand schaefer\" AND serial_title = \"burn 'em up barnes\"", "context": "CREATE TABLE table_name_75 (cast VARCHAR, director VARCHAR, serial_title VARCHAR)", "question": "I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes" }
### QUESTION Which film actor (actress) starred the most films? List his or her first name, last name and actor id. ### CONTEXT CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) ### ANSWER SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR)", "question": "Which film actor (actress) starred the most films? List his or her first name, last name and actor id." }
### QUESTION Retrieve the country that has published the most papers. ### CONTEXT CREATE TABLE inst (country VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR) ### ANSWER SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.country ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.country ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE inst (country VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)", "question": "Retrieve the country that has published the most papers." }
### QUESTION What is the fewest draws for teams with a 0 goal difference and under 55 goals against? ### CONTEXT CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR) ### ANSWER SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55
{ "answer": "SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = \"0\" AND goals_against < 55", "context": "CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR)", "question": "What is the fewest draws for teams with a 0 goal difference and under 55 goals against?" }
### QUESTION What Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7? ### CONTEXT CREATE TABLE table_name_63 (opponent VARCHAR, site VARCHAR, result VARCHAR) ### ANSWER SELECT opponent FROM table_name_63 WHERE site = "war memorial stadium • little rock, ar" AND result = "l6–7"
{ "answer": "SELECT opponent FROM table_name_63 WHERE site = \"war memorial stadium • little rock, ar\" AND result = \"l6–7\"", "context": "CREATE TABLE table_name_63 (opponent VARCHAR, site VARCHAR, result VARCHAR)", "question": "What Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7?" }
### QUESTION What is the release date for the standard cd release format in north america? ### CONTEXT CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR) ### ANSWER SELECT release_date FROM table_name_18 WHERE release_format = "standard cd" AND country = "north america"
{ "answer": "SELECT release_date FROM table_name_18 WHERE release_format = \"standard cd\" AND country = \"north america\"", "context": "CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR)", "question": "What is the release date for the standard cd release format in north america?" }