instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What Rider had a Time of +1:08.291?
SELECT Rider FROM table WHERE Time = +1:08.291
Translate the following into a SQL query
Using a Ducati 999 F06 Bike, how many Laps with a Grid greater than 11 and Time of +53.488?
SELECT COUNT Laps FROM table WHERE Bike = ducati 999 f06 AND Time = +53.488 AND Grid > 11
Translate the following into a SQL query
When was there a record of 13–17–3?
SELECT Date FROM table WHERE Record = 13–17–3
Translate the following into a SQL query
What record was made in vancouver on December 8?
SELECT Record FROM table WHERE Home = vancouver AND Date = december 8
Translate the following into a SQL query
What was the home who had California visiting?
SELECT Home FROM table WHERE Visitor = california
Translate the following into a SQL query
What's the score on December 1 when Philadelphia visited?
SELECT Score FROM table WHERE Visitor = philadelphia AND Date = december 1
Translate the following into a SQL query
What was the type of game with a 1:6 result?
SELECT Type of game FROM table WHERE Results¹ = 1:6
Translate the following into a SQL query
Who was the opponent at the game in Belgrade with a 0:2 result?
SELECT Opponent FROM table WHERE City = belgrade AND Results¹ = 0:2
Translate the following into a SQL query
What city held the game with a result of 1:0?
SELECT City FROM table WHERE Results¹ = 1:0
Translate the following into a SQL query
What type of game had a result of 1:2?
SELECT Type of game FROM table WHERE Results¹ = 1:2
Translate the following into a SQL query
What was the result of the game against Hungary?
SELECT Results¹ FROM table WHERE Opponent = hungary
Translate the following into a SQL query
Who was the Radio Edit Version remixed by?
SELECT Remixed by FROM table WHERE Version = radio edit
Translate the following into a SQL query
What was the Version prior to 1996?
SELECT Version FROM table WHERE Year < 1996
Translate the following into a SQL query
What is the Date of Catalog 573 194-2?
SELECT Date FROM table WHERE Catalog = 573 194-2
Translate the following into a SQL query
What is the Label of the release in CD Maxi Format?
SELECT Label FROM table WHERE Format = cd maxi
Translate the following into a SQL query
What is the Catalog number of the CD Single?
SELECT Catalog FROM table WHERE Format = cd single
Translate the following into a SQL query
Which Make has a Pos larger than 9?
SELECT Make FROM table WHERE Pos. > 9
Translate the following into a SQL query
Which Pos has a Driver of brian scott (r)?
SELECT SUM Pos. FROM table WHERE Driver = brian scott (r)
Translate the following into a SQL query
How many Pos have a Driver of todd bodine, and a Car # larger than 30?
SELECT COUNT Pos. FROM table WHERE Driver = todd bodine AND Car # > 30
Translate the following into a SQL query
Which Car # has a Make of toyota, and a Pos of 7?
SELECT MAX Car # FROM table WHERE Make = toyota AND Pos. = 7
Translate the following into a SQL query
How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?
SELECT COUNT Track number FROM table WHERE Recording date = november 16, 1959 AND Title = i couldn't hear nobody pray
Translate the following into a SQL query
On what date was My Lord What a Mornin' recorded?
SELECT Recording date FROM table WHERE Title = my lord what a mornin'
Translate the following into a SQL query
What is the average track number 3:25 long and a title of Great Getting up Mornin'?
SELECT AVG Track number FROM table WHERE Time = 3:25 AND Title = great getting up mornin'
Translate the following into a SQL query
WHich Date has a Record of 2–7–0–1?
SELECT Date FROM table WHERE Record = 2–7–0–1
Translate the following into a SQL query
Who is the Visitor on march 16?
SELECT Visitor FROM table WHERE Date = march 16
Translate the following into a SQL query
Which Record is on november 16?
SELECT Record FROM table WHERE Date = november 16
Translate the following into a SQL query
What is the Home on december 10?
SELECT Home FROM table WHERE Date = december 10
Translate the following into a SQL query
WHich Score has a Date on november 11?
SELECT Score FROM table WHERE Date = november 11
Translate the following into a SQL query
Which Record has a Date on december 18?
SELECT Record FROM table WHERE Date = december 18
Translate the following into a SQL query
What visitor has march 26 as the date?
SELECT Visitor FROM table WHERE Date = march 26
Translate the following into a SQL query
What visitor has detroit red wings as the home, and march 30 as the date?
SELECT Visitor FROM table WHERE Home = detroit red wings AND Date = march 30
Translate the following into a SQL query
What record has chicago black hawks as the visitor and march 23 as the date?
SELECT Record FROM table WHERE Visitor = chicago black hawks AND Date = march 23
Translate the following into a SQL query
What record has march 30 as the date?
SELECT Record FROM table WHERE Date = march 30
Translate the following into a SQL query
What is the unanimous result of the player from Michigan Dartmouth?
SELECT Unanimous FROM table WHERE School = michigan dartmouth
Translate the following into a SQL query
What is the position of the player with a unanimous no result without a college hall of fame?
SELECT Position FROM table WHERE Unanimous = no AND College Hall of Fame = no
Translate the following into a SQL query
What is the school of the player with a college hall of fame nevers hof profile?
SELECT School FROM table WHERE College Hall of Fame = nevers hof profile
Translate the following into a SQL query
What is the school of the player who plays ends?
SELECT School FROM table WHERE Position = ends
Translate the following into a SQL query
What is the college hall of fame of the player who plays fullback?
SELECT College Hall of Fame FROM table WHERE Position = fullback
Translate the following into a SQL query
What is the position of the player from Dartmouth Ohio State?
SELECT Position FROM table WHERE School = dartmouth ohio state
Translate the following into a SQL query
What is the English title of the film Directed by Jayme Monjardim?
SELECT English title FROM table WHERE Director = jayme monjardim
Translate the following into a SQL query
What was the Director with a Ceremony of 2001?
SELECT Director FROM table WHERE Year (Ceremony) = 2001
Translate the following into a SQL query
When have a Save of ||20,599||32-37?
SELECT Date FROM table WHERE Save = ||20,599||32-37
Translate the following into a SQL query
Which Save is on June 15?
SELECT Save FROM table WHERE Date = june 15
Translate the following into a SQL query
Which Score has a Opponent of Boston red sox and a Save of sager?
SELECT Score FROM table WHERE Opponent = boston red sox AND Save = sager
Translate the following into a SQL query
When has an Opponent of at Seattle mariners?
SELECT Date FROM table WHERE Opponent = at seattle mariners
Translate the following into a SQL query
When is the Save of Ayala and a Loss of Olivares
SELECT Date FROM table WHERE Save = ayala AND Loss = olivares
Translate the following into a SQL query
Which Tournament has a Partner of martín rodríguez?
SELECT Tournament FROM table WHERE Partner = martín rodríguez
Translate the following into a SQL query
How many Touchdowns have Field goals larger than 0?
SELECT COUNT Touchdowns FROM table WHERE Field goals > 0
Translate the following into a SQL query
Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?
SELECT MAX Extra points FROM table WHERE Player = herrnstein AND Points < 30
Translate the following into a SQL query
Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?
SELECT MIN Touchdowns FROM table WHERE Extra points < 14 AND Player = white AND Points < 5
Translate the following into a SQL query
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
SELECT MIN Touchdowns FROM table WHERE Points = 5 AND Field goals > 0
Translate the following into a SQL query
Which Points is the lowest one that has Touchdowns smaller than 1?
SELECT MAX Points FROM table WHERE Touchdowns < 1
Translate the following into a SQL query
What is the Location of the Bowl in 2006?
SELECT Location FROM table WHERE Season = 2006
Translate the following into a SQL query
At what Location was the Attendance 70,283?
SELECT Location FROM table WHERE Attendance = 70,283
Translate the following into a SQL query
What was the Bowl game in San Francisco, CA after 1968?
SELECT Bowl game FROM table WHERE Season > 1968 AND Location = san francisco, ca
Translate the following into a SQL query
What team has a yamaha constructor with all rounds?
SELECT Team FROM table WHERE Rounds = all AND Constructor = yamaha
Translate the following into a SQL query
What rounds did rider Mika Kallio with a Ducati constructor have?
SELECT Rounds FROM table WHERE Constructor = ducati AND Rider = mika kallio
Translate the following into a SQL query
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?
SELECT Rider FROM table WHERE Constructor = honda AND Team = scot racing team AND Rounds = 6-17
Translate the following into a SQL query
What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?
SELECT Rounds FROM table WHERE Team = ducati marlboro team AND Rider = mika kallio 1
Translate the following into a SQL query
What is the average week that there was a game with less than 18,517 fans attending and occurred on November 21, 1954?
SELECT AVG Week FROM table WHERE Attendance < 18,517 AND Date = november 21, 1954
Translate the following into a SQL query
What is the highest week that had a game against the Pittsburgh Steelers with 22,597 fans in attendance?
SELECT MAX Week FROM table WHERE Attendance < 22,597 AND Opponent = pittsburgh steelers
Translate the following into a SQL query
Who was the opponent for the game taht was before week 5 on October 10, 1954?
SELECT Opponent FROM table WHERE Week < 5 AND Date = october 10, 1954
Translate the following into a SQL query
What is the average attendance for the game that was after week 4 and on November 14, 1954?
SELECT AVG Attendance FROM table WHERE Week > 4 AND Date = november 14, 1954
Translate the following into a SQL query
After December 19, what is the Game number with a Record of 21–4–7?
SELECT COUNT Game FROM table WHERE Record = 21–4–7 AND December > 19
Translate the following into a SQL query
What were the Points in the game with a Score of 2–7?
SELECT SUM Points FROM table WHERE Score = 2–7
Translate the following into a SQL query
What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?
SELECT MIN Bronze FROM table WHERE Gold < 5 AND Rank = 6 AND Total > 1
Translate the following into a SQL query
What's the Bronze cumulative number for less than 0 gold?
SELECT SUM Bronze FROM table WHERE Gold < 0
Translate the following into a SQL query
Which average Lost has an Against larger than 19, and a Drawn smaller than 1?
SELECT AVG Lost FROM table WHERE Against > 19 AND Drawn < 1
Translate the following into a SQL query
Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?
SELECT AVG Against FROM table WHERE Drawn = 3 AND Points > 9 AND Team = portuguesa
Translate the following into a SQL query
Which average Against has Points of 6, and a Played smaller than 9?
SELECT AVG Against FROM table WHERE Points = 6 AND Played < 9
Translate the following into a SQL query
Which average Points have a Position of 7, and a Lost smaller than 4?
SELECT AVG Points FROM table WHERE Position = 7 AND Lost < 4
Translate the following into a SQL query
Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?
SELECT AVG Points FROM table WHERE Lost > 2 AND Drawn > 2 AND Difference = 0
Translate the following into a SQL query
Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?
SELECT AVG Touchdowns FROM table WHERE Extra points = 0 AND Points > 5 AND Player = curtis redden
Translate the following into a SQL query
How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?
SELECT SUM Extra points FROM table WHERE Touchdowns = 1 AND Player = ross kidston AND Points < 5
Translate the following into a SQL query
Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?
SELECT MIN Points FROM table WHERE Extra points = 0 AND Player = curtis redden AND Touchdowns < 2
Translate the following into a SQL query
Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5?
SELECT MIN Extra points FROM table WHERE Player = ross kidston AND Points < 5
Translate the following into a SQL query
Which Points have Touchdowns of 1, and a Field goals smaller than 0?
SELECT AVG Points FROM table WHERE Touchdowns = 1 AND Field goals < 0
Translate the following into a SQL query
Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?
SELECT Poll FROM table WHERE Wk 10 > 2 AND Wk 2 = 12 AND Wk 13 = 8
Translate the following into a SQL query
What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?
SELECT MAX Wk 9 FROM table WHERE Wk 6 = 7 AND Wk 10 > 2 AND Wk 7 = 5 AND Wk 11 < 2
Translate the following into a SQL query
What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?
SELECT Week 5 Sept 28 FROM table WHERE Week 10 Nov 2 = maryland (6-2)
Translate the following into a SQL query
What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?
SELECT Week 14 Nov 30 FROM table WHERE Week 10 Nov 2 = michigan state (8-2)
Translate the following into a SQL query
What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?
SELECT Week 4 Sept 21 FROM table WHERE Week 10 Nov 2 = michigan state (8-2)
Translate the following into a SQL query
What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?
SELECT Week 12 Nov 16 FROM table WHERE Week 3 Sept 14 = south florida (3-0)
Translate the following into a SQL query
What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?
SELECT Week 7 Oct 12 FROM table WHERE Week 12 Nov 16 = oregon state (7-3)
Translate the following into a SQL query
What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
SELECT Week 3 Sept 14 FROM table WHERE Week 7 Oct 12 = georgia (5-1)
Translate the following into a SQL query
Name the women's singles for 2012
SELECT Women's singles FROM table WHERE Year = 2012
Translate the following into a SQL query
Name the year for angga pratama ryan agung saputra
SELECT Year FROM table WHERE Men's doubles = angga pratama ryan agung saputra
Translate the following into a SQL query
Name the men's doubles for anneke feinya agustin nitya krishinda maheswari
SELECT Men's doubles FROM table WHERE Women's doubles = anneke feinya agustin nitya krishinda maheswari
Translate the following into a SQL query
Name the men's doubles for 2010
SELECT Men's doubles FROM table WHERE Year = 2010
Translate the following into a SQL query
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
SELECT Week 14 Nov 24 FROM table WHERE Week 11 Nov 3 = usc (6-2)
Translate the following into a SQL query
What is listed for the Week 9 Oct 20 that has a Week 17 (Final) Jan 4 of Michigan (10-3)?
SELECT Week 9 Oct 20 FROM table WHERE Week 17 (Final) Jan 4 = michigan (10-3)
Translate the following into a SQL query
What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)?
SELECT Week 1 Aug 26 FROM table WHERE Week 7 Oct 6 = usc (3-2)
Translate the following into a SQL query
What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)?
SELECT Week 3 Sept 8 FROM table WHERE Week 2 Sept 2 = florida state (2-0) (4)
Translate the following into a SQL query
How much December has a Score of 5–2, and a Game smaller than 27?
SELECT COUNT December FROM table WHERE Score = 5–2 AND Game < 27
Translate the following into a SQL query
Which Game has an Opponent of @ pittsburgh penguins?
SELECT MAX Game FROM table WHERE Opponent = @ pittsburgh penguins
Translate the following into a SQL query
Which December has a Record of 21–7–2, and a Game larger than 30?
SELECT MAX December FROM table WHERE Record = 21–7–2 AND Game > 30
Translate the following into a SQL query
Which December has Points of 38, and a Record of 18–6–2?
SELECT AVG December FROM table WHERE Points = 38 AND Record = 18–6–2
Translate the following into a SQL query
What is the Score that has a Result of 2–1 on 5 july 2007?
SELECT Score FROM table WHERE Result = 2–1 AND Date = 5 july 2007
Translate the following into a SQL query
Which Competition has a Venue of hong kong?
SELECT Competition FROM table WHERE Venue = hong kong
Translate the following into a SQL query
When is the Competition of friendly match with a Result of 2–1?
SELECT Date FROM table WHERE Competition = friendly match AND Result = 2–1