instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Where is the headquarters of the getinge group located?
SELECT Headquarters FROM table WHERE Company = getinge group
Translate the following into a SQL query
How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1?
SELECT COUNT s Asset (billion $) FROM table WHERE Headquarters = stockholm, sweden AND Market value (billion $) < 39.8 AND Revenue (billion $ ) > 5.8 AND Profits (billion $) = 1.1
Translate the following into a SQL query
Name the date for zi yan jie zheng opponent
SELECT Date FROM table WHERE Opponents = zi yan jie zheng
Translate the following into a SQL query
Name the partner for 14 october 2007
SELECT Partner FROM table WHERE Date = 14 october 2007
Translate the following into a SQL query
Name the partner for opponents of alexandra dulgheru magdaléna rybáriková
SELECT Partner FROM table WHERE Opponents = alexandra dulgheru magdaléna rybáriková
Translate the following into a SQL query
Name the opponents for 24 july 2011
SELECT Opponents FROM table WHERE Date = 24 july 2011
Translate the following into a SQL query
What is Ken Walter's lowest pick number with an overall pick number larger than 195?
SELECT MIN Pick # FROM table WHERE Name = ken walter AND Overall > 195
Translate the following into a SQL query
What does Polyphenyl Ether of 3- and 4-ring oxythio look like?
SELECT Appearance FROM table WHERE Polyphenyl Ether = 3- and 4-ring oxythio
Translate the following into a SQL query
How long was the course from Naples to Foggia?
SELECT Distance FROM table WHERE Course = naples to foggia
Translate the following into a SQL query
Name the score with opponent of milos raonic
SELECT Score FROM table WHERE Opponent = milos raonic
Translate the following into a SQL query
Name the date with a hard surface and tournament of usa f5, brownsville
SELECT Date FROM table WHERE Surface = hard AND Tournament = usa f5, brownsville
Translate the following into a SQL query
Name the outcome with tournament of mexico f12, obregón
SELECT Outcome FROM table WHERE Tournament = mexico f12, obregón
Translate the following into a SQL query
Name the tournament for march 25, 2012
SELECT Tournament FROM table WHERE Date = march 25, 2012
Translate the following into a SQL query
What was the final score for the August 25, 1996 match?
SELECT Score in the final FROM table WHERE Date = august 25, 1996
Translate the following into a SQL query
What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
SELECT AVG Year FROM table WHERE Points < 6 AND Engine = maserati straight-6
Translate the following into a SQL query
What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?
SELECT Entrant FROM table WHERE Chassis = maserati 250f AND Year < 1957 AND Points < 6
Translate the following into a SQL query
What chassis has a year of 1951?
SELECT Chassis FROM table WHERE Year = 1951
Translate the following into a SQL query
What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?
SELECT Chassis FROM table WHERE Engine = maserati straight-6 AND Entrant = officine alfieri maserati AND Points < 6
Translate the following into a SQL query
Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
SELECT MAX Lane FROM table WHERE Time < 49.67 AND Name = michael klim AND Rank < 1
Translate the following into a SQL query
What is the lowest lane with Lorenzo Vismara and a time higher than 49.67?
SELECT MIN Lane FROM table WHERE Name = lorenzo vismara AND Time > 49.67
Translate the following into a SQL query
Who was the visitor on January 24?
SELECT Visitor FROM table WHERE Date = january 24
Translate the following into a SQL query
Who was the home team on January 8?
SELECT Home FROM table WHERE Date = january 8
Translate the following into a SQL query
Who was the Opponent when the Attendance was 38,150?
SELECT Opponent FROM table WHERE Attendance = 38,150
Translate the following into a SQL query
Where is NCAA division ii Franklin Pierce University located at?
SELECT Location FROM table WHERE Classification = ncaa division ii AND Institution = franklin pierce university
Translate the following into a SQL query
Post University has what nickname?
SELECT Nickname FROM table WHERE Institution = post university
Translate the following into a SQL query
The River Hawks belonged to what current conference?
SELECT Current Conference FROM table WHERE Nickname = river hawks
Translate the following into a SQL query
What is the nickname of the school located in Manchester, New Hampshire?
SELECT Nickname FROM table WHERE Location = manchester, new hampshire
Translate the following into a SQL query
What is the classification for the school in the NEC Conference located in New Britain, Connecticut?
SELECT Classification FROM table WHERE Current Conference = nec AND Location = new britain, connecticut
Translate the following into a SQL query
What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?
SELECT Institution FROM table WHERE Classification = ncaa division i AND Current Conference = nec AND Nickname = blue devils
Translate the following into a SQL query
What was the record at the home of the Montreal Maroons
SELECT Record FROM table WHERE Home = montreal maroons
Translate the following into a SQL query
which school shows #/county of 29 hamilton?
SELECT School FROM table WHERE # / County = 29 hamilton
Translate the following into a SQL query
what is the mascot for the enrollment 08-09 of 320?
SELECT Mascot FROM table WHERE Enrollment 08-09 = 320
Translate the following into a SQL query
what is the school in michigantown?
SELECT School FROM table WHERE Location = michigantown
Translate the following into a SQL query
Which episode number was associated with Vibhav Gautam?
SELECT Episode Number FROM table WHERE Name = vibhav gautam
Translate the following into a SQL query
Which city/state was associated with a contestant whose status was 2nd runner-up?
SELECT City/State FROM table WHERE Status = 2nd runner-up
Translate the following into a SQL query
Which contestant was associated with episode 34?
SELECT Name FROM table WHERE Episode Number = episode 34
Translate the following into a SQL query
What is the status of the city/state of Indor, Madhya Pradesh?
SELECT Status Date FROM table WHERE City/State = indor, madhya pradesh
Translate the following into a SQL query
What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?
SELECT Role FROM table WHERE Director = r.n. bradbury AND Title = the trail beyond
Translate the following into a SQL query
Who directed the movie The Star Packer?
SELECT Director FROM table WHERE Title = the star packer
Translate the following into a SQL query
What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?
SELECT Role FROM table WHERE Leading lady = sheila terry AND Title = the lawless frontier
Translate the following into a SQL query
In what movie did John Wayne play the role of Chris Morrell?
SELECT Title FROM table WHERE Role = chris morrell
Translate the following into a SQL query
What role did John Wayne play with Verna Hillie as the leading lady?
SELECT Role FROM table WHERE Leading lady = verna hillie
Translate the following into a SQL query
Who directed the movie when John Wayne played the role of John Travers?
SELECT Director FROM table WHERE Role = john travers
Translate the following into a SQL query
What is the record for November 26, with the decision made by Prusek?
SELECT Record FROM table WHERE Decision = prusek AND Date = november 26
Translate the following into a SQL query
What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis?
SELECT Record FROM table WHERE Visitor = columbus AND Decision = denis AND Home = phoenix
Translate the following into a SQL query
What is the record for November 4, with a decision made by Denis?
SELECT Record FROM table WHERE Decision = denis AND Date = november 4
Translate the following into a SQL query
What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification?
SELECT Intergiro classification FROM table WHERE Points classification = fabrizio guidi AND Winner = nicolaj bo larsen
Translate the following into a SQL query
What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?
SELECT Mountains classification FROM table WHERE Winner = mario cipollini AND General classification = pavel tonkov
Translate the following into a SQL query
What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?
SELECT Stage FROM table WHERE Trofeo Fast Team = gewiss playbus AND Points classification = fabrizio guidi AND Winner = fabiano fontanelli
Translate the following into a SQL query
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?
SELECT Stage FROM table WHERE Points classification = silvio martinello AND General classification = davide rebellin
Translate the following into a SQL query
What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?
SELECT Trofeo Fast Team FROM table WHERE Points classification = silvio martinello AND Stage = 6
Translate the following into a SQL query
How many points did the Castres have?
SELECT Points for FROM table WHERE Club = castres
Translate the following into a SQL query
Who is the club that had 617 points and a draw of 0?
SELECT Club FROM table WHERE Drawn = 0 AND Points for = 617
Translate the following into a SQL query
What number of bonus points did Stade Français?
SELECT Bonus points FROM table WHERE Club = stade français
Translate the following into a SQL query
Who was the opponent at the game when the record was 15–15?
SELECT Opponent FROM table WHERE Record = 15–15
Translate the following into a SQL query
Who was the opponent at the game attended by 23,203?
SELECT Opponent FROM table WHERE Attendance = 23,203
Translate the following into a SQL query
What was the loss of the game when the record was 16–15?
SELECT Loss FROM table WHERE Record = 16–15
Translate the following into a SQL query
What was the attendance at the game that had a score of 16–7?
SELECT Attendance FROM table WHERE Score = 16–7
Translate the following into a SQL query
What was the date of the game attended by 25,022?
SELECT Date FROM table WHERE Attendance = 25,022
Translate the following into a SQL query
Which record has an attendance larger than 28,459?
SELECT Record FROM table WHERE Attendance > 28,459
Translate the following into a SQL query
When the record was 32-37 what was the score?
SELECT Score FROM table WHERE Record = 32-37
Translate the following into a SQL query
On the date of june 7 what was the score?
SELECT Record FROM table WHERE Date = june 7
Translate the following into a SQL query
What was the score of the game when the record was 68-39?
SELECT Score FROM table WHERE Record = 68-39
Translate the following into a SQL query
What was the game of the game against the White Sox with a record of 81-48?
SELECT Date FROM table WHERE Opponent = white sox AND Record = 81-48
Translate the following into a SQL query
What was the date of the game when the record was 66-38?
SELECT Date FROM table WHERE Record = 66-38
Translate the following into a SQL query
What category was Brian D'arcy James nominated for?
SELECT Category FROM table WHERE Nominee = brian d'arcy james AND Result = nominated
Translate the following into a SQL query
What is the item "Moving to", when the Transfer fee is £300,000?
SELECT Moving to FROM table WHERE Transfer fee = £300,000
Translate the following into a SQL query
What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?
SELECT Country FROM table WHERE Transfer fee = loan AND Name = lynch
Translate the following into a SQL query
What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale?
SELECT Transfer window FROM table WHERE Transfer fee = free AND Name = dugdale
Translate the following into a SQL query
What is the Name, when the Transfer fee is "loan"?
SELECT Name FROM table WHERE Transfer fee = loan
Translate the following into a SQL query
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?
SELECT Transfer window FROM table WHERE Transfer fee = free AND Moving to = norwich city
Translate the following into a SQL query
What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria?
SELECT Transfer fee FROM table WHERE Transfer window = winter AND Moving to = northwich victoria
Translate the following into a SQL query
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
SELECT Constructor FROM table WHERE Time/Retired = collision AND Grid = 11
Translate the following into a SQL query
What shows as the Time/Retired for Grid 8?
SELECT Time/Retired FROM table WHERE Grid = 8
Translate the following into a SQL query
What is the number of laps for Grid 3?
SELECT Laps FROM table WHERE Grid = 3
Translate the following into a SQL query
What company was the constructor when Nick Heidfeld was the driver/
SELECT Constructor FROM table WHERE Driver = nick heidfeld
Translate the following into a SQL query
What shows for laps when the Time/Retired was +1:08.577?
SELECT Laps FROM table WHERE Time/Retired = +1:08.577
Translate the following into a SQL query
What is the name of the constructor for Grid 1?
SELECT Constructor FROM table WHERE Grid = 1
Translate the following into a SQL query
When was Mushfiqur Rahim's test career?
SELECT Test Career FROM table WHERE Player = mushfiqur rahim
Translate the following into a SQL query
Name the sum of points for 1984
SELECT SUM Points FROM table WHERE Year < 1984
Translate the following into a SQL query
Name the points for Engine of chevrolet 265c
SELECT Points FROM table WHERE Engine = chevrolet 265c
Translate the following into a SQL query
Name the chassis of 147 points and engine of ford cosworth dfx
SELECT Chassis FROM table WHERE Points = 147 AND Engine = ford cosworth dfx
Translate the following into a SQL query
Which term had a Democratic representative from district 7?
SELECT Term FROM table WHERE District = 7 AND Party = democratic
Translate the following into a SQL query
What was the term of Bruce Biers Kendall whose hometown is Anchorage?
SELECT Term FROM table WHERE Hometown = anchorage AND Name = bruce biers kendall
Translate the following into a SQL query
What is the hometown of the representative that served the twenty-sixth legislature?
SELECT Hometown FROM table WHERE Legislatures = twenty-sixth
Translate the following into a SQL query
What is the qual with a 19 rank?
SELECT Qual FROM table WHERE Rank = 19
Translate the following into a SQL query
What rank has a 25 finish?
SELECT Rank FROM table WHERE Finish = 25
Translate the following into a SQL query
What finish has a 143.056 qual?
SELECT Finish FROM table WHERE Qual = 143.056
Translate the following into a SQL query
What rank had more than 165 laps and a finish of 5?
SELECT Rank FROM table WHERE Laps > 165 AND Finish = 5
Translate the following into a SQL query
What was the record at the game against the Blue Jays with a loss of Batista (0–3)?
SELECT Record FROM table WHERE Opponent = blue jays AND Loss = batista (0–3)
Translate the following into a SQL query
What was the loss of the game when the record was 14–8?
SELECT Loss FROM table WHERE Record = 14–8
Translate the following into a SQL query
What was the score of the game when the record was 28–19?
SELECT Score FROM table WHERE Record = 28–19
Translate the following into a SQL query
What was the record at the game held on May 1st with a loss of Speier (1–3)?
SELECT Record FROM table WHERE Date = may 1 AND Loss = speier (1–3)
Translate the following into a SQL query
How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points?
SELECT Played FROM table WHERE Lost < 12 AND Points > 37 AND Drawn = 5
Translate the following into a SQL query
How many games lost for the team that drew 5 times and had over 41 points?
SELECT AVG Lost FROM table WHERE Drawn = 5 AND Points > 41
Translate the following into a SQL query
How many games played for the army team with over 51 points and under 5 games drawn?
SELECT COUNT Played FROM table WHERE Drawn < 5 AND Team = army AND Points > 51
Translate the following into a SQL query
How many points for the navy team that lost over 11?
SELECT SUM Points FROM table WHERE Team = navy AND Lost > 11
Translate the following into a SQL query
What class of car had the XI Coppa Acerbo title?
SELECT Class FROM table WHERE Race title = xi coppa acerbo
Translate the following into a SQL query
Who won the III Coppa Acerbo title?
SELECT Driver/s FROM table WHERE Race title = iii coppa acerbo
Translate the following into a SQL query
What's the name of the title for the Maserati A6GCS?
SELECT Race title FROM table WHERE Vehicle = maserati a6gcs