instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider? | SELECT General Classification FROM table WHERE Winner = Ben Swift AND Young Rider Classification = Cameron Meyer |
Translate the following into a SQL query | Who is the sprint classification where Francisco Ventoso wins? | SELECT Sprint Classification FROM table WHERE Winner = Francisco Ventoso |
Translate the following into a SQL query | In the week of what was the runner-up Pat Du Pré? | SELECT Week of FROM table WHERE Runner-up = Pat Du Pré |
Translate the following into a SQL query | Who were the semifinalists when the runner-up was Peter Feigl? | SELECT Semifinalists FROM table WHERE Runner-up = Peter Feigl |
Translate the following into a SQL query | Who were the semifinalists when the runner-up was Pat Du Pré? | SELECT Semifinalists FROM table WHERE Runner-up = Pat Du Pré |
Translate the following into a SQL query | Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pré? | SELECT Semifinalists FROM table WHERE Week of = 13 November AND Runner-up = Pat Du Pré |
Translate the following into a SQL query | What are the quarterfinalists when the runner up is andrew pattison? | SELECT Quarterfinalists FROM table WHERE Runner-up = Andrew Pattison |
Translate the following into a SQL query | When indonesia is the country what is the rank of 2010? | SELECT Rank 2010 FROM table WHERE Country = Indonesia |
Translate the following into a SQL query | When 5 is the rank of 2011 what is the country? | SELECT Country FROM table WHERE Rank 2011 = 5 |
Translate the following into a SQL query | When sweden is the country what is the highest production in 2010 (1,000 ton)? | SELECT MAX Production in 2010 (1,000 ton) FROM table WHERE Country = Sweden |
Translate the following into a SQL query | When 75849 is the production in 2010 (1,000 ton) what is the production in 2011 (1,000 ton)? | SELECT Production in 2011 (1,000 ton) FROM table WHERE Production in 2010 (1,000 ton) = 75849 |
Translate the following into a SQL query | Valmir Benavides won pole position at which circuit? | SELECT Circuit FROM table WHERE Pole Position = Valmir Benavides |
Translate the following into a SQL query | 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? | SELECT Winning driver FROM table WHERE Pole Position = Roberval Andrade AND Fastest Lap = Felipe Giaffone AND Winning team = RVR Corinthians Motorsport |
Translate the following into a SQL query | What is the fewest number of 2005 subscribers for Vodafone? | SELECT MIN Subscribers (2005) (thousands) FROM table WHERE Provider = Vodafone |
Translate the following into a SQL query | What is the maximum number of 2006 subscribers for Glo Mobile? | SELECT MAX Subscribers (2006) (thousands) FROM table WHERE Provider = Glo Mobile |
Translate the following into a SQL query | What is the maximum number of 2006 subscribers for Mobilis? | SELECT MAX Subscribers (2006) (thousands) FROM table WHERE Provider = Mobilis |
Translate the following into a SQL query | How many subscribers, in 2006, does Glo Mobile have? | SELECT Subscribers (2006) (thousands) FROM table WHERE Provider = Glo Mobile |
Translate the following into a SQL query | How many 2006 subscribers are named Vodafone? | SELECT COUNT Subscribers (2006) (thousands) FROM table WHERE Provider = Vodafone |
Translate the following into a SQL query | Name the number of captains for barcelona | SELECT COUNT Captain FROM table WHERE Team = Barcelona |
Translate the following into a SQL query | Name the chairman for iker casillas | SELECT Chairman FROM table WHERE Captain = Iker Casillas |
Translate the following into a SQL query | Name the team for javier clemente | SELECT Team FROM table WHERE Head Coach = Javier Clemente |
Translate the following into a SQL query | What is the season # for the production code 3.89? | SELECT Season # FROM table WHERE Production code = 3.89 |
Translate the following into a SQL query | What is the series # for the episode titled "words"? | SELECT MAX Series # FROM table WHERE Title = "Words" |
Translate the following into a SQL query | Who wrote the episode that was directed by Kevin Inch? | SELECT Written by FROM table WHERE Directed by = Kevin Inch |
Translate the following into a SQL query | What is the original air date for the season# 2? | SELECT Original air date FROM table WHERE Season # = 2 |
Translate the following into a SQL query | What is the production code for the episode whose original air date was May15,2000? | SELECT Production code FROM table WHERE Original air date = May15,2000 |
Translate the following into a SQL query | Who directed the episode titled "who nose"? | SELECT Directed by FROM table WHERE Title = "Who Nose" |
Translate the following into a SQL query | What is the former school of the player from Detroit, MI? | SELECT Former school FROM table WHERE Hometown = Detroit, MI |
Translate the following into a SQL query | What is the hometown of Jarrid Famous? | SELECT Hometown FROM table WHERE Name = Jarrid Famous |
Translate the following into a SQL query | What number is the player whose hometown is Tampa, FL? | SELECT # FROM table WHERE Hometown = Tampa, FL |
Translate the following into a SQL query | What year is the player whose number is 31? | SELECT Year FROM table WHERE # = 31 |
Translate the following into a SQL query | What is the height of Anthony Crater? | SELECT Height FROM table WHERE Name = Anthony Crater |
Translate the following into a SQL query | What is the former school of the player from North Port, FL? | SELECT Former school FROM table WHERE Hometown = North Port, FL |
Translate the following into a SQL query | how many countries have remittances in 2008 of 9.07? | SELECT COUNT Country FROM table WHERE Remittances 2008 = 9.07 |
Translate the following into a SQL query | how many remittances in 2010 where the remittances is 19.73? | SELECT COUNT Remittances 2010 FROM table WHERE Remittances 2009 = 19.73 |
Translate the following into a SQL query | how many remittances in 2010 for nigeria? | SELECT Remittances 2010 FROM table WHERE Country = Nigeria |
Translate the following into a SQL query | how many countiers had 2009 remittances of 6.02? | SELECT COUNT Country FROM table WHERE Remittances 2009 = 6.02 |
Translate the following into a SQL query | What is the highest year with field reporter Steve Lyons? | SELECT MAX Year FROM table WHERE s Field reporter = Steve Lyons |
Translate the following into a SQL query | What is every pregame analyst with Chris Rose as trophy presenter? | SELECT Pregame analysts FROM table WHERE Trophy presentation = Chris Rose |
Translate the following into a SQL query | Who is every play-by-play announcer when Chris Rose is the trophy presenter? | SELECT Play-by-play announcer FROM table WHERE Trophy presentation = Chris Rose |
Translate the following into a SQL query | Who directed "I am Dick Pentameter!"? | SELECT Directed by FROM table WHERE Title = "I Am Dick Pentameter!" |
Translate the following into a SQL query | How many episodes are titled "dick's big giant headache (part 1)"? | SELECT COUNT No. in season FROM table WHERE Title = "Dick's Big Giant Headache (Part 1)" |
Translate the following into a SQL query | What is the episode number od "Dick Vs. Strudwick"? | SELECT MAX No. in series FROM table WHERE Title = "Dick vs. Strudwick" |
Translate the following into a SQL query | How many teams came in fourth when Otsuka Pharmaceuticals won? | SELECT COUNT Fourth place FROM table WHERE Winner = Otsuka Pharmaceuticals |
Translate the following into a SQL query | Who was the runner up the season that Sagawa Express came in fourth? | SELECT Runner-up FROM table WHERE Fourth place = Sagawa Express |
Translate the following into a SQL query | How many seasons did Otsuka Pharmaceuticals come in third? | SELECT COUNT Season FROM table WHERE Third place = Otsuka Pharmaceuticals |
Translate the following into a SQL query | How many episodes were written by Gregg Mettler? | SELECT COUNT No. in series FROM table WHERE Written by = Gregg Mettler |
Translate the following into a SQL query | What date did episode 4 in the season originally air? | SELECT Original air date FROM table WHERE No. in season = 4 |
Translate the following into a SQL query | What date did "the big giant head returns again (part 1)" originally air? | SELECT Original air date FROM table WHERE Title = "The Big Giant Head Returns Again (Part 1)" |
Translate the following into a SQL query | What is the production code when the title is "you don't know dick"? | SELECT MIN Production code FROM table WHERE Title = "You Don't Know Dick" |
Translate the following into a SQL query | Who are all the major users of the Gordon Close-Support Weapon System? | SELECT Major users FROM table WHERE Name/ designation = Gordon Close-Support Weapon System |
Translate the following into a SQL query | What country made the Flieger-Doppelpistole 1919? | SELECT Country of origin FROM table WHERE Name/ designation = Flieger-Doppelpistole 1919 |
Translate the following into a SQL query | How many years of introduction does the Neal Submachine Gun have? | SELECT COUNT Year of intro FROM table WHERE Name/ designation = Neal submachine gun |
Translate the following into a SQL query | Who are the major users from Australia? | SELECT Major users FROM table WHERE Country of origin = Australia |
Translate the following into a SQL query | Who are all the major users of the Saturn Machine Pistol? | SELECT Major users FROM table WHERE Name/ designation = Saturn machine pistol |
Translate the following into a SQL query | in how many of the arkansas colomel the county was pope | SELECT COUNT Colonel FROM table WHERE County = Pope |
Translate the following into a SQL query | what is the name of the coloneo of the 35th regiment | SELECT Colonel FROM table WHERE Regiment = 35th Regiment |
Translate the following into a SQL query | which regiment was in the Fulton County | SELECT Regiment FROM table WHERE County = Fulton |
Translate the following into a SQL query | what is he name of the county where the 2nd division and the 41st regiment was | SELECT County FROM table WHERE Division = 2nd Division AND Regiment = 41st Regiment |
Translate the following into a SQL query | which regimen was in the arkansas county | SELECT Regiment FROM table WHERE County = Arkansas |
Translate the following into a SQL query | When nicole dubuc duane capizzi is the writer who is the director? | SELECT Director FROM table WHERE Writer(s) = Nicole Dubuc Duane Capizzi |
Translate the following into a SQL query | When "speed metal" is the episode title what is the lowest number? | SELECT MIN No. FROM table WHERE Episode title = "Speed Metal" |
Translate the following into a SQL query | When 22 is the number what is the episode title? | SELECT Episode title FROM table WHERE No. = 22 |
Translate the following into a SQL query | When the # is 9 what is the U.S original airdate? | SELECT U.S. original airdate FROM table WHERE # = 9 |
Translate the following into a SQL query | how many representatives from hanover twp were first elected in 2008 | SELECT COUNT Representative FROM table WHERE First Elected = 2008 AND Residence = Hanover Twp |
Translate the following into a SQL query | when was al landis first elected | SELECT First Elected FROM table WHERE Representative = Al Landis |
Translate the following into a SQL query | which representative is from willowick | SELECT Representative FROM table WHERE Residence = Willowick |
Translate the following into a SQL query | which district does andy thompson represent | SELECT COUNT District FROM table WHERE Representative = Andy Thompson |
Translate the following into a SQL query | which party is the newark representative from | SELECT Party FROM table WHERE Residence = Newark |
Translate the following into a SQL query | who is beavercreek's representative | SELECT Representative FROM table WHERE Residence = Beavercreek |
Translate the following into a SQL query | What was Reid's rolex ranking in the year that her money list rank was 3? | SELECT MAX Rolex ranking FROM table WHERE Money list rank = 3 |
Translate the following into a SQL query | What was the money list rank for Reid in the year that she had 0 top 10s? | SELECT Money list rank FROM table WHERE Top 10s = 0 |
Translate the following into a SQL query | How many cuts did Reid make in the year when her earnings were n/a? | SELECT MAX Cuts made FROM table WHERE Earnings ( € ) = n/a |
Translate the following into a SQL query | In what year were Reid's earnings €4,050 1? | SELECT MIN Year FROM table WHERE Earnings ( € ) = 4,050 1 |
Translate the following into a SQL query | What is the best finish for the player whose earnings was $421050? | SELECT Best finish FROM table WHERE Earnings ($) = 421050 |
Translate the following into a SQL query | What is the maximum start record for player of Jeff Brehaut? | SELECT MAX Starts FROM table WHERE Player = Jeff Brehaut |
Translate the following into a SQL query | What is the best finish record for Carl Paulson? | SELECT Best finish FROM table WHERE Player = Carl Paulson |
Translate the following into a SQL query | What is the best finish record for Sean O'hair? | SELECT Best finish FROM table WHERE Player = Sean O'Hair |
Translate the following into a SQL query | What is the money list rank for player Doug Barron? | SELECT MAX Money list rank FROM table WHERE Player = Doug Barron |
Translate the following into a SQL query | How many athletes were named federico muller? | SELECT COUNT Quarterfinals FROM table WHERE Athlete = Federico Muller |
Translate the following into a SQL query | What was the round of 16 result for felipe saucedo? | SELECT Round of 16 FROM table WHERE Athlete = Felipe Saucedo |
Translate the following into a SQL query | The Ring of Steel possesses what ISBN? | SELECT ISBN FROM table WHERE Title = The Ring Of Steel |
Translate the following into a SQL query | THe audio book with ISBN 978-1-4084-6879-1 is read by whom? | SELECT Read by FROM table WHERE ISBN = ISBN 978-1-4084-6879-1 |
Translate the following into a SQL query | The Empty House audiobook has what #? | SELECT # FROM table WHERE Title = The Empty House |
Translate the following into a SQL query | How many people directed episode 2? | SELECT COUNT Directed by FROM table WHERE No. = 2 |
Translate the following into a SQL query | What date did "stanley" originally air? | SELECT Original air date FROM table WHERE Title = "Stanley" |
Translate the following into a SQL query | What is the title of the episode that featured Abbud Siddiqui? | SELECT Title FROM table WHERE Featured character(s) = Abbud Siddiqui |
Translate the following into a SQL query | How many million U.S. viewers was written by Matt Pelfrey? | SELECT U.S. viewers (millions) FROM table WHERE Written by = Matt Pelfrey |
Translate the following into a SQL query | When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there? | SELECT COUNT Tonnes of CO2 Saved FROM table WHERE % electricity reduction = 8.9% |
Translate the following into a SQL query | When 1522 is the tonnes of co2 saved what is the year? | SELECT Year FROM table WHERE Tonnes of CO2 Saved = 1522 |
Translate the following into a SQL query | When £337,000 is £ saved what is the percentage of electricity reduction? | SELECT % electricity reduction FROM table WHERE £ Saved = £337,000 |
Translate the following into a SQL query | When 8.9% is the electricity reduction percentage what is the £ saved? | SELECT £ Saved FROM table WHERE % electricity reduction = 8.9% |
Translate the following into a SQL query | When 10% is the percentage of electricity reduction how many sets of universities are there? | SELECT COUNT Universities FROM table WHERE % electricity reduction = 10% |
Translate the following into a SQL query | What is maximum loss record when the pa record is 47? | SELECT MAX L FROM table WHERE PA = 47 |
Translate the following into a SQL query | What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0? | SELECT MIN Ends Lost FROM table WHERE Stolen Ends = 6 AND L > 5.0 |
Translate the following into a SQL query | What is the minimum stolen ends record where the pa record is 40? | SELECT MIN Stolen Ends FROM table WHERE PA = 40 |
Translate the following into a SQL query | When 39 is the amount of ends won who is the skip (club)? | SELECT Skip (Club) FROM table WHERE Ends Won = 39 |
Translate the following into a SQL query | When nicole backe (nanaimo curling club) is the skip (club) how many sets of w's are there? | SELECT COUNT W FROM table WHERE Skip (Club) = Nicole Backe (Nanaimo Curling Club) |
Translate the following into a SQL query | When 36 is the amount of ends won how many sets of pf's are there? | SELECT COUNT PF FROM table WHERE Ends Won = 36 |
Translate the following into a SQL query | What is the lowest overall amount of w's? | SELECT MIN W FROM table |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.