instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who moved from Northampton Town?
SELECT Name FROM table WHERE Moving from = Northampton Town
Translate the following into a SQL query
Where did Kisnorbo move from?
SELECT Moving from FROM table WHERE Name = Kisnorbo
Translate the following into a SQL query
What is the name of the player when n is 28?
SELECT Name FROM table WHERE N = 28
Translate the following into a SQL query
How much was the transfer fee when n is 2?
SELECT Transfer fee FROM table WHERE N = 2
Translate the following into a SQL query
What player is 24 years old?
SELECT Name FROM table WHERE Age = 24
Translate the following into a SQL query
Name the ted morris memorial trophy for november 22, 2008
SELECT Ted Morris Memorial Trophy (Game MVP) FROM table WHERE Date = November 22, 2008
Translate the following into a SQL query
Name the ted morris memorial trophy 34th game
SELECT Ted Morris Memorial Trophy (Game MVP) FROM table WHERE Game = 34th
Translate the following into a SQL query
Nam the total number for bruce coulter award for 9th game
SELECT COUNT Bruce Coulter Award FROM table WHERE Game = 9th
Translate the following into a SQL query
Name the bruce coulter award for forrest kennerd
SELECT Bruce Coulter Award FROM table WHERE Ted Morris Memorial Trophy (Game MVP) = Forrest Kennerd
Translate the following into a SQL query
How many opponents were there when the opponent was Arizona State?
SELECT MIN Opponents FROM table WHERE Opponent = Arizona State
Translate the following into a SQL query
How many records show Utah as the opponent?
SELECT COUNT Record FROM table WHERE Opponent = Utah
Translate the following into a SQL query
How many opponents are there when cowboy points were 10?
SELECT Opponents FROM table WHERE Cowboys points = 10
Translate the following into a SQL query
How many records were there when opponents were 9?
SELECT COUNT Record FROM table WHERE Opponents = 9
Translate the following into a SQL query
Name the number of record for 12 cowboys points
SELECT COUNT Record FROM table WHERE Cowboys points = 12
Translate the following into a SQL query
Name the most game for record 4-0
SELECT MAX Game FROM table WHERE Record = 4-0
Translate the following into a SQL query
Name the result for cowboys points being 23
SELECT COUNT Result FROM table WHERE Cowboys points = 23
Translate the following into a SQL query
Name the record for arizona
SELECT Record FROM table WHERE Opponent = Arizona
Translate the following into a SQL query
Name the unemployment rate for 34024
SELECT COUNT Unemployment Rate FROM table WHERE Population = 34024
Translate the following into a SQL query
Name the total number of population for craig
SELECT COUNT Population FROM table WHERE County = Craig
Translate the following into a SQL query
Name the unemployment rate for botetourt
SELECT Unemployment Rate FROM table WHERE County = Botetourt
Translate the following into a SQL query
Name the status for unemployment rate being 6.7%
SELECT Status FROM table WHERE Unemployment Rate = 6.7%
Translate the following into a SQL query
What is the status of the county that has a 14.7% poverty rate?
SELECT Status FROM table WHERE Poverty Rate = 14.7%
Translate the following into a SQL query
What is the poverty rate in the county that has a market income per capita of $16,420?
SELECT Poverty Rate FROM table WHERE Market Income Per Capita = $16,420
Translate the following into a SQL query
What is the lowest population in a county with market income per capita of $24,383?
SELECT MIN Population FROM table WHERE Market Income Per Capita = $24,383
Translate the following into a SQL query
What is the povery rate of the county with market income per capita of $20,518?
SELECT Poverty Rate FROM table WHERE Market Income Per Capita = $20,518
Translate the following into a SQL query
what is the market income per capita where the county is hancock?
SELECT Market Income Per Capita FROM table WHERE County = Hancock
Translate the following into a SQL query
what is the county where the market income per capita is $25,006?
SELECT County FROM table WHERE Market Income Per Capita = $25,006
Translate the following into a SQL query
what is the unemployment rate where the market income per capita is $16,406?
SELECT Unemployment Rate FROM table WHERE Market Income Per Capita = $16,406
Translate the following into a SQL query
what is the unemployment rate for wayne county?
SELECT Unemployment Rate FROM table WHERE County = Wayne
Translate the following into a SQL query
What is the original air date of the episode with a production code of 105?
SELECT Original air date FROM table WHERE Prod. code = 105
Translate the following into a SQL query
What is the original air date of the episode titled "Pilot"?
SELECT Original air date FROM table WHERE Title = "Pilot"
Translate the following into a SQL query
Who wrote the episode titled "Christmas"?
SELECT Written by FROM table WHERE Title = "Christmas"
Translate the following into a SQL query
What is the production code of the episode titled "Lenny"?
SELECT MAX Prod. code FROM table WHERE Title = "Lenny"
Translate the following into a SQL query
What is the original air date of the episode titled "Mom at the Bar/Train Buddy" that was written b Adrienne Carter?
SELECT Original air date FROM table WHERE Written by = Adrienne Carter AND Title = "Mom at the Bar/Train Buddy"
Translate the following into a SQL query
What is the original air date of the episode titled "Commercial/Coach DMV"?
SELECT Original air date FROM table WHERE Title = "Commercial/Coach DMV"
Translate the following into a SQL query
How many counties have a population of 2266?
SELECT COUNT County FROM table WHERE Population = 2266
Translate the following into a SQL query
How many statuses are listed for Wayne county?
SELECT COUNT Status FROM table WHERE County = Wayne
Translate the following into a SQL query
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?
SELECT Market Income Per Capita FROM table WHERE Status = Distressed AND Unemployment Rate = 10.5%
Translate the following into a SQL query
What is the status for all the counties that have a poverty rate of 36.6%?
SELECT Status FROM table WHERE Poverty Rate = 36.6%
Translate the following into a SQL query
What is the status if the poverty rate is 11.4%?
SELECT Status FROM table WHERE Poverty Rate = 11.4%
Translate the following into a SQL query
If the poverty rate is 12.9%, what is the county?
SELECT County FROM table WHERE Poverty Rate = 12.9%
Translate the following into a SQL query
What is the population maximum?
SELECT MAX Population FROM table
Translate the following into a SQL query
What county is the unemployment rate 4.8%?
SELECT County FROM table WHERE Unemployment Rate = 4.8%
Translate the following into a SQL query
If the poverty rate is 12.9%, what is the market income per capita?
SELECT Market Income Per Capita FROM table WHERE Poverty Rate = 12.9%
Translate the following into a SQL query
Name the viewers for 2.1 rating
SELECT Viewers (millions) FROM table WHERE Rating = 2.1
Translate the following into a SQL query
Name the most share for 2.76 million viewers
SELECT MAX Share FROM table WHERE Viewers (millions) = 2.76
Translate the following into a SQL query
Name the viewers for 1.2/4 rating
SELECT Viewers (millions) FROM table WHERE Rating/Share (18–49) = 1.2/4
Translate the following into a SQL query
Name the rating for 3.79 viewers
SELECT Rating/Share (18–49) FROM table WHERE Viewers (millions) = 3.79
Translate the following into a SQL query
Name the least europa league
SELECT MIN Europa League FROM table
Translate the following into a SQL query
Name the max total for aiden mcgeady
SELECT MAX Total FROM table WHERE Player = Aiden McGeady
Translate the following into a SQL query
Name the scottish premier league georgios samaras
SELECT Scottish Premier League FROM table WHERE Player = Georgios Samaras
Translate the following into a SQL query
Name the total number of r for josh thompson
SELECT COUNT R FROM table WHERE Player = Josh Thompson
Translate the following into a SQL query
What was the total number of rebounds on november 27?
SELECT COUNT High rebounds FROM table WHERE Date = November 27
Translate the following into a SQL query
On what date did the Pistons play @ toronto?
SELECT Date FROM table WHERE Team = @ Toronto
Translate the following into a SQL query
List the location and number of fans in attendance for game 7/
SELECT COUNT Location Attendance FROM table WHERE Game = 7
Translate the following into a SQL query
How many interceptions for the team who played 31 games?
SELECT Steals FROM table WHERE Games Played = 31
Translate the following into a SQL query
How many steals for the player who had 121 rebounds?
SELECT MIN Steals FROM table WHERE Rebounds = 121
Translate the following into a SQL query
What date was the Piston's record at 23-47?
SELECT Date FROM table WHERE Record = 23-47
Translate the following into a SQL query
Who had the highest rebounds during the game with a record of 23-47?
SELECT High rebounds FROM table WHERE Record = 23-47
Translate the following into a SQL query
How many rebound did the person who scored 147 points have?
SELECT COUNT Rebounds FROM table WHERE Points = 147
Translate the following into a SQL query
Of the players with 50 free throws, what is the lowest number of three pointers?
SELECT MIN Three Pointers FROM table WHERE Free Throws = 50
Translate the following into a SQL query
Who are all the players with 156 rebounds?
SELECT Player FROM table WHERE Rebounds = 156
Translate the following into a SQL query
Of the players who scored 5 three pointers, what is the highest number of games played?
SELECT MAX Games Played FROM table WHERE Three Pointers = 5
Translate the following into a SQL query
What is every number for the hometown of Canton, Illinois?
SELECT No. FROM table WHERE Hometown = Canton, Illinois
Translate the following into a SQL query
Who is every player with a height of 6-5?
SELECT Player FROM table WHERE Height = 6-5
Translate the following into a SQL query
Who are all players from hometown of Carbondale, Illinois?
SELECT Player FROM table WHERE Hometown = Carbondale, Illinois
Translate the following into a SQL query
What is every class with a position of guard and Tal Brody as the player?
SELECT Class FROM table WHERE Position = Guard AND Player = Tal Brody
Translate the following into a SQL query
How many values for number occur with the hometown of Canton, Illinois?
SELECT COUNT No. FROM table WHERE Hometown = Canton, Illinois
Translate the following into a SQL query
What class was ren alde?
SELECT Class FROM table WHERE Player = Ren Alde
Translate the following into a SQL query
Who are the player's who weighed 170?
SELECT Player FROM table WHERE Weight = 170
Translate the following into a SQL query
What is jim dutcher's hometown?
SELECT Hometown FROM table WHERE Player = Jim Dutcher
Translate the following into a SQL query
Name the total number of player for 51 points
SELECT COUNT Player FROM table WHERE Points = 51
Translate the following into a SQL query
Name the most rebounds for larry smith
SELECT MAX Rebounds FROM table WHERE Player = Larry Smith
Translate the following into a SQL query
Name the steals for 5 blocks
SELECT Steals FROM table WHERE Blocks = 5
Translate the following into a SQL query
Name the least points
SELECT MIN Points FROM table
Translate the following into a SQL query
When 0.6–1.4 is the b r (t) what is the h ci (ka/m)?
SELECT H ci (kA/m) FROM table WHERE B r (T) = 0.6–1.4
Translate the following into a SQL query
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (Β°c)?
SELECT COUNT T c (Β°C) FROM table WHERE Magnet = Nd 2 Fe 14 B (bonded)
Translate the following into a SQL query
When 720 is the t c (Β°c) what is the h ci (ka/m)?
SELECT H ci (kA/m) FROM table WHERE T c (Β°C) = 720
Translate the following into a SQL query
Name the sec wins for .357 percentage and 4-3 home record
SELECT SEC Wins FROM table WHERE Percentage = .357 AND Home Record = 4-3
Translate the following into a SQL query
Name the percentage for georgia
SELECT Percentage FROM table WHERE Team = Georgia
Translate the following into a SQL query
Name the overall record for road record being 4-3
SELECT Overall Record FROM table WHERE Road Record = 4-3
Translate the following into a SQL query
Name the number of road record for team ole miss
SELECT COUNT Road Record FROM table WHERE Team = Ole Miss
Translate the following into a SQL query
Name the percentage for ole miss
SELECT Percentage FROM table WHERE Team = Ole Miss
Translate the following into a SQL query
What is the most number of blocks kendall gill had?
SELECT MAX Blocks FROM table WHERE Player = Kendall Gill
Translate the following into a SQL query
What is the lowest number of three pointers in games where the number of rebounds was 178?
SELECT MIN Three Pointers FROM table WHERE Rebounds = 178
Translate the following into a SQL query
How many steals were the in games that andy kaufmann played?
SELECT COUNT Steals FROM table WHERE Player = Andy Kaufmann
Translate the following into a SQL query
What is the lowest number of three pointers in games that kendall gill played?
SELECT MIN Three Pointers FROM table WHERE Player = Kendall Gill
Translate the following into a SQL query
How many games had three pointers where the number of points was 581?
SELECT COUNT Three Pointers FROM table WHERE Points = 581
Translate the following into a SQL query
How many timeslots were available for the season finale on August 29, 2009?
SELECT COUNT Timeslot (ET) FROM table WHERE Season Finale = August 29, 2009
Translate the following into a SQL query
What was the highest amount of episodes for the season with 5.74 million viewers?
SELECT MAX Episodes FROM table WHERE Viewers (in millions) = 5.74
Translate the following into a SQL query
What rank number had a season premiere on December 24, 2011?
SELECT Rank FROM table WHERE Season Premiere = December 24, 2011
Translate the following into a SQL query
How many rankings were there for the season with a finale on August 20, 2011?
SELECT COUNT Rank FROM table WHERE Season Finale = August 20, 2011
Translate the following into a SQL query
How many episodes had a season premiere on December 11, 2010?
SELECT COUNT Episodes FROM table WHERE Season Premiere = December 11, 2010
Translate the following into a SQL query
What was the season number that had a premiere on December 11, 2010?
SELECT MAX Season FROM table WHERE Season Premiere = December 11, 2010
Translate the following into a SQL query
Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?
SELECT Surface FROM table WHERE Score in the final = 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)
Translate the following into a SQL query
How many outcome have a score of 7–6 (9–7) , 6–3?
SELECT COUNT Outcome FROM table WHERE Score in the final = 7–6 (9–7) , 6–3
Translate the following into a SQL query
Which outcomes have a final score of 6–3, 6–2?
SELECT Outcome FROM table WHERE Score in the final = 6–3, 6–2
Translate the following into a SQL query
What is the last year that Andre Agassi was the final opponent?
SELECT MAX Year FROM table WHERE Opponent in the final = Andre Agassi
Translate the following into a SQL query
How many years have a final score of 6–3, 6–2?
SELECT COUNT Year FROM table WHERE Score in the final = 6–3, 6–2
Translate the following into a SQL query
Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6?
SELECT Championship FROM table WHERE Score in the final = 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6