instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Average relative annual growth (%) for the country that ranks 41 and has a July 1, 2013 projection larger than 2,204,000?
SELECT COUNT Average relative annual growth (%) FROM table WHERE Rank = 41 AND July 1, 2013 projection > 2,204,000
Translate the following into a SQL query
Which Opponent has a Record of 22-10?
SELECT Opponent FROM table WHERE Record = 22-10
Translate the following into a SQL query
Which Score has an Opponent of @ seattle?
SELECT Score FROM table WHERE Opponent = @ seattle
Translate the following into a SQL query
Which Record has a Result of loss, and an Opponent of @ la clippers?
SELECT Record FROM table WHERE Result = loss AND Opponent = @ la clippers
Translate the following into a SQL query
Which Score has an Opponent of @ la lakers, and a Record of 8-6?
SELECT Score FROM table WHERE Opponent = @ la lakers AND Record = 8-6
Translate the following into a SQL query
Which Opponent has a Result of win, and a Date of march 17?
SELECT Opponent FROM table WHERE Result = win AND Date = march 17
Translate the following into a SQL query
Which Score has a Date of may 4?
SELECT Score FROM table WHERE Date = may 4
Translate the following into a SQL query
Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5?
SELECT MIN PD per game FROM table WHERE Rank < 4 AND Winning % = 78.6% AND Streak = w1 AND PA per game < 81.5
Translate the following into a SQL query
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
SELECT AVG Loss FROM table WHERE Last 5 = 4-1 AND Streak = w2 AND PA per game < 88.43
Translate the following into a SQL query
Which Last 5 has a Rank of 7?
SELECT Last 5 FROM table WHERE Rank = 7
Translate the following into a SQL query
Which Played has a PD per game larger than 6.28, and a Loss smaller than 4?
SELECT MIN Played FROM table WHERE PD per game > 6.28 AND Loss < 4
Translate the following into a SQL query
Which PF per game has a Rank of 5?
SELECT MIN PF per game FROM table WHERE Rank = 5
Translate the following into a SQL query
What was the score in Round 3?
SELECT Record FROM table WHERE Round = 3
Translate the following into a SQL query
What was the record for opponent Matt Serra?
SELECT Record FROM table WHERE Opponent = matt serra
Translate the following into a SQL query
What was the event for round 1 against Lance Wipf?
SELECT Event FROM table WHERE Round = 1 AND Opponent = lance wipf
Translate the following into a SQL query
What is the total number of Area (km²), when Population (2007) is 6,176?
SELECT COUNT Area (km²) FROM table WHERE Population (2007) = 6,176
Translate the following into a SQL query
What is the average Population (2010), when Population (2007) is 4,875, and when Area (km²) is greater than 1.456?
SELECT AVG Population (2010) FROM table WHERE Population (2007) = 4,875 AND Area (km²) > 1.456
Translate the following into a SQL query
How many laps did car 23 do?
SELECT Laps FROM table WHERE Car No. = 23
Translate the following into a SQL query
How many laps did the car do that had a final position of 17?
SELECT Laps FROM table WHERE Fin. Pos = 17
Translate the following into a SQL query
What grid did the team racing professionals race on?
SELECT Grid FROM table WHERE Team = racing professionals
Translate the following into a SQL query
What car number had a race time of +0.3844?
SELECT Car No. FROM table WHERE Time/Retired = +0.3844
Translate the following into a SQL query
How many points were scored by car number 10 that ended with a collision?
SELECT Points FROM table WHERE Time/Retired = collision AND Car No. = 10
Translate the following into a SQL query
Who was the driver who had a final position of 14?
SELECT Driver FROM table WHERE Fin. Pos = 14
Translate the following into a SQL query
what is the money ($) for player justin leonard?
SELECT Money ( $ ) FROM table WHERE Player = justin leonard
Translate the following into a SQL query
what is the place when the score is 76-69-71-70=286?
SELECT Place FROM table WHERE Score = 76-69-71-70=286
Translate the following into a SQL query
what is the place for costantino rocca?
SELECT Place FROM table WHERE Player = costantino rocca
Translate the following into a SQL query
what is the highest money ($) for bernhard langer?
SELECT MAX Money ( $ ) FROM table WHERE Player = bernhard langer
Translate the following into a SQL query
What is the score of the FIFA report on October 13, 2007?
SELECT Score FROM table WHERE Report = fifa AND Date = october 13, 2007
Translate the following into a SQL query
What venue has a EAFF report on June 24, 2007?
SELECT Venue FROM table WHERE Report = eaff AND Date = june 24, 2007
Translate the following into a SQL query
What is the venue on October 13, 2007?
SELECT Venue FROM table WHERE Date = october 13, 2007
Translate the following into a SQL query
At what Site was the Result W13-7?
SELECT Site FROM table WHERE Result = w13-7
Translate the following into a SQL query
What was the Attendance on 11/09/1946?
SELECT Attendance FROM table WHERE Date = 11/09/1946
Translate the following into a SQL query
What Site had an Attendance of 45,000?
SELECT Site FROM table WHERE Attendance = 45,000
Translate the following into a SQL query
What was the Result on 11/02/1946?
SELECT Result FROM table WHERE Date = 11/02/1946
Translate the following into a SQL query
What mark has over 813 points in the United States, and a 0.152 react?
SELECT Mark FROM table WHERE Points > 813 AND Country = united states AND React > 0.152
Translate the following into a SQL query
What is the lowest Total, when Year(s) Won is "1968 , 1971", and when To Par is less than 11?
SELECT MIN Total FROM table WHERE Year(s) won = 1968 , 1971 AND To par < 11
Translate the following into a SQL query
What is the lowest To Par, when Player is "Johnny Miller"?
SELECT MIN To par FROM table WHERE Player = johnny miller
Translate the following into a SQL query
What is Player, when Total is greater than 148, and when To Par is "12"?
SELECT Player FROM table WHERE Total > 148 AND To par = 12
Translate the following into a SQL query
What is the sum of To Par, when Year(s) Won is "1978 , 1985"?
SELECT SUM To par FROM table WHERE Year(s) won = 1978 , 1985
Translate the following into a SQL query
What is To Par, when Year(s) Won is "1968 , 1971"?
SELECT To par FROM table WHERE Year(s) won = 1968 , 1971
Translate the following into a SQL query
Which Points difference has Points against of 786?
SELECT Points difference FROM table WHERE Points against = 786
Translate the following into a SQL query
Which Played has a Points difference of +261?
SELECT Played FROM table WHERE Points difference = +261
Translate the following into a SQL query
Which Points against has a Lost of 13, and Points for of 671?
SELECT Points against FROM table WHERE Lost = 13 AND Points for = 671
Translate the following into a SQL query
Which Points difference has Played of 32, and Points for of 840?
SELECT Points difference FROM table WHERE Played = 32 AND Points for = 840
Translate the following into a SQL query
Which Drawn has Points for of 782?
SELECT Drawn FROM table WHERE Points for = 782
Translate the following into a SQL query
Which Lost has a Club of club?
SELECT Lost FROM table WHERE Club = club
Translate the following into a SQL query
Can you tell me the Record that has the Date of january 29?
SELECT Record FROM table WHERE Date = january 29
Translate the following into a SQL query
Can you tell me the Record that has the Visitor of vancouver?
SELECT Record FROM table WHERE Visitor = vancouver
Translate the following into a SQL query
What date has the opponent competing in the final of john mcenroe?
SELECT Date FROM table WHERE Opponent in Final = john mcenroe
Translate the following into a SQL query
Where did the Lightning play the NY Rangers at 7:00 pm?
SELECT Location FROM table WHERE Opponent = ny rangers AND Time = 7:00 pm
Translate the following into a SQL query
Who did the Lightning play at the Mellon Arena?
SELECT Opponent FROM table WHERE Location = mellon arena
Translate the following into a SQL query
What was the final score for the game played at 7:00 pm?
SELECT Result FROM table WHERE Time = 7:00 pm
Translate the following into a SQL query
Where was the game which ended in a 4-1 w?
SELECT Location FROM table WHERE Result = 4-1 w
Translate the following into a SQL query
When was a game played at 7:00 pm?
SELECT Date FROM table WHERE Time = 7:00 pm
Translate the following into a SQL query
Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman?
SELECT Top Speed FROM table WHERE Model Name = d14/4 supreme d14/4 sports & bushman
Translate the following into a SQL query
Which Electrics has an Engine of 175cc, bhp (kw), and a Model Name of d10 sports & bushman?
SELECT Electrics FROM table WHERE Engine = 175cc, bhp (kw) AND Model Name = d10 sports & bushman
Translate the following into a SQL query
Who does pádraig harrington play for?
SELECT Country FROM table WHERE Player = pádraig harrington
Translate the following into a SQL query
Which stadium has Seongnam Ilhwa Chunma?
SELECT Stadium FROM table WHERE Club = seongnam ilhwa chunma
Translate the following into a SQL query
What city is Gwang-Yang stadium in?
SELECT City FROM table WHERE Stadium = gwang-yang stadium
Translate the following into a SQL query
Which stadium has FC Seoul?
SELECT Stadium FROM table WHERE Club = fc seoul
Translate the following into a SQL query
What stadium is in Seoul?
SELECT Stadium FROM table WHERE City = seoul
Translate the following into a SQL query
What is the 1993 value of the French open?
SELECT 1993 FROM table WHERE Tournament = french open
Translate the following into a SQL query
What is the 1990 value with a 24 in 1995?
SELECT 1990 FROM table WHERE 1995 = 24
Translate the following into a SQL query
What is the 1993 value with a 1r in 1991 and sf in 1990?
SELECT 1993 FROM table WHERE 1991 = 1r AND 1990 = sf
Translate the following into a SQL query
What is the 1994 value with a 2r in 1996, A in 1993, and 2r in 1991?
SELECT 1994 FROM table WHERE 1996 = 2r AND 1993 = a AND 1991 = 2r
Translate the following into a SQL query
What is the 1993 value of the 1994 atp masters series?
SELECT 1993 FROM table WHERE 1994 = atp masters series
Translate the following into a SQL query
What is the 1993 value of the 1996 atp masters series?
SELECT 1993 FROM table WHERE 1996 = atp masters series
Translate the following into a SQL query
Which Team has a Location Attendance of staples center 18,997, and a Series of 1–0?
SELECT Team FROM table WHERE Location Attendance = staples center 18,997 AND Series = 1–0
Translate the following into a SQL query
Which High points have High rebounds of lamar odom (15), and a Date of april 27?
SELECT High points FROM table WHERE High rebounds = lamar odom (15) AND Date = april 27
Translate the following into a SQL query
Which Date has High rebounds of pau gasol (9)?
SELECT Date FROM table WHERE High rebounds = pau gasol (9)
Translate the following into a SQL query
What was the score of game 2?
SELECT Score FROM table WHERE Game = 2
Translate the following into a SQL query
What was steve elkington's to par?
SELECT To par FROM table WHERE Player = steve elkington
Translate the following into a SQL query
With a Season premiere of 23 july 2008 this show has what as the average episode?
SELECT AVG Episodes FROM table WHERE Season premiere = 23 july 2008
Translate the following into a SQL query
Which show has a season premiere with a Average series rating of 1.85 million viewers?
SELECT Season premiere FROM table WHERE Average series rating = 1.85 million viewers
Translate the following into a SQL query
What is the most recent year founded that has a nickname of bruins?
SELECT MAX Founded FROM table WHERE Nickname = bruins
Translate the following into a SQL query
What is the most recent year founded with an enrollment of 42,708?
SELECT MAX Founded FROM table WHERE Enrollment = 42,708
Translate the following into a SQL query
What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5?
SELECT Score FROM table WHERE Home = new york rangers AND Record = 8–27–5
Translate the following into a SQL query
On what Date was the Home team Detroit Red Wings with a Record of 10–41–6?
SELECT Date FROM table WHERE Home = detroit red wings AND Record = 10–41–6
Translate the following into a SQL query
What is the Visitor in the game with a Record of 11–49–7?
SELECT Visitor FROM table WHERE Record = 11–49–7
Translate the following into a SQL query
What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2?
SELECT Record FROM table WHERE Home = chicago black hawks AND Visitor = new york rangers AND Score = 3–2
Translate the following into a SQL query
What is the Home team on October 17 with a Score of 1–2?
SELECT Home FROM table WHERE Score = 1–2 AND Date = october 17
Translate the following into a SQL query
What is the Record of the game on January 31 with Visitors Detroit Red Wings?
SELECT Record FROM table WHERE Visitor = detroit red wings AND Date = january 31
Translate the following into a SQL query
Name the Report of 7 february with an Away team of new zealand breakers?
SELECT Report FROM table WHERE Date = 7 february AND Away team = new zealand breakers
Translate the following into a SQL query
Which Date has a Crowd smaller than 4,485?
SELECT Date FROM table WHERE Crowd < 4,485
Translate the following into a SQL query
Name the lowest Crowd of hisense arena on 8 february?
SELECT MIN Crowd FROM table WHERE Venue = hisense arena AND Date = 8 february
Translate the following into a SQL query
Name the Box Score which has an Away team of new zealand breakers on 7 february?
SELECT Box Score FROM table WHERE Away team = new zealand breakers AND Date = 7 february
Translate the following into a SQL query
What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
SELECT MIN Year FROM table WHERE Venue = rio de janeiro, brazil
Translate the following into a SQL query
What is Event, when Year is 2008?
SELECT Event FROM table WHERE Year = 2008
Translate the following into a SQL query
What is the latest date in March when the opponent was the Boston Bruins and the game number was smaller than 66?
SELECT MAX March FROM table WHERE Opponent = boston bruins AND Game < 66
Translate the following into a SQL query
What is the method of the match with chris ade as the opponent?
SELECT Method FROM table WHERE Opponent = chris ade
Translate the following into a SQL query
What was the pole for a race lower than 16 with a Flap higher than 8 and a podium higher than 11?
SELECT AVG Pole FROM table WHERE Race < 16 AND FLap > 8 AND Podium > 11
Translate the following into a SQL query
How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
SELECT COUNT Podium FROM table WHERE Race > 14 AND Season = 1996 AND FLap < 9
Translate the following into a SQL query
How many races had 4 podiums, 5 poles and more than 3 Flaps?
SELECT SUM Race FROM table WHERE Podium = 4 AND Pole = 5 AND FLap > 3
Translate the following into a SQL query
What are the fewest podiums in 2005 with fewer than 0 poles?
SELECT MIN Podium FROM table WHERE Season = 2005 AND Pole < 0
Translate the following into a SQL query
Which Player has a To par of +9?
SELECT Player FROM table WHERE To par = +9
Translate the following into a SQL query
Which years did raymond floyd win?
SELECT Year(s) won FROM table WHERE Player = raymond floyd
Translate the following into a SQL query
How much total has a To par of +9?
SELECT COUNT Total FROM table WHERE To par = +9
Translate the following into a SQL query
Which Total has a Country of united states, and a Player of andy north?
SELECT AVG Total FROM table WHERE Country = united states AND Player = andy north
Translate the following into a SQL query
What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
SELECT MAX Grid FROM table WHERE Manufacturer = aprilia AND Time = retirement AND Laps > 5
Translate the following into a SQL query
What is the average laps completed by riders with times of +2:11.524?
SELECT AVG Laps FROM table WHERE Time = +2:11.524