instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have? | The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_4 (deaths VARCHAR, number_of_hurricanes VARCHAR, number_of_major_hurricanes VARCHAR) | SELECT deaths FROM table_2930244_4 WHERE number_of_hurricanes = 10 AND number_of_major_hurricanes = 1 |
Write a SQL query that answers the following question: Name the number of episodes that jim barnes wrote for 1.82 million viewers | The relevant table was constructed using the following SQL : CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82" |
Write a SQL query that answers the following question: Name the least number for production code 3x6266 | The relevant table was constructed using the following SQL : CREATE TABLE table_29329432_1 (no INTEGER, production_code VARCHAR) | SELECT MIN(no) FROM table_29329432_1 WHERE production_code = "3X6266" |
Write a SQL query that answers the following question: How many characters does Maurice Dean Wint play in the movie Cube? | The relevant table was constructed using the following SQL : CREATE TABLE table_2933761_1 (status VARCHAR, played_by VARCHAR) | SELECT COUNT(status) FROM table_2933761_1 WHERE played_by = "Maurice Dean Wint" |
Write a SQL query that answers the following question: What is Joan Leaven's occupation? | The relevant table was constructed using the following SQL : CREATE TABLE table_2933761_1 (occupation VARCHAR, name VARCHAR) | SELECT occupation FROM table_2933761_1 WHERE name = "Joan Leaven" |
Write a SQL query that answers the following question: What gender is Quentin? | The relevant table was constructed using the following SQL : CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR) | SELECT gender FROM table_2933761_1 WHERE name = "Quentin" |
Write a SQL query that answers the following question: Who played the mathematics student? | The relevant table was constructed using the following SQL : CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR) | SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student" |
Write a SQL query that answers the following question: How many prisons is Joan Leaven connected with? | The relevant table was constructed using the following SQL : CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR) | SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven" |
Write a SQL query that answers the following question: What is aggressive rider Richie Porte's team classifaction? | The relevant table was constructed using the following SQL : CREATE TABLE table_29332810_14 (team_classification VARCHAR, aggressive_rider VARCHAR) | SELECT team_classification FROM table_29332810_14 WHERE aggressive_rider = "Richie Porte" |
Write a SQL query that answers the following question: Thomas de Gendt performed on what stage as aggressive rider? | The relevant table was constructed using the following SQL : CREATE TABLE table_29332810_14 (stage INTEGER, aggressive_rider VARCHAR) | SELECT MAX(stage) FROM table_29332810_14 WHERE aggressive_rider = "Thomas De Gendt" |
Write a SQL query that answers the following question: Where Luke Durbridge is the aggressive rider who is listed as the young rider classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_29332810_14 (young_rider_classification VARCHAR, aggressive_rider VARCHAR) | SELECT young_rider_classification FROM table_29332810_14 WHERE aggressive_rider = "Luke Durbridge" |
Write a SQL query that answers the following question: Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider? | The relevant table was constructed using the following SQL : CREATE TABLE table_29332810_14 (general_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR) | SELECT general_classification FROM table_29332810_14 WHERE winner = "Ben Swift" AND young_rider_classification = "Cameron Meyer" |
Write a SQL query that answers the following question: Who is the sprint classification where Francisco Ventoso wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR) | SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso" |
Write a SQL query that answers the following question: In the week of what was the runner-up Pat Du Pré? | The relevant table was constructed using the following SQL : CREATE TABLE table_29302781_12 (week_of VARCHAR, runner_up VARCHAR) | SELECT week_of FROM table_29302781_12 WHERE runner_up = "Pat Du Pré" |
Write a SQL query that answers the following question: Who were the semifinalists when the runner-up was Peter Feigl? | The relevant table was constructed using the following SQL : CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR) | SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl" |
Write a SQL query that answers the following question: Who were the semifinalists when the runner-up was Pat Du Pré? | The relevant table was constructed using the following SQL : CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR) | SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré" |
Write a SQL query that answers the following question: Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pré? | The relevant table was constructed using the following SQL : CREATE TABLE table_29302781_12 (semifinalists VARCHAR, week_of VARCHAR, runner_up VARCHAR) | SELECT semifinalists FROM table_29302781_12 WHERE week_of = "13 November" AND runner_up = "Pat Du Pré" |
Write a SQL query that answers the following question: What are the quarterfinalists when the runner up is andrew pattison? | The relevant table was constructed using the following SQL : CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR) | SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison" |
Write a SQL query that answers the following question: When indonesia is the country what is the rank of 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_293465_1 (rank_2010 VARCHAR, country VARCHAR) | SELECT rank_2010 FROM table_293465_1 WHERE country = "Indonesia" |
Write a SQL query that answers the following question: When 5 is the rank of 2011 what is the country? | The relevant table was constructed using the following SQL : CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR) | SELECT country FROM table_293465_1 WHERE rank_2011 = 5 |
Write a SQL query that answers the following question: When sweden is the country what is the highest production in 2010 (1,000 ton)? | The relevant table was constructed using the following SQL : CREATE TABLE table_293465_1 (production_in_2010__1 INTEGER, country VARCHAR) | SELECT MAX(production_in_2010__1), 000 AS _ton_ FROM table_293465_1 WHERE country = "Sweden" |
Write a SQL query that answers the following question: Valmir Benavides won pole position at which circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_29361707_2 (circuit VARCHAR, pole_position VARCHAR) | SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides" |
Write a SQL query that answers the following question: Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team? | The relevant table was constructed using the following SQL : CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_29361707_2 WHERE pole_position = "Roberval Andrade" AND fastest_lap = "Felipe Giaffone" AND winning_team = "RVR Corinthians Motorsport" |
Write a SQL query that answers the following question: What is the fewest number of 2005 subscribers for Vodafone? | The relevant table was constructed using the following SQL : CREATE TABLE table_29395291_2 (subscribers__2005___thousands_ INTEGER, provider VARCHAR) | SELECT MIN(subscribers__2005___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" |
Write a SQL query that answers the following question: What is the maximum number of 2006 subscribers for Glo Mobile? | The relevant table was constructed using the following SQL : CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR) | SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Glo Mobile" |
Write a SQL query that answers the following question: What is the maximum number of 2006 subscribers for Mobilis? | The relevant table was constructed using the following SQL : CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR) | SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Mobilis" |
Write a SQL query that answers the following question: How many subscribers, in 2006, does Glo Mobile have? | The relevant table was constructed using the following SQL : CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) | SELECT subscribers__2006___thousands_ FROM table_29395291_2 WHERE provider = "Glo Mobile" |
Write a SQL query that answers the following question: How many 2006 subscribers are named Vodafone? | The relevant table was constructed using the following SQL : CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) | SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" |
Write a SQL query that answers the following question: Name the number of captains for barcelona | The relevant table was constructed using the following SQL : CREATE TABLE table_29398373_2 (captain VARCHAR, team VARCHAR) | SELECT COUNT(captain) FROM table_29398373_2 WHERE team = "Barcelona" |
Write a SQL query that answers the following question: Name the chairman for iker casillas | The relevant table was constructed using the following SQL : CREATE TABLE table_29398373_2 (chairman VARCHAR, captain VARCHAR) | SELECT chairman FROM table_29398373_2 WHERE captain = "Iker Casillas" |
Write a SQL query that answers the following question: Name the team for javier clemente | The relevant table was constructed using the following SQL : CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR) | SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente" |
Write a SQL query that answers the following question: What is the season # for the production code 3.89? | The relevant table was constructed using the following SQL : CREATE TABLE table_29391888_1 (season__number VARCHAR, production_code VARCHAR) | SELECT season__number FROM table_29391888_1 WHERE production_code = "3.89" |
Write a SQL query that answers the following question: Who wrote the episode that was directed by Kevin Inch? | The relevant table was constructed using the following SQL : CREATE TABLE table_29391888_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_29391888_1 WHERE directed_by = "Kevin Inch" |
Write a SQL query that answers the following question: What is the original air date for the season# 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_29391888_1 (original_air_date VARCHAR, season__number VARCHAR) | SELECT original_air_date FROM table_29391888_1 WHERE season__number = 2 |
Write a SQL query that answers the following question: What is the production code for the episode whose original air date was May15,2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000" |
Write a SQL query that answers the following question: What is the former school of the player from Detroit, MI? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR) | SELECT former_school FROM table_29418619_1 WHERE hometown = "Detroit, MI" |
Write a SQL query that answers the following question: What is the hometown of Jarrid Famous? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous" |
Write a SQL query that answers the following question: What number is the player whose hometown is Tampa, FL? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (_number VARCHAR, hometown VARCHAR) | SELECT _number FROM table_29418619_1 WHERE hometown = "Tampa, FL" |
Write a SQL query that answers the following question: What year is the player whose number is 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR) | SELECT year FROM table_29418619_1 WHERE _number = 31 |
Write a SQL query that answers the following question: What is the height of Anthony Crater? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (height VARCHAR, name VARCHAR) | SELECT height FROM table_29418619_1 WHERE name = "Anthony Crater" |
Write a SQL query that answers the following question: What is the former school of the player from North Port, FL? | The relevant table was constructed using the following SQL : CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR) | SELECT former_school FROM table_29418619_1 WHERE hometown = "North Port, FL" |
Write a SQL query that answers the following question: how many countries have remittances in 2008 of 9.07? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2008 VARCHAR) | SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2008 = "9.07" |
Write a SQL query that answers the following question: how many remittances in 2010 where the remittances is 19.73? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR) | SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73" |
Write a SQL query that answers the following question: how many remittances in 2010 for nigeria? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, country VARCHAR) | SELECT remittances_2010 FROM table_2941963_1 WHERE country = "Nigeria" |
Write a SQL query that answers the following question: how many countiers had 2009 remittances of 6.02? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2009 VARCHAR) | SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2009 = "6.02" |
Write a SQL query that answers the following question: What is the highest year with field reporter Steve Lyons? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR) | SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons" |
Write a SQL query that answers the following question: What is every pregame analyst with Chris Rose as trophy presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR) | SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" |
Write a SQL query that answers the following question: Who is every play-by-play announcer when Chris Rose is the trophy presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR) | SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" |
Write a SQL query that answers the following question: How many teams came in fourth when Otsuka Pharmaceuticals won? | The relevant table was constructed using the following SQL : CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR) | SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals" |
Write a SQL query that answers the following question: Who was the runner up the season that Sagawa Express came in fourth? | The relevant table was constructed using the following SQL : CREATE TABLE table_29446183_2 (runner_up VARCHAR, fourth_place VARCHAR) | SELECT runner_up FROM table_29446183_2 WHERE fourth_place = "Sagawa Express" |
Write a SQL query that answers the following question: How many seasons did Otsuka Pharmaceuticals come in third? | The relevant table was constructed using the following SQL : CREATE TABLE table_29446183_2 (season VARCHAR, third_place VARCHAR) | SELECT COUNT(season) FROM table_29446183_2 WHERE third_place = "Otsuka Pharmaceuticals" |
Write a SQL query that answers the following question: How many episodes were written by Gregg Mettler? | The relevant table was constructed using the following SQL : CREATE TABLE table_29436238_1 (no_in_series VARCHAR, written_by VARCHAR) | SELECT COUNT(no_in_series) FROM table_29436238_1 WHERE written_by = "Gregg Mettler" |
Write a SQL query that answers the following question: What date did episode 4 in the season originally air? | The relevant table was constructed using the following SQL : CREATE TABLE table_29436238_1 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 4 |
Write a SQL query that answers the following question: Who are all the major users of the Gordon Close-Support Weapon System? | The relevant table was constructed using the following SQL : CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR) | SELECT major_users FROM table_29474407_11 WHERE name__designation = "Gordon Close-Support Weapon System" |
Write a SQL query that answers the following question: What country made the Flieger-Doppelpistole 1919? | The relevant table was constructed using the following SQL : CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR) | SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919" |
Write a SQL query that answers the following question: How many years of introduction does the Neal Submachine Gun have? | The relevant table was constructed using the following SQL : CREATE TABLE table_29474407_11 (year_of_intro VARCHAR, name__designation VARCHAR) | SELECT COUNT(year_of_intro) FROM table_29474407_11 WHERE name__designation = "Neal submachine gun" |
Write a SQL query that answers the following question: Who are the major users from Australia? | The relevant table was constructed using the following SQL : CREATE TABLE table_29474407_11 (major_users VARCHAR, country_of_origin VARCHAR) | SELECT major_users FROM table_29474407_11 WHERE country_of_origin = "Australia" |
Write a SQL query that answers the following question: Who are all the major users of the Saturn Machine Pistol? | The relevant table was constructed using the following SQL : CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR) | SELECT major_users FROM table_29474407_11 WHERE name__designation = "Saturn machine pistol" |
Write a SQL query that answers the following question: in how many of the arkansas colomel the county was pope | The relevant table was constructed using the following SQL : CREATE TABLE table_29458735_5 (colonel VARCHAR, county VARCHAR) | SELECT COUNT(colonel) FROM table_29458735_5 WHERE county = "Pope" |
Write a SQL query that answers the following question: what is the name of the coloneo of the 35th regiment | The relevant table was constructed using the following SQL : CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR) | SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment" |
Write a SQL query that answers the following question: which regiment was in the Fulton County | The relevant table was constructed using the following SQL : CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR) | SELECT regiment FROM table_29458735_5 WHERE county = "Fulton" |
Write a SQL query that answers the following question: what is he name of the county where the 2nd division and the 41st regiment was | The relevant table was constructed using the following SQL : CREATE TABLE table_29458735_5 (county VARCHAR, division VARCHAR, regiment VARCHAR) | SELECT county FROM table_29458735_5 WHERE division = "2nd division" AND regiment = "41st regiment" |
Write a SQL query that answers the following question: which regimen was in the arkansas county | The relevant table was constructed using the following SQL : CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR) | SELECT regiment FROM table_29458735_5 WHERE county = "Arkansas" |
Write a SQL query that answers the following question: When nicole dubuc duane capizzi is the writer who is the director? | The relevant table was constructed using the following SQL : CREATE TABLE table_29475589_3 (director VARCHAR, writer_s_ VARCHAR) | SELECT director FROM table_29475589_3 WHERE writer_s_ = "Nicole Dubuc Duane Capizzi" |
Write a SQL query that answers the following question: When 22 is the number what is the episode title? | The relevant table was constructed using the following SQL : CREATE TABLE table_29475589_3 (episode_title VARCHAR, no VARCHAR) | SELECT episode_title FROM table_29475589_3 WHERE no = 22 |
Write a SQL query that answers the following question: When the # is 9 what is the U.S original airdate? | The relevant table was constructed using the following SQL : CREATE TABLE table_29475589_5 (us_original_airdate VARCHAR, _number VARCHAR) | SELECT us_original_airdate FROM table_29475589_5 WHERE _number = 9 |
Write a SQL query that answers the following question: how many representatives from hanover twp were first elected in 2008 | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR) | SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp" |
Write a SQL query that answers the following question: when was al landis first elected | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR) | SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis" |
Write a SQL query that answers the following question: which representative is from willowick | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR) | SELECT representative FROM table_29486189_4 WHERE residence = "Willowick" |
Write a SQL query that answers the following question: which district does andy thompson represent | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (district VARCHAR, representative VARCHAR) | SELECT COUNT(district) FROM table_29486189_4 WHERE representative = "Andy Thompson" |
Write a SQL query that answers the following question: which party is the newark representative from | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR) | SELECT party FROM table_29486189_4 WHERE residence = "Newark" |
Write a SQL query that answers the following question: who is beavercreek's representative | The relevant table was constructed using the following SQL : CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR) | SELECT representative FROM table_29486189_4 WHERE residence = "Beavercreek" |
Write a SQL query that answers the following question: What was Reid's rolex ranking in the year that her money list rank was 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR) | SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3" |
Write a SQL query that answers the following question: What was the money list rank for Reid in the year that she had 0 top 10s? | The relevant table was constructed using the following SQL : CREATE TABLE table_29506171_2 (money_list_rank VARCHAR, top_10s VARCHAR) | SELECT money_list_rank FROM table_29506171_2 WHERE top_10s = 0 |
Write a SQL query that answers the following question: How many cuts did Reid make in the year when her earnings were n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR) | SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a" |
Write a SQL query that answers the following question: In what year were Reid's earnings €4,050 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR) | SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1" |
Write a SQL query that answers the following question: What is the best finish for the player whose earnings was $421050? | The relevant table was constructed using the following SQL : CREATE TABLE table_29504351_2 (best_finish VARCHAR, earnings__$_ VARCHAR) | SELECT best_finish FROM table_29504351_2 WHERE earnings__$_ = 421050 |
Write a SQL query that answers the following question: What is the maximum start record for player of Jeff Brehaut? | The relevant table was constructed using the following SQL : CREATE TABLE table_29504351_2 (starts INTEGER, player VARCHAR) | SELECT MAX(starts) FROM table_29504351_2 WHERE player = "Jeff Brehaut" |
Write a SQL query that answers the following question: What is the best finish record for Carl Paulson? | The relevant table was constructed using the following SQL : CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) | SELECT best_finish FROM table_29504351_2 WHERE player = "Carl Paulson" |
Write a SQL query that answers the following question: What is the best finish record for Sean O'hair? | The relevant table was constructed using the following SQL : CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) | SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair" |
Write a SQL query that answers the following question: What is the money list rank for player Doug Barron? | The relevant table was constructed using the following SQL : CREATE TABLE table_29504351_2 (money_list_rank INTEGER, player VARCHAR) | SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron" |
Write a SQL query that answers the following question: How many athletes were named federico muller? | The relevant table was constructed using the following SQL : CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR) | SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller" |
Write a SQL query that answers the following question: What was the round of 16 result for felipe saucedo? | The relevant table was constructed using the following SQL : CREATE TABLE table_29521180_35 (round_of_16 VARCHAR, athlete VARCHAR) | SELECT round_of_16 FROM table_29521180_35 WHERE athlete = "Felipe Saucedo" |
Write a SQL query that answers the following question: The Ring of Steel possesses what ISBN? | The relevant table was constructed using the following SQL : CREATE TABLE table_2950964_5 (isbn VARCHAR, title VARCHAR) | SELECT isbn FROM table_2950964_5 WHERE title = "The Ring Of Steel" |
Write a SQL query that answers the following question: THe audio book with ISBN 978-1-4084-6879-1 is read by whom? | The relevant table was constructed using the following SQL : CREATE TABLE table_2950964_5 (read_by VARCHAR, isbn VARCHAR) | SELECT read_by FROM table_2950964_5 WHERE isbn = "isbn 978-1-4084-6879-1" |
Write a SQL query that answers the following question: The Empty House audiobook has what #? | The relevant table was constructed using the following SQL : CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR) | SELECT _number FROM table_2950964_5 WHERE title = "The Empty House" |
Write a SQL query that answers the following question: How many people directed episode 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545336_2 (directed_by VARCHAR, no VARCHAR) | SELECT COUNT(directed_by) FROM table_29545336_2 WHERE no = 2 |
Write a SQL query that answers the following question: What is the title of the episode that featured Abbud Siddiqui? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545336_2 (title VARCHAR, featured_character_s_ VARCHAR) | SELECT title FROM table_29545336_2 WHERE featured_character_s_ = "Abbud Siddiqui" |
Write a SQL query that answers the following question: How many million U.S. viewers was written by Matt Pelfrey? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545336_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__millions_ FROM table_29545336_2 WHERE written_by = "Matt Pelfrey" |
Write a SQL query that answers the following question: When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there? | The relevant table was constructed using the following SQL : CREATE TABLE table_29538735_1 (tonnes_of_co2_saved VARCHAR, _percentage_electricity_reduction VARCHAR) | SELECT COUNT(tonnes_of_co2_saved) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%" |
Write a SQL query that answers the following question: When 1522 is the tonnes of co2 saved what is the year? | The relevant table was constructed using the following SQL : CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR) | SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522 |
Write a SQL query that answers the following question: When £337,000 is £ saved what is the percentage of electricity reduction? | The relevant table was constructed using the following SQL : CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR) | SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000" |
Write a SQL query that answers the following question: When 8.9% is the electricity reduction percentage what is the £ saved? | The relevant table was constructed using the following SQL : CREATE TABLE table_29538735_1 (£_saved VARCHAR, _percentage_electricity_reduction VARCHAR) | SELECT £_saved FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%" |
Write a SQL query that answers the following question: When 10% is the percentage of electricity reduction how many sets of universities are there? | The relevant table was constructed using the following SQL : CREATE TABLE table_29538735_1 (universities VARCHAR, _percentage_electricity_reduction VARCHAR) | SELECT COUNT(universities) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "10%" |
Write a SQL query that answers the following question: What is maximum loss record when the pa record is 47? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545993_3 (l INTEGER, pa VARCHAR) | SELECT MAX(l) FROM table_29545993_3 WHERE pa = 47 |
Write a SQL query that answers the following question: What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR) | SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.0 |
Write a SQL query that answers the following question: What is the minimum stolen ends record where the pa record is 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR) | SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40 |
Write a SQL query that answers the following question: What is the lowest overall amount of w's? | The relevant table was constructed using the following SQL : CREATE TABLE table_29542269_2 (w INTEGER) | SELECT MIN(w) FROM table_29542269_2 |
Write a SQL query that answers the following question: What is the highest L of the tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_29542147_2 (l INTEGER) | SELECT MAX(l) FROM table_29542147_2 |
Write a SQL query that answers the following question: What is the highest W of the 0 L? | The relevant table was constructed using the following SQL : CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR) | SELECT MAX(w) FROM table_29542147_2 WHERE l = 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.