instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who is the 2nd round opponent when Team 2 is Red Star (D1)?
SELECT 2nd round FROM table WHERE Team 2 = red star (d1)
Translate the following into a SQL query
When Team 2 was USL Dunkerque (D2), what was the score
SELECT Score FROM table WHERE Team 2 = usl dunkerque (d2)
Translate the following into a SQL query
What was the team 1 when Red Star (D1) was team 2?
SELECT Team 1 FROM table WHERE Team 2 = red star (d1)
Translate the following into a SQL query
Which team has home game with tie of 4?
SELECT Home team FROM table WHERE Tie no = 4
Translate the following into a SQL query
what is score of a team with tie of 4?
SELECT Score FROM table WHERE Tie no = 4
Translate the following into a SQL query
What is the score of the game with 39,592 attendance?
SELECT Score FROM table WHERE Attendance = 39,592
Translate the following into a SQL query
How many attended the game when the score was tie at 4?
SELECT Attendance FROM table WHERE Tie no = 4
Translate the following into a SQL query
Which player was defensive back after round 3?
SELECT Player FROM table WHERE Position = defensive back AND Round > 3
Translate the following into a SQL query
What was the pick for Bill Gramatica after round 2?
SELECT Pick FROM table WHERE Round > 2 AND Player = bill gramatica
Translate the following into a SQL query
What was the record on june 29?
SELECT Record FROM table WHERE Date = june 29
Translate the following into a SQL query
What were the high points on june 20?
SELECT High points FROM table WHERE Date = june 20
Translate the following into a SQL query
Which Record has a Location/Attendance of palace of auburn hills 8,108?
SELECT Record FROM table WHERE Location/Attendance = palace of auburn hills 8,108
Translate the following into a SQL query
Which Game is the lowest one that has a Record of 11-4?
SELECT MIN Game FROM table WHERE Record = 11-4
Translate the following into a SQL query
Which Date has a Location/Attendance of verizon center 7,587?
SELECT Date FROM table WHERE Location/Attendance = verizon center 7,587
Translate the following into a SQL query
Which High rebounds has a High points of douglas (23)?
SELECT High rebounds FROM table WHERE High points = douglas (23)
Translate the following into a SQL query
Which Score has an Opponent of seattle?
SELECT Score FROM table WHERE Opponent = seattle
Translate the following into a SQL query
Which Record has a High points of hoffman (16)?
SELECT Record FROM table WHERE High points = hoffman (16)
Translate the following into a SQL query
Which round has a record of 5-3 (1)?
SELECT MIN Round FROM table WHERE Record = 5-3 (1)
Translate the following into a SQL query
Who were the Djurgarden scorers when the venue was Idrottsparken?
SELECT Djurgården scorers FROM table WHERE Venue = idrottsparken
Translate the following into a SQL query
what is the series when the team is gunbroker racing?
SELECT Series FROM table WHERE Team = gunbroker racing
Translate the following into a SQL query
what is the team when the make is dodge and the year is after 2008?
SELECT Team FROM table WHERE Make = dodge AND Year > 2008
Translate the following into a SQL query
what is the make for the year 2008?
SELECT Make FROM table WHERE Year = 2008
Translate the following into a SQL query
what is the year when the driver was kevin lepage?
SELECT SUM Year FROM table WHERE Driver = kevin lepage
Translate the following into a SQL query
what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?
SELECT Team FROM table WHERE Schedule = limited AND Year < 2007 AND Driver = jason white
Translate the following into a SQL query
Which rank is the lowest with 37 games and more than 613 points?
SELECT MIN Rank FROM table WHERE Games = 37 AND Points > 613
Translate the following into a SQL query
What is Grupo Capitol Valladolid's highest rank with more than 34 games?
SELECT MAX Rank FROM table WHERE Team = grupo capitol valladolid AND Games > 34
Translate the following into a SQL query
How many points are there for rank 5 with more than 34 games?
SELECT COUNT Points FROM table WHERE Rank = 5 AND Games > 34
Translate the following into a SQL query
Where is the kap shui mun bridge?
SELECT Location FROM table WHERE Name = kap shui mun bridge
Translate the following into a SQL query
What tournament shows 2013 as 2r, and a 2010 as 1r?
SELECT Tournament FROM table WHERE 2013 = 2r AND 2010 = 1r
Translate the following into a SQL query
What shows for 2013 when the 2008 is 1r?
SELECT 2013 FROM table WHERE 2008 = 1r
Translate the following into a SQL query
What shows for 2011 when 2012 is q1, and a 2010 is 4r?
SELECT 2011 FROM table WHERE 2012 = q1 AND 2010 = 4r
Translate the following into a SQL query
What tournament has a 2010 of 1r, and a 2008 of 1r?
SELECT Tournament FROM table WHERE 2010 = 1r AND 2008 = 1r
Translate the following into a SQL query
What shows for 2011 at the French open?
SELECT 2011 FROM table WHERE Tournament = french open
Translate the following into a SQL query
What shows for 2013 when 2012 is 2r?
SELECT 2013 FROM table WHERE 2012 = 2r
Translate the following into a SQL query
How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?
SELECT COUNT South Asians 2011 FROM table WHERE Province = quebec AND South Asians 2001 < 59,510
Translate the following into a SQL query
Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?
SELECT Province FROM table WHERE South Asians 2001 < 190 AND South Asians 2011 = 115
Translate the following into a SQL query
What % of South Asians were in Nova Scotia in 2001 with 115 and 2011 with 12,620?
SELECT % 2001 FROM table WHERE South Asians 2001 > 115 AND South Asians 2011 > 12,620 AND Province = nova scotia
Translate the following into a SQL query
How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?
SELECT AVG South Asians 2001 FROM table WHERE Province = alberta AND South Asians 2011 > 159,055
Translate the following into a SQL query
What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"?
SELECT Result FROM table WHERE Extra = heptathlon AND Venue = götzis , austria
Translate the following into a SQL query
What is the total number of Year(s), when Tournament is "World Championships"?
SELECT COUNT Year FROM table WHERE Tournament = world championships
Translate the following into a SQL query
What is Venue, when Year is 2005, and when Result is 8th?
SELECT Venue FROM table WHERE Year = 2005 AND Result = 8th
Translate the following into a SQL query
What is Tournament, when Result is 18th?
SELECT Tournament FROM table WHERE Result = 18th
Translate the following into a SQL query
What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"?
SELECT Venue FROM table WHERE Year > 2003 AND Tournament = hypo-meeting
Translate the following into a SQL query
When the score was 71-71-70-70=282 what was the To par recorded?
SELECT To par FROM table WHERE Score = 71-71-70-70=282
Translate the following into a SQL query
What was the score for Tom Lehman?
SELECT Score FROM table WHERE Player = tom lehman
Translate the following into a SQL query
What is the sum of November, when Game is greater than 23?
SELECT SUM November FROM table WHERE Game > 23
Translate the following into a SQL query
What is the sum of November, when Game is "17"?
SELECT SUM November FROM table WHERE Game = 17
Translate the following into a SQL query
What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16?
SELECT MAX Game FROM table WHERE Opponent = chicago black hawks AND November < 16
Translate the following into a SQL query
What player has a total of 297?
SELECT Player FROM table WHERE Total = 297
Translate the following into a SQL query
Which country has a total less than 289 and finished t2?
SELECT Country FROM table WHERE Total < 289 AND Finish = t2
Translate the following into a SQL query
Which player finished t35?
SELECT Player FROM table WHERE Finish = t35
Translate the following into a SQL query
What finish has a total of more than 289 and won in 1979?
SELECT Finish FROM table WHERE Total > 289 AND Year(s) won = 1979
Translate the following into a SQL query
What is Name, when Moving To is "NEC Nijmegen"?
SELECT Name FROM table WHERE Moving To = nec nijmegen
Translate the following into a SQL query
What is Date From, when Moving To is "Birmingham City"?
SELECT Date From FROM table WHERE Moving To = birmingham city
Translate the following into a SQL query
What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?
SELECT Pos. FROM table WHERE Date To = 30 june 2009 AND Name = eddie johnson
Translate the following into a SQL query
What is Pos., when Date From is "28 August 2008"?
SELECT Pos. FROM table WHERE Date From = 28 august 2008
Translate the following into a SQL query
What is Moving To, when Name is "Leon Andreasen"?
SELECT Moving To FROM table WHERE Name = leon andreasen
Translate the following into a SQL query
What is Date To, when Name is "Lee Cook"?
SELECT Date To FROM table WHERE Name = lee cook
Translate the following into a SQL query
When was the oakachoy covered bridge listed?
SELECT Listed FROM table WHERE Name = oakachoy covered bridge
Translate the following into a SQL query
In which county is the swann covered bridge located?
SELECT County FROM table WHERE Name = swann covered bridge
Translate the following into a SQL query
Which bridge is located in Nectar, in Blount County?
SELECT Name FROM table WHERE County = blount AND Location = nectar
Translate the following into a SQL query
Which county built a bridge in 1934?
SELECT County FROM table WHERE Built = 1934
Translate the following into a SQL query
In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?
SELECT Built FROM table WHERE County = blount AND Listed = 1981-08-20 AND Location = cleveland
Translate the following into a SQL query
What is the score with a time at 18:00 and a score for set 3 of 13–25?
SELECT Score FROM table WHERE Time = 18:00 AND Set 3 = 13–25
Translate the following into a SQL query
What is the score for set 2 when the score of set 1 is 19–25?
SELECT Set 2 FROM table WHERE Set 1 = 19–25
Translate the following into a SQL query
How much is the total with a time at 16:00 and score for set 3 of 18–25?
SELECT Total FROM table WHERE Time = 16:00 AND Set 3 = 18–25
Translate the following into a SQL query
What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?
SELECT Set 2 FROM table WHERE Time = 18:00 AND Set 1 = 18–25
Translate the following into a SQL query
What was the total with a score in set 3 of 13–25?
SELECT Total FROM table WHERE Set 3 = 13–25
Translate the following into a SQL query
What was the Champion of the Tournament with a Score of 79–75 OT?
SELECT Champion (seed) FROM table WHERE Score = 79–75 ot
Translate the following into a SQL query
What was the Champion of the Game with a Score of 65–56?
SELECT Champion (seed) FROM table WHERE Score = 65–56
Translate the following into a SQL query
Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?
SELECT Manufacturer FROM table WHERE Laps = 21 AND Grid > 16 AND Rider = akira ryō
Translate the following into a SQL query
Which Time/Retired has a Rider of daijiro kato?
SELECT Time/Retired FROM table WHERE Rider = daijiro kato
Translate the following into a SQL query
Which Manufacturer has a Rider of daijiro kato?
SELECT Manufacturer FROM table WHERE Rider = daijiro kato
Translate the following into a SQL query
Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?
SELECT Time/Retired FROM table WHERE Manufacturer = yamaha AND Rider = garry mccoy
Translate the following into a SQL query
What is the name of the team with round less than 2, and the nationality is the United States?
SELECT College/junior/club team (league) FROM table WHERE Round < 2 AND Nationality = united states
Translate the following into a SQL query
What position does John Carlson play?
SELECT Position FROM table WHERE Player = john carlson
Translate the following into a SQL query
Who had the highest rebounds on game 5?
SELECT High rebounds FROM table WHERE Game = 5
Translate the following into a SQL query
How many Overall went in a round larger than 7 with a pick less than 7?
SELECT COUNT Overall FROM table WHERE Round > 7 AND Pick < 7
Translate the following into a SQL query
What is the largest event number for player from Norway with prize money less than $2,241,847?
SELECT MAX Events FROM table WHERE Country = norway AND Prize money( $ ) < 2,241,847
Translate the following into a SQL query
What is the rank for the player with events greater than 23 and prize money in excess of $823,783?
SELECT COUNT Rank FROM table WHERE Events > 23 AND Prize money( $ ) > 823,783
Translate the following into a SQL query
What is the prize money for the player ranked 1?
SELECT MAX Prize money( $ ) FROM table WHERE Rank = 1
Translate the following into a SQL query
What was the lowest round for the KOTC 25: Flaming Fury event?
SELECT MIN Round FROM table WHERE Event = kotc 25: flaming fury
Translate the following into a SQL query
Who was the opponent for the KOTC 25: Flaming Fury event?
SELECT Opponent FROM table WHERE Event = kotc 25: flaming fury
Translate the following into a SQL query
Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?
SELECT Opponent FROM table WHERE Round > 1 AND Event = wmma 1: mccorkle vs. heden
Translate the following into a SQL query
What was the result when his record was 25-15?
SELECT Res. FROM table WHERE Record = 25-15
Translate the following into a SQL query
What is Position, when Round is less than 6, and when Nationality is "Denmark"?
SELECT Position FROM table WHERE Round < 6 AND Nationality = denmark
Translate the following into a SQL query
What is Position, when Nationality is "Canada", and when Round is greater than 3?
SELECT Position FROM table WHERE Nationality = canada AND Round > 3
Translate the following into a SQL query
What is the total number of Round, when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"?
SELECT COUNT Round FROM table WHERE College/Junior/Club Team (League) = kelowna rockets ( whl )
Translate the following into a SQL query
What round did the fight last when Mikhail Ilyukhin's record was 15-5?
SELECT Round FROM table WHERE Record = 15-5
Translate the following into a SQL query
What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5?
SELECT Method FROM table WHERE Round = 1 AND Res. = win AND Record = 13-5
Translate the following into a SQL query
What was the method of resolution when Mikhail Ilyukhin's record was 4-0?
SELECT Method FROM table WHERE Record = 4-0
Translate the following into a SQL query
When was the score 123-112?
SELECT Date FROM table WHERE Score = 123-112
Translate the following into a SQL query
Who did they play when the score was 95-118?
SELECT Opponent FROM table WHERE Score = 95-118
Translate the following into a SQL query
Who did they play when the score was 95-114?
SELECT Opponent FROM table WHERE Score = 95-114
Translate the following into a SQL query
When was the score 92-134?
SELECT Date FROM table WHERE Score = 92-134
Translate the following into a SQL query
When they were 2-32 what did they score?
SELECT Score FROM table WHERE Record = 2-32
Translate the following into a SQL query
When the total was smaller than 290, what was the highest To par?
SELECT MAX To par FROM table WHERE Total < 290
Translate the following into a SQL query
What is the total number of To par for Lee Trevino?
SELECT COUNT To par FROM table WHERE Player = lee trevino
Translate the following into a SQL query
What is the sum of To par when the Finish is t11?
SELECT SUM To par FROM table WHERE Finish = t11
Translate the following into a SQL query
What was Donald Bradman's average runs?
SELECT AVG Runs FROM table WHERE Player = donald bradman