instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was week 17's date?
SELECT Date FROM table WHERE Week = 17
Translate the following into a SQL query
Which Opponent has a Result of l 24–3?
SELECT Opponent FROM table WHERE Result = l 24–3
Translate the following into a SQL query
What was week 5's result?
SELECT Result FROM table WHERE Week = 5
Translate the following into a SQL query
What was the score for Groves High School when the high assist was Giovanni Riley (9)?
SELECT Score FROM table WHERE Location/Attendance = groves high school AND High assists = giovanni riley (9)
Translate the following into a SQL query
What was the high points for opponent Mid-Michigan destroyers on January 3?
SELECT High points FROM table WHERE Opponent = mid-michigan destroyers AND Date = january 3
Translate the following into a SQL query
What opponent is at Richmond Academy?
SELECT Opponent FROM table WHERE Location/Attendance = richmond academy
Translate the following into a SQL query
What were the high points on March 29?
SELECT High points FROM table WHERE Date = march 29
Translate the following into a SQL query
Which opponent scored 95-101?
SELECT Opponent FROM table WHERE Score = 95-101
Translate the following into a SQL query
Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach?
SELECT (M) Best & Fairest FROM table WHERE President = ray kaduck AND (M) Coach = richard keane
Translate the following into a SQL query
What was the (M) Finishe position when ray kaduck was president and corey bowen was coach?
SELECT (M) Finishing position FROM table WHERE President = ray kaduck AND (M) Coach = corey bowen
Translate the following into a SQL query
Which Game has a Score of l 102–114 (ot)?
SELECT AVG Game FROM table WHERE Score = l 102–114 (ot)
Translate the following into a SQL query
Which Record has a Date of january 31?
SELECT Record FROM table WHERE Date = january 31
Translate the following into a SQL query
Which Record has a Game larger than 34, and a Date of january 9?
SELECT Record FROM table WHERE Game > 34 AND Date = january 9
Translate the following into a SQL query
Which Location Attendance has a Record of 11–34?
SELECT Location Attendance FROM table WHERE Record = 11–34
Translate the following into a SQL query
What is the record for the w 100-99 score?
SELECT Record FROM table WHERE Score = w 100-99
Translate the following into a SQL query
What is the location for the 23-17 record?
SELECT Location FROM table WHERE Record = 23-17
Translate the following into a SQL query
What is the location before game 44, and a 20-16 record?
SELECT Location FROM table WHERE Game < 44 AND Record = 20-16
Translate the following into a SQL query
What was the result for the match with entry Match Reports?
SELECT Result FROM table WHERE Match = match reports
Translate the following into a SQL query
What was the location of the match that had a result of 3-3?
SELECT Location FROM table WHERE Result = 3-3
Translate the following into a SQL query
What was the lineup for match 12 that had a competition of Group Stage?
SELECT Lineup FROM table WHERE Competition = group stage AND Match = 12
Translate the following into a SQL query
What was the result for the match held in Boston?
SELECT Result FROM table WHERE Location = boston
Translate the following into a SQL query
How many total games were played against @ St. Louis Hawks this season?
SELECT SUM Game FROM table WHERE Opponent = @ st. louis hawks
Translate the following into a SQL query
On what day was Game 48 played?
SELECT Date FROM table WHERE Game = 48
Translate the following into a SQL query
What is the pick number later than round 1, for Reyshawn Terry?
SELECT AVG Pick FROM table WHERE Round > 1 AND Player = reyshawn terry
Translate the following into a SQL query
What round was the player Ty Lawson with a pick earlier than 18?
SELECT AVG Round FROM table WHERE Player = ty lawson AND Pick < 18
Translate the following into a SQL query
What is the pick number for Danny Green in a round less than 2?
SELECT COUNT Pick FROM table WHERE Player = danny green AND Round < 2
Translate the following into a SQL query
What is the pick number in a year earlier than 2009, with a round higher than 1?
SELECT COUNT Pick FROM table WHERE Year < 2009 AND Round > 1
Translate the following into a SQL query
What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
SELECT Notes FROM table WHERE Year < 2013 AND Language = mandarin chinese AND Network = ctv
Translate the following into a SQL query
What is the language for Strong Heart?
SELECT Language FROM table WHERE Title = strong heart
Translate the following into a SQL query
What is the title for the Korean progran on KBS2?
SELECT Title FROM table WHERE Language = korean AND Network = kbs2
Translate the following into a SQL query
What is the network that aired Star King prior to 2011?
SELECT Network FROM table WHERE Year < 2011 AND Title = star king
Translate the following into a SQL query
What are the notes for Happy Camp?
SELECT Notes FROM table WHERE Title = happy camp
Translate the following into a SQL query
Which Pick has a College of ohio state?
SELECT MIN Pick FROM table WHERE College = ohio state
Translate the following into a SQL query
Which Round has a Position of lb, and a Pick smaller than 25?
SELECT COUNT Round FROM table WHERE Position = lb AND Pick < 25
Translate the following into a SQL query
Which week has a result L 56-3?
SELECT AVG Week FROM table WHERE Result = l 56-3
Translate the following into a SQL query
Where is the player Raymond Floyd?
SELECT Place FROM table WHERE Player = raymond floyd
Translate the following into a SQL query
Which country has a score of 71-72-73-69=285?
SELECT Country FROM table WHERE Score = 71-72-73-69=285
Translate the following into a SQL query
What is the highest Money ( $ ), when Score is "69-71-70-74=284"?
SELECT MAX Money ( $ ) FROM table WHERE Score = 69-71-70-74=284
Translate the following into a SQL query
What is Place, when Score is "71-71-69-71=282"?
SELECT Place FROM table WHERE Score = 71-71-69-71=282
Translate the following into a SQL query
What is Score, when Player is "Dow Finsterwald"?
SELECT Score FROM table WHERE Player = dow finsterwald
Translate the following into a SQL query
Which venue did the runner have a note of 1:23:07?
SELECT Venue FROM table WHERE Notes = 1:23:07
Translate the following into a SQL query
What is the note result when the runner finished 19th in 2008?
SELECT Notes FROM table WHERE Year = 2008 AND Position = 19th
Translate the following into a SQL query
What are the points 1 for the team with position less than 13 and goal difference of +16?
SELECT Points 1 FROM table WHERE Position < 13 AND Goal Difference = +16
Translate the following into a SQL query
What is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63?
SELECT Goal Difference FROM table WHERE Goals Against < 54 AND Goals For > 51 AND Points 1 = 63
Translate the following into a SQL query
What is the number of games lost when goal difference is +13 and draws are more than 12?
SELECT COUNT Lost FROM table WHERE Goal Difference = +13 AND Drawn > 12
Translate the following into a SQL query
What was the finishing position for the car that started in grid 6?
SELECT Fin. Pos FROM table WHERE Grid = 6
Translate the following into a SQL query
What team started in grid 11?
SELECT Team FROM table WHERE Grid = 11
Translate the following into a SQL query
What was the time/retired of car number 6.
SELECT Time/Retired FROM table WHERE Car No. = 6
Translate the following into a SQL query
What was the grid number of the team and driver with 14 points?
SELECT Grid FROM table WHERE Points = 14
Translate the following into a SQL query
Who did Thomaz Bellucci play against when he became runner-up on a clay surface?
SELECT Opponent FROM table WHERE Outcome = runner-up AND Surface = clay
Translate the following into a SQL query
What tournament did Thomaz Bellucci become runner-up on a clay surface?
SELECT Tournament FROM table WHERE Outcome = runner-up AND Surface = clay
Translate the following into a SQL query
What type of surface did Thomaz Bellucci play against tommy robredo?
SELECT Surface FROM table WHERE Opponent = tommy robredo
Translate the following into a SQL query
What is the result of the match against Ryan Schultz?
SELECT Res. FROM table WHERE Opponent = ryan schultz
Translate the following into a SQL query
What round was the game against Cedric Marks?
SELECT Round FROM table WHERE Opponent = cedric marks
Translate the following into a SQL query
What was the record of the match against Chris Mounce?
SELECT Record FROM table WHERE Opponent = chris mounce
Translate the following into a SQL query
What is the method in the round 2 win over Nick Gilardi?
SELECT Method FROM table WHERE Round = 2 AND Res. = win AND Opponent = nick gilardi
Translate the following into a SQL query
Who is number 7 when Sophia is number 3 and Abigail is number 10?
SELECT No. 7 FROM table WHERE No. 3 = sophia AND No. 10 = abigail
Translate the following into a SQL query
Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5?
SELECT Region (year) FROM table WHERE No. 7 = abigail AND No. 1 = sophia AND No. 5 = aaliyah
Translate the following into a SQL query
Who is number 4 when Harper is number 10 and Abigail is number 5?
SELECT No. 4 FROM table WHERE No. 10 = harper AND No. 5 = abigail
Translate the following into a SQL query
What is Player, when To Par is "+1", and when Score is "75-68=143"?
SELECT Player FROM table WHERE To par = +1 AND Score = 75-68=143
Translate the following into a SQL query
What is Score, when Player is "Andy North"?
SELECT Score FROM table WHERE Player = andy north
Translate the following into a SQL query
What is To Par, when Score is "69-72=141"
SELECT To par FROM table WHERE Score = 69-72=141
Translate the following into a SQL query
What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"?
SELECT Place FROM table WHERE Score = 73-71=144 AND Player = scott simpson
Translate the following into a SQL query
What is Score, when Country is "United States", and when Player is "John Mahaffey"?
SELECT Score FROM table WHERE Country = united states AND Player = john mahaffey
Translate the following into a SQL query
What is To Par, when Place is "T1", and when Player is "Joey Rassett"?
SELECT To par FROM table WHERE Place = t1 AND Player = joey rassett
Translate the following into a SQL query
What was the score when the away team was brighton & hove albion?
SELECT Score FROM table WHERE Away team = brighton & hove albion
Translate the following into a SQL query
When was the away team burnley?
SELECT Date FROM table WHERE Away team = burnley
Translate the following into a SQL query
Which home team had an away team of Reading?
SELECT Home team FROM table WHERE Away team = reading
Translate the following into a SQL query
What year was the accolade for Scottish albums of the decade?
SELECT Year FROM table WHERE Accolade = scottish albums of the decade
Translate the following into a SQL query
What country had the publication, Drowned in Sound?
SELECT Country FROM table WHERE Publication = drowned in sound
Translate the following into a SQL query
What is the name of the home stadium of Brisbane Lions?
SELECT Ground FROM table WHERE Home team = brisbane lions
Translate the following into a SQL query
How much is the crowd attending at colonial stadium where Hawthorn plays?
SELECT Crowd FROM table WHERE Ground = colonial stadium AND Home team = hawthorn
Translate the following into a SQL query
How many people attended as the score ended 13.10 (88)?
SELECT Crowd FROM table WHERE Home team score = 13.10 (88)
Translate the following into a SQL query
what is the least 60-64 when 30-34 is 1,403 and 20-24 is less than 378?
SELECT MIN 60 to 64 FROM table WHERE 30 to 34 = 1,403 AND 20 to 24 < 378
Translate the following into a SQL query
what is the 2nd leg when team #2 is žalgiris kaunas?
SELECT 2nd leg FROM table WHERE Team #2 = žalgiris kaunas
Translate the following into a SQL query
what is the 2nd leg when team #2 is žalgiris kaunas?
SELECT 2nd leg FROM table WHERE Team #2 = žalgiris kaunas
Translate the following into a SQL query
Who was the opponent in week 6?
SELECT Opponent FROM table WHERE Week = 6
Translate the following into a SQL query
Which week had an attendance of 55,158?
SELECT SUM Week FROM table WHERE Attendance = 55,158
Translate the following into a SQL query
What is the lowest game on February 10?
SELECT MIN Game FROM table WHERE Date = february 10
Translate the following into a SQL query
Which Player has a Round larger than 5, and a Position of (g)?
SELECT Player FROM table WHERE Round > 5 AND Position = (g)
Translate the following into a SQL query
Which Round has a Nationality of united states, and a Player of jimmy hayes?
SELECT MAX Round FROM table WHERE Nationality = united states AND Player = jimmy hayes
Translate the following into a SQL query
Which Pick has a Nationality of canada, and a Round of 5?
SELECT Pick FROM table WHERE Nationality = canada AND Round = 5
Translate the following into a SQL query
Which Club Team has a Position of (d), a Nationality of canada, and a Player of andrew macwilliam?
SELECT Club Team FROM table WHERE Position = (d) AND Nationality = canada AND Player = andrew macwilliam
Translate the following into a SQL query
How much money did jodie mudd get?
SELECT Money ( $ ) FROM table WHERE Player = jodie mudd
Translate the following into a SQL query
What score did Australia get?
SELECT Score FROM table WHERE Country = australia
Translate the following into a SQL query
What is the sort value that had deaths of 71?
SELECT Sort restore FROM table WHERE Deaths = 71
Translate the following into a SQL query
Which month had a sort value under 39 and 2 deaths?
SELECT Month FROM table WHERE Sort restore < 39 AND Deaths = 2
Translate the following into a SQL query
What is the number of sort values associated with 389 births?
SELECT COUNT Sort restore FROM table WHERE Births = 389
Translate the following into a SQL query
Who was the Manufacturer for the Rider Colin Edwards?
SELECT Manufacturer FROM table WHERE Rider = colin edwards
Translate the following into a SQL query
With a Grid less than 15, and a Time of +52.833, what is the highest number of Laps?
SELECT MAX Laps FROM table WHERE Grid < 15 AND Time = +52.833
Translate the following into a SQL query
What is the average Grid for the Rider Toni Elias with Laps more than 30?
SELECT AVG Grid FROM table WHERE Rider = toni elias AND Laps > 30
Translate the following into a SQL query
With a Time of +1:37.055, which has the lowest Grid?
SELECT MIN Grid FROM table WHERE Time = +1:37.055
Translate the following into a SQL query
Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
SELECT MAX Silver FROM table WHERE Rank = 19 AND Gold > 0
Translate the following into a SQL query
Which Bronze is the highest one that has a Rank of 26, and a Total larger than 1?
SELECT MAX Bronze FROM table WHERE Rank = 26 AND Total > 1
Translate the following into a SQL query
Which Gold has a Nation of india, and a Bronze smaller than 0?
SELECT AVG Gold FROM table WHERE Nation = india AND Bronze < 0
Translate the following into a SQL query
Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?
SELECT Nation FROM table WHERE Gold > 0 AND Bronze < 2 AND Total > 3 AND Silver > 1
Translate the following into a SQL query
What is the round number when the record is 15–7–1?
SELECT COUNT Round FROM table WHERE Record = 15–7–1
Translate the following into a SQL query
What is the method when the time is 5:00, and the record is 14–6–1?
SELECT Method FROM table WHERE Time = 5:00 AND Record = 14–6–1
Translate the following into a SQL query
What is the home team of the game with a price decision and the new jersey devils as the visitor team?
SELECT Home FROM table WHERE Decision = price AND Visitor = new jersey devils
Translate the following into a SQL query
What was the record on November 7, when the opponent score was less than 99?
SELECT Record FROM table WHERE Opponent score < 99 AND Date = november 7