instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Match played in a Location of San Francisco has a Competition of Semifinal?
SELECT Match FROM table WHERE Competition = semifinal AND Location = san francisco
Translate the following into a SQL query
What Location has a Date of 1995-06-15?
SELECT Location FROM table WHERE Date = 1995-06-15
Translate the following into a SQL query
What is the most points 1 when the goals against are fewer than 97, lost less than 22, 9 draws and goal difference of +28?
SELECT MAX Points 1 FROM table WHERE Goals Against < 97 AND Lost < 22 AND Drawn = 9 AND Goal Difference = +28
Translate the following into a SQL query
What is the most points 1 when the goal difference is +28 and lost is larger than 12?
SELECT MAX Points 1 FROM table WHERE Goal Difference = +28 AND Lost > 12
Translate the following into a SQL query
What is the maximum lost with points 1 more than 58 and 66 goals against?
SELECT MAX Lost FROM table WHERE Points 1 > 58 AND Goals Against = 66
Translate the following into a SQL query
What is the most goals for when there are fewer than 4 draws?
SELECT MAX Goals For FROM table WHERE Drawn < 4
Translate the following into a SQL query
What was the result on October 20, 2002?
SELECT Result FROM table WHERE Date = october 20, 2002
Translate the following into a SQL query
What is the Jersey Number(s) from Norfolk State?
SELECT Jersey Number(s) FROM table WHERE From = norfolk state
Translate the following into a SQL query
What is the nationality of the person with number 27?
SELECT Nationality FROM table WHERE Jersey Number(s) = 27
Translate the following into a SQL query
What is the nationality of the SG position?
SELECT Nationality FROM table WHERE Position = sg
Translate the following into a SQL query
What is the rank of the film directed by danny devito?
SELECT Rank FROM table WHERE Director = danny devito
Translate the following into a SQL query
What is the sum of the ranks for the film, eddie murphy raw?
SELECT SUM Rank FROM table WHERE Title = eddie murphy raw
Translate the following into a SQL query
Who directed Predator that was filmed with Fox Studio?
SELECT Director FROM table WHERE Studio = fox AND Title = predator
Translate the following into a SQL query
What is the total number of ranks that had vestron as the studio?
SELECT COUNT Rank FROM table WHERE Studio = vestron
Translate the following into a SQL query
Which class had Stanley Dickens as a driver?
SELECT Class FROM table WHERE Driver = stanley dickens
Translate the following into a SQL query
What was the highest amount of laps for class c1 and driver Derek Bell?
SELECT MAX Laps FROM table WHERE Class = c1 AND Driver = derek bell
Translate the following into a SQL query
Where was the player born when the appearances were greater than 40 and made 17 goals?
SELECT Nationality FROM table WHERE Apps. > 40 AND Goals = 17
Translate the following into a SQL query
When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances?
SELECT Gillingham career FROM table WHERE Goals = 0 AND Apps. < 37 AND Nationality = england AND Position = mf
Translate the following into a SQL query
Who is the player with a t8 place?
SELECT Player FROM table WHERE Place = t8
Translate the following into a SQL query
What is the country of player dale douglass, who has a t8 place?
SELECT Country FROM table WHERE Place = t8 AND Player = dale douglass
Translate the following into a SQL query
What is the average score of player lee trevino, who has a t8 place?
SELECT AVG Score FROM table WHERE Place = t8 AND Player = lee trevino
Translate the following into a SQL query
What is the to par of player johnny miller, who has a t8 place?
SELECT To par FROM table WHERE Place = t8 AND Player = johnny miller
Translate the following into a SQL query
What is the country of player chi-chi rodríguez, who has an e to par?
SELECT Country FROM table WHERE To par = e AND Player = chi-chi rodríguez
Translate the following into a SQL query
WHAT IS THE LEAGUE WITH PLAYER JOE COLBORNE?
SELECT College/junior/club team (league) FROM table WHERE Player = joe colborne
Translate the following into a SQL query
WHAT IS THE ROUND NUMBER OF NICHOLAS TREMBLAY?
SELECT COUNT Round FROM table WHERE Player = nicholas tremblay
Translate the following into a SQL query
WHAT IS THE POSITION OF FRANCE?
SELECT Position FROM table WHERE Nationality = france
Translate the following into a SQL query
WHAT IS THE ROUND FOR JAMIE ARNIEL?
SELECT COUNT Round FROM table WHERE Player = jamie arniel
Translate the following into a SQL query
What was the score on May 12, 2008?
SELECT Score FROM table WHERE Date = may 12, 2008
Translate the following into a SQL query
What is the rank of the largest attendance over 101,474 played against Rice?
SELECT AVG Rank FROM table WHERE Attendance > 101,474 AND Opponent = rice
Translate the following into a SQL query
Who was the opponent on September 26, 2009?
SELECT Opponent FROM table WHERE Date = september 26, 2009
Translate the following into a SQL query
What was the average lead maragin for the dates administered of october 6, 2008?
SELECT AVG Lead Maragin FROM table WHERE Dates administered = october 6, 2008
Translate the following into a SQL query
What was the poll source for october 6, 2008?
SELECT Poll Source FROM table WHERE Dates administered = october 6, 2008
Translate the following into a SQL query
Who has a place of T7 and is from the United States?
SELECT Player FROM table WHERE Place = t7 AND Country = united states
Translate the following into a SQL query
What is the Rank of the Film with a Worldwide Gross of $914,691,118?
SELECT Rank FROM table WHERE Worldwide Gross = $914,691,118
Translate the following into a SQL query
What is the Director of the Film The Fugitive?
SELECT Director FROM table WHERE Title = the fugitive
Translate the following into a SQL query
What was the highest points on October 12, when the attendance where is over 10,701?
SELECT MAX Points FROM table WHERE Date = october 12 AND Attendance > 10,701
Translate the following into a SQL query
When was Montreal a visitor?
SELECT Date FROM table WHERE Visitor = montreal
Translate the following into a SQL query
What Title's Transliteration is Fal'shivaya Nota?
SELECT Title FROM table WHERE Transliteration = fal'shivaya nota
Translate the following into a SQL query
What Title has a Transliteration of u lyudey-to v domu?
SELECT Title FROM table WHERE Transliteration = u lyudey-to v domu
Translate the following into a SQL query
What is average frequency MHZ when is in portales, new mexico?
SELECT AVG Frequency MHz FROM table WHERE City of license = portales, new mexico
Translate the following into a SQL query
What is FCC info when ERP W is larger than 92 and call sign has k264ba?
SELECT FCC info FROM table WHERE ERP W > 92 AND Call sign = k264ba
Translate the following into a SQL query
Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3?
SELECT Call sign FROM table WHERE ERP W > 250 AND Frequency MHz < 99.3
Translate the following into a SQL query
Where was the game played when the score was 1-4?
SELECT Venue FROM table WHERE Score = 1-4
Translate the following into a SQL query
Who was the game played against on 2004-02-28 at Skytteholms IP?
SELECT Opponents FROM table WHERE Venue = skytteholms ip AND Date = 2004-02-28
Translate the following into a SQL query
When the game was played at Domnarvsvallen who were the opponents?
SELECT Opponents FROM table WHERE Venue = domnarvsvallen
Translate the following into a SQL query
Who were the opposing team when playing in the Portugal venue?
SELECT Opponents FROM table WHERE Venue = portugal
Translate the following into a SQL query
Where was the game played on 2004-06-23?
SELECT Venue FROM table WHERE Date = 2004-06-23
Translate the following into a SQL query
What is the to par for Tom Weiskopf?
SELECT AVG To par FROM table WHERE Player = tom weiskopf
Translate the following into a SQL query
What title did George Fury win when on the Oran Park Raceway?
SELECT Race Title FROM table WHERE Winner = george fury AND Circuit = oran park raceway
Translate the following into a SQL query
Who was the winner on the Amaroo Park circuit?
SELECT Winner FROM table WHERE Circuit = amaroo park
Translate the following into a SQL query
What are the fewest points for goals fewer than 13?
SELECT MIN Points FROM table WHERE Goals for < 13
Translate the following into a SQL query
How many goals when more than 10 games played?
SELECT AVG Goals for FROM table WHERE Played > 10
Translate the following into a SQL query
How many losses when goals against are more than 17, goal difference is more than 2 and points are more than 5?
SELECT AVG Losses FROM table WHERE Goals against > 17 AND Goal Difference < 2 AND Points > 5
Translate the following into a SQL query
How many draws when there are fewer than 6 wins and the goal difference is less than -15?
SELECT COUNT Draws FROM table WHERE Wins < 6 AND Goal Difference < -15
Translate the following into a SQL query
How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79?
SELECT COUNT Draw FROM table WHERE Rank = 3rd AND Performer = noelle AND Points > 79
Translate the following into a SQL query
Which Draw has a Performer of jenny newman, and Points smaller than 77?
SELECT AVG Draw FROM table WHERE Performer = jenny newman AND Points < 77
Translate the following into a SQL query
Which Points have a Draw of 2?
SELECT AVG Points FROM table WHERE Draw = 2
Translate the following into a SQL query
Which stage number did son bou arrive at?
SELECT COUNT Stage FROM table WHERE Arrival = son bou
Translate the following into a SQL query
How long does the one that stars with son bou of middle difficulty, and on a stage number larger than 13 last?
SELECT Duration FROM table WHERE Stage > 13 AND Difficulty = middle AND Start = son bou
Translate the following into a SQL query
What is the lowest stage number that starts with els alocs and has a middle difficulty?
SELECT MIN Stage FROM table WHERE Difficulty = middle AND Start = els alocs
Translate the following into a SQL query
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?
SELECT Price FROM table WHERE Upstream = 256 kbit AND Downstream = 512 kbit
Translate the following into a SQL query
For the provider that costs 266 sar, what is the Bandwidth Included?
SELECT Bandwidth Included FROM table WHERE Price = 266 sar
Translate the following into a SQL query
What is the name of the plan that has a downstream rate of 4,096 kbit?
SELECT Internet Plan FROM table WHERE Downstream = 4,096 kbit
Translate the following into a SQL query
Which record has a score of l 121–127?
SELECT Record FROM table WHERE Score = l 121–127
Translate the following into a SQL query
What high points did San Francisco have in a game later than 69?
SELECT High points FROM table WHERE Game > 69 AND Team = san francisco
Translate the following into a SQL query
What is the record for March 10?
SELECT Record FROM table WHERE Date = march 10
Translate the following into a SQL query
What high points did a game earlier than 80 have with a score of l 123–142?
SELECT High points FROM table WHERE Game < 80 AND Score = l 123–142
Translate the following into a SQL query
What is the lowest Year, when Co-Driver is Warren Luff, when Position is 7th, and when Laps is less than 161?
SELECT MIN Year FROM table WHERE Co-driver = warren luff AND Position = 7th AND Laps < 161
Translate the following into a SQL query
What is Position, when Laps is 156?
SELECT Position FROM table WHERE Laps = 156
Translate the following into a SQL query
What is the highest Year, when Laps is greater than 161?
SELECT MAX Year FROM table WHERE Laps > 161
Translate the following into a SQL query
What season had a combined of 13 and a Giant Slalom more than 31?
SELECT MAX Season FROM table WHERE Combined = 13 AND Giant Slalom > 31
Translate the following into a SQL query
What season had a downhill of 35 and overall greater than 21?
SELECT COUNT Season FROM table WHERE Downhill = 35 AND Overall > 21
Translate the following into a SQL query
What's the Super G when the combined was 13 and the overall was more than 7?
SELECT Super G FROM table WHERE Overall > 7 AND Combined = 13
Translate the following into a SQL query
What is Time, when Laps is 22, and when Grid is 15?
SELECT Time FROM table WHERE Laps = 22 AND Grid = 15
Translate the following into a SQL query
What is the average Grid, when Time is +45.855?
SELECT AVG Grid FROM table WHERE Time = +45.855
Translate the following into a SQL query
What is the total number of Grid, when Time is +43.191, and when Laps is less than 22?
SELECT COUNT Grid FROM table WHERE Time = +43.191 AND Laps < 22
Translate the following into a SQL query
What is the place of Mark O'Meara?
SELECT Place FROM table WHERE Player = mark o'meara
Translate the following into a SQL query
Which player has a score of 71-72=143?
SELECT Player FROM table WHERE Score = 71-72=143
Translate the following into a SQL query
What is the score for the United States in place T1 for David Duval?
SELECT Score FROM table WHERE Country = united states AND Place = t1 AND Player = david duval
Translate the following into a SQL query
Who is the player from the United States with a score of 71-72=143?
SELECT Player FROM table WHERE Country = united states AND Score = 71-72=143
Translate the following into a SQL query
Which country is Scott McCarron from?
SELECT Country FROM table WHERE Player = scott mccarron
Translate the following into a SQL query
Which country is in T1 place with a score of 71-68=139?
SELECT Country FROM table WHERE Place = t1 AND Score = 71-68=139
Translate the following into a SQL query
what is the venue when the competition is friendly on 26 may 1999?
SELECT Venue FROM table WHERE Competition = friendly AND Date = 26 may 1999
Translate the following into a SQL query
What was Australia's place?
SELECT Place FROM table WHERE Country = australia
Translate the following into a SQL query
What was the score for United States when the player was Mike Reid and the To par was e?
SELECT Score FROM table WHERE Country = united states AND To par = e AND Player = mike reid
Translate the following into a SQL query
How many holes did Mike Reid from United States have?
SELECT Hole FROM table WHERE Country = united states AND Player = mike reid
Translate the following into a SQL query
Which Name has a Position smaller than 2?
SELECT Name FROM table WHERE Position < 2
Translate the following into a SQL query
Which Lost has a Position larger than 2, a Name of sg münchen (n), and a Drawn larger than 0?
SELECT COUNT Lost FROM table WHERE Position > 2 AND Name = sg münchen (n) AND Drawn > 0
Translate the following into a SQL query
Which Drawn has a Position of 2, and a Lost larger than 2?
SELECT MIN Drawn FROM table WHERE Position = 2 AND Lost > 2
Translate the following into a SQL query
Which Played has a Position of 3, and a Points smaller than 15?
SELECT COUNT Played FROM table WHERE Position = 3 AND Points < 15
Translate the following into a SQL query
Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0?
SELECT MAX Played FROM table WHERE Position > 5 AND Points > 0 AND Drawn < 0
Translate the following into a SQL query
What is the score when Miami is the visitor?
SELECT Score FROM table WHERE Visitor = miami
Translate the following into a SQL query
For the game that was 76-85, what was the record?
SELECT Record FROM table WHERE Score = 76-85
Translate the following into a SQL query
On April 18, which team was the visitor?
SELECT Visitor FROM table WHERE Date = april 18
Translate the following into a SQL query
Who was the leading scorer on April 7?
SELECT Leading scorer FROM table WHERE Date = april 7
Translate the following into a SQL query
Where was the home court on April 14?
SELECT Home FROM table WHERE Date = april 14
Translate the following into a SQL query
What is the boston celtics' record?
SELECT Record FROM table WHERE Team = boston celtics
Translate the following into a SQL query
Which Score has a Record of 9–8?
SELECT Score FROM table WHERE Record = 9–8
Translate the following into a SQL query
Which Date has a Streak of loss 2, and a Team of @ boston celtics?
SELECT Date FROM table WHERE Streak = loss 2 AND Team = @ boston celtics
Translate the following into a SQL query
Which Date has a Streak of win 1, and a Record of 8–4?
SELECT Date FROM table WHERE Streak = win 1 AND Record = 8–4