instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the highest number of starts in 2007 when the average start was over 17.6?
SELECT MAX Starts FROM table WHERE Year = 2007 AND Avg. Start > 17.6
Translate the following into a SQL query
What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races?
SELECT Wins FROM table WHERE Third = 1 AND Points < 572 AND Races < 16
Translate the following into a SQL query
What was the result for the friendly match competition?
SELECT Res. FROM table WHERE Competition = friendly match
Translate the following into a SQL query
What was the team #1 for the match that had a result of 0-3?
SELECT Team #1 FROM table WHERE Res. = 0-3
Translate the following into a SQL query
what is the 2010 population density for municipio ponce?
SELECT 2010 population density FROM table WHERE Municipio = ponce
Translate the following into a SQL query
What's the category for the tween academy: class of 2012 nomination?
SELECT Category FROM table WHERE Nominated for = tween academy: class of 2012
Translate the following into a SQL query
How many years was famas awards the award giving body?
SELECT COUNT Year FROM table WHERE Award giving body = famas awards
Translate the following into a SQL query
What's the result for the category of best actor in a supporting role?
SELECT Result FROM table WHERE Category = best actor in a supporting role
Translate the following into a SQL query
Which Record has a Date of december 17?
SELECT Record FROM table WHERE Date = december 17
Translate the following into a SQL query
Which Streak has a Team of new york knicks?
SELECT Streak FROM table WHERE Team = new york knicks
Translate the following into a SQL query
Which Date has a Record of 21–10?
SELECT Date FROM table WHERE Record = 21–10
Translate the following into a SQL query
Which Team has a Record of 17–8?
SELECT Team FROM table WHERE Record = 17–8
Translate the following into a SQL query
Which Date has a Score of 102–113?
SELECT Date FROM table WHERE Score = 102–113
Translate the following into a SQL query
Which Game has a Streak of loss 1, and a Score of 110–111?
SELECT Game FROM table WHERE Streak = loss 1 AND Score = 110–111
Translate the following into a SQL query
What is the name of the player who is Sco and moving to greenock morton in the summer?
SELECT Name FROM table WHERE Nat. = sco AND Transfer window = summer AND Moving to = greenock morton
Translate the following into a SQL query
Where is rory loy moving to?
SELECT Moving to FROM table WHERE Name = rory loy
Translate the following into a SQL query
What is the transfer fee for rory loy?
SELECT Transfer fee FROM table WHERE Name = rory loy
Translate the following into a SQL query
What is the date of the game with toronto as the visitor?
SELECT Date FROM table WHERE Visitor = toronto
Translate the following into a SQL query
What is the date of the game with less than 35 points and chicago as the home team?
SELECT Date FROM table WHERE Points < 35 AND Home = chicago
Translate the following into a SQL query
What is the date of the game with pittsburgh as the home team and boston as the visitor team?
SELECT Date FROM table WHERE Home = pittsburgh AND Visitor = boston
Translate the following into a SQL query
What is the record of the game with 35 points and pittsburgh as the home team?
SELECT Record FROM table WHERE Home = pittsburgh AND Points = 35
Translate the following into a SQL query
What place did bobby wadkins come in?
SELECT Place FROM table WHERE Player = bobby wadkins
Translate the following into a SQL query
What is the lowest Lane, when Mark is 7.66?
SELECT MIN Lane FROM table WHERE Mark = 7.66
Translate the following into a SQL query
What is Mark, when React is less than 0.148?
SELECT Mark FROM table WHERE React < 0.148
Translate the following into a SQL query
What is the sum of Land, when React is greater than 0.217, and when Name is Yoel Hernández?
SELECT SUM Lane FROM table WHERE React > 0.217 AND Name = yoel hernández
Translate the following into a SQL query
What is Mark, when Lane is less than 5, and when React is 0.217?
SELECT Mark FROM table WHERE Lane < 5 AND React = 0.217
Translate the following into a SQL query
What was the record following game 67?
SELECT Record FROM table WHERE Game = 67
Translate the following into a SQL query
What day in February had an opponent of @ Colorado Rockies?
SELECT SUM February FROM table WHERE Opponent = @ colorado rockies
Translate the following into a SQL query
What was the score of the game with a record of 18-22-13?
SELECT Score FROM table WHERE Record = 18-22-13
Translate the following into a SQL query
Which Opponent in the final has a Score of 6–3, 3–6, 6–8?
SELECT Opponent in the final FROM table WHERE Score = 6–3, 3–6, 6–8
Translate the following into a SQL query
Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert seguso?
SELECT Tournament FROM table WHERE Surface = carpet AND Date < 1995 AND Opponent in the final = ken flach robert seguso
Translate the following into a SQL query
What time in office does the U.S. Navy have?
SELECT Time in office FROM table WHERE Branch = u.s. navy
Translate the following into a SQL query
When did the term end for the U.S. Marine Corps?
SELECT Term ended FROM table WHERE Branch = u.s. marine corps
Translate the following into a SQL query
What is the 2006 figure for Argentina when 2007 is less than 0,15?
SELECT COUNT 2006 FROM table WHERE Country = argentina AND 2007 < 0,15
Translate the following into a SQL query
What is the 2009 average if 2008 is less than 0,11 and 2007 is less than 0,08?
SELECT AVG 2009 FROM table WHERE 2008 < 0,11 AND 2007 < 0,08
Translate the following into a SQL query
What is the 2009 average when the 2007 average is more than 0,18?
SELECT AVG 2009 FROM table WHERE 2007 > 0,18
Translate the following into a SQL query
How many gains were there for the player who had a loss greater than 57 and a long less than 55?
SELECT COUNT Gain FROM table WHERE Loss > 57 AND Long < 55
Translate the following into a SQL query
What is the lowest Loss for the player named total that has a long greater than 55?
SELECT MIN Loss FROM table WHERE Name = total AND Long > 55
Translate the following into a SQL query
What nationality is Kentucky and the player Tayshaun Prince?
SELECT Nationality FROM table WHERE School/Club Team = kentucky AND Player = tayshaun prince
Translate the following into a SQL query
What is the nationality of Duke?
SELECT Nationality FROM table WHERE School/Club Team = duke
Translate the following into a SQL query
What was the nationality of a point guard position in 1999-2001?
SELECT Nationality FROM table WHERE Position = point guard AND Years for Grizzlies = 1999-2001
Translate the following into a SQL query
What is the position of Tayshaun Prince?
SELECT Position FROM table WHERE Player = tayshaun prince
Translate the following into a SQL query
Who was the parent on the order of 6?
SELECT Parent FROM table WHERE Order = 6
Translate the following into a SQL query
Who was the husband date that was married in 1858?
SELECT Husband dates FROM table WHERE Date married = 1858
Translate the following into a SQL query
Can you tell me the Record that has the Opponent of vs. hamilton tiger cats?
SELECT Record FROM table WHERE Opponent = vs. hamilton tiger cats
Translate the following into a SQL query
Can you tell me the Opponent that has the Date of sun, sept 9?
SELECT Opponent FROM table WHERE Date = sun, sept 9
Translate the following into a SQL query
Which country is Scott Hoch from?
SELECT Country FROM table WHERE Player = scott hoch
Translate the following into a SQL query
What is the place of the player from Spain?
SELECT Place FROM table WHERE Country = spain
Translate the following into a SQL query
What is Score, when Record is 12-57?
SELECT Score FROM table WHERE Record = 12-57
Translate the following into a SQL query
What is Date, when Record is 12-58?
SELECT Date FROM table WHERE Record = 12-58
Translate the following into a SQL query
What is Score, when Date is February 5?
SELECT Score FROM table WHERE Date = february 5
Translate the following into a SQL query
What is H/A/N, when Score is 104-109?
SELECT H/A/N FROM table WHERE Score = 104-109
Translate the following into a SQL query
What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58?
SELECT Score FROM table WHERE Opponent = portland trail blazers AND Record = 12-58
Translate the following into a SQL query
What is H/A/N when Date is February 24?
SELECT H/A/N FROM table WHERE Date = february 24
Translate the following into a SQL query
What is the last game of the season that has the record 0-1-0?
SELECT MIN Game FROM table WHERE Record = 0-1-0
Translate the following into a SQL query
Who had the decision goal when the date was 1?
SELECT Decision FROM table WHERE Date = 1
Translate the following into a SQL query
Who had the decision goal when the record was 7-7-2?
SELECT Decision FROM table WHERE Record = 7-7-2
Translate the following into a SQL query
What was the first game in which Weekes scored the decision goal and the record was 7-4-2?
SELECT MIN Game FROM table WHERE Decision = weekes AND Record = 7-4-2
Translate the following into a SQL query
What's the total number of points scored during the 1951 NSWRFL Grand Final?
SELECT COUNT Points FROM table WHERE Details = 1951 nswrfl grand final
Translate the following into a SQL query
Which premier team played the 1951 NSWRFL Grand Final?
SELECT Premiers FROM table WHERE Details = 1951 nswrfl grand final
Translate the following into a SQL query
During which competition were a total of 36 points scored?
SELECT Details FROM table WHERE Points = 36
Translate the following into a SQL query
What's the total sum of points scored by the Brisbane Broncos?
SELECT SUM Points FROM table WHERE Premiers = brisbane broncos
Translate the following into a SQL query
What is the premier team that has 38 points and won with a score of 38-0?
SELECT Premiers FROM table WHERE Points = 38 AND Score = 38-0
Translate the following into a SQL query
What was the tie no when the away team was northwich victoria?
SELECT Tie no FROM table WHERE Away team = northwich victoria
Translate the following into a SQL query
What was the attendance for the match where cambridge united was the home team?
SELECT Attendance FROM table WHERE Home team = cambridge united
Translate the following into a SQL query
How many times was the award inte awards?
SELECT COUNT Year FROM table WHERE Award = inte awards
Translate the following into a SQL query
what is the work when the result is won and the year is after 2002?
SELECT Work FROM table WHERE Result = won AND Year > 2002
Translate the following into a SQL query
what is the work when the result is won and the year is before 2003?
SELECT Work FROM table WHERE Result = won AND Year < 2003
Translate the following into a SQL query
Which venue had the opposing team Natal?
SELECT Venue FROM table WHERE Opposing Team = natal
Translate the following into a SQL query
What day was the against 22 and the status tour match?
SELECT Date FROM table WHERE Status = tour match AND Against = 22
Translate the following into a SQL query
Which Attendance has a Week of 8?
SELECT AVG Attendance FROM table WHERE Week = 8
Translate the following into a SQL query
Which Opponent that has a Week smaller than 7 on september 12, 1988?
SELECT Opponent FROM table WHERE Week < 7 AND Date = september 12, 1988
Translate the following into a SQL query
When has a Result of w 41-27?
SELECT Date FROM table WHERE Result = w 41-27
Translate the following into a SQL query
Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?
SELECT AVG Weight (kg) FROM table WHERE Manufacturer = fujitsu AND Model = lifebook p1610
Translate the following into a SQL query
Which Display size (in) has a Model of versapro vy10f/bh-l?
SELECT MIN Display size (in) FROM table WHERE Model = versapro vy10f/bh-l
Translate the following into a SQL query
Which Display size (in) has a Model of vaio pcg-u3?
SELECT COUNT Display size (in) FROM table WHERE Model = vaio pcg-u3
Translate the following into a SQL query
What method was used in the match that went to round 1, and had a 6-3-1 record?
SELECT Method FROM table WHERE Round = 1 AND Record = 6-3-1
Translate the following into a SQL query
In the match against Marcus Aurélio with a method of decision (unanimous), what was the results?
SELECT Res. FROM table WHERE Method = decision (unanimous) AND Opponent = marcus aurélio
Translate the following into a SQL query
Where was the Deep - 30 Impact event held?
SELECT Location FROM table WHERE Event = deep - 30 impact
Translate the following into a SQL query
COunt the average Diameter (km) which has ketian (yenisey r.) main evil goddess.?
SELECT AVG Diameter (km) FROM table WHERE Name origin = ketian (yenisey r.) main evil goddess.
Translate the following into a SQL query
COunt the sum of Diameter (km) which has a Latitude of 62.7n?
SELECT SUM Diameter (km) FROM table WHERE Latitude = 62.7n
Translate the following into a SQL query
WHich Name origin has a Longitude of 332.5e?
SELECT Name origin FROM table WHERE Longitude = 332.5e
Translate the following into a SQL query
In which round was Dustin Hazelett the opponent?
SELECT Round FROM table WHERE Opponent = dustin hazelett
Translate the following into a SQL query
What is TV Time, when Opponent is At Cincinnati Bengals?
SELECT TV Time FROM table WHERE Opponent = at cincinnati bengals
Translate the following into a SQL query
What is TV Time, when Date is December 22, 1996?
SELECT TV Time FROM table WHERE Date = december 22, 1996
Translate the following into a SQL query
What is Result, when Opponent is Cincinnati Bengals?
SELECT Result FROM table WHERE Opponent = cincinnati bengals
Translate the following into a SQL query
What was their record bfore game 54?
SELECT Record FROM table WHERE Game = 54
Translate the following into a SQL query
Who had the most rebounds in the game against Chicago?
SELECT High rebounds FROM table WHERE Team = chicago
Translate the following into a SQL query
What was the lowest attendance at the game against chicago when conklin made the decision?
SELECT MIN Attendance FROM table WHERE Decision = conklin AND Visitor = chicago
Translate the following into a SQL query
For Tie #2, who was the home team?
SELECT Home team FROM table WHERE Tie no = 2
Translate the following into a SQL query
What was the final score for the match where Hereford United was the home team?
SELECT Score FROM table WHERE Home team = hereford united
Translate the following into a SQL query
In Tie #18, who was the away team?
SELECT Away team FROM table WHERE Tie no = 18
Translate the following into a SQL query
In Tie #19, what was the name of the away team?
SELECT Away team FROM table WHERE Tie no = 19
Translate the following into a SQL query
What is the Tie number for the match where Dartford was the hone team?
SELECT Tie no FROM table WHERE Home team = dartford
Translate the following into a SQL query
In the match played against Telford United, who was the home team?
SELECT Home team FROM table WHERE Away team = telford united
Translate the following into a SQL query
What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards?
SELECT Position FROM table WHERE Class = sophomore AND Player = shaquille o'neal category:articles with hcards
Translate the following into a SQL query
What is Player, when Class is "senior", when Position is "shooting guard", and when School is "Bradley"?
SELECT Player FROM table WHERE Class = senior AND Position = shooting guard AND School = bradley
Translate the following into a SQL query
What is Position, when Player is "Kevin Durant category:articles with hCards"?
SELECT Position FROM table WHERE Player = kevin durant category:articles with hcards
Translate the following into a SQL query
What is the Score of the match on August 23, 2004?
SELECT Score FROM table WHERE Date = august 23, 2004
Translate the following into a SQL query
What was the Score of the Spain F32, Gran Canaria Tournament?
SELECT Score FROM table WHERE Tournament = spain f32, gran canaria