instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the total of Played where the Goals For is higher than 60, the Lost is 8, and the Position is less than 1?
SELECT SUM Played FROM table WHERE Goals For > 60 AND Lost = 8 AND Position < 1
Translate the following into a SQL query
What was the Goal Difference for Postion 22?
SELECT Goal Difference FROM table WHERE Position = 22
Translate the following into a SQL query
When Team Hyde United had more than 59 Goals For and fewer than 15 Drawn, what was the Lost?
SELECT Lost FROM table WHERE Goals For > 59 AND Drawn < 15 AND Team = hyde united
Translate the following into a SQL query
What is the average Lost for Team Matlock Town when the Goals Against is higher than 66?
SELECT AVG Lost FROM table WHERE Team = matlock town AND Goals Against > 66
Translate the following into a SQL query
What was the attendance on October 17?
SELECT Attendance FROM table WHERE Date = october 17
Translate the following into a SQL query
Where was the attendance more than 57,347?
SELECT Location FROM table WHERE Attendance > 57,347
Translate the following into a SQL query
When was the last game that had a time of 2:46 and attendance of more than 57,533?
SELECT MAX Game FROM table WHERE Time = 2:46 AND Attendance > 57,533
Translate the following into a SQL query
What place is South Africa?
SELECT Place FROM table WHERE Country = south africa
Translate the following into a SQL query
What was the average year when shri. shambu nath khajuria won the padma shri awards?
SELECT AVG Year FROM table WHERE Name = shri. shambu nath khajuria
Translate the following into a SQL query
What is the total number of years that prof. aditya naraian purohit won?
SELECT COUNT Year FROM table WHERE Name = prof. aditya naraian purohit
Translate the following into a SQL query
What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?
SELECT SUM Year FROM table WHERE State = orissa AND Name = prof. priyambada mohanty hejmadi
Translate the following into a SQL query
Which event was part of the World Cross Country championships?
SELECT Event FROM table WHERE Competition = world cross country championships
Translate the following into a SQL query
What department as 6 years experience?
SELECT Department FROM table WHERE Experience = 6 years
Translate the following into a SQL query
What is the designation for the m.tech (e.c.e) qualification?
SELECT Designation FROM table WHERE Qualification = m.tech (e.c.e)
Translate the following into a SQL query
What department has an m.phil (physics) qualification?
SELECT Department FROM table WHERE Qualification = m.phil (physics)
Translate the following into a SQL query
hat is the Result F– A when they played against Leeds United?
SELECT Result F – A FROM table WHERE Opponents = leeds united
Translate the following into a SQL query
What is the round when they played against Middlesbrough, and the h/a was h?
SELECT Round FROM table WHERE Opponents = middlesbrough AND H / A = h
Translate the following into a SQL query
How many games have 61-16 as the record?
SELECT COUNT Game FROM table WHERE Record = 61-16
Translate the following into a SQL query
What date has 104-113 as the score?
SELECT Date FROM table WHERE Score = 104-113
Translate the following into a SQL query
What date has 113-115 (ot) as the score?
SELECT Date FROM table WHERE Score = 113-115 (ot)
Translate the following into a SQL query
What is the mean game played on January 9?
SELECT AVG Game FROM table WHERE Date = january 9
Translate the following into a SQL query
Which game number includes a record of 1-2?
SELECT Game FROM table WHERE Record = 1-2
Translate the following into a SQL query
For the game where Joel Przybilla (4) received high assists, what was the final score?
SELECT Score FROM table WHERE High assists = joel przybilla (4)
Translate the following into a SQL query
For the game that had an end record of 2-4, who was the high points scorer?
SELECT High points FROM table WHERE Record = 2-4
Translate the following into a SQL query
What is the attendance of the game against the New Orleans Saints before game 11?
SELECT AVG Attendance FROM table WHERE Opponent = new orleans saints AND Game < 11
Translate the following into a SQL query
On what date was the streak at lost 7?
SELECT Date FROM table WHERE Streak = lost 7
Translate the following into a SQL query
What was the date for Round 2r?
SELECT Date FROM table WHERE Round = 2r
Translate the following into a SQL query
What date did the opponent George Khrikadze play?
SELECT Date FROM table WHERE Opponent = george khrikadze
Translate the following into a SQL query
What round resulted in 6-0, 6-1, 6-2?
SELECT Round FROM table WHERE Result = 6-0, 6-1, 6-2
Translate the following into a SQL query
What round was the opponent Sergiy Stakhovsky?
SELECT Round FROM table WHERE Opponent = sergiy stakhovsky
Translate the following into a SQL query
What is the record on December 11?
SELECT Record FROM table WHERE Date = december 11
Translate the following into a SQL query
What date was the game that resulted in L 30-27?
SELECT Date FROM table WHERE Result = l 30-27
Translate the following into a SQL query
What was the highest attendance of games that resulted in L 23-20?
SELECT MAX Attendance FROM table WHERE Result = l 23-20
Translate the following into a SQL query
What was the result when the opponent was manchester united in venue h?
SELECT Result FROM table WHERE Opponent = manchester united AND Venue = h
Translate the following into a SQL query
What's the greatest 1st RU that has a 2nd RU less than 0?
SELECT MAX 1st RU FROM table WHERE 2nd RU < 0
Translate the following into a SQL query
How many semifinalists had a total less than 2, 1st RU greater than 0, 2nd RU was 0 and Miss United Continent of 0?
SELECT COUNT Semifinalists FROM table WHERE Miss United Continent = 0 AND 2nd RU = 0 AND 1st RU > 0 AND Total < 2
Translate the following into a SQL query
What rank was Peru with a total greater than 3?
SELECT MAX Rank FROM table WHERE Country = peru AND Total > 3
Translate the following into a SQL query
What is the least 3rd RU that is ranked less than 8 with a 4th RU greater than 0?
SELECT MIN 3rd RU FROM table WHERE 4th RU > 0 AND Rank < 8
Translate the following into a SQL query
What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?
SELECT Result FROM table WHERE Competition = 2010 fifa world cup qualification AND Date = 10 september 2008
Translate the following into a SQL query
What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?
SELECT Venue FROM table WHERE Competition = 2010 fifa world cup qualification AND Result = won AND Date = 14 june 2008
Translate the following into a SQL query
What is Competition, when Date is 30 December 2005?
SELECT Competition FROM table WHERE Date = 30 december 2005
Translate the following into a SQL query
What is the Place when the score is less than 71, and Country is zimbabwe?
SELECT Place FROM table WHERE Score < 71 AND Country = zimbabwe
Translate the following into a SQL query
What is the lowest Score when the Country is canada?
SELECT MIN Score FROM table WHERE Country = canada
Translate the following into a SQL query
What is the Score when the Player is toru taniguchi?
SELECT Score FROM table WHERE Player = toru taniguchi
Translate the following into a SQL query
What is the Game number when the Rangers have a Record of 25-24-11?
SELECT COUNT Game FROM table WHERE Record = 25-24-11
Translate the following into a SQL query
What is the Score of the game on March 18?
SELECT Score FROM table WHERE March = 18
Translate the following into a SQL query
What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?
SELECT Qual 2 FROM table WHERE Team = rocketsports racing AND Best = 1:10.949
Translate the following into a SQL query
Which team has a 1:10.998 best?
SELECT Team FROM table WHERE Best = 1:10.998
Translate the following into a SQL query
What is the name of the person with a 1:10.771 qual 2?
SELECT Name FROM table WHERE Qual 2 = 1:10.771
Translate the following into a SQL query
What is the qual 2 with a 1:10.949 best?
SELECT Qual 2 FROM table WHERE Best = 1:10.949
Translate the following into a SQL query
What is the qual 2 of team Forsythe racing, which has a 1:09.515 best?
SELECT Qual 2 FROM table WHERE Team = forsythe racing AND Best = 1:09.515
Translate the following into a SQL query
What is the qual 1 with a 1:09.567 best?
SELECT Qual 1 FROM table WHERE Best = 1:09.567
Translate the following into a SQL query
What were highest points received from someone using a zabel-wsp with a position greater than 7?
SELECT MAX Points FROM table WHERE Equipment = zabel-wsp AND Position > 7
Translate the following into a SQL query
What's the lowest attendance recorded for week 15?
SELECT MIN Attendance FROM table WHERE Week = 15
Translate the following into a SQL query
When Marlene was nominated for the Olivier Award, what was the result?
SELECT Result FROM table WHERE Nominated work = marlene AND Award = olivier award
Translate the following into a SQL query
What was the result for the Bafta Tv award?
SELECT Result FROM table WHERE Award = bafta tv award
Translate the following into a SQL query
What is the pick of Texas-San Antonio?
SELECT AVG Pick FROM table WHERE College = texas-san antonio
Translate the following into a SQL query
Who is the player that has a round greater than 2 and a pick bigger than 83?
SELECT Player FROM table WHERE Round > 2 AND Pick > 83
Translate the following into a SQL query
What's the nationality of Louisiana Tech?
SELECT Nationality FROM table WHERE College = louisiana tech
Translate the following into a SQL query
What number pick is Ray Hall?
SELECT Pick FROM table WHERE Player = ray hall
Translate the following into a SQL query
What nationality has a pick greater than 129?
SELECT Nationality FROM table WHERE Pick > 129
Translate the following into a SQL query
what is the grid when the rider is mika kallio?
SELECT MAX Grid FROM table WHERE Rider = mika kallio
Translate the following into a SQL query
what is the time when laps is less than 21, manufacturer is aprilia, grid is less than 17 and the rider is thomas luthi?
SELECT Time FROM table WHERE Laps < 21 AND Manufacturer = aprilia AND Grid < 17 AND Rider = thomas luthi
Translate the following into a SQL query
what is the time when the laps is less than 21 and the grid is more than 17?
SELECT Time FROM table WHERE Laps < 21 AND Grid > 17
Translate the following into a SQL query
Who was partnering when nueza silva played against greece?
SELECT Partnering FROM table WHERE Against = greece
Translate the following into a SQL query
What was the round when nueza silva played against greece?
SELECT Round FROM table WHERE Against = greece
Translate the following into a SQL query
Who were the opponents during the 2006 fed cup europe/africa group ii against greece?
SELECT Opponents FROM table WHERE Edition = 2006 fed cup europe/africa group ii AND Against = greece
Translate the following into a SQL query
What is the Tries against for the team that has 207 points for?
SELECT Tries against FROM table WHERE Points for = 207
Translate the following into a SQL query
What team has a 118 Point for?
SELECT Team FROM table WHERE Points for = 118
Translate the following into a SQL query
What team has 102 Points against?
SELECT Team FROM table WHERE Points against = 102
Translate the following into a SQL query
What is the Points for number of the team with a 10 Tries against number?
SELECT Points for FROM table WHERE Tries against = 10
Translate the following into a SQL query
What team has +119 Points diff?
SELECT Team FROM table WHERE Points diff = +119
Translate the following into a SQL query
What manufacturer has a year made of 1923?
SELECT Manufacturer FROM table WHERE Year made = 1923
Translate the following into a SQL query
What's the quantity made when the manufacturer was 4-6-2 β€” oooooo β€” pacific?
SELECT Quantity made FROM table WHERE Manufacturer = 4-6-2 β€” oooooo β€” pacific
Translate the following into a SQL query
What year had a quantity made of 11 and a wheel arrangement of 4-6-2?
SELECT Year made FROM table WHERE Wheel arrangement = 4-6-2 AND Quantity made = 11
Translate the following into a SQL query
What's the quantity preserved when the fleet number was 700?
SELECT Quantity preserved FROM table WHERE Fleet number(s) = 700
Translate the following into a SQL query
What is the name of the race in Kenya with a time of 30:27?
SELECT Race FROM table WHERE Nation = kenya AND Time = 30:27
Translate the following into a SQL query
What is the name of the athlete with a time of 30:48?
SELECT Athlete FROM table WHERE Time = 30:48
Translate the following into a SQL query
What is the name of the race when Lineth Chepkurui is the athlete?
SELECT Race FROM table WHERE Athlete = lineth chepkurui
Translate the following into a SQL query
What is the time when the race was in Kenya and Lineth Chepkurui was the athlete?
SELECT Time FROM table WHERE Nation = kenya AND Athlete = lineth chepkurui
Translate the following into a SQL query
What is the country for the player who had a To Par of +4?
SELECT Country FROM table WHERE To par = +4
Translate the following into a SQL query
What player from South Africa had a total less than 284?
SELECT Player FROM table WHERE Total < 284 AND Country = south africa
Translate the following into a SQL query
For the year won of 2001, what is the To Par?
SELECT To par FROM table WHERE Year(s) won = 2001
Translate the following into a SQL query
what is the location attendance when the series is 4-3?
SELECT Location Attendance FROM table WHERE Series = 4-3
Translate the following into a SQL query
what is the team when the location attendace is boston garden and the series is 0-1?
SELECT Team FROM table WHERE Location Attendance = boston garden AND Series = 0-1
Translate the following into a SQL query
what is the highest game when the team is @boston and the series is 0-1?
SELECT MAX Game FROM table WHERE Team = @boston AND Series = 0-1
Translate the following into a SQL query
what is the series when the team is @boston and the game is smaller than 3?
SELECT Series FROM table WHERE Team = @boston AND Game < 3
Translate the following into a SQL query
What is 2001, when 1996 is "0 / 2"?
SELECT 2001 FROM table WHERE 1996 = 0 / 2
Translate the following into a SQL query
What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"?
SELECT 1998 FROM table WHERE 1992 = a AND Tournament = hamburg masters
Translate the following into a SQL query
What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"?
SELECT 2001 FROM table WHERE 1994 = a AND Tournament = monte carlo masters
Translate the following into a SQL query
What is 1999, when 2003 is "A", and when Career SR is "0 / 4"?
SELECT 1999 FROM table WHERE 2003 = a AND Career SR = 0 / 4
Translate the following into a SQL query
What is 2000, when Tournament is "Canada Masters"?
SELECT 2000 FROM table WHERE Tournament = canada masters
Translate the following into a SQL query
What country is the player ho had a To par of +1 and a score of 69-70-72=211 from?
SELECT Country FROM table WHERE To par = +1 AND Score = 69-70-72=211
Translate the following into a SQL query
What place did the player from South Africa finish?
SELECT Place FROM table WHERE Country = south africa
Translate the following into a SQL query
What country is Tom Purtzer from?
SELECT Country FROM table WHERE Player = tom purtzer
Translate the following into a SQL query
What was the score of united states player wally armstrong when he had a To par of +1
SELECT Score FROM table WHERE Country = united states AND To par = +1 AND Player = wally armstrong
Translate the following into a SQL query
What was the score of Wally Armstrong?
SELECT Score FROM table WHERE Player = wally armstrong
Translate the following into a SQL query
what is the verb meaning when the part 1 is lopen?
SELECT Verb meaning FROM table WHERE Part 1 = lopen
Translate the following into a SQL query
what is the part 4 when the verb meaning is to steal?
SELECT Part 4 FROM table WHERE Verb meaning = to steal
Translate the following into a SQL query
what is the class when part 2 is bond?
SELECT Class FROM table WHERE Part 2 = bond