instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the average pick for Princeton after round 3?
SELECT AVG Pick FROM table WHERE Round > 3 AND College = princeton
Translate the following into a SQL query
What is the earliest round Clark was in?
SELECT MIN Round FROM table WHERE College = clark
Translate the following into a SQL query
What is the tie number when the home team was gillingham?
SELECT Tie no FROM table WHERE Home team = gillingham
Translate the following into a SQL query
What was the score when the home team was goole town?
SELECT Score FROM table WHERE Home team = goole town
Translate the following into a SQL query
What date had the home team as brentford?
SELECT Date FROM table WHERE Home team = brentford
Translate the following into a SQL query
What was the tie number when bradford park avenue was the away team?
SELECT Tie no FROM table WHERE Away team = bradford park avenue
Translate the following into a SQL query
What shows for House 1950 when the Governors 1950 show governors 1995?
SELECT House 1950 FROM table WHERE Governors 1950 = governors 1995
Translate the following into a SQL query
What shows for House 1950 when the General 1950 is general 1986?
SELECT House 1950 FROM table WHERE General 1950 = general 1986
Translate the following into a SQL query
What is the Governors 1950 when the General 1950 is general 1979?
SELECT Governors 1950 FROM table WHERE General 1950 = general 1979
Translate the following into a SQL query
What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?
SELECT House 1950 FROM table WHERE 1950 < 1980 AND Governors 1950 = governors 1970
Translate the following into a SQL query
What's the average year for the good things happening album's single "lady lady lay"?
SELECT AVG Year FROM table WHERE Album = good things happening AND Single = "lady lady lay"
Translate the following into a SQL query
What album came out before 1975 with the dawn record label and the single "lady lady lay"?
SELECT Album FROM table WHERE Year < 1975 AND Record label = dawn AND Single = "lady lady lay"
Translate the following into a SQL query
What's the earliest year listed for "where are you going to my love" from the album united we stand?
SELECT MIN Year FROM table WHERE Album = united we stand AND Single = "where are you going to my love"
Translate the following into a SQL query
What month before 1973 is listed for the album united we stand?
SELECT Month FROM table WHERE Year < 1973 AND Album = united we stand
Translate the following into a SQL query
What is the name of the river found in Madhya Pradesh, India?
SELECT Name of the River FROM table WHERE Name of the State where found in India = madhya pradesh
Translate the following into a SQL query
What is the name of the deity that the state of Bihar was named after?
SELECT Name of Deity FROM table WHERE Name of the State where found in India = bihar
Translate the following into a SQL query
What is the name of the diety for the river of sone?
SELECT Name of Deity FROM table WHERE Name of the River = sone
Translate the following into a SQL query
What is the name of the stone found in Andhra Pradesh, India?
SELECT Name of the Stone (Sila) FROM table WHERE Name of the State where found in India = andhra pradesh
Translate the following into a SQL query
What date was the game score 103-94?
SELECT Date FROM table WHERE Score = 103-94
Translate the following into a SQL query
Who is the away team that played home team of Perth Wildcats?
SELECT Away team FROM table WHERE Home team = perth wildcats
Translate the following into a SQL query
What is the score of the game that was played on 29 November at State Sports Centre?
SELECT Score FROM table WHERE Date = 29 november AND Venue = state sports centre
Translate the following into a SQL query
What date did home team Gold Coast Blaze play?
SELECT Date FROM table WHERE Home team = gold coast blaze
Translate the following into a SQL query
What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?
SELECT Report FROM table WHERE Date = 29 november AND Away team = melbourne tigers
Translate the following into a SQL query
Who is the away team that played home team Perth Wildcats?
SELECT Away team FROM table WHERE Home team = perth wildcats
Translate the following into a SQL query
Who did they play in week 11?
SELECT Opponent FROM table WHERE Week = 11
Translate the following into a SQL query
What day did they play in week 6?
SELECT Date FROM table WHERE Week = 6
Translate the following into a SQL query
Name the Date which has a Score of 3-1 and Attendances of 32 590?
SELECT Date FROM table WHERE Score = 3-1 AND Attendance = 32 590
Translate the following into a SQL query
Which Venue is on 2004-07-24?
SELECT Venue FROM table WHERE Date = 2004-07-24
Translate the following into a SQL query
Which Score has a Venue of idrottsparken?
SELECT Score FROM table WHERE Venue = idrottsparken
Translate the following into a SQL query
Which Comp is on 2004-10-17?
SELECT Comp FROM table WHERE Date = 2004-10-17
Translate the following into a SQL query
Which Venue has a Opponents of halmstad and a Score of 1-1?
SELECT Venue FROM table WHERE Opponents = halmstad AND Score = 1-1
Translate the following into a SQL query
Which Attendance that has a Venue of ryavallen?
SELECT Attendance FROM table WHERE Venue = ryavallen
Translate the following into a SQL query
What is Tournament, when Outcome is Winner, and when Date is 13 July 2013?
SELECT Tournament FROM table WHERE Outcome = winner AND Date = 13 july 2013
Translate the following into a SQL query
What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach?
SELECT Date FROM table WHERE Outcome = winner AND Opponent = an-sophie mestach
Translate the following into a SQL query
What is Score, when Date is 10 July 2011?
SELECT Score FROM table WHERE Date = 10 july 2011
Translate the following into a SQL query
What network has a Play-by-play by Jack Edwards in 2000?
SELECT Network FROM table WHERE Play-by-play = jack edwards AND Year = 2000
Translate the following into a SQL query
What is the name of the pregame host when Bold was the network?
SELECT Pregame host FROM table WHERE Network = bold
Translate the following into a SQL query
What was the Play-by-play when the color commentator was Eric Wynalda, earlier than 2005?
SELECT Play-by-play FROM table WHERE Color commentator(s) = eric wynalda AND Year < 2005
Translate the following into a SQL query
What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough?
SELECT Pregame host FROM table WHERE Play-by-play = jp dellacamera AND Year < 2009 AND Color commentator(s) = ty keough
Translate the following into a SQL query
What date was the score 3–0, and set 1 was 25–22?
SELECT Date FROM table WHERE Score = 3–0 AND Set 1 = 25–22
Translate the following into a SQL query
What date was the total 56–75?
SELECT Date FROM table WHERE Total = 56–75
Translate the following into a SQL query
What is the Set 1 when Set 3 was 25–15?
SELECT Set 1 FROM table WHERE Set 3 = 25–15
Translate the following into a SQL query
What date was the total 75–45?
SELECT Date FROM table WHERE Total = 75–45
Translate the following into a SQL query
What is the sum of the dates in december that were against the atlanta flames before game 40?
SELECT SUM December FROM table WHERE Opponent = atlanta flames AND Game < 40
Translate the following into a SQL query
What was the score of the game against montreal canadiens after game 26?
SELECT Score FROM table WHERE Game > 26 AND Opponent = montreal canadiens
Translate the following into a SQL query
In what Round was Grant Long Drafted?
SELECT MIN Round FROM table WHERE Player = grant long
Translate the following into a SQL query
What is the Player from Memphis?
SELECT Player FROM table WHERE School/Club Team = memphis
Translate the following into a SQL query
What Player was picked after Round 2 with a Pick number larger than 33?
SELECT Player FROM table WHERE Pick > 33 AND Round > 2
Translate the following into a SQL query
In what Round was the Memphis Player drafted?
SELECT AVG Round FROM table WHERE School/Club Team = memphis
Translate the following into a SQL query
Which School/Club Team holds the 2006-2009 Years of Grizzlies ?
SELECT School/Club Team FROM table WHERE Years for Grizzlies = 2006-2009
Translate the following into a SQL query
Who was the Player in the 1998-2000 Year of Grizzlies?
SELECT Player FROM table WHERE Years for Grizzlies = 1998-2000
Translate the following into a SQL query
What is the Nationality of the 1998-2000 Years for Grizzlies?
SELECT Nationality FROM table WHERE Years for Grizzlies = 1998-2000
Translate the following into a SQL query
Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?
SELECT Player FROM table WHERE Nationality = united states AND Position = small forward AND Years for Grizzlies = 1999-2002
Translate the following into a SQL query
Which Player is the shooting guard?
SELECT Player FROM table WHERE Position = shooting guard
Translate the following into a SQL query
What is the location and attendance of game 44?
SELECT Location/Attendance FROM table WHERE Game = 44
Translate the following into a SQL query
What is the record of game 42, which had a clemmensen decision?
SELECT Record FROM table WHERE Decision = clemmensen AND Game = 42
Translate the following into a SQL query
What country parred E and scored 71-73-70-74=288?
SELECT Country FROM table WHERE To par = e AND Score = 71-73-70-74=288
Translate the following into a SQL query
How much money was scored for 73-71-70-73=287?
SELECT Money ( $ ) FROM table WHERE Score = 73-71-70-73=287
Translate the following into a SQL query
What country has to par E with Mark O'Meara?
SELECT Country FROM table WHERE To par = e AND Player = mark o'meara
Translate the following into a SQL query
What country placed t6 with player Vijay Singh?
SELECT Country FROM table WHERE Place = t6 AND Player = vijay singh
Translate the following into a SQL query
How much money did David Toms get?
SELECT Money ( $ ) FROM table WHERE Player = david toms
Translate the following into a SQL query
What is the playoffs Game number on April 26?
SELECT Game FROM table WHERE Date = april 26
Translate the following into a SQL query
What is the Score of Game 4?
SELECT Score FROM table WHERE Game = 4
Translate the following into a SQL query
What is the playoff Game on April 30?
SELECT Game FROM table WHERE Date = april 30
Translate the following into a SQL query
What is the Date of the game with a Score of L 115–118 (OT)?
SELECT Date FROM table WHERE Score = l 115–118 (ot)
Translate the following into a SQL query
What was the result when there were 27,321 in attendance?
SELECT Result FROM table WHERE Attendance = 27,321
Translate the following into a SQL query
What is the number in attendance at Dowdy-Ficklen stadium β€’ Greenville, NC, and the opponent was Ohio?
SELECT Attendance FROM table WHERE Site = dowdy-ficklen stadium β€’ greenville, nc AND Opponent = ohio
Translate the following into a SQL query
What date was the game at Dowdy-Ficklen stadium β€’ Greenville, NC, with 27,321 in attendance?
SELECT Date FROM table WHERE Site = dowdy-ficklen stadium β€’ greenville, nc AND Attendance = 27,321
Translate the following into a SQL query
What team was the opponent when there were 27,321 in attendance?
SELECT Opponent FROM table WHERE Attendance = 27,321
Translate the following into a SQL query
What date was the game at Williams-Brice stadium β€’ Columbia, SC?
SELECT Date FROM table WHERE Site = williams-brice stadium β€’ columbia, sc
Translate the following into a SQL query
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
SELECT Margin of victory FROM table WHERE Winning score = 67-69-67-69=272
Translate the following into a SQL query
Can you tell me the To par that has the Winner's share larger than 200,000, and the Margin of victory of 3 strokes?
SELECT To par FROM table WHERE Winner's share > 200,000 AND Margin of victory = 3 strokes
Translate the following into a SQL query
WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?
SELECT AVG Date FROM table WHERE Label = cbs AND Region = australia AND Catalog = sbp 241031
Translate the following into a SQL query
WHAT DATE HAS A CATALOG OF 486553.4?
SELECT MAX Date FROM table WHERE Catalog = 486553.4
Translate the following into a SQL query
WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
SELECT MIN Date FROM table WHERE Region = korea AND Format = cd
Translate the following into a SQL query
What is 2008, when 2006 is "1R"?
SELECT 2008 FROM table WHERE 2006 = 1r
Translate the following into a SQL query
What is Tournament, when 2006 is "A", and when 2009 is "A"?
SELECT Tournament FROM table WHERE 2006 = a AND 2009 = a
Translate the following into a SQL query
What is 2005, when 2006 is "1R"?
SELECT 2005 FROM table WHERE 2006 = 1r
Translate the following into a SQL query
What is 2011, when 2008 is "2R"?
SELECT 2011 FROM table WHERE 2008 = 2r
Translate the following into a SQL query
What is 2004, when 2005 is "2R", and when 2006 is "1R"
SELECT 2004 FROM table WHERE 2005 = 2r AND 2006 = 1r
Translate the following into a SQL query
What is 2004, when 2009 is "A"?
SELECT 2004 FROM table WHERE 2009 = a
Translate the following into a SQL query
What was the name of the opponent when the method was ko (slam), and record was 13–1?
SELECT Opponent FROM table WHERE Method = ko (slam) AND Record = 13–1
Translate the following into a SQL query
What is the highest pick of scott turner, who has a round greater than 2?
SELECT MAX Pick FROM table WHERE Round > 2 AND Name = scott turner
Translate the following into a SQL query
What is the name of the ot position player with a round greater than 4?
SELECT Name FROM table WHERE Round > 4 AND Position = ot
Translate the following into a SQL query
What is the sum of the pick of darryl pounds, who has an overall greater than 68?
SELECT SUM Pick FROM table WHERE Name = darryl pounds AND Overall > 68
Translate the following into a SQL query
What is the total number of rounds of the player from lehigh college with an overall less than 152?
SELECT COUNT Round FROM table WHERE College = lehigh AND Overall < 152
Translate the following into a SQL query
What is the highest round of pick 3?
SELECT MAX Round FROM table WHERE Pick = 3
Translate the following into a SQL query
What is the total overall number of the ot position player with a pick greater than 5?
SELECT COUNT Overall FROM table WHERE Position = ot AND Pick > 5
Translate the following into a SQL query
What rank does the Singapore Cup of 0 (1) have?
SELECT MAX Rank FROM table WHERE Singapore Cup = 0 (1)
Translate the following into a SQL query
What Singapore League Cup does Masahiro Fukasawa have?
SELECT Singapore League Cup FROM table WHERE Name = masahiro fukasawa
Translate the following into a SQL query
What is Norikazu Murakami's total?
SELECT Total FROM table WHERE Name = norikazu murakami
Translate the following into a SQL query
What is the rank for the total that has 3 (20)?
SELECT Rank FROM table WHERE Total = 3 (20)
Translate the following into a SQL query
Which AFC cup does Masahiro Fukasawa have?
SELECT AFC Cup FROM table WHERE Name = masahiro fukasawa
Translate the following into a SQL query
Which AFC cup does Kenji Arai have?
SELECT AFC Cup FROM table WHERE Name = kenji arai
Translate the following into a SQL query
In the game where Joe Johnson (31) was the high points scorer, what was the final score?
SELECT Score FROM table WHERE High points = joe johnson (31)
Translate the following into a SQL query
What is the lowest to par of the player with a t3 place and less than $1,500?
SELECT MIN To par FROM table WHERE Place = t3 AND Money ( $ ) < 1,500
Translate the following into a SQL query
Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?
SELECT Player FROM table WHERE Country = united states AND Place = t6 AND Score = 71-70-76-72=289
Translate the following into a SQL query
How much total money does player tommy bolt, who has a to par of 9, have?
SELECT COUNT Money ( $ ) FROM table WHERE To par = 9 AND Player = tommy bolt
Translate the following into a SQL query
What is the lowest amount of money a player from South Africa with a to par less than 8 has?
SELECT MIN Money ( $ ) FROM table WHERE Country = south africa AND To par < 8
Translate the following into a SQL query
What was the venue that had a friendly match competition?
SELECT Venue FROM table WHERE Competition = friendly match