instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which name's height in centimeters is 178 when its weight in kilograms is less than 91?
SELECT Name FROM table WHERE Height (cm) = 178 AND Weight (kg) < 91
Translate the following into a SQL query
What is the name of the player with the High points when there was a Record of 31–48?
SELECT High points FROM table WHERE Record = 31–48
Translate the following into a SQL query
What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?
SELECT High rebounds FROM table WHERE Score = l 108–114 (ot)
Translate the following into a SQL query
What is the Lead for the 1999–00 season?
SELECT Lead FROM table WHERE Season = 1999–00
Translate the following into a SQL query
What is the Second when the third is don walchuk?
SELECT Second FROM table WHERE Third = don walchuk
Translate the following into a SQL query
What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?
SELECT Season FROM table WHERE Lead = don bartlett AND Third = don walchuk AND Second = carter rycroft
Translate the following into a SQL query
What is the Skip when the Third was john morris?
SELECT Skip FROM table WHERE Third = john morris
Translate the following into a SQL query
What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–04?
SELECT Third FROM table WHERE Lead = don bartlett AND Second = carter rycroft AND Season = 2003–04
Translate the following into a SQL query
What is the Lead when the Second was marc kennedy, in the 2012–13 season?
SELECT Lead FROM table WHERE Second = marc kennedy AND Season = 2012–13
Translate the following into a SQL query
What is the name of the city with a capacity of 41,311?
SELECT City FROM table WHERE Capacity = 41,311
Translate the following into a SQL query
What is the State with Suwon as the city
SELECT State FROM table WHERE City = suwon
Translate the following into a SQL query
What is the State with a home venue of suwon sports complex?
SELECT State FROM table WHERE Home venue = suwon sports complex
Translate the following into a SQL query
What is the team name for Chungju?
SELECT Team FROM table WHERE City = chungju
Translate the following into a SQL query
What is the Team with a venue of Anyang Stadium?
SELECT Team FROM table WHERE Home venue = anyang stadium
Translate the following into a SQL query
What is the State with Gwangju Fc as the team?
SELECT State FROM table WHERE Team = gwangju fc
Translate the following into a SQL query
What is the To par, when the Player is Loren Roberts?
SELECT To par FROM table WHERE Player = loren roberts
Translate the following into a SQL query
What is the To par, when the Score is 68-71-69=208?
SELECT To par FROM table WHERE Score = 68-71-69=208
Translate the following into a SQL query
What is the Place, when the Score is 68-70-71=209?
SELECT Place FROM table WHERE Score = 68-70-71=209
Translate the following into a SQL query
What is the Place, when the Player is Chris Dimarco?
SELECT Place FROM table WHERE Player = chris dimarco
Translate the following into a SQL query
What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley?
SELECT Score FROM table WHERE Country = united states AND Place = t3 AND Player = chris riley
Translate the following into a SQL query
What is the score where the opponent was Mardy Fish?
SELECT Score FROM table WHERE Opponent = mardy fish
Translate the following into a SQL query
What surface was played on with a score of 6–4, 6–3 and on 4 May 1992?
SELECT Surface FROM table WHERE Score = 6–4, 6–3 AND Date = 4 may 1992
Translate the following into a SQL query
What is the name of the tournament played 13 November 2000?
SELECT Tournament FROM table WHERE Date = 13 november 2000
Translate the following into a SQL query
Which tournament was played on 12 February 2001?
SELECT Tournament FROM table WHERE Date = 12 february 2001
Translate the following into a SQL query
What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166?
SELECT AVG Round # FROM table WHERE Position = wide receiver AND College = clark university AND Pick # > 166
Translate the following into a SQL query
Which team had a year entering the league under 2009, located in Bath?
SELECT Team FROM table WHERE Year entered league < 2009 AND Location = bath
Translate the following into a SQL query
What is the year of entry for the University of Essex?
SELECT Year entered league FROM table WHERE University = university of essex
Translate the following into a SQL query
What is the 2013-2014 division for the Wolverhampton Wildcats?
SELECT 2013–14 division FROM table WHERE Team = wolverhampton wildcats
Translate the following into a SQL query
Which university was in the Western division in 2013-14, located in Bath, and named the Bath Spa Bulldogs?
SELECT University FROM table WHERE 2013–14 division = western AND Location = bath AND Team = bath spa bulldogs
Translate the following into a SQL query
What is the least amount of draws with an against of 1261?
SELECT MIN Draws FROM table WHERE Against = 1261
Translate the following into a SQL query
What label shows an Album of cover version v?
SELECT Label FROM table WHERE Album = cover version v
Translate the following into a SQL query
What is the Label for the Covered Song named " sign o' the times " by prince .?
SELECT Label FROM table WHERE Covered Song = " sign o' the times " by prince .
Translate the following into a SQL query
What is the Label when the album shows cover version vi?
SELECT Label FROM table WHERE Album = cover version vi
Translate the following into a SQL query
What is the Release date for the Covered Song named " sign o' the times " by prince .?
SELECT Release date FROM table WHERE Covered Song = " sign o' the times " by prince .
Translate the following into a SQL query
What shows as the Original Song when the Covered Song was " sign o' the times " by prince .?
SELECT Original Song FROM table WHERE Covered Song = " sign o' the times " by prince .
Translate the following into a SQL query
What is the name of the Covered Song when the Album shows cover version iii?
SELECT Covered Song FROM table WHERE Album = cover version iii
Translate the following into a SQL query
What is the sum of Week when there were 67,968 people in attendance?
SELECT SUM Week FROM table WHERE Attendance = 67,968
Translate the following into a SQL query
What is the Week number with a result of l 31–28?
SELECT COUNT Week FROM table WHERE Result = l 31–28
Translate the following into a SQL query
What was the score at the Tie no. 1 game?
SELECT Score FROM table WHERE Tie no = 1
Translate the following into a SQL query
What was the attendance at the West Ham United home game?
SELECT Attendance FROM table WHERE Home team = west ham united
Translate the following into a SQL query
What is the Sport with a Name that is gustav larsson?
SELECT Sport FROM table WHERE Name = gustav larsson
Translate the following into a SQL query
What is the Name with an Event that is men's time trial?
SELECT Name FROM table WHERE Event = men's time trial
Translate the following into a SQL query
At which venue did the event held on 15 November 2010 occur?
SELECT Venue FROM table WHERE Date = 15 november 2010
Translate the following into a SQL query
Which Points has a Performer of rob burke band and a Draw larger than 1?
SELECT AVG Points FROM table WHERE Performer = rob burke band AND Draw > 1
Translate the following into a SQL query
What Points have a Song of "this time" and a Draw smaller than 5?
SELECT COUNT Points FROM table WHERE Song = "this time" AND Draw < 5
Translate the following into a SQL query
Which Points have a Performer of seΓ‘n monaghan and a Draw smaller than 7?
SELECT MIN Points FROM table WHERE Performer = seΓ‘n monaghan AND Draw < 7
Translate the following into a SQL query
Which Points has a Performer of rob burke band?
SELECT COUNT Points FROM table WHERE Performer = rob burke band
Translate the following into a SQL query
What is the Finish of 28 Wins?
SELECT Finish FROM table WHERE Wins = 28
Translate the following into a SQL query
What is the Finish of the Reno Bighorns Wins?
SELECT Finish FROM table WHERE Wins = reno bighorns
Translate the following into a SQL query
What is the Finish of 28 Wins?
SELECT Finish FROM table WHERE Wins = 28
Translate the following into a SQL query
What is the Western Division of Wins with a 4th Finish?
SELECT Wins FROM table WHERE Division = western AND Finish = 4th
Translate the following into a SQL query
What are the losses of the playoffs season?
SELECT Losses FROM table WHERE Season = playoffs
Translate the following into a SQL query
What is Team 1, when Team 2 is Saint Louis?
SELECT Team 1 FROM table WHERE Team 2 = saint louis
Translate the following into a SQL query
What is Agg., when Team 2 is Mukungwa?
SELECT Agg. FROM table WHERE Team 2 = mukungwa
Translate the following into a SQL query
What is the Round with an Opponent that is torpedo moscow?
SELECT Round FROM table WHERE Opponent = torpedo moscow
Translate the following into a SQL query
Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
SELECT SUM Matches FROM table WHERE Goals = 103 AND Rank > 9
Translate the following into a SQL query
Can you tell me the Name that has the Goals larger than 98, and the Rank of 7?
SELECT Name FROM table WHERE Goals > 98 AND Rank = 7
Translate the following into a SQL query
How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
SELECT SUM Laps FROM table WHERE Time = accident AND Rider = carmelo morales AND Grid > 25
Translate the following into a SQL query
How many laps had a time of +2.987?
SELECT COUNT Laps FROM table WHERE Time = +2.987
Translate the following into a SQL query
Which bike had fewer than 23 laps and a grid number of 4?
SELECT Bike FROM table WHERE Laps < 23 AND Grid = 4
Translate the following into a SQL query
What is the Record for week 14?
SELECT Record FROM table WHERE Week = 14
Translate the following into a SQL query
What is the Result with an NFL Recap, played at bank of america stadium?
SELECT Result FROM table WHERE NFL Recap = recap AND Game site = bank of america stadium
Translate the following into a SQL query
What is the Record for week 12?
SELECT Record FROM table WHERE Week = 12
Translate the following into a SQL query
What is the Opponent with a time of 2:05 p.m., and the results were w 26–20?
SELECT Opponent FROM table WHERE Time = 2:05 p.m. AND Result = w 26–20
Translate the following into a SQL query
What is the highest Week for october 12, 2008?
SELECT MAX Week FROM table WHERE Date = october 12, 2008
Translate the following into a SQL query
Which team has 1 as the drawn, with 2 as the lost?
SELECT Team FROM table WHERE Drawn = 1 AND Lost = 2
Translate the following into a SQL query
How many drawns have 7 for the lost?
SELECT SUM Drawn FROM table WHERE Lost = 7
Translate the following into a SQL query
What is the average played that has a drawn greater than 1, with an against greater than 16?
SELECT AVG Played FROM table WHERE Drawn > 1 AND Against > 16
Translate the following into a SQL query
What is the sum of Maidens with a number of Matches that is 2?
SELECT SUM Maidens FROM table WHERE Matches = 2
Translate the following into a SQL query
Ranking higher than 2, what Team has Player Paolo Maldini?
SELECT TEAM FROM table WHERE RANK > 2 AND NAME = paolo maldini
Translate the following into a SQL query
What Country is in Rank 2?
SELECT COUNTRY FROM table WHERE RANK = 2
Translate the following into a SQL query
What date was Leo Mainoldi (24) the leading scorer?
SELECT Date FROM table WHERE Leading scorer = leo mainoldi (24)
Translate the following into a SQL query
Who is the visitor with the 14-10 record?
SELECT Visitor FROM table WHERE Record = 14-10
Translate the following into a SQL query
What is the record of the 73-82 score?
SELECT Record FROM table WHERE Score = 73-82
Translate the following into a SQL query
Who is the leading scorer of the Villa De Los Barrios visitor?
SELECT Leading scorer FROM table WHERE Visitor = villa de los barrios
Translate the following into a SQL query
Who is the visitor with a 14-10 record?
SELECT Visitor FROM table WHERE Record = 14-10
Translate the following into a SQL query
What is the score of the team with the 14-9 record?
SELECT Score FROM table WHERE Record = 14-9
Translate the following into a SQL query
What was the date of the game with 6 goals?
SELECT Date FROM table WHERE Goal = 6
Translate the following into a SQL query
What was the highest number of goals for a game held at Hannover?
SELECT MAX Goal FROM table WHERE Venue = hannover
Translate the following into a SQL query
What was the result of the game with more than 12 goals at Pasadena?
SELECT Result FROM table WHERE Goal > 12 AND Venue = pasadena
Translate the following into a SQL query
What round was Andre Fluellen drafted as a Defensive Tackle?
SELECT COUNT Round FROM table WHERE Position = defensive tackle AND Player = andre fluellen
Translate the following into a SQL query
After Round 5, which player was drafted for Defensive Tackle?
SELECT Player FROM table WHERE Round > 5 AND Position = defensive tackle
Translate the following into a SQL query
What was the earliest Round for Central Florida?
SELECT MIN Round FROM table WHERE Team = central florida
Translate the following into a SQL query
What is the date of the label Dos or Die Recordings?
SELECT Date FROM table WHERE Label = dos or die recordings
Translate the following into a SQL query
What is the label for 2002, in Germany, Catalog Dos 195?
SELECT Label FROM table WHERE Date = 2002 AND Region = germany AND Catalog = dos 195
Translate the following into a SQL query
What region has a 2002 date, and a Catalog dos 195?
SELECT Region FROM table WHERE Date = 2002 AND Catalog = dos 195
Translate the following into a SQL query
What is the Winners when the United States is the runner-up at st. germain golf club?
SELECT Winners FROM table WHERE Runners-up = united states AND Venue = st. germain golf club
Translate the following into a SQL query
What is the average Year when Australia was the runner-up at victoria golf club?
SELECT AVG Year FROM table WHERE Runners-up = australia AND Venue = victoria golf club
Translate the following into a SQL query
What is the Location when France was the runner-up at club de campo?
SELECT Location FROM table WHERE Runners-up = france AND Venue = club de campo
Translate the following into a SQL query
What is the Location when Canada was the runner-up and Australia was the winner?
SELECT Location FROM table WHERE Runners-up = canada AND Winners = australia
Translate the following into a SQL query
What is the Name of the Space Telescope Terminated on March 1993?
SELECT Name FROM table WHERE Terminated = march 1993
Translate the following into a SQL query
What is Party, when Opinion Research Centre (OPC) is 1.5%?
SELECT Party FROM table WHERE Opinion Research Centre (OPC) = 1.5%
Translate the following into a SQL query
What is Marplan, when Gallup is 1.5%
SELECT Marplan FROM table WHERE Gallup = 1.5%
Translate the following into a SQL query
What is Opinion Research Centre (OPC), when Party is Conservative?
SELECT Opinion Research Centre (OPC) FROM table WHERE Party = conservative
Translate the following into a SQL query
What is Harris, when Marplan is 1.3%
SELECT Harris FROM table WHERE Marplan = 1.3%
Translate the following into a SQL query
What are the fewest points that Roger Dutton/Tony Wright have received?
SELECT MIN Points FROM table WHERE Rider = roger dutton/tony wright
Translate the following into a SQL query
How fast does the BMW with 6 points go?
SELECT Speed FROM table WHERE Machine = bmw AND Points = 6
Translate the following into a SQL query
What is the average draw for Desi Dobreva, was it less than 6?
SELECT AVG Draw FROM table WHERE Artist = desi dobreva AND Place < 6
Translate the following into a SQL query
What was the first leg score for the match that had AS Police as team 2?
SELECT 1st leg FROM table WHERE Team 2 = as police
Translate the following into a SQL query
Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0?
SELECT Team 2 FROM table WHERE 1st leg = 2-0 AND Team 1 = iwuanyanwu nationale