instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
When did Final Score of 31-7 happen?
SELECT Date FROM table WHERE Final Score = 31-7
Translate the following into a SQL query
What was the score of the Blue Jays game when their record was 75-68 and the attendance was larger than 33,736?
SELECT Score FROM table WHERE Attendance > 33,736 AND Record = 75-68
Translate the following into a SQL query
Which Tournament in 2010 also has Grand Slam tournaments in 2011
SELECT 2010 FROM table WHERE 2011 = grand slam tournaments
Translate the following into a SQL query
What was the average attendance when the New York Mets were opponents with a record of 51-33?
SELECT AVG Attendance FROM table WHERE Opponent = new york mets AND Record = 51-33
Translate the following into a SQL query
What visiting team played on October 18?
SELECT Visiting Team FROM table WHERE Date = october 18
Translate the following into a SQL query
What visiting team played at 3com park on October 7?
SELECT Visiting Team FROM table WHERE Stadium = 3com park AND Date = october 7
Translate the following into a SQL query
Which host team won on a final scoreline of 13-10?
SELECT Host Team FROM table WHERE Final Score = 13-10
Translate the following into a SQL query
In what stadium did a game result in a final scoreline reading 27-34?
SELECT Stadium FROM table WHERE Final Score = 27-34
Translate the following into a SQL query
In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?
SELECT Visiting Team FROM table WHERE Host Team = jacksonville jaguars
Translate the following into a SQL query
Which visiting team wound up with a final score of 18-40?
SELECT Visiting Team FROM table WHERE Final Score = 18-40
Translate the following into a SQL query
Name the sum of attendacne for 16 weeks
SELECT SUM Attendance FROM table WHERE Week = 16
Translate the following into a SQL query
Name the result for week less than 7 and game sites of los angeles memorial coliseum
SELECT Result FROM table WHERE Week < 7 AND Game site = los angeles memorial coliseum
Translate the following into a SQL query
Name the result for week 7
SELECT Result FROM table WHERE Week = 7
Translate the following into a SQL query
How many yards lost by the player with more gained than 51 and average/g of 3.6?
SELECT COUNT Loss FROM table WHERE Avg/G = 3.6 AND Gain > 51
Translate the following into a SQL query
What are the gains for the player with average of 26.8 and lost yard fewer than 13?
SELECT SUM Gain FROM table WHERE Avg/G = 26.8 AND Loss < 13
Translate the following into a SQL query
When did Mathieu play against Flavio Cipolla?
SELECT Date FROM table WHERE Opponent in the Final = flavio cipolla
Translate the following into a SQL query
Which tournament had a final score of 6–3, 6–2?
SELECT Tournament FROM table WHERE Score in the Final = 6–3, 6–2
Translate the following into a SQL query
On which surface did Mathieu play against Antonio Veić?
SELECT Surface FROM table WHERE Opponent in the Final = antonio veić
Translate the following into a SQL query
When did Mathieu play against Antonio Veić?
SELECT Date FROM table WHERE Opponent in the Final = antonio veić
Translate the following into a SQL query
When did Mathieu play against Andrey Golubev?
SELECT Date FROM table WHERE Opponent in the Final = andrey golubev
Translate the following into a SQL query
What opened with a drop height of 272feet?
SELECT Opened FROM table WHERE Drop height* = 272feet
Translate the following into a SQL query
What was the speed of 200feet Giant Drop attraction?
SELECT Speed FROM table WHERE Model = giant drop AND Drop height* = 200feet
Translate the following into a SQL query
What park opened in 1999?
SELECT Park FROM table WHERE Opened = 1999
Translate the following into a SQL query
Name the record for detroit and decision of denis
SELECT Record FROM table WHERE Home = detroit AND Decision = denis
Translate the following into a SQL query
Name the average attendance with dallas visitor
SELECT AVG Attendance FROM table WHERE Visitor = dallas
Translate the following into a SQL query
How close to par was Tom Kite when he played?
SELECT To par FROM table WHERE Player = tom kite
Translate the following into a SQL query
Which of the countries showed a score of 71-72=143?
SELECT Country FROM table WHERE Score = 71-72=143
Translate the following into a SQL query
Which country watch Tom Watson at t9 score 72-72=144?
SELECT Country FROM table WHERE Place = t9 AND Score = 72-72=144 AND Player = tom watson
Translate the following into a SQL query
What was the final score when the player was an e to par?
SELECT Score FROM table WHERE To par = e
Translate the following into a SQL query
What is the name of the team that has 307 attempts?
SELECT Team FROM table WHERE Attempts = 307
Translate the following into a SQL query
What is the name of the team that has 1,317 attempts?
SELECT Team FROM table WHERE Attempts = 1,317
Translate the following into a SQL query
What year was 2,242 yards achieved?
SELECT Year FROM table WHERE Yards = 2,242
Translate the following into a SQL query
Which team has a 59.8% completion rate?
SELECT Team FROM table WHERE Completion % = 59.8%
Translate the following into a SQL query
Which year has has a Engine of maserati straight-6?
SELECT COUNT Year FROM table WHERE Engine = maserati straight-6
Translate the following into a SQL query
What is the Point of Chassis of Lancia d50 in 1954
SELECT Points FROM table WHERE Chassis = lancia d50 AND Year = 1954
Translate the following into a SQL query
What is on at 8:00 before the 9:00 showing of Chuck?
SELECT 8:00 FROM table WHERE 9:00 = chuck
Translate the following into a SQL query
What show comes on at 9:00 on the channel that shows the Insider at 7:00?
SELECT 9:00 FROM table WHERE 7:00 = the insider
Translate the following into a SQL query
On the channel with The Biggest loser at 8:00, what's on at 7:30?
SELECT 7:30 FROM table WHERE 8:00 = the biggest loser
Translate the following into a SQL query
What's on at 7:30 before the 9:00 showing of the Tudors?
SELECT 7:30 FROM table WHERE 9:00 = the tudors
Translate the following into a SQL query
If Gossip Girl is on at 7:30, what shows at 9:00?
SELECT 9:00 FROM table WHERE 7:30 = gossip girl
Translate the following into a SQL query
What is the match total for a score over 299 and under 412 innings?
SELECT SUM Matches FROM table WHERE High Score = 299 AND Innings < 412
Translate the following into a SQL query
What is the high run total associated with a high score of 385 and under 407 innings?
SELECT MAX Runs FROM table WHERE High Score = 385 AND Innings < 407
Translate the following into a SQL query
Which 2nd leg has a 1st leg of 1-1 and is Team 1 djoliba ac?
SELECT 2nd leg FROM table WHERE 1st leg = 1-1 AND Team 1 = djoliba ac
Translate the following into a SQL query
What Team 1 has union douala as Team 2?
SELECT Team 1 FROM table WHERE Team 2 = union douala
Translate the following into a SQL query
What was the score of the game that had a loss of Cerutti (0-1)?
SELECT Score FROM table WHERE Loss = cerutti (0-1)
Translate the following into a SQL query
Who was the opponent at the game that had a record of 93-54?
SELECT Opponent FROM table WHERE Record = 93-54
Translate the following into a SQL query
What was the score to par for 156 strokes?
SELECT COUNT To par FROM table WHERE Total > 156
Translate the following into a SQL query
How many strokes for arnold palmer with a to par of greater than 9?
SELECT AVG Total FROM table WHERE To par > 9 AND Player = arnold palmer
Translate the following into a SQL query
What was the score to par in 1960?
SELECT To par FROM table WHERE Year(s) won = 1960
Translate the following into a SQL query
What is the earliest first game for a rugby team that has 7 lost games and 0 draws?
SELECT MIN First game FROM table WHERE Lost = 7 AND Drawn < 0
Translate the following into a SQL query
How many games were played by a team that won 0.00% of their games and 0 draws?
SELECT SUM Played FROM table WHERE Percentage = 0.00% AND Drawn < 0
Translate the following into a SQL query
Name the matches for the first match being 30 march 1997
SELECT Matches FROM table WHERE 1st Match = 30 march 1997
Translate the following into a SQL query
Name the 1st match for brisbane bears
SELECT 1st Match FROM table WHERE Team = brisbane bears
Translate the following into a SQL query
Name the lost for matches of 1 928
SELECT Lost FROM table WHERE Matches = 1 928
Translate the following into a SQL query
Name the lost for % won of 55.37
SELECT Lost FROM table WHERE % Won = 55.37
Translate the following into a SQL query
Name the matches for gold coast
SELECT Matches FROM table WHERE Team = gold coast
Translate the following into a SQL query
Name the lost for % won of 55.37
SELECT Lost FROM table WHERE % Won = 55.37
Translate the following into a SQL query
What is the year when cable was 4.6%?
SELECT Year FROM table WHERE Cable = 4.6%
Translate the following into a SQL query
What is the other for 2012?
SELECT Other FROM table WHERE Year = 2012
Translate the following into a SQL query
What is the xDSL for the other of 0.6% and FTTx of 35.4%?
SELECT xDSL FROM table WHERE Other = 0.6% AND FTTx = 35.4%
Translate the following into a SQL query
What is the other for a 78.2% xDSL?
SELECT Other FROM table WHERE xDSL = 78.2%
Translate the following into a SQL query
What is the xDSL in 2010 when the other was 0.6%?
SELECT xDSL FROM table WHERE Other = 0.6% AND Year = 2010
Translate the following into a SQL query
Which date has a Result of won, and a Score of 1-0?
SELECT Date FROM table WHERE Result = won AND Score = 1-0
Translate the following into a SQL query
Which result has a Date of november 2, 2007?
SELECT Result FROM table WHERE Date = november 2, 2007
Translate the following into a SQL query
Which Competition has a Score of 2-0?
SELECT Competition FROM table WHERE Score = 2-0
Translate the following into a SQL query
Which Venue has a Date of january 9, 2011?
SELECT Venue FROM table WHERE Date = january 9, 2011
Translate the following into a SQL query
What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898?
SELECT Termination of Mission FROM table WHERE Presentation of Credentials = july 4, 1898
Translate the following into a SQL query
What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary?
SELECT Presentation of Credentials FROM table WHERE Title = ambassador extraordinary and plenipotentiary AND Representative = raúl h. castro
Translate the following into a SQL query
Who is the representative with a presentation of credentials date on February 23, 1854?
SELECT Representative FROM table WHERE Presentation of Credentials = february 23, 1854
Translate the following into a SQL query
What is the title of the representative appointed by James K. Polk?
SELECT Title FROM table WHERE Appointed by = james k. polk
Translate the following into a SQL query
What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires?
SELECT Termination of Mission FROM table WHERE Appointed by = franklin pierce AND Title = chargé d'affaires
Translate the following into a SQL query
What is the Stadium held on november 29?
SELECT Stadium FROM table WHERE Date = november 29
Translate the following into a SQL query
Who is the Visiting team on december 20?
SELECT Visiting team FROM table WHERE Date = december 20
Translate the following into a SQL query
Which Stadium has a Visiting team of pittsburgh steelers?
SELECT Stadium FROM table WHERE Visiting team = pittsburgh steelers
Translate the following into a SQL query
Who is the Host team that has a chicago bears as a visiting team?
SELECT Host team FROM table WHERE Visiting team = chicago bears
Translate the following into a SQL query
What is the Final score on november 22?
SELECT Final score FROM table WHERE Date = november 22
Translate the following into a SQL query
What is the Host team that has indianapolis colts as a Visiting team?
SELECT Host team FROM table WHERE Visiting team = indianapolis colts
Translate the following into a SQL query
Who won when np cooper av cooke was runner up?
SELECT Winners FROM table WHERE Runners-up = np cooper av cooke
Translate the following into a SQL query
What was the record of the match that had a time of 1:44?
SELECT Record FROM table WHERE Time = 1:44
Translate the following into a SQL query
Who was the opponent at GCM – D.O.G. 4?
SELECT Opponent FROM table WHERE Event = gcm – d.o.g. 4
Translate the following into a SQL query
What was the location of the match that ended before round 2, against Hikaru Sato?
SELECT Location FROM table WHERE Round < 2 AND Opponent = hikaru sato
Translate the following into a SQL query
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
SELECT Company or product name FROM table WHERE Money requested (£) = 75,000 AND Entrepreneur(s) = geoff and colette bell
Translate the following into a SQL query
Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed?
SELECT Investing Dragon(s) FROM table WHERE Episode = episode 9 AND Entrepreneur(s) = ashley sayed
Translate the following into a SQL query
What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part?
SELECT Episode FROM table WHERE Entrepreneur(s) = luke booth and christopher eves
Translate the following into a SQL query
Which Company or Product name requested £70,000 on Episode 11?
SELECT Company or product name FROM table WHERE Episode = episode 11 AND Money requested (£) = 70,000
Translate the following into a SQL query
What is the year in which Yong Yudianto won the men's singles?
SELECT MIN Year FROM table WHERE Men's singles = yong yudianto
Translate the following into a SQL query
Who won the men's singles in 1999?
SELECT Men's singles FROM table WHERE Year = 1999
Translate the following into a SQL query
What is stephen arigbabu's height?
SELECT MIN Height FROM table WHERE Player = stephen arigbabu
Translate the following into a SQL query
For all games with los angeles as visitor, what is the highest attendance of all?
SELECT MAX Attendance FROM table WHERE Visitor = los angeles
Translate the following into a SQL query
For all games with calgary as home, what is the average number of attendees?
SELECT AVG Attendance FROM table WHERE Home = calgary
Translate the following into a SQL query
Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2?
SELECT No.5 FROM table WHERE No.1 = lena claudisabel AND No.2 = lena sylvie
Translate the following into a SQL query
Who is no.3 when Claudio Sylvie is no.1?
SELECT No.3 FROM table WHERE No.1 = claudio sylvie
Translate the following into a SQL query
What was the score of the game when the record was 18-20?
SELECT Score FROM table WHERE Record = 18-20
Translate the following into a SQL query
What Men's double held together with Women's singles of camilla martin?
SELECT Men's doubles FROM table WHERE Women's singles = camilla martin
Translate the following into a SQL query
Who played in the Mixed Doubles when Zhu Lin played in the Women's Singles?
SELECT Mixed doubles FROM table WHERE Women's singles = zhu lin
Translate the following into a SQL query
Who was on the Men's Doubles Team in 2002?
SELECT Men's doubles FROM table WHERE Year = 2002
Translate the following into a SQL query
Which year did Aya Ohori play in the Women's Singles?
SELECT Year FROM table WHERE Women's singles = aya ohori
Translate the following into a SQL query
Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final?
SELECT Partner FROM table WHERE Opponents in the final = flavio cipolla simone vagnozzi
Translate the following into a SQL query
Who were the Opponents in the final that played on a carpet (i) Surface?
SELECT Opponents in the final FROM table WHERE Surface = carpet (i)
Translate the following into a SQL query
Played on Clay Surface, what was the Score of the Dortmund Tournament?
SELECT Score in the final FROM table WHERE Surface = clay AND Tournament = dortmund