instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Place that has a Date of 22 august 2004? | SELECT Place FROM table WHERE Date = 22 august 2004 |
Translate the following into a SQL query | What is the Record that has a Nationality of new zealand? | SELECT Record FROM table WHERE Nationality = new zealand |
Translate the following into a SQL query | WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG? | SELECT Skip FROM table WHERE Third = deanna doig |
Translate the following into a SQL query | WHAT IS THE THIRD WITH LEAD CINDY SIMMONS? | SELECT Third FROM table WHERE Lead = cindy simmons |
Translate the following into a SQL query | WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER? | SELECT Lead FROM table WHERE Third = jeanna schraeder |
Translate the following into a SQL query | WHAT IS THE LEAD WITH THIRD AS TARA GEORGE? | SELECT Lead FROM table WHERE Third = tara george |
Translate the following into a SQL query | WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT? | SELECT Second FROM table WHERE City = regina AND Skip = michelle englot |
Translate the following into a SQL query | WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? | SELECT City FROM table WHERE Third = lori olson-johns |
Translate the following into a SQL query | What event has a 0:49 time? | SELECT Event FROM table WHERE Time = 0:49 |
Translate the following into a SQL query | What is the record with a 3:56 time? | SELECT Record FROM table WHERE Time = 3:56 |
Translate the following into a SQL query | Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? | SELECT Champion FROM table WHERE Third = blaho blahoyeve AND Season = 1995-96 |
Translate the following into a SQL query | Which Zone has a Champion of surozh sudak? | SELECT SUM Zone FROM table WHERE Champion = surozh sudak |
Translate the following into a SQL query | Which Third has a Champion of metalurh novomoskovsk? | SELECT Third FROM table WHERE Champion = metalurh novomoskovsk |
Translate the following into a SQL query | What is the census ranking for the parish with an area larger than 243.31 square km? | SELECT Census Ranking FROM table WHERE Area km 2 > 243.31 |
Translate the following into a SQL query | What is the verb meaning for Saugen in part 1? | SELECT Verb meaning FROM table WHERE Part 1 = saugen |
Translate the following into a SQL query | What is the verb meaning for Gaben in part 3? | SELECT Verb meaning FROM table WHERE Part 3 = gaben |
Translate the following into a SQL query | What is the class for Geholfen Gedroschen in part 4? | SELECT Class FROM table WHERE Part 4 = geholfen gedroschen |
Translate the following into a SQL query | What is the class for trafen in part 3? | SELECT Class FROM table WHERE Part 3 = trafen |
Translate the following into a SQL query | What is the verb meaning for class 4? | SELECT Verb meaning FROM table WHERE Class = 4 |
Translate the following into a SQL query | Who is the prime minister that had a term that ended on 5 March 1930? | SELECT Name FROM table WHERE Term end = 5 march 1930 |
Translate the following into a SQL query | What are the Poles for Season 2006 | SELECT Poles FROM table WHERE Season = 2006 |
Translate the following into a SQL query | If Podiums is 2 and F/Laps are 2, what are the wins? | SELECT Wins FROM table WHERE Podiums = 2 AND F/Laps = 2 |
Translate the following into a SQL query | If the Races is Test Driver what is the Position? | SELECT Position FROM table WHERE Races = test driver |
Translate the following into a SQL query | Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24? | SELECT MIN Races FROM table WHERE Team Name = piquet gp AND Points > 24 |
Translate the following into a SQL query | Can you tell me the sum of Poles that has the Season of 2005, and the Series of formula three sudamericana? | SELECT SUM Poles FROM table WHERE Season = 2005 AND Series = formula three sudamericana |
Translate the following into a SQL query | Can you tell me the Series that has the Wins of 0, and the Season of a 2002? | SELECT Series FROM table WHERE Wins = 0 AND Season = 2002 |
Translate the following into a SQL query | What is Venue, when Game is greater than 18, and when Opponent is Morecambe? | SELECT Venue FROM table WHERE Game > 18 AND Opponent = morecambe |
Translate the following into a SQL query | What is the sum of Game, when Date is 29 January 2008? | SELECT SUM Game FROM table WHERE Date = 29 january 2008 |
Translate the following into a SQL query | What date had a catalog of kicp-1321? | SELECT Date FROM table WHERE Catalog = kicp-1321 |
Translate the following into a SQL query | What was the catalog when the label was frontiers records? | SELECT Catalog FROM table WHERE Label = frontiers records |
Translate the following into a SQL query | What was the format for the region of europe? | SELECT Format FROM table WHERE Region = europe |
Translate the following into a SQL query | What was the region when the label was the universal music group? | SELECT Region FROM table WHERE Label = universal music group |
Translate the following into a SQL query | What was the format when the label was loen entertainment? | SELECT Format FROM table WHERE Label = loen entertainment |
Translate the following into a SQL query | With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is? | SELECT Number FROM table WHERE Builder = baldwin locomotive works AND Works number = 40864 |
Translate the following into a SQL query | Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number? | SELECT Works number FROM table WHERE Type = 0-4-4 forney locomotive AND Builder = h. k. porter, inc |
Translate the following into a SQL query | Baldwin Locomotive Works, also with works number 40864, is listed as what number? | SELECT Number FROM table WHERE Builder = baldwin locomotive works AND Works number = 40864 |
Translate the following into a SQL query | Hinkley Locomotive Works is listed as what number as it has a works number smaller than 1563? | SELECT Number FROM table WHERE Works number < 1563 AND Builder = hinkley locomotive works |
Translate the following into a SQL query | What is Score, when Outcome is Winner, and when Opponent is Angela Haynes? | SELECT Score FROM table WHERE Outcome = winner AND Opponent = angela haynes |
Translate the following into a SQL query | What is Date, when Championship is Mackay? | SELECT Date FROM table WHERE Championship = mackay |
Translate the following into a SQL query | What is Opponent, when Championship is Pétange? | SELECT Opponent FROM table WHERE Championship = pétange |
Translate the following into a SQL query | What is Outcome, when Score is 1-6, 3-6? | SELECT Outcome FROM table WHERE Score = 1-6, 3-6 |
Translate the following into a SQL query | What is Date, when Score is 6-3, 4-6, 0-6? | SELECT Date FROM table WHERE Score = 6-3, 4-6, 0-6 |
Translate the following into a SQL query | What is Score, when Opponent is Natalia Rizhonkova? | SELECT Score FROM table WHERE Opponent = natalia rizhonkova |
Translate the following into a SQL query | Which Game has a Nugget points of 89? | SELECT MIN Game FROM table WHERE Nuggets points = 89 |
Translate the following into a SQL query | Which Record has a Result of win, and a Streak of won 1, and a Game of 47? | SELECT Record FROM table WHERE Result = win AND Streak = won 1 AND Game = 47 |
Translate the following into a SQL query | How many Opponents have a Result of win, and Nuggets points smaller than 115, and an Opponent of washington? | SELECT SUM Opponents FROM table WHERE Result = win AND Nuggets points < 115 AND Opponent = washington |
Translate the following into a SQL query | How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? | SELECT COUNT Opponents FROM table WHERE Result = loss AND Game < 49 AND Nuggets points = 108 |
Translate the following into a SQL query | Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9? | SELECT Result FROM table WHERE Game < 37 AND Streak = lost 1 AND Record = 4-9 |
Translate the following into a SQL query | What round has a name of vladimir morozov? | SELECT Round FROM table WHERE Name = vladimir morozov |
Translate the following into a SQL query | What is the record for the date of 12 december? | SELECT Record FROM table WHERE Date = 12 december |
Translate the following into a SQL query | What is the date for the name ryan lochte? | SELECT Date FROM table WHERE Name = ryan lochte |
Translate the following into a SQL query | What is the record for the date 15 december, and a round of final? | SELECT Record FROM table WHERE Date = 15 december AND Round = final |
Translate the following into a SQL query | What is the lowest attendance for week 11? | SELECT MIN Attendance FROM table WHERE Week = 11 |
Translate the following into a SQL query | What is the total number of spectators on week 4? | SELECT COUNT Attendance FROM table WHERE Week = 4 |
Translate the following into a SQL query | What was the sample size for polling on May 2-7, 2007 for Hillary Clinton? | SELECT Sample Size FROM table WHERE Date = may 2-7, 2007 AND Democrat = hillary clinton |
Translate the following into a SQL query | Who was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6? | SELECT Republican FROM table WHERE Sample Size > 1087 AND Democrat = hillary clinton AND Margin of Error = 2.6 |
Translate the following into a SQL query | Where is the poll source when Hillary clinton was the democrat, john mccain was the republican, and the margin of error was less than 4.5 on May 2-7, 2007? | SELECT Poll Source FROM table WHERE Democrat = hillary clinton AND Margin of Error < 4.5 AND Republican = john mccain AND Date = may 2-7, 2007 |
Translate the following into a SQL query | What si the total sample size at rasmussen reports when the margin of error was bigger than 4.5? | SELECT COUNT Sample Size FROM table WHERE Poll Source = rasmussen reports AND Margin of Error > 4.5 |
Translate the following into a SQL query | What is the date that the polls were going on at quinnipiac when john mccain was the republican, barack obama was the democrat and the sample size was bigger than 1427? | SELECT Date FROM table WHERE Republican = john mccain AND Poll Source = quinnipiac AND Democrat = barack obama AND Sample Size > 1427 |
Translate the following into a SQL query | What is To Par, when Player is Greg Norman? | SELECT To par FROM table WHERE Player = greg norman |
Translate the following into a SQL query | What is Score, when Money ( $ ) is 32,200, and when Player is Chip Beck? | SELECT Score FROM table WHERE Money ( $ ) = 32,200 AND Player = chip beck |
Translate the following into a SQL query | What is Money ( $ ), when Player is Greg Norman? | SELECT Money ( $ ) FROM table WHERE Player = greg norman |
Translate the following into a SQL query | What is Player, when Country is United States, and when Score is 73-76-72-66=287? | SELECT Player FROM table WHERE Country = united states AND Score = 73-76-72-66=287 |
Translate the following into a SQL query | What is To Par, when Money ( $ ) is Playoff, and when Score is 68-73-77-65=283? | SELECT To par FROM table WHERE Money ( $ ) = playoff AND Score = 68-73-77-65=283 |
Translate the following into a SQL query | What country was Ernie Els from? | SELECT Country FROM table WHERE Player = ernie els |
Translate the following into a SQL query | What was the par for the t5 place player Steve Jones? | SELECT To par FROM table WHERE Place = t5 AND Player = steve jones |
Translate the following into a SQL query | What is the title for Hui that ruled from 864 BC? | SELECT Title FROM table WHERE Name = hui AND From = 864 bc |
Translate the following into a SQL query | What type is You from the state of Chen? | SELECT Type FROM table WHERE State = chen AND Name = you |
Translate the following into a SQL query | Xiong Yan the Younger of the house of Mi ruled from what year? | SELECT From FROM table WHERE Royal house = mi AND Name = xiong yan the younger |
Translate the following into a SQL query | What country had the runner abubaker kaki khamis in lane 5? | SELECT Country FROM table WHERE Lane = 5 AND Name = abubaker kaki khamis |
Translate the following into a SQL query | What is the highest heat for a lane past 1 and mark of 1:48.61? | SELECT MAX Heat FROM table WHERE Lane > 1 AND Mark = 1:48.61 |
Translate the following into a SQL query | What is average for Benito Lorenzi league when total is smaller than 143? | SELECT AVG League FROM table WHERE Name = benito lorenzi AND Total < 143 |
Translate the following into a SQL query | Which league has total smaller than 284, with Sandro Mazzola league? | SELECT MIN League FROM table WHERE Total < 284 AND Name = sandro mazzola |
Translate the following into a SQL query | What is the earliest election with 2 seats and the outcome of the election of minority in parliament? | SELECT MIN Election FROM table WHERE Outcome of election = minority in parliament AND Seats = 2 |
Translate the following into a SQL query | How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have? | SELECT Seats FROM table WHERE Outcome of election = minority in parliament AND Number of PNC votes = 186,226 |
Translate the following into a SQL query | How many seats did the election before 2004 with 3.4% share of votes have? | SELECT Seats FROM table WHERE Election < 2004 AND Share of votes = 3.4% |
Translate the following into a SQL query | How many PNC votes did the election before 1996 have? | SELECT Number of PNC votes FROM table WHERE Election < 1996 |
Translate the following into a SQL query | How many times is the postion S? | SELECT COUNT Overall FROM table WHERE Position = s |
Translate the following into a SQL query | how many times is the name Derek Smith when the round is higher than 3? | SELECT COUNT Overall FROM table WHERE Name = derek smith AND Round > 3 |
Translate the following into a SQL query | what is the lowest overall when the pick is 20? | SELECT MIN Overall FROM table WHERE Pick = 20 |
Translate the following into a SQL query | what is the highest round when the overall is less than 17? | SELECT MAX Round FROM table WHERE Overall < 17 |
Translate the following into a SQL query | What is Partner, when Opponents In The Final is Remi Tezuka Shuko Aoyama? | SELECT Partner FROM table WHERE Opponents in the final = remi tezuka shuko aoyama |
Translate the following into a SQL query | What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2? | SELECT Opponents in the final FROM table WHERE Score = 4-1 5-4 (7) 4-2 |
Translate the following into a SQL query | What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois? | SELECT Date FROM table WHERE Opponents in the final = maria-fernanda alves stéphanie dubois |
Translate the following into a SQL query | Where was the Fury FC 4: High Voltage event held? | SELECT Location FROM table WHERE Event = fury fc 4: high voltage |
Translate the following into a SQL query | What's the nat that ends in 2009? | SELECT Nat. FROM table WHERE Ends = 2009 |
Translate the following into a SQL query | What is the type when they move from Gimnàstic? | SELECT Type FROM table WHERE Moving from = gimnàstic |
Translate the following into a SQL query | What's the transfer window that ends in 2012? | SELECT Transfer window FROM table WHERE Ends = 2012 |
Translate the following into a SQL query | What's the type that ends in 2009? | SELECT Type FROM table WHERE Ends = 2009 |
Translate the following into a SQL query | What's the moving of the Esp with a transfer and named De La Red? | SELECT Moving from FROM table WHERE Type = transfer AND Nat. = esp AND Name = de la red |
Translate the following into a SQL query | What type is González? | SELECT Type FROM table WHERE Name = gonzález |
Translate the following into a SQL query | How many sales took place with a peak of 1 for Boris? | SELECT COUNT Sales FROM table WHERE Peak = 1 AND Artist = boris |
Translate the following into a SQL query | What was the record in the game where the opponent was the cincinnati royals? | SELECT Record FROM table WHERE Opponent = cincinnati royals |
Translate the following into a SQL query | What was the attendance of game 25 when the played the San Francisco Warriors? | SELECT Location/Attendance FROM table WHERE Opponent = san francisco warriors AND Game = 25 |
Translate the following into a SQL query | Which manufacturer has a grid of 6? | SELECT Manufacturer FROM table WHERE Grid = 6 |
Translate the following into a SQL query | Who is the rider for Honda with a grid of 25? | SELECT Rider FROM table WHERE Manufacturer = honda AND Grid = 25 |
Translate the following into a SQL query | How many laps has a grid of 5? | SELECT Laps FROM table WHERE Grid = 5 |
Translate the following into a SQL query | Who is the rider whose time/retired is accident? | SELECT Rider FROM table WHERE Time/Retired = accident |
Translate the following into a SQL query | How many laps have a time/retired of +23.080? | SELECT Laps FROM table WHERE Time/Retired = +23.080 |
Translate the following into a SQL query | Who is the manufacturer for Henk Vd Lagemaat? | SELECT Manufacturer FROM table WHERE Rider = henk vd lagemaat |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.