instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the highest number of rebounds of the game with a 6-14 record?
SELECT High rebounds FROM table WHERE Record = 6-14
Translate the following into a SQL query
Can you tell me the Record that has the Points larger than 23, and the Attendance larger than 4,017, and the Date of january 18?
SELECT Record FROM table WHERE Points > 23 AND Attendance > 4,017 AND Date = january 18
Translate the following into a SQL query
Can you tell me the Record that has the Visitor of pittsburgh, and the Points smaller than 27, and the Home of boston?
SELECT Record FROM table WHERE Visitor = pittsburgh AND Points < 27 AND Home = boston
Translate the following into a SQL query
Can you tell me the average Points that has the Attendance of 3,806?
SELECT AVG Points FROM table WHERE Attendance = 3,806
Translate the following into a SQL query
Which opponent had 38,642 attendance?
SELECT Opponent FROM table WHERE Attendance = 38,642
Translate the following into a SQL query
What date had 51,265 attendance?
SELECT Date FROM table WHERE Attendance = 51,265
Translate the following into a SQL query
When 7th place, what is the date?
SELECT Date FROM table WHERE Place = 7th
Translate the following into a SQL query
What is the score of game 34?
SELECT Score FROM table WHERE Game = 34
Translate the following into a SQL query
What is the record of game 33?
SELECT Record FROM table WHERE Game = 33
Translate the following into a SQL query
What is the Country, when Place is "T4", and when Player is "Scott Simpson"?
SELECT Country FROM table WHERE Place = t4 AND Player = scott simpson
Translate the following into a SQL query
What is To Par, when Score is 70, and when Player is "Craig Stadler"?
SELECT To par FROM table WHERE Score = 70 AND Player = craig stadler
Translate the following into a SQL query
What is Player, when Score is less than 69, and when Country is "United States"?
SELECT Player FROM table WHERE Score < 69 AND Country = united states
Translate the following into a SQL query
Who was the writer that the director was Alice Troughton and the producer was Phil Collinson?
SELECT Writer FROM table WHERE Producer = phil collinson AND Director = alice troughton
Translate the following into a SQL query
What is the location and attendance after game 2, and the team New Orleans?
SELECT Location Attendance FROM table WHERE Game > 2 AND Team = new orleans
Translate the following into a SQL query
What is Teleplay, when Season is greater than 1.1, and when First Broadcast is "February 20, 1981"?
SELECT Teleplay FROM table WHERE Season > 1.1 AND First Broadcast = february 20, 1981
Translate the following into a SQL query
What is Title, when Season is less than 1.8, and when First Broadcast is March 6, 1981?
SELECT Title FROM table WHERE Season < 1.8 AND First Broadcast = march 6, 1981
Translate the following into a SQL query
What is Director, when Season is 1.4?
SELECT Director FROM table WHERE Season = 1.4
Translate the following into a SQL query
What is Teleplay, when Director is "George McCowan", when Season is less than 1.1400000000000001, and when First Broadcast is April 3, 1981?
SELECT Teleplay FROM table WHERE Director = george mccowan AND Season < 1.1400000000000001 AND First Broadcast = april 3, 1981
Translate the following into a SQL query
What is the average Season, when First Broadcast is January 23, 1981?
SELECT AVG Season FROM table WHERE First Broadcast = january 23, 1981
Translate the following into a SQL query
What is Teleplay, when First Broadcast is April 10, 1981?
SELECT Teleplay FROM table WHERE First Broadcast = april 10, 1981
Translate the following into a SQL query
What the H/A when the opponent is the Bohemians?
SELECT H / A FROM table WHERE Opponents = bohemians
Translate the following into a SQL query
What is the attendance when Cork City is the opponent?
SELECT AVG Attendance FROM table WHERE Opponents = cork city
Translate the following into a SQL query
What is the H/A when Cork City is the opponent?
SELECT H / A FROM table WHERE Opponents = cork city
Translate the following into a SQL query
What is the H/A on 5 August 1990?
SELECT H / A FROM table WHERE Date = 5 august 1990
Translate the following into a SQL query
What is the result F-A on 5 August 1990?
SELECT Result F – A FROM table WHERE Date = 5 august 1990
Translate the following into a SQL query
What is the value for internal floppy disk with s-100 slots greater than 8 introduced earlier than 1978?
SELECT Internal Floppy Disk FROM table WHERE S-100 slots > 8 AND Year Introduced < 1978
Translate the following into a SQL query
Which system introduced earlier than 1981 has an internal hard disk of 11 megabytes and less than 21 s-100 slots?
SELECT System FROM table WHERE S-100 slots < 21 AND Year Introduced < 1981 AND Internal Hard Disk = 11 megabytes
Translate the following into a SQL query
What college did Marcus Wilson attend?
SELECT College FROM table WHERE Player = marcus wilson
Translate the following into a SQL query
Who is the player that attended Notre Dame with a pick smaller than 304?
SELECT Player FROM table WHERE Pick # < 304 AND College = notre dame
Translate the following into a SQL query
What college did Leon Perry attend?
SELECT College FROM table WHERE Player = leon perry
Translate the following into a SQL query
What NFL team did the Tight End position belong to?
SELECT NFL Team FROM table WHERE Position = tight end
Translate the following into a SQL query
What is the total number of weeks that the buffalo bills played against the San Diego Chargers?
SELECT SUM Week FROM table WHERE Opponent = san diego chargers
Translate the following into a SQL query
What is the attendance of the game that had a date listed as Bye?
SELECT Attendance FROM table WHERE Date = bye
Translate the following into a SQL query
How many weeks were there games with 41,384 fans in attendance?
SELECT SUM Week FROM table WHERE Attendance = 41,384
Translate the following into a SQL query
What is the lowest week number that had a game on December 3, 1967?
SELECT MIN Week FROM table WHERE Date = december 3, 1967
Translate the following into a SQL query
What was the result of the game that had 20,627 fans in attendance?
SELECT Result FROM table WHERE Attendance = 20,627
Translate the following into a SQL query
Who is the rider with 22 laps and a +19.435 time/retired?
SELECT Rider FROM table WHERE Laps = 22 AND Time/Retired = +19.435
Translate the following into a SQL query
What is the grid with a yamaha manufacturer and a +19.435 time/retired?
SELECT Grid FROM table WHERE Manufacturer = yamaha AND Time/Retired = +19.435
Translate the following into a SQL query
What is the grid of rider shinya nakano?
SELECT Grid FROM table WHERE Rider = shinya nakano
Translate the following into a SQL query
Who is the rider with 22 laps and a +1:44.775 time/retired?
SELECT Rider FROM table WHERE Laps = 22 AND Time/Retired = +1:44.775
Translate the following into a SQL query
What is the manufacturer with a 14 grid?
SELECT Manufacturer FROM table WHERE Grid = 14
Translate the following into a SQL query
Who is the rider with a yamaha manufacturer and a 17 grid?
SELECT Rider FROM table WHERE Manufacturer = yamaha AND Grid = 17
Translate the following into a SQL query
What is the total of attendance at Venue h when Auxerre were playing?
SELECT SUM Attendance FROM table WHERE Venue = h AND Opponent = auxerre
Translate the following into a SQL query
Which vehicle failed at launch?
SELECT Vehicle FROM table WHERE Ceased operation = failed at launch
Translate the following into a SQL query
What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?
SELECT Notes FROM table WHERE Vehicle = scout x-4 AND Ceased operation = june 1971
Translate the following into a SQL query
What was the ceased operation with a launch date of August 8, 1968?
SELECT Ceased operation FROM table WHERE Launched = august 8, 1968
Translate the following into a SQL query
What was the ceased operation that launched June 29, 1961?
SELECT Ceased operation FROM table WHERE Launched = june 29, 1961
Translate the following into a SQL query
What place in the United States having a score of 67-75-68=210?
SELECT Place FROM table WHERE Country = united states AND Score = 67-75-68=210
Translate the following into a SQL query
What country is in T4 place having a score of 66-71-72=209?
SELECT Country FROM table WHERE Place = t4 AND Score = 66-71-72=209
Translate the following into a SQL query
What place is the United States in that has a score of 68-73-68=209?
SELECT Place FROM table WHERE Country = united states AND Score = 68-73-68=209
Translate the following into a SQL query
Who is the player from the United States in T4 place with a score of 68-73-68=209?
SELECT Player FROM table WHERE Country = united states AND Place = t4 AND Score = 68-73-68=209
Translate the following into a SQL query
How many played when lost is more than 17, drawn is 15 and goals against is less than 75?
SELECT AVG Played FROM table WHERE Lost > 17 AND Drawn = 15 AND Goals Against < 75
Translate the following into a SQL query
what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15?
SELECT SUM Position FROM table WHERE Lost < 14 AND Goal Difference = +1 AND Drawn > 15
Translate the following into a SQL query
How many lost when goals for is 43 and the position number is higher than 15?
SELECT AVG Lost FROM table WHERE Goals For = 43 AND Position > 15
Translate the following into a SQL query
What was the score of the game against Charlotte?
SELECT Score FROM table WHERE Team = charlotte
Translate the following into a SQL query
Who had the high assists in the game against Memphis?
SELECT High assists FROM table WHERE Team = memphis
Translate the following into a SQL query
Who was the home team when Boston is the road team in game 4?
SELECT Home Team FROM table WHERE Road Team = boston AND Game = game 4
Translate the following into a SQL query
What game had the result of 112-100?
SELECT Game FROM table WHERE Result = 112-100
Translate the following into a SQL query
What game was played on May 29?
SELECT Game FROM table WHERE Date = may 29
Translate the following into a SQL query
What was the result of game 1?
SELECT Result FROM table WHERE Game = game 1
Translate the following into a SQL query
What was the game when Houston was the home team and the result is 106-104?
SELECT Game FROM table WHERE Home Team = houston AND Result = 106-104
Translate the following into a SQL query
What is the class of car that is earlier than 2005 and has a class position of 2nd?
SELECT Class FROM table WHERE Year < 2005 AND Class Pos. = 2nd
Translate the following into a SQL query
How many years was the number of laps 71?
SELECT COUNT Year FROM table WHERE Laps = 71
Translate the following into a SQL query
For a year that is later than 2002 what is the class position?
SELECT Class Pos. FROM table WHERE Year > 2002
Translate the following into a SQL query
How many total rounds has lehigh as the college?
SELECT COUNT Round FROM table WHERE College = lehigh
Translate the following into a SQL query
What name has 5 as the pick, a round less than 25, ot as the position, at boston college?
SELECT Name FROM table WHERE Pick = 5 AND Round < 25 AND Position = ot AND College = boston college
Translate the following into a SQL query
How many overalls have E as the position, buddy payne as the name, and a pick less than 5?
SELECT COUNT Overall FROM table WHERE Position = e AND Name = buddy payne AND Pick < 5
Translate the following into a SQL query
How many picks have charley sanders as the name, with a round greater than 22?
SELECT SUM Pick FROM table WHERE Name = charley sanders AND Round > 22
Translate the following into a SQL query
Which 2011 has a 2012 larger than 9,998,000?
SELECT MAX 2011 FROM table WHERE 2012 > 9,998,000
Translate the following into a SQL query
Which 2010 has a Rank of 1, and a 2009 larger than 17,233,000?
SELECT AVG 2010 FROM table WHERE Rank = 1 AND 2009 > 17,233,000
Translate the following into a SQL query
Which 2012 has a 2011 of 17,142,000, and a 2010 smaller than 16,972,000?
SELECT MIN 2012 FROM table WHERE 2011 = 17,142,000 AND 2010 < 16,972,000
Translate the following into a SQL query
Which 2009 has a 2012 of 17,536,000, and a 2010 smaller than 16,972,000?
SELECT MAX 2009 FROM table WHERE 2012 = 17,536,000 AND 2010 < 16,972,000
Translate the following into a SQL query
What is the Attendance of the game against the Florida Panthers?
SELECT SUM Attendance FROM table WHERE Opponent = florida panthers
Translate the following into a SQL query
What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?
SELECT Opponent FROM table WHERE Points > 5 AND Attendance > 13,567
Translate the following into a SQL query
When his record was 15–1–1 (1) where did he fight?
SELECT Location FROM table WHERE Record = 15–1–1 (1)
Translate the following into a SQL query
What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?
SELECT Record FROM table WHERE Location = boston garden AND Date = fri. nov. 9
Translate the following into a SQL query
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?
SELECT Opponent FROM table WHERE Location = boston garden AND Game > 1 AND Score = 115-105
Translate the following into a SQL query
What is the sum of Game, when Date is "Wed. Nov. 14"?
SELECT SUM Game FROM table WHERE Date = wed. nov. 14
Translate the following into a SQL query
What is Score, when Player is "Bill Rogers"?
SELECT Score FROM table WHERE Player = bill rogers
Translate the following into a SQL query
Which State has an Electorate of West Sydney?
SELECT State FROM table WHERE Electorate = west sydney
Translate the following into a SQL query
Which State has an Electorate of Barton?
SELECT State FROM table WHERE Electorate = barton
Translate the following into a SQL query
What was the L2 Cache for the processor with a release price of $496?
SELECT L2 cache FROM table WHERE Release price ( USD ) = $496
Translate the following into a SQL query
What is the model number for the processor with sSpec number of sl3jm(kc0)sl3jt(kc0)?
SELECT Model number FROM table WHERE sSpec number = sl3jm(kc0)sl3jt(kc0)
Translate the following into a SQL query
What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?
SELECT Frequency FROM table WHERE sSpec number = sl3bn(kc0)sl3e9(kc0)
Translate the following into a SQL query
When did alfonse d'amore compete?
SELECT Date FROM table WHERE Opponent = alfonse d'amore
Translate the following into a SQL query
Which Round has a Method of ko, and a Date of 1958?
SELECT MIN Round FROM table WHERE Method = ko AND Date = 1958
Translate the following into a SQL query
Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg?
SELECT Date FROM table WHERE Result = win AND Round < 2 AND Opponent = myron greenberg
Translate the following into a SQL query
Which Round has a Method of ko, and an Opponent of alfonse d'amore?
SELECT Round FROM table WHERE Method = ko AND Opponent = alfonse d'amore
Translate the following into a SQL query
Which Player has a Date of sep. 2008?
SELECT Player FROM table WHERE Date = sep. 2008
Translate the following into a SQL query
Which Transfer fee has a From club of blackburn rovers?
SELECT Transfer fee FROM table WHERE From club = blackburn rovers
Translate the following into a SQL query
Which From club has a Date of 20 oct. 2008?
SELECT From club FROM table WHERE Date = 20 oct. 2008
Translate the following into a SQL query
Which Player has a Transfer fee of £750,000 [x]?
SELECT Player FROM table WHERE Transfer fee = £750,000 [x]
Translate the following into a SQL query
What is Tournament, when Date is "6 April 1992"?
SELECT Tournament FROM table WHERE Date = 6 april 1992
Translate the following into a SQL query
What is Surface, when Opponents is "Daniel Nestor Sandon Stolle"?
SELECT Surface FROM table WHERE Opponents = daniel nestor sandon stolle
Translate the following into a SQL query
What is Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"?
SELECT Date FROM table WHERE Outcome = winner AND Opponents = paul haarhuis sandon stolle
Translate the following into a SQL query
What is Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivanišević Brian Macphie"?
SELECT Outcome FROM table WHERE Partner = byron black AND Opponents = goran ivanišević brian macphie
Translate the following into a SQL query
What is Tournament, when Date is "9 August 1993"?
SELECT Tournament FROM table WHERE Date = 9 august 1993
Translate the following into a SQL query
What is Place, when Player is "Arnold Palmer"?
SELECT Place FROM table WHERE Player = arnold palmer
Translate the following into a SQL query
What is Player, when To Par is +1, and when Score is 72-70-72=214?
SELECT Player FROM table WHERE To par = +1 AND Score = 72-70-72=214
Translate the following into a SQL query
What is Score, when Country is United States, and when Player is "Arnold Palmer"?
SELECT Score FROM table WHERE Country = united states AND Player = arnold palmer