instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
SELECT Score FROM table WHERE Runner-up = utc AND Winners = saint-gaudens bears
Translate the following into a SQL query
Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
SELECT Year FROM table WHERE Runner-up = utc AND Winners = saint-gaudens bears
Translate the following into a SQL query
What is the venue of the match with a score of 33-22?
SELECT Venue FROM table WHERE Score = 33-22
Translate the following into a SQL query
Who had the highest assists during the game on February 22?
SELECT High assists FROM table WHERE Date = february 22
Translate the following into a SQL query
What team did the Heat play against at the TD Waterhouse Centre?
SELECT Team FROM table WHERE Location Attendance = td waterhouse centre
Translate the following into a SQL query
What date was the game against Toronto which had a game number higher than 53?
SELECT Date FROM table WHERE Game > 53 AND Team = toronto
Translate the following into a SQL query
What is the date of the that was played with the Baltimore Colts at home?
SELECT Date FROM table WHERE Home team = baltimore colts
Translate the following into a SQL query
How long did the game go that was played with the Houston Oilers at home?
SELECT Length of game FROM table WHERE Home team = houston oilers
Translate the following into a SQL query
What was the date of the game that lasted 75:43?
SELECT Date FROM table WHERE Length of game = 75:43
Translate the following into a SQL query
Who is the away team for the game played on December 24, 1977?
SELECT Away team FROM table WHERE Date = december 24, 1977
Translate the following into a SQL query
What was the length of the game where the Baltimore Colts were at home?
SELECT Length of game FROM table WHERE Home team = baltimore colts
Translate the following into a SQL query
What's the number of laps for 16 grids?
SELECT SUM Laps FROM table WHERE Grid = 16
Translate the following into a SQL query
Who was the rider for laps less than 23 with grid greater than 21 that had a time of +1 lap?
SELECT Rider FROM table WHERE Laps < 23 AND Grid > 21 AND Time/Retired = +1 lap
Translate the following into a SQL query
What's the total grid for someone with a time/retire of +44.831
SELECT COUNT Grid FROM table WHERE Time/Retired = +44.831
Translate the following into a SQL query
What's the smallest grid for Time/Retired of +22.687?
SELECT MIN Grid FROM table WHERE Time/Retired = +22.687
Translate the following into a SQL query
What is the recoupa sudaamericana 1996 result of team flamengo, which did not qualify for the copa conmebol 1996?
SELECT Recopa Sudamericana 1996 FROM table WHERE Copa CONMEBOL 1996 = did not qualify AND Team = flamengo
Translate the following into a SQL query
What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals?
SELECT Copa Libertadores 1996 FROM table WHERE Copa CONMEBOL 1996 = quarterfinals
Translate the following into a SQL query
What is the copa libertadores 1996 of team corinthians?
SELECT Copa Libertadores 1996 FROM table WHERE Team = corinthians
Translate the following into a SQL query
What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?
SELECT Copa CONMEBOL 1996 FROM table WHERE Recopa Sudamericana 1996 = champions
Translate the following into a SQL query
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?
SELECT Recopa Sudamericana 1996 FROM table WHERE Copa Libertadores 1996 = round of 16
Translate the following into a SQL query
What is the recoupa sudamericana 1996 result of team corinthians?
SELECT Recopa Sudamericana 1996 FROM table WHERE Team = corinthians
Translate the following into a SQL query
What season has 195 runs as a margin?
SELECT Season FROM table WHERE Margin = 195 runs
Translate the following into a SQL query
What season has 2 as a rank?
SELECT Season FROM table WHERE Rank = 2
Translate the following into a SQL query
What venue has 2 as the rank?
SELECT Venue FROM table WHERE Rank = 2
Translate the following into a SQL query
What opponent has 2011/12 as the season?
SELECT Opponent FROM table WHERE Season = 2011/12
Translate the following into a SQL query
What is the length of the version from 2003?
SELECT Length FROM table WHERE Year = 2003
Translate the following into a SQL query
Who remixed the version with a length of 4:22?
SELECT Remixed by FROM table WHERE Length = 4:22
Translate the following into a SQL query
What is the length of the UK remix version?
SELECT Length FROM table WHERE Version = uk remix
Translate the following into a SQL query
What year was the version with a remixes album?
SELECT Year FROM table WHERE Album = remixes
Translate the following into a SQL query
How many losses did the team, Sturt, have when they had more than 0 wins?
SELECT COUNT Losses FROM table WHERE Team = sturt AND Wins > 0
Translate the following into a SQL query
What is the average number of draws for the team that had more than 0 wins?
SELECT AVG Draws FROM table WHERE Wins > 0
Translate the following into a SQL query
What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
SELECT MIN Losses FROM table WHERE Draws > 0 AND Season < 1926
Translate the following into a SQL query
What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995?
SELECT MAX Wins FROM table WHERE Season < 1995 AND Team = central district AND Draws < 0
Translate the following into a SQL query
What is the average number of wins before the season in 1906 where there were 0 draws?
SELECT AVG Wins FROM table WHERE Season < 1906 AND Draws < 0
Translate the following into a SQL query
Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th?
SELECT Opposing Pitcher FROM table WHERE Team = phillies AND Location = pittsburgh AND Inning = 8th
Translate the following into a SQL query
What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?
SELECT MIN Game FROM table WHERE Inning = 6th AND Opposing Pitcher = cliff curtis
Translate the following into a SQL query
What is was Date that where Triple was smaller than 26, and Game was 25?
SELECT Date FROM table WHERE Triple < 26 AND Game = 25
Translate the following into a SQL query
What's the lowest Votes (SW Eng) with a % (SW Eng) that's larger than 2.1, Votes (Gib) of 1,127, and a Change (SW Eng) that's larger than -3.6?
SELECT MIN Votes (SW Eng) FROM table WHERE % (SW Eng) > 2.1 AND Votes (Gib.) = 1,127 AND Change (SW Eng) > -3.6
Translate the following into a SQL query
Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42?
SELECT MIN Gold FROM table WHERE Bronze = 14 AND Total > 42
Translate the following into a SQL query
Which Bronze is the lowest one that has a Nation of total, and a Gold smaller than 14?
SELECT MIN Bronze FROM table WHERE Nation = total AND Gold < 14
Translate the following into a SQL query
How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0?
SELECT COUNT Total FROM table WHERE Nation = kazakhstan (kaz) AND Gold > 0
Translate the following into a SQL query
Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
SELECT MAX Total FROM table WHERE Rank = 1 AND Gold > 11
Translate the following into a SQL query
Who finished 3rd in Oslo?
SELECT Third FROM table WHERE Venue = oslo
Translate the following into a SQL query
On November 22, what were the results of the friendly type game?
SELECT Results¹ FROM table WHERE Type of game = friendly AND Date = november 22
Translate the following into a SQL query
On October 8, what city was the game played?
SELECT City FROM table WHERE Date = october 8
Translate the following into a SQL query
On June 29, who was the opponent?
SELECT Opponent FROM table WHERE Date = june 29
Translate the following into a SQL query
What date had an opponent of Sweden and a friendly type game?
SELECT Date FROM table WHERE Type of game = friendly AND Opponent = sweden
Translate the following into a SQL query
What were the results on September 7?
SELECT Results¹ FROM table WHERE Date = september 7
Translate the following into a SQL query
Which 1990–95 is the highest one that has a State of karnataka, and a 2001–05 smaller than 0.2?
SELECT MAX 1990–95 FROM table WHERE State = karnataka AND 2001–05 < 0.2
Translate the following into a SQL query
Which 1996-00 is the lowest one that has a State of maharashtra, and a 2006–10 smaller than 0.26?
SELECT MIN 1996-00 FROM table WHERE State = maharashtra AND 2006–10 < 0.26
Translate the following into a SQL query
Which 1990–95 is the average one that has a 2001–05 larger than 0.55?
SELECT AVG 1990–95 FROM table WHERE 2001–05 > 0.55
Translate the following into a SQL query
Which 1990–95 is the highest one that has a State of assam, and a 1996-00 smaller than 0.02?
SELECT MAX 1990–95 FROM table WHERE State = assam AND 1996-00 < 0.02
Translate the following into a SQL query
What is the Winning team on january 28, 2006?
SELECT Winning team FROM table WHERE Date = january 28, 2006
Translate the following into a SQL query
Which Series has a Winning team of iowa state and a Sport of w basketball?
SELECT Series FROM table WHERE Winning team = iowa state AND Sport = w basketball
Translate the following into a SQL query
Which Series has a Site of ames on september 10, 2005?
SELECT Series FROM table WHERE Site = ames AND Date = september 10, 2005
Translate the following into a SQL query
Which Series has a Site of ames and a Sport of w gymnastics?
SELECT Series FROM table WHERE Site = ames AND Sport = w gymnastics
Translate the following into a SQL query
WHich port is on march 17, 2006 and has a Winning team of iowa state?
SELECT Sport FROM table WHERE Date = march 17, 2006 AND Winning team = iowa state
Translate the following into a SQL query
Which Site has a Date of march 17, 2006 and an iowa state Winning team?
SELECT Site FROM table WHERE Date = march 17, 2006 AND Winning team = iowa state
Translate the following into a SQL query
Who was the opponent of the game before week 11 on October 31, 1976?
SELECT Opponent FROM table WHERE Week < 11 AND Date = october 31, 1976
Translate the following into a SQL query
What is the highest attendance of the game on week 9?
SELECT MAX Attendance FROM table WHERE Week = 9
Translate the following into a SQL query
When is the last episode air date for season 3?
SELECT Last air date FROM table WHERE Season = 3
Translate the following into a SQL query
Which season had its last episode air on March 11, 2001?
SELECT Season FROM table WHERE Last air date = march 11, 2001
Translate the following into a SQL query
What games have more than 1 draw?
SELECT AVG Games FROM table WHERE Drawn > 1
Translate the following into a SQL query
What game is the lowest with 1 draw and less than 7 points?
SELECT MIN Games FROM table WHERE Drawn = 1 AND Points < 7
Translate the following into a SQL query
Manager of art griggs had what lowest year?
SELECT MIN Year FROM table WHERE Manager = art griggs
Translate the following into a SQL query
Manager of spencer abbott, and a Year of 1919 involves what playoffs?
SELECT Playoffs FROM table WHERE Manager = spencer abbott AND Year = 1919
Translate the following into a SQL query
Manager of marty berghammer / nick allen is what year?
SELECT Year FROM table WHERE Manager = marty berghammer / nick allen
Translate the following into a SQL query
Manager of lyman lamb / marty berghammer is in what league?
SELECT League FROM table WHERE Manager = lyman lamb / marty berghammer
Translate the following into a SQL query
Manager of marty berghammer, and a Finish of 1st involved what lowest year?
SELECT MIN Year FROM table WHERE Manager = marty berghammer AND Finish = 1st
Translate the following into a SQL query
Playoffs of league champs, and a Record of 77-63 is in what league?
SELECT League FROM table WHERE Playoffs = league champs AND Record = 77-63
Translate the following into a SQL query
Name the 2005 with 2007 of sf
SELECT 2005 FROM table WHERE 2007 = sf
Translate the following into a SQL query
Name the 2006 with 2008 of 1r and 2004 of 1r
SELECT 2006 FROM table WHERE 2008 = 1r AND 2004 = 1r
Translate the following into a SQL query
Name the 2011 with 2002 of 1r and 2009 of a
SELECT 2011 FROM table WHERE 2002 = 1r AND 2009 = a
Translate the following into a SQL query
Name the 1999 with 2011 of 2r
SELECT 1999 FROM table WHERE 2011 = 2r
Translate the following into a SQL query
Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r
SELECT 2008 FROM table WHERE 1998 = a AND 2002 = 1r AND 2004 = 2r
Translate the following into a SQL query
Name the 2001 with 2007 of sf
SELECT 2001 FROM table WHERE 2007 = sf
Translate the following into a SQL query
Which AAA class has Fort Bend Dulles as a Class AAAAA?
SELECT Class AAA FROM table WHERE Class AAAAA = fort bend dulles
Translate the following into a SQL query
Which school year was the Class AAA dalhart and the class AAAAA edinburg?
SELECT School Year FROM table WHERE Class AAA = dalhart AND Class AAAAA = edinburg
Translate the following into a SQL query
For what Class A is the school year 1987-88?
SELECT Class A FROM table WHERE School Year = 1987-88
Translate the following into a SQL query
What is the Class AAAAA when Class AA is Tuscola Jim Ned and Class AAA Snyder?
SELECT Class AAAAA FROM table WHERE Class AA = tuscola jim ned AND Class AAA = snyder
Translate the following into a SQL query
What is the Class AAAAA when the Class AAA is Gonzales?
SELECT Class AAAA FROM table WHERE Class AAA = gonzales
Translate the following into a SQL query
Which team scored less than 35 points?
SELECT Team FROM table WHERE Points < 35
Translate the following into a SQL query
Which Position has a Team of criciúma, and a Drawn larger than 8?
SELECT AVG Position FROM table WHERE Team = criciúma AND Drawn > 8
Translate the following into a SQL query
Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?
SELECT Drawn FROM table WHERE Points < 46 AND Position < 20 AND Lost < 19 AND Against = 56
Translate the following into a SQL query
Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?
SELECT AVG Played FROM table WHERE Lost > 14 AND Drawn = 10 AND Points > 46
Translate the following into a SQL query
What's the name of a Rank 3 with a 1st (m) smaller than 199.5?
SELECT Name FROM table WHERE 1st (m) < 199.5 AND Rank = 3
Translate the following into a SQL query
What's the Overall WC points (Rank) for Rank 2?
SELECT Overall WC points (Rank) FROM table WHERE Rank = 2
Translate the following into a SQL query
What score has devin brown (24) as the leading scorer?
SELECT Score FROM table WHERE Leading scorer = devin brown (24)
Translate the following into a SQL query
Which height, in meters, has 36 floors?
SELECT Height ft ( m ) FROM table WHERE Floors = 36
Translate the following into a SQL query
Which Floors is the highest one that has a Name of one indiana square?
SELECT MAX Floors FROM table WHERE Name = one indiana square
Translate the following into a SQL query
How tall is the Street address of 07.0 200 east washington street?
SELECT Height ft ( m ) FROM table WHERE Street address = 07.0 200 east washington street
Translate the following into a SQL query
What was the date of the game where the indians record was 37-44?
SELECT Date FROM table WHERE Record = 37-44
Translate the following into a SQL query
What city is Garfield County Museum located in?
SELECT Town/City FROM table WHERE Name = garfield county museum
Translate the following into a SQL query
Is the Rudyard Depot Museum on the Dinosaur Trail?
SELECT On Dinosaur Trail? FROM table WHERE Name = rudyard depot museum
Translate the following into a SQL query
What is the name of the museum located in Malta with no associated field digs?
SELECT Name FROM table WHERE Associated Field Digs? = no AND Town/City = malta
Translate the following into a SQL query
What is the museum name located in Rudyard?
SELECT Name FROM table WHERE Town/City = rudyard
Translate the following into a SQL query
What is the region that the Blaine County Museum is located in?
SELECT Region FROM table WHERE Name = blaine county museum
Translate the following into a SQL query
What Tournament had a Score of 6–3, 2–6, 6–3?
SELECT Tournament FROM table WHERE Score = 6–3, 2–6, 6–3
Translate the following into a SQL query
What Partner had a Score of 6–3, 2–6, 6–3?
SELECT Partner FROM table WHERE Score = 6–3, 2–6, 6–3
Translate the following into a SQL query
Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?
SELECT Opponents FROM table WHERE Outcome = runner-up AND Surface = hard AND Partner = catherine suire