instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What week did they have a bye?
SELECT Week FROM table WHERE Date = bye
Translate the following into a SQL query
What tournament in 2006 had a score of 0-0?
SELECT Tournament FROM table WHERE 2006 = 0-0
Translate the following into a SQL query
What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total?
SELECT MAX Extra points FROM table WHERE Player = albert herrnstein AND Points > 15
Translate the following into a SQL query
How many touchdowns were scored by William Cole?
SELECT Touchdowns FROM table WHERE Player = william cole
Translate the following into a SQL query
For the game with 26,236 attendance, what was the record?
SELECT Record FROM table WHERE Attendance = 26,236
Translate the following into a SQL query
What's the record for the game with an attendance of 49,222?
SELECT Record FROM table WHERE Attendance = 49,222
Translate the following into a SQL query
Who had the most rebounds and how many did he have during the game on June 11?
SELECT High rebounds FROM table WHERE Date = june 11
Translate the following into a SQL query
Who was the leading scorer and how many did he score for the game on June 13?
SELECT High points FROM table WHERE Date = june 13
Translate the following into a SQL query
What College/Junior/Club Team has Pick 50 before Round 8?
SELECT College/Junior/Club Team FROM table WHERE Round < 8 AND Pick = 50
Translate the following into a SQL query
What is the highest overall prior to 1996 with a slalom of 39?
SELECT MAX Overall FROM table WHERE Slalom = 39 AND Season < 1996
Translate the following into a SQL query
What is the lowest overall score prior to 1992 with a downhill score of 1?
SELECT MIN Overall FROM table WHERE Downhill = 1 AND Season < 1992
Translate the following into a SQL query
What was her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12?
SELECT Giant Slalom FROM table WHERE Overall > 3 AND Super G = 12
Translate the following into a SQL query
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?
SELECT MAX Super G FROM table WHERE Slalom = 58 AND Overall > 2
Translate the following into a SQL query
What location has the name of Sakakita BS?
SELECT Location (all in Nagano ) FROM table WHERE Name = sakakita bs
Translate the following into a SQL query
Which location includes Sakakita BS?
SELECT Location (all in Nagano ) FROM table WHERE Name = sakakita bs
Translate the following into a SQL query
What is the distance from origin in Azumino including Toyoshina IC?
SELECT Dist. from Origin FROM table WHERE Location (all in Nagano ) = azumino AND Name = toyoshina ic
Translate the following into a SQL query
Which district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa?
SELECT District FROM table WHERE First Elected < 2006 AND Towns Represented = broken arrow, tulsa
Translate the following into a SQL query
How many values of first elected are for district 16?
SELECT COUNT First Elected FROM table WHERE District = 16
Translate the following into a SQL query
Which towns are represented in district 31?
SELECT Towns Represented FROM table WHERE District = 31
Translate the following into a SQL query
How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17?
SELECT COUNT Deposits FROM table WHERE Non-Interest Income = 0.9500000000000001 AND No. of Branches/Offices < 17
Translate the following into a SQL query
Which NPL net's bank was citibank?
SELECT NPL Net FROM table WHERE Bank = citibank
Translate the following into a SQL query
Which championship has a winning score of (77-76-74-73=300)?
SELECT Championship FROM table WHERE Winning Score = (77-76-74-73=300)
Translate the following into a SQL query
Which championship has a margin of 8 strokes?
SELECT Championship FROM table WHERE Margin = 8 strokes
Translate the following into a SQL query
Which championship has a 5 shot lead for 54 holes?
SELECT Championship FROM table WHERE 54 Holes = 5 shot lead
Translate the following into a SQL query
What is the 54 holes for The Open Championship (4)?
SELECT 54 Holes FROM table WHERE Championship = the open championship (4)
Translate the following into a SQL query
Which Tournament has a 2007 of wta premier 5 tournaments?
SELECT Tournament FROM table WHERE 2007 = wta premier 5 tournaments
Translate the following into a SQL query
Which Tournament was played in NH in 2011?
SELECT Tournament FROM table WHERE 2011 = nh
Translate the following into a SQL query
Which Tournament has a 2010 of 2r, and a 2011 of 1r?
SELECT Tournament FROM table WHERE 2010 = 2r AND 2011 = 1r
Translate the following into a SQL query
When was Color of green first issued?
SELECT MIN First issued FROM table WHERE Color = green
Translate the following into a SQL query
When was Color of green last issued?
SELECT MAX First issued FROM table WHERE Color = green
Translate the following into a SQL query
What reverse has a color of green?
SELECT Reverse FROM table WHERE Color = green
Translate the following into a SQL query
How much was a Reverse of guitar of agustín pío barrios before 1998?
SELECT Value FROM table WHERE First issued < 1998 AND Reverse = guitar of agustín pío barrios
Translate the following into a SQL query
What is BYU's lowest pick?
SELECT MIN Pick # FROM table WHERE College = byu
Translate the following into a SQL query
Which cornerback round has a pick number lower than 26 and an overall higher than 41?
SELECT SUM Round FROM table WHERE Pick # < 26 AND Position = cornerback AND Overall > 41
Translate the following into a SQL query
What is the overall number for the College of Wyoming?
SELECT COUNT Overall FROM table WHERE College = wyoming
Translate the following into a SQL query
What is the total round for a wide receiver with an overall of more than 145?
SELECT COUNT Round FROM table WHERE Position = wide receiver AND Overall > 145
Translate the following into a SQL query
What is College of Ohio State's pick number with an overall lower than 145?
SELECT Pick # FROM table WHERE Overall < 145 AND College = ohio state
Translate the following into a SQL query
How many are enrolled at 49 Marion with the Warriors as their mascot?
SELECT COUNT Enrollment FROM table WHERE # / County = 49 marion AND Mascot = warriors
Translate the following into a SQL query
Where is Terre Haute North located?
SELECT Location FROM table WHERE School = terre haute north
Translate the following into a SQL query
What's the enrollment at 41 Johnson?
SELECT AVG Enrollment FROM table WHERE # / County = 41 johnson
Translate the following into a SQL query
At Indianapolis North Central that has greater than 1,829 enrolled, what is the IHSAA Football Class?
SELECT IHSAA Football Class FROM table WHERE Enrollment > 1,829 AND School = indianapolis north central
Translate the following into a SQL query
What school has the greyhounds as mascots?
SELECT School FROM table WHERE Mascot = greyhounds
Translate the following into a SQL query
for type diesel-mechanical and configuration b-b, what is the status?
SELECT Status FROM table WHERE Configuration = b-b AND Type = diesel-mechanical
Translate the following into a SQL query
Where is the origin of the tth version?
SELECT Origin FROM table WHERE Versions = tth
Translate the following into a SQL query
What is the record of game 7?
SELECT Record FROM table WHERE Game = 7
Translate the following into a SQL query
What is the lowest number of points of the game before game 2 before October 10?
SELECT MIN Points FROM table WHERE October < 10 AND Game < 2
Translate the following into a SQL query
what team played on july 9
SELECT Opponent FROM table WHERE Date = july 9
Translate the following into a SQL query
What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894?
SELECT Party FROM table WHERE Result = re-elected AND First elected < 1894 AND Incumbent = charles h. grosvenor
Translate the following into a SQL query
Who was the incumbent from the Ohio 13 district?
SELECT Incumbent FROM table WHERE District = ohio 13
Translate the following into a SQL query
What is the party of the representative first elected in 1894 from the Ohio 16 district?
SELECT Party FROM table WHERE First elected = 1894 AND District = ohio 16
Translate the following into a SQL query
What score has Leicestershire as the opponent after 1906?
SELECT Score FROM table WHERE Opposition = leicestershire AND Year > 1906
Translate the following into a SQL query
Where in Buxton has 3 runs?
SELECT Venue FROM table WHERE Score = 3 runs AND City = buxton
Translate the following into a SQL query
What city was in 1889?
SELECT City FROM table WHERE Year = 1889
Translate the following into a SQL query
What is the score in Leicester?
SELECT Score FROM table WHERE City = leicester
Translate the following into a SQL query
How many years has 1 run?
SELECT COUNT Year FROM table WHERE Score = 1 run
Translate the following into a SQL query
What year was in Aigburth?
SELECT MAX Year FROM table WHERE Venue = aigburth
Translate the following into a SQL query
Which season has q145 as its format?
SELECT MIN Season # FROM table WHERE Format # = q145
Translate the following into a SQL query
What is the average episode number with q146 format?
SELECT AVG Episode # FROM table WHERE Format # = q146
Translate the following into a SQL query
Who is the opponent of Game 1 with a 3-2-0 record?
SELECT Opponent FROM table WHERE Game > 1 AND Record = 3-2-0
Translate the following into a SQL query
What is game 9's record?
SELECT Record FROM table WHERE Game = 9
Translate the following into a SQL query
Who is the opponent of the team with a 1-1-0 record?
SELECT Opponent FROM table WHERE Record = 1-1-0
Translate the following into a SQL query
What date has Liga 3rd of Dynamo Dresden?
SELECT Date FROM table WHERE 3rd Liga 3rd = dynamo dresden
Translate the following into a SQL query
What is the 3rd Liga from 2010-11?
SELECT 3rd Liga 3rd FROM table WHERE Date = 2010-11
Translate the following into a SQL query
What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?
SELECT 3rd Liga 3rd FROM table WHERE Game 1 = 0-1 AND Date = 2008-09
Translate the following into a SQL query
Which Score in the final has an Outcome of winner, and a Surface of hard (i)?
SELECT Score in the final FROM table WHERE Outcome = winner AND Surface = hard (i)
Translate the following into a SQL query
Which Surface has a Partner of jim thomas, and a Date of 2007?
SELECT Surface FROM table WHERE Partner = jim thomas AND Date = 2007
Translate the following into a SQL query
What was the Attendance in the game with a Result of won 5-2?
SELECT Attendance FROM table WHERE Result = won 5-2
Translate the following into a SQL query
What was the home Competition with Attendance of 1,268?
SELECT Competition FROM table WHERE Venue = home AND Attendance = 1,268
Translate the following into a SQL query
What school or club team did the player chosen for the Sacramento Monarchs play for?
SELECT School/Club Team FROM table WHERE WNBA Team = sacramento monarchs
Translate the following into a SQL query
What player was chosen for the Chicago Sky?
SELECT Player FROM table WHERE WNBA Team = chicago sky
Translate the following into a SQL query
Which player was picked for the Chicago Sky?
SELECT Player FROM table WHERE WNBA Team = chicago sky
Translate the following into a SQL query
What is the position of the player with a height of 205 and shirt no 8?
SELECT Position FROM table WHERE Height = 205 AND Shirt No = 8
Translate the following into a SQL query
What is the name of the player who is a height of 182?
SELECT Player FROM table WHERE Height = 182
Translate the following into a SQL query
What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0?
SELECT SUM Gold FROM table WHERE Participants = 4 AND Silver < 0
Translate the following into a SQL query
Who was the opponent with a score of 141–102?
SELECT Opponent FROM table WHERE Score = 141–102
Translate the following into a SQL query
Who was the opponent with a score of 109–108?
SELECT Opponent FROM table WHERE Score = 109–108
Translate the following into a SQL query
What was the result when the record was 62–12?
SELECT Result FROM table WHERE Record = 62–12
Translate the following into a SQL query
What was the result with a record of 58–11?
SELECT Result FROM table WHERE Record = 58–11
Translate the following into a SQL query
What's the number of the game played on January 2, 1936?
SELECT MIN Number FROM table WHERE Date = january 2, 1936
Translate the following into a SQL query
What's the record of game number 23?
SELECT Record FROM table WHERE Number = 23
Translate the following into a SQL query
How many Points a February smaller than 1 have?
SELECT MIN Points FROM table WHERE February < 1
Translate the following into a SQL query
How many February days have Points of 63 and a Score of 1–2?
SELECT COUNT February FROM table WHERE Points = 63 AND Score = 1–2
Translate the following into a SQL query
What is the name of the player with less than 2 wins?
SELECT Player FROM table WHERE Wins < 2
Translate the following into a SQL query
What is the number of earning for more than 2 wins and less than 25 events?
SELECT SUM Earnings ( $ ) FROM table WHERE Wins > 2 AND Events < 25
Translate the following into a SQL query
What is the largest events number for more than 2 wins and less than $446,893 in earnings?
SELECT MAX Events FROM table WHERE Wins > 2 AND Earnings ( $ ) < 446,893
Translate the following into a SQL query
What is the largest events with earning less than $384,489 ranked more than 4 with less than 1 win?
SELECT MAX Events FROM table WHERE Earnings ( $ ) < 384,489 AND Rank > 4 AND Wins < 1
Translate the following into a SQL query
Who was the visitor at 5:00 pm?
SELECT Visitor FROM table WHERE Time = 5:00 pm
Translate the following into a SQL query
Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2?
SELECT Visitor FROM table WHERE Home = pittsburgh penguins AND Time = 7:00 pm AND Record = 0-2-2
Translate the following into a SQL query
What is the home in mellon arena at 7:30 pm with a record o 2-5-2?
SELECT Home FROM table WHERE Time = 7:30 pm AND Location/Attendance = mellon arena AND Record = 2-5-2
Translate the following into a SQL query
Which average Drawn has Games larger than 7?
SELECT AVG Drawn FROM table WHERE Games > 7
Translate the following into a SQL query
Which Make has a Pos of 3?
SELECT Make FROM table WHERE Pos. = 3
Translate the following into a SQL query
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?
SELECT MAX Car # FROM table WHERE Make = toyota AND Driver = mike skinner AND Pos. > 3
Translate the following into a SQL query
Which Make has a Car # larger than 59?
SELECT Make FROM table WHERE Car # > 59
Translate the following into a SQL query
What was the result of the Euro '64 qualifying game?
SELECT Results¹ FROM table WHERE Type of game = euro '64 qualifying
Translate the following into a SQL query
What is the date of the Euro '64 qualifying game?
SELECT Date FROM table WHERE Type of game = euro '64 qualifying
Translate the following into a SQL query
What was the title in 1996?
SELECT Title FROM table WHERE Year = 1996
Translate the following into a SQL query
What was the role in 2001?
SELECT Role FROM table WHERE Year = 2001
Translate the following into a SQL query
What language was Taken in?
SELECT Language FROM table WHERE Title = taken
Translate the following into a SQL query
Which title had Notes of 8 episodes?
SELECT Title FROM table WHERE Notes = 8 episodes
Translate the following into a SQL query
Which title is in Portuguese?
SELECT Title FROM table WHERE Language = portuguese