instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the position of the player that came from the school/club team/country of Purdue? | SELECT Position FROM table WHERE School/Club Team/Country = Purdue |
Translate the following into a SQL query | Who is the player who's number is 3? | SELECT Player FROM table WHERE No.(s) = 3 |
Translate the following into a SQL query | What is the height for the player in 1968-72? | SELECT Height in Ft. FROM table WHERE Years for Rockets = 1968-72 |
Translate the following into a SQL query | Which player had a height of 6-0? | SELECT Player FROM table WHERE Height in Ft. = 6-0 |
Translate the following into a SQL query | What is the position for the player that played in 2006? | SELECT Position FROM table WHERE Years for Rockets = 2006 |
Translate the following into a SQL query | What are all the names of the players who are 7-0 tall? | SELECT Player FROM table WHERE Height in Ft. = 7-0 |
Translate the following into a SQL query | Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present? | SELECT COUNT School/Club Team/Country FROM table WHERE Player = Kimball, Toby Toby Kimball |
Translate the following into a SQL query | In connecticut the school/club team/country had a set height in ft. what is true for them? | SELECT Height in Ft. FROM table WHERE School/Club Team/Country = Connecticut |
Translate the following into a SQL query | Rockets height was 6-6 in feet, list the time frame where this was true? | SELECT Years for Rockets FROM table WHERE Height in Ft. = 6-6 |
Translate the following into a SQL query | What is the hight of the player who's tenure lasted from 1969-70? | SELECT Height in Ft. FROM table WHERE Years for Rockets = 1969-70 |
Translate the following into a SQL query | What school did the 7-4 player attend? | SELECT School/Club Team/Country FROM table WHERE Height in Ft. = 7-4 |
Translate the following into a SQL query | what's the years for rockets where position is guard / forward | SELECT Years for Rockets FROM table WHERE Position = Guard / Forward |
Translate the following into a SQL query | what is the total number of player where years for rockets is 1975-79 | SELECT COUNT Player FROM table WHERE Years for Rockets = 1975-79 |
Translate the following into a SQL query | what is the total number of player where years for rockets is 2004-06 | SELECT COUNT Player FROM table WHERE Years for Rockets = 2004-06 |
Translate the following into a SQL query | what's the position where player is williams, bernie bernie williams | SELECT Position FROM table WHERE Player = Williams, Bernie Bernie Williams |
Translate the following into a SQL query | what is the total number of years for rockets where school/club team/country is baylor | SELECT COUNT Years for Rockets FROM table WHERE School/Club Team/Country = Baylor |
Translate the following into a SQL query | How many positions had jersey number 32 | SELECT COUNT Position FROM table WHERE No.(s) = 32 |
Translate the following into a SQL query | Which years had a jersey number 55 | SELECT Years for Rockets FROM table WHERE No.(s) = 55 |
Translate the following into a SQL query | Which school, club team, or country played for the rockets in the years 2000-01? | SELECT School/Club Team/Country FROM table WHERE Years for Rockets = 2000-01 |
Translate the following into a SQL query | During which years did number 13 play for the Rockets? | SELECT Years for Rockets FROM table WHERE No.(s) = 13 |
Translate the following into a SQL query | What is the lowest date settled for chifley? | SELECT MIN Date first settled as a suburb FROM table WHERE Suburb = Chifley |
Translate the following into a SQL query | What is the density in Garran? | SELECT MIN Density (/km²) FROM table WHERE Suburb = Garran |
Translate the following into a SQL query | What is the date settled for 40 years? | SELECT Date first settled as a suburb FROM table WHERE Median age (in 2006) = 40 years |
Translate the following into a SQL query | What is the median age where the area is 1.7? | SELECT Median age (in 2006) FROM table WHERE Area (km²) = 1.7 |
Translate the following into a SQL query | Who is the thursday presenter of the show Big Brother 13? | SELECT Thursday FROM table WHERE Series = Big Brother 13 |
Translate the following into a SQL query | Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East? | SELECT Friday FROM table WHERE Monday = Emma Willis Jamie East |
Translate the following into a SQL query | Who is the Tuesday presenter of Celebrity Big Brother 8? | SELECT Tuesday FROM table WHERE Series = Celebrity Big Brother 8 |
Translate the following into a SQL query | Who is the Wednesday presenter of the show Big Brother 13? | SELECT Wednesday FROM table WHERE Series = Big Brother 13 |
Translate the following into a SQL query | List all of the shows with Alice Levine Jamie East is the Sunday presenter. | SELECT Series FROM table WHERE Sunday = Alice Levine Jamie East |
Translate the following into a SQL query | What are all the positions for the rockets in 2008? | SELECT Position FROM table WHERE Years for Rockets = 2008 |
Translate the following into a SQL query | What is the height of the school club team members in clemson? | SELECT Height in Ft. FROM table WHERE School/Club Team/Country = Clemson |
Translate the following into a SQL query | What years for the rockets did player ford, alton alton ford play? | SELECT Years for Rockets FROM table WHERE Player = Ford, Alton Alton Ford |
Translate the following into a SQL query | What years for the rockets did the player ford, phil phil ford play? | SELECT Years for Rockets FROM table WHERE Player = Ford, Phil Phil Ford |
Translate the following into a SQL query | What school/club team/country did the player fitch, gerald gerald fitch play for? | SELECT School/Club Team/Country FROM table WHERE Player = Fitch, Gerald Gerald Fitch |
Translate the following into a SQL query | What is the weekly rank where the number is 4? | SELECT Weekly Rank FROM table WHERE # = 4 |
Translate the following into a SQL query | What is the viewers for the episode "woman marries heart"? | SELECT Viewers FROM table WHERE Episode = "Woman Marries Heart" |
Translate the following into a SQL query | What is the minimum of t20 matches? | SELECT MIN T20 matches FROM table |
Translate the following into a SQL query | Where is ropery lane located? | SELECT Location FROM table WHERE Name of ground = Ropery Lane |
Translate the following into a SQL query | Where is ropery lane and la matches 7 location? | SELECT Location FROM table WHERE LA matches = 7 AND Name of ground = Ropery Lane |
Translate the following into a SQL query | What is the maximum fc matches? | SELECT MAX FC matches FROM table |
Translate the following into a SQL query | What is the maximum fc matches at the racecourse? | SELECT MAX FC matches FROM table WHERE Name of ground = The Racecourse |
Translate the following into a SQL query | What is the maximum t20 on green lane? | SELECT MAX T20 matches FROM table WHERE Name of ground = Green Lane |
Translate the following into a SQL query | what's the cylinders/ valves with model being 1.8 20v | SELECT cylinders/ valves FROM table WHERE model = 1.8 20V |
Translate the following into a SQL query | Which units are commanded by Lieutenant Colonel Francis Hepburn? | SELECT Unit FROM table WHERE Commander = Lieutenant Colonel Francis Hepburn |
Translate the following into a SQL query | What are the complements when the commander is Major William Lloyd? | SELECT Complement FROM table WHERE Commander = Major William Lloyd |
Translate the following into a SQL query | How many were wounded when the complement was 173 off 2059 men? | SELECT Wounded FROM table WHERE Complement = 173 off 2059 men |
Translate the following into a SQL query | How many where killed under Major-General Jean Victor de Constant Rebecque's command? | SELECT Killed FROM table WHERE Commander = Major-General Jean Victor de Constant Rebecque |
Translate the following into a SQL query | Who were the commanders when 8 off 0 men were wounded? | SELECT Commander FROM table WHERE Wounded = 8 off 0 men |
Translate the following into a SQL query | What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion? | SELECT GDP per capita (nominal) FROM table WHERE GDP (nominal) = $52.0 billion |
Translate the following into a SQL query | How many countries has a gdp (nominal) of $29.9 billion? | SELECT COUNT GDP per capita (nominal) FROM table WHERE GDP (nominal) = $29.9 billion |
Translate the following into a SQL query | What is the GDP (nominal) for Uzbekistan? | SELECT GDP (nominal) FROM table WHERE Country = Uzbekistan |
Translate the following into a SQL query | What is the area (km²) for the country with a population of 16967000? | SELECT MIN Area (km²) FROM table WHERE Population = 16967000 |
Translate the following into a SQL query | What is the aspect ratio of the DVD released on 12/10/2009? | SELECT Aspect Ratio FROM table WHERE Released = 12/10/2009 |
Translate the following into a SQL query | What is the name of the DVD where the number of discs is greater than 2.0 | SELECT DVD Name FROM table WHERE Num of Discs > 2.0 |
Translate the following into a SQL query | How many releases did the DVD River Cottage forever have? | SELECT COUNT Released FROM table WHERE DVD Name = River Cottage Forever |
Translate the following into a SQL query | What is the total number of discs where the run time was 4 hours 40 minutes? | SELECT COUNT Num of Discs FROM table WHERE Duration = 4 hours 40 minutes |
Translate the following into a SQL query | What is the name of the DVD where the number of discs is greater than 2.0 | SELECT DVD Name FROM table WHERE Num of Discs > 2.0 |
Translate the following into a SQL query | What were the wounded for complement of 46 off 656 men? | SELECT Wounded FROM table WHERE Complement = 46 off 656 men |
Translate the following into a SQL query | What was the missing for lieutenant general sir thomas picton? | SELECT Missing FROM table WHERE Commander = Lieutenant General Sir Thomas Picton |
Translate the following into a SQL query | Name the number of complement for 4th hanoverian brigade | SELECT COUNT Complement FROM table WHERE Unit = 4th Hanoverian Brigade |
Translate the following into a SQL query | Name the commander of 167 off 2348 men | SELECT Commander FROM table WHERE Complement = 167 off 2348 men |
Translate the following into a SQL query | HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON? | SELECT MIN Overall FROM table |
Translate the following into a SQL query | WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED? | SELECT MIN Round FROM table WHERE Position = Forward |
Translate the following into a SQL query | WHAT POSITION DOES PATRICK WIERCIOCH PLAY? | SELECT Position FROM table WHERE Player = Patrick Wiercioch |
Translate the following into a SQL query | NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM | SELECT MIN Overall FROM table WHERE Club team = Omaha (USHL) |
Translate the following into a SQL query | WHERE IS ANDRE PETERSSON FROM? | SELECT Nationality FROM table WHERE Player = Andre Petersson |
Translate the following into a SQL query | What club team did JArrod Maidens play for? | SELECT Club team FROM table WHERE Player = Jarrod Maidens |
Translate the following into a SQL query | What position does Cody Ceci play? | SELECT Position FROM table WHERE Player = Cody Ceci |
Translate the following into a SQL query | What is the Nationality when the club team is Peterborough Petes (OHL)? | SELECT Nationality FROM table WHERE Club team = Peterborough Petes (OHL) |
Translate the following into a SQL query | Which player is in round 5? | SELECT Player FROM table WHERE Round = 5 |
Translate the following into a SQL query | What position is associated with an overall value of 126? | SELECT Position FROM table WHERE Overall = 126 |
Translate the following into a SQL query | What position is the player Jordan Fransoo in? | SELECT Position FROM table WHERE Player = Jordan Fransoo |
Translate the following into a SQL query | How many rounds is the player Matthew Puempel associated with? | SELECT COUNT Round FROM table WHERE Player = Matthew Puempel |
Translate the following into a SQL query | What is the position of player Tobias Lindberg? | SELECT Position FROM table WHERE Player = Tobias Lindberg |
Translate the following into a SQL query | How many players had overall 78? | SELECT COUNT Player FROM table WHERE Overall = 78 |
Translate the following into a SQL query | What is the last round with club team Guelph Storm (ohl)? | SELECT MAX Round FROM table WHERE Club team = Guelph Storm (OHL) |
Translate the following into a SQL query | How many positions did player Ben Harpur play? | SELECT COUNT Position FROM table WHERE Player = Ben Harpur |
Translate the following into a SQL query | What is the position of player Marcus Hogberg? | SELECT Position FROM table WHERE Player = Marcus Hogberg |
Translate the following into a SQL query | 3488 is the enrollment amount of what college? | SELECT Institution FROM table WHERE Enrollment = 3488 |
Translate the following into a SQL query | Barry University had the highest enrollment of what number? | SELECT MAX Enrollment FROM table WHERE Institution = Barry University |
Translate the following into a SQL query | The fighting knights has what type of nickname? | SELECT Type FROM table WHERE Nickname = Fighting Knights |
Translate the following into a SQL query | Boca Raton, Florida had what joined amount? | SELECT Joined FROM table WHERE Location = Boca Raton, Florida |
Translate the following into a SQL query | If the enrollment is 3584, what's the largest founded? | SELECT MAX Founded FROM table WHERE Enrollment = 3584 |
Translate the following into a SQL query | Barry University had a maximum enrollment of what? | SELECT MAX Enrollment FROM table WHERE Institution = Barry University |
Translate the following into a SQL query | What was the series number for the episode "I Forgot to Remember to Forget"? | SELECT MIN No. in series FROM table WHERE Title = "I Forgot to Remember to Forget" |
Translate the following into a SQL query | Who directed the episode that was viewed by 2.57 million people in the U.S.? | SELECT Directed by FROM table WHERE U.S. viewers (millions) = 2.57 |
Translate the following into a SQL query | Who directed the episode that was viewed by 2.50 million people in the U.S.? | SELECT Directed by FROM table WHERE U.S. viewers (millions) = 2.50 |
Translate the following into a SQL query | Which episode number in season 5 was viewed by 3.00 million U.S. viziers? | SELECT MIN No. in season FROM table WHERE U.S. viewers (millions) = 3.00 |
Translate the following into a SQL query | what are all the percent (1990) where state is united states | SELECT Percent (1990) FROM table WHERE State = United States |
Translate the following into a SQL query | what is the total number of percent (2000) where percent (1980) is 3.4% | SELECT COUNT Percent (2000) FROM table WHERE Percent (1980) = 3.4% |
Translate the following into a SQL query | what are all the percent (1990) where state is mississippi | SELECT Percent (1990) FROM table WHERE State = Mississippi |
Translate the following into a SQL query | what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170 | SELECT MAX Norwegian Americans (2000) FROM table WHERE Norwegian Americans (1990) = 9170 |
Translate the following into a SQL query | what is the minimum norwegian americans (1980) where state is rhode island | SELECT MIN Norwegian Americans (1980) FROM table WHERE State = Rhode Island |
Translate the following into a SQL query | What is the English version of the title Getto Daun? | SELECT English title FROM table WHERE Rōmaji title = Getto Daun |
Translate the following into a SQL query | What is the smallest track number? | SELECT MIN Track FROM table |
Translate the following into a SQL query | How many tracks are titled Mō Sukoshi Tōku? | SELECT COUNT Track FROM table WHERE Rōmaji title = Mō Sukoshi Tōku |
Translate the following into a SQL query | What is the Japanese title for Fantasy? | SELECT Japanese title FROM table WHERE English title = Fantasy |
Translate the following into a SQL query | How long is track number 8? | SELECT Track time FROM table WHERE Track = 8 |
Translate the following into a SQL query | Who was the GT2 winning team when the GT3 winning team was #1 PTG? | SELECT GT2 Winning Team FROM table WHERE GT3 Winning Team = #1 PTG |
Translate the following into a SQL query | How many doubles champions were there for the Serbia f6 Futures tournament? | SELECT COUNT Doubles champions FROM table WHERE Tournament = Serbia F6 Futures |
Subsets and Splits