instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Name the college/junior club team for ian turnbull
SELECT College/junior/club team FROM table WHERE Player = Ian Turnbull
Translate the following into a SQL query
Name the position for nhl team being los angeles kings
SELECT Position FROM table WHERE NHL team = Los Angeles Kings
Translate the following into a SQL query
Name the nhl times for jeff jacques
SELECT NHL team FROM table WHERE Player = Jeff Jacques
Translate the following into a SQL query
Name the college/junior club team for john campbell
SELECT College/junior/club team FROM table WHERE Player = John Campbell
Translate the following into a SQL query
Name the least pick # for doug gibson
SELECT MIN Pick # FROM table WHERE Player = Doug Gibson
Translate the following into a SQL query
How many nationalities does Tom Colley have?
SELECT COUNT Nationality FROM table WHERE Player = Tom Colley
Translate the following into a SQL query
What's the NHL team that drafted the player from Sudbury Wolves (OHA)?
SELECT NHL team FROM table WHERE College/junior/club team = Sudbury Wolves (OHA)
Translate the following into a SQL query
What's the number of positions of the player playing in Minnesota North Stars?
SELECT COUNT Position FROM table WHERE NHL team = Minnesota North Stars
Translate the following into a SQL query
What's the smallest pick number of a player playing in Minnesota North Stars?
SELECT MIN Pick # FROM table WHERE NHL team = Minnesota North Stars
Translate the following into a SQL query
What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
SELECT Nationality FROM table WHERE College/junior/club team = Edmonton Oil Kings (WCHL)
Translate the following into a SQL query
What's Steve Langdon's naitionality?
SELECT Nationality FROM table WHERE Player = Steve Langdon
Translate the following into a SQL query
When michigan technological university (ncaa) is the college, junior, or club team what is the nationality?
SELECT Nationality FROM table WHERE College/junior/club team = Michigan Technological University (NCAA)
Translate the following into a SQL query
When kitchener rangers (oha) is the college, junior, or club team team who is the player?
SELECT Player FROM table WHERE College/junior/club team = Kitchener Rangers (OHA)
Translate the following into a SQL query
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?
SELECT COUNT Nationality FROM table WHERE College/junior/club team = Sault Ste. Marie Greyhounds (OHA)
Translate the following into a SQL query
When kitchener rangers (oha) is the college, junior, or club team what is the position?
SELECT Position FROM table WHERE College/junior/club team = Kitchener Rangers (OHA)
Translate the following into a SQL query
How many positions for denis patry?
SELECT COUNT Position FROM table WHERE Player = Denis Patry
Translate the following into a SQL query
What nationality for neil korzack?
SELECT Nationality FROM table WHERE Player = Neil Korzack
Translate the following into a SQL query
Name the college that has 10000 enrolled
SELECT Institution FROM table WHERE Enrollment = 10000
Translate the following into a SQL query
Name the most joined for molloy college
SELECT MAX Joined FROM table WHERE Institution = Molloy College
Translate the following into a SQL query
how many times was total considered when hancock # was 1394
SELECT COUNT Total FROM table WHERE Hancock # = 1394
Translate the following into a SQL query
how many times was hancock % considered when starky % was 20.96%
SELECT COUNT Hancock % FROM table WHERE Starky % = 20.96%
Translate the following into a SQL query
How many times was country considered when starky % was 20.96%
SELECT COUNT County FROM table WHERE Starky % = 20.96%
Translate the following into a SQL query
which country did stary get 17.41%
SELECT County FROM table WHERE Starky % = 17.41%
Translate the following into a SQL query
what is the least total in gila
SELECT MIN Total FROM table WHERE County = Gila
Translate the following into a SQL query
where did hancock get 3.09%
SELECT County FROM table WHERE Hancock % = 3.09%
Translate the following into a SQL query
What is the BBM when the strike rate is 42.2?
SELECT BBM FROM table WHERE Strike Rate = 42.2
Translate the following into a SQL query
What is the economy when the strike rate is 54.0?
SELECT Economy Rate FROM table WHERE Strike Rate = 54.0
Translate the following into a SQL query
How many averages are there when the economy rate is 2.26?
SELECT COUNT Average FROM table WHERE Economy Rate = 2.26
Translate the following into a SQL query
What is the BBM when the strike rate is 42.2?
SELECT BBM FROM table WHERE Strike Rate = 42.2
Translate the following into a SQL query
How many figures for wickets when the strike rate is 54.0?
SELECT COUNT Wickets FROM table WHERE Strike Rate = 54.0
Translate the following into a SQL query
What is the strike rate when there are 17 wickets?
SELECT Strike Rate FROM table WHERE Wickets = 17
Translate the following into a SQL query
How many areas (km 2) have 151511 as the census 2006 population?
SELECT COUNT Area (km 2 ) FROM table WHERE Census 2006 population = 151511
Translate the following into a SQL query
What is the LGA name where the 2006 census population is bigger than 425208.9417698913 and administrative capital is port harcourt?
SELECT LGA Name FROM table WHERE Census 2006 population > 425208.9417698913 AND Administrative capital = Port Harcourt
Translate the following into a SQL query
What is the administrative capital of LGA name Akuku-Toru?
SELECT Administrative capital FROM table WHERE LGA Name = Akuku-Toru
Translate the following into a SQL query
What is the administrative capital that has a 2006 census population of 249425?
SELECT Administrative capital FROM table WHERE Census 2006 population = 249425
Translate the following into a SQL query
What is the maximum 2006 census population of LGA name Opobo/Nkoro?
SELECT MAX Census 2006 population FROM table WHERE LGA Name = Opobo/Nkoro
Translate the following into a SQL query
What's the minimal enrollment of any of the schools?
SELECT MIN Enrollment FROM table
Translate the following into a SQL query
When was the school whose students are nicknamed Rams founded?
SELECT MAX Founded FROM table WHERE Nickname = Rams
Translate the following into a SQL query
What's the type of the school whose students are nicknamed Chargers?
SELECT Type FROM table WHERE Nickname = Chargers
Translate the following into a SQL query
When was the school in Philadelphia, Pennsylvania founded?
SELECT Founded FROM table WHERE Location = Philadelphia, Pennsylvania
Translate the following into a SQL query
What was the total number of votes in the 2005 elections?
SELECT MIN Total votes FROM table WHERE Year = 2005
Translate the following into a SQL query
How many elections had 1423 average voters per candidate?
SELECT COUNT Change (percentage points) FROM table WHERE Average voters per candidate = 1423
Translate the following into a SQL query
How many candidates were there in the year of 1987?
SELECT Number of Candidates FROM table WHERE Year = 1987
Translate the following into a SQL query
What is the modified torque (lb/ft) when the standard hp n/a?
SELECT COUNT Modified torque (lb/ft) FROM table WHERE Standard HP = n/a
Translate the following into a SQL query
When the standard speed (6th gear) is 114, what is the minimum rpm?
SELECT MIN RPM FROM table WHERE Standard speed (6th gear) = 114
Translate the following into a SQL query
when standard speed (6th gear) is 88, what is the rpm?
SELECT RPM FROM table WHERE Standard speed (6th gear) = 88
Translate the following into a SQL query
What is the modified speed (6th gear) when standard torque (lb/ft) is 10.3 and modified torque (lb/ft) is 8.75?
SELECT Modified speed (6th gear) FROM table WHERE Standard torque (lb/ft) = 10.3 AND Modified torque (lb/ft) = 8.75
Translate the following into a SQL query
when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98
SELECT MAX Modified speed (6th gear) FROM table WHERE Standard speed (6th gear) = 98
Translate the following into a SQL query
When the standard torque (lb/ft) is 11.53 how much does more is the modified hp?
SELECT Modified HP FROM table WHERE Standard torque (lb/ft) = 11.53
Translate the following into a SQL query
Which time slot did the season finale on May 18, 2004 hold?
SELECT Timeslot (EST) FROM table WHERE Season finale = May 18, 2004
Translate the following into a SQL query
how many assists did the player who played 195 minutes make
SELECT Assists FROM table WHERE Minutes = 195
Translate the following into a SQL query
what is the lowest number of blocks
SELECT MIN Blocks FROM table
Translate the following into a SQL query
what is the lowest points scored by a player who blocked 21 times
SELECT MIN Points FROM table WHERE Blocks = 21
Translate the following into a SQL query
how many times did debbie black block
SELECT Blocks FROM table WHERE Player = Debbie Black
Translate the following into a SQL query
what is the highest number of goals did the player with 27 asists score
SELECT MAX Field Goals FROM table WHERE Assists = 27
Translate the following into a SQL query
how many assists did the player who scored 251 points make
SELECT Assists FROM table WHERE Points = 251
Translate the following into a SQL query
What was the production number of the episode filmed in aug/sept 1968?
SELECT Prod # FROM table WHERE Filmed = Aug/Sept 1968
Translate the following into a SQL query
Who directed "report 2493:kidnap whose pretty girl are you"?
SELECT Directed by FROM table WHERE Title = "REPORT 2493:KIDNAP Whose Pretty Girl Are You"
Translate the following into a SQL query
When was "report 4407: heart no choice for the donor" filmed?
SELECT Filmed FROM table WHERE Title = "REPORT 4407: HEART No Choice for the Donor"
Translate the following into a SQL query
What's the highest enrollment among the schools?
SELECT MAX Enrollment FROM table
Translate the following into a SQL query
When did the school from Logan Township, Pennsylvania join the Conference?
SELECT Joined FROM table WHERE Location = Logan Township, Pennsylvania
Translate the following into a SQL query
When was the private/non-sectarian school founded?
SELECT Founded FROM table WHERE Type = Private/Non-sectarian
Translate the following into a SQL query
Where is the school whose students are nicknamed Panthers located?
SELECT Location FROM table WHERE Nickname = Panthers
Translate the following into a SQL query
How many different enrollment numbers are there for the school whose students are nicknamed Barons?
SELECT COUNT Enrollment FROM table WHERE Nickname = Barons
Translate the following into a SQL query
In how many different years did schools located in Logan Township, Pennsylvania join the Conference?
SELECT COUNT Joined FROM table WHERE Location = Logan Township, Pennsylvania
Translate the following into a SQL query
How many different isolation numbers does the Jack Mountain peak have?
SELECT COUNT Isolation FROM table WHERE Mountain Peak = Jack Mountain
Translate the following into a SQL query
What's the isolation of the mountain peak with a prominence of 1340.549 = 4,397feet 1,340m?
SELECT Isolation FROM table WHERE Prominence = 1340.549 = 4,397feet 1,340m
Translate the following into a SQL query
How many different isolation numbers does the peak with an elevation of 2782.622 = 9,127feet 2782m have?
SELECT COUNT Isolation FROM table WHERE Elevation = 2782.622 = 9,127feet 2782m
Translate the following into a SQL query
What's the isolation of the mountain peak with an elevation of 2705.793 = 8,875feet 2705m?
SELECT Isolation FROM table WHERE Elevation = 2705.793 = 8,875feet 2705m
Translate the following into a SQL query
What's the isolation of the mountain peak with prominence of 1340.549 = 4,397feet 1,340m?
SELECT Isolation FROM table WHERE Prominence = 1340.549 = 4,397feet 1,340m
Translate the following into a SQL query
How many steals did Nicole Levandusky make?
SELECT Steals FROM table WHERE Player = Nicole Levandusky
Translate the following into a SQL query
How many rebounds did Rhonda Mapp make?
SELECT MAX Rebounds FROM table WHERE Player = Rhonda Mapp
Translate the following into a SQL query
What is the largest amount of assists that Nicole Levandusky made?
SELECT MAX Assists FROM table WHERE Player = Nicole Levandusky
Translate the following into a SQL query
What is the maximum number of blocks where rebounds equal 35?
SELECT MAX Blocks FROM table WHERE Rebounds = 35
Translate the following into a SQL query
How many assists did Delisha Milton-Jones make?
SELECT Assists FROM table WHERE Player = DeLisha Milton-Jones
Translate the following into a SQL query
Name the total apps for eddie carr
SELECT MAX Total Apps FROM table WHERE Name = Eddie Carr
Translate the following into a SQL query
Name the fa cup apps for arthur morton
SELECT FA Cup Apps FROM table WHERE Name = Arthur Morton
Translate the following into a SQL query
Name the position for billy price
SELECT Position FROM table WHERE Name = Billy Price
Translate the following into a SQL query
Name the total number of position for don clegg
SELECT COUNT Position FROM table WHERE Name = Don Clegg
Translate the following into a SQL query
Name the nation where jeff barker is from
SELECT Nation FROM table WHERE Name = Jeff Barker
Translate the following into a SQL query
Name the fa cup apps for george green
SELECT FA Cup Apps FROM table WHERE Name = George Green
Translate the following into a SQL query
Name the school that was founded in 1950
SELECT Institution FROM table WHERE Founded = 1950
Translate the following into a SQL query
Name the most founded for sea gulls
SELECT MAX Founded FROM table WHERE Nickname = Sea Gulls
Translate the following into a SQL query
Name the location for eagles
SELECT Location FROM table WHERE Nickname = Eagles
Translate the following into a SQL query
Name the enrollment for 2007-08
SELECT Enrollment FROM table WHERE Joined = 2007-08
Translate the following into a SQL query
Name the least new points for steffi graf
SELECT MIN New points FROM table WHERE Player = Steffi Graf
Translate the following into a SQL query
Name the most points for champion, won in the final against amélie mauresmo
SELECT MAX Points FROM table WHERE Status = Champion, won in the final against Amélie Mauresmo
Translate the following into a SQL query
Name the further cities for slovakia and west direction
SELECT Further Cities FROM table WHERE Country = Slovakia AND Direction = West
Translate the following into a SQL query
Name the distance from north
SELECT Distance FROM table WHERE Direction = North
Translate the following into a SQL query
Name the number of direction for győr-moson-sopron
SELECT COUNT Direction FROM table WHERE County, Oblast or State = Győr-Moson-Sopron
Translate the following into a SQL query
Name the further cities for east romania
SELECT Further Cities FROM table WHERE Direction = East AND Country = Romania
Translate the following into a SQL query
Name the number of direction for debrecen
SELECT COUNT Direction FROM table WHERE Further Cities = Debrecen
Translate the following into a SQL query
What's the nickname of the students of the school founded in 1933?
SELECT Nickname FROM table WHERE Founded = 1933
Translate the following into a SQL query
On how many locations is the Saint Joseph's College of Maine located?
SELECT COUNT Location FROM table WHERE Institution = Saint Joseph's College of Maine
Translate the following into a SQL query
On how many different dates did schools from Chestnut Hill, Massachusetts join the conference?
SELECT COUNT Joined FROM table WHERE Location = Chestnut Hill, Massachusetts
Translate the following into a SQL query
What is the type of the school whose students' nickname is tigers?
SELECT Type FROM table WHERE Nickname = Tigers
Translate the following into a SQL query
What's the type of the school whose students' name is spirits?
SELECT Type FROM table WHERE Nickname = Spirits
Translate the following into a SQL query
What school is located in Chestnut Hill, Massachusetts?
SELECT Institution FROM table WHERE Location = Chestnut Hill, Massachusetts
Translate the following into a SQL query
What type is the school located in Macon, Georgia?
SELECT Type FROM table WHERE Location = Macon, Georgia
Translate the following into a SQL query
What's the nickname of the school in Maryville, Tennessee?
SELECT Nickname FROM table WHERE Location = Maryville, Tennessee