instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the winning score in 1980?
SELECT Winning score FROM table WHERE Year = 1980
Translate the following into a SQL query
What was the winning score in 1985 for Championship of u.s. women's open?
SELECT Winning score FROM table WHERE Year < 1985 AND Championship = u.s. women's open
Translate the following into a SQL query
When was the runner-up Jane Geddes?
SELECT Year FROM table WHERE Runner-up = jane geddes
Translate the following into a SQL query
Which championship after 1985 had a winning score of –8 (68-72-69-71=280)?
SELECT Championship FROM table WHERE Year > 1985 AND Winning score = –8 (68-72-69-71=280)
Translate the following into a SQL query
What was the method of resolution for the fight against jake brown?
SELECT Method FROM table WHERE Opponent = jake brown
Translate the following into a SQL query
On what team did John Bowe round winner at Winton Motor Raceway belong to?
SELECT Team FROM table WHERE Round winner = john bowe AND Circuit = winton motor raceway
Translate the following into a SQL query
What was the team features at Oran Park Raceway?
SELECT Team FROM table WHERE Circuit = oran park raceway
Translate the following into a SQL query
Where is the Eastern Creek Raceway located?
SELECT Location / State FROM table WHERE Circuit = eastern creek raceway
Translate the following into a SQL query
Which state was Dai from?
SELECT State FROM table WHERE Name = dai
Translate the following into a SQL query
What was Mu's title?
SELECT Title FROM table WHERE Name = mu
Translate the following into a SQL query
When was Xiong Xun a vassal?
SELECT From FROM table WHERE Name = xiong xun
Translate the following into a SQL query
what is the highest attendance for week 3?
SELECT MAX Attendance FROM table WHERE Week = 3
Translate the following into a SQL query
what is the result for the week higher than 7 on november 4, 1979?
SELECT Result FROM table WHERE Week > 7 AND Date = november 4, 1979
Translate the following into a SQL query
what is the lowest week when the date is september 16, 1979 and the attendance less than 54,212?
SELECT MIN Week FROM table WHERE Date = september 16, 1979 AND Attendance < 54,212
Translate the following into a SQL query
Which competition has stuart potts as the man of the match?
SELECT Competition FROM table WHERE Man of the Match = stuart potts
Translate the following into a SQL query
Which venue had a lost 5-4 result?
SELECT Venue FROM table WHERE Result = lost 5-4
Translate the following into a SQL query
What is the venue of the match with the wightlink raiders as the opponent?
SELECT Venue FROM table WHERE Opponent = wightlink raiders
Translate the following into a SQL query
What is the result of the league/cup competition with the swindon wildcats as the opponent and neil liddiard as the man of the match?
SELECT Result FROM table WHERE Competition = league/cup AND Opponent = swindon wildcats AND Man of the Match = neil liddiard
Translate the following into a SQL query
What is the attendance of the match on the 2nd with the slough jets as the opponent?
SELECT Attendance FROM table WHERE Opponent = slough jets AND Date = 2nd
Translate the following into a SQL query
What was the score when the total was 75–53?
SELECT Score FROM table WHERE Total = 75–53
Translate the following into a SQL query
What was the total when the set 3 was 25–14?
SELECT Total FROM table WHERE Set 3 = 25–14
Translate the following into a SQL query
What date was the set 1 25–23, and a Set 3 of 25–14?
SELECT Date FROM table WHERE Set 1 = 25–23 AND Set 3 = 25–14
Translate the following into a SQL query
What date was the Set 3 of 12–25?
SELECT Date FROM table WHERE Set 3 = 12–25
Translate the following into a SQL query
What is the Set 3 when the total was 53–75?
SELECT Set 3 FROM table WHERE Total = 53–75
Translate the following into a SQL query
What is the average win with a top 5 greater than 2 and a top 10 less than 5?
SELECT AVG Wins FROM table WHERE Top 5 > 2 AND Top 10 < 5
Translate the following into a SQL query
How many poles have 4 Starts of 4 and position of 46th?
SELECT COUNT Poles FROM table WHERE Starts = 4 AND Position = 46th
Translate the following into a SQL query
Sum of m. night shyamalan ranks?
SELECT SUM Rank FROM table WHERE Director(s) = m. night shyamalan
Translate the following into a SQL query
Director for Star Wars Episode II: attack of the clones?
SELECT Director(s) FROM table WHERE Title = star wars episode ii: attack of the clones
Translate the following into a SQL query
What was the tie no when Oxford city was the away team?
SELECT Tie no FROM table WHERE Away team = oxford city
Translate the following into a SQL query
What was the tie no when Wrexham was the away team?
SELECT Tie no FROM table WHERE Away team = wrexham
Translate the following into a SQL query
What was the score when Spennymoor United as the away team?
SELECT Score FROM table WHERE Away team = spennymoor united
Translate the following into a SQL query
What date was Grimsby Town the away team?
SELECT Date FROM table WHERE Away team = grimsby town
Translate the following into a SQL query
Who was eliminated on Banana Night?
SELECT Name FROM table WHERE Eliminated = banana night
Translate the following into a SQL query
Who was the special guest when the category was vocal groups and the name was Romantic?
SELECT Special Guest FROM table WHERE Category = vocal groups AND Name = romantic
Translate the following into a SQL query
On what date was elimination on final night?
SELECT Date FROM table WHERE Eliminated = final night
Translate the following into a SQL query
What is the total number of games for the opponent in Washington?
SELECT COUNT Game FROM table WHERE Opponent = washington
Translate the following into a SQL query
How many stories have a height less than 138 meters with a completion date in 1971?
SELECT Stories FROM table WHERE Height (m) < 138 AND Year of completion = 1971
Translate the following into a SQL query
What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters?
SELECT MAX Stories FROM table WHERE Location = recife AND Year of completion > 2007 AND Height (m) < 135
Translate the following into a SQL query
Which Sanskrit has an English of mindfulness of breathing?
SELECT Sanskrit FROM table WHERE English = mindfulness of breathing
Translate the following into a SQL query
Which Sanskrit has a Chinese of —, and an English of cultivation of settling?
SELECT Sanskrit FROM table WHERE Chinese = — AND English = cultivation of settling
Translate the following into a SQL query
Which Pali has an English of mindfulness of breathing?
SELECT Pali FROM table WHERE English = mindfulness of breathing
Translate the following into a SQL query
Which Pali has an English of meditative concentration?
SELECT Pali FROM table WHERE English = meditative concentration
Translate the following into a SQL query
Which Chinese has a Pali of atappa?
SELECT Chinese FROM table WHERE Pali = atappa
Translate the following into a SQL query
Which English has a Sanskrit of samādhi?
SELECT English FROM table WHERE Sanskrit = samādhi
Translate the following into a SQL query
Who is the player in guard position from Stephen F. Austin in a round less than 8?
SELECT Player FROM table WHERE Round < 8 AND Position = guard AND School/Club Team = stephen f. austin
Translate the following into a SQL query
Which position has a pick less than 41 from Ohio State?
SELECT Position FROM table WHERE Pick < 41 AND School/Club Team = ohio state
Translate the following into a SQL query
What shows for 2006 when 2002 is Grand Slam Tournaments?
SELECT 2006 FROM table WHERE 2002 = grand slam tournaments
Translate the following into a SQL query
What shows for 2002 when 2006 is Grand Slam Tournaments?
SELECT 2002 FROM table WHERE 2006 = grand slam tournaments
Translate the following into a SQL query
What shows for 2005 when 2002 shows 0–1?
SELECT 2005 FROM table WHERE 2002 = 0–1
Translate the following into a SQL query
What shows for 2006 when 2002 is 0–1?
SELECT 2006 FROM table WHERE 2002 = 0–1
Translate the following into a SQL query
What shows for 2002 when the 2004 is A, and the 2005 is 1r?
SELECT 2002 FROM table WHERE 2004 = a AND 2005 = 1r
Translate the following into a SQL query
What shows for 2004 when 2005 is A, 2006 is A, tournament is US Open?
SELECT 2004 FROM table WHERE 2005 = a AND 2006 = a AND Tournament = us open
Translate the following into a SQL query
Who was the opponent on December 2, 1962?
SELECT Opponent FROM table WHERE Date = december 2, 1962
Translate the following into a SQL query
What is the Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2 smaller than 8.35?
SELECT MAX Population FROM table WHERE Status = town AND Census Ranking = 1,379 of 5,008 AND Area km 2 < 8.35
Translate the following into a SQL query
What is the Official Name of the Community with an Area km 2 of 16.13?
SELECT Official Name FROM table WHERE Area km 2 = 16.13
Translate the following into a SQL query
What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"?
SELECT Country FROM table WHERE To par = –2 AND Player = tsuneyuki nakajima
Translate the following into a SQL query
What is Country, when Score is "72-65=137"?
SELECT Country FROM table WHERE Score = 72-65=137
Translate the following into a SQL query
What is Country, when Place is "T3", and when Player is "Jim Thorpe"?
SELECT Country FROM table WHERE Place = t3 AND Player = jim thorpe
Translate the following into a SQL query
Who was the team for game 34?
SELECT Team FROM table WHERE Game = 34
Translate the following into a SQL query
How many goals for had a drawn more than 12 for the Goole Town team, as well as more than 60 goals against?
SELECT SUM Goals For FROM table WHERE Drawn > 12 AND Team = goole town AND Goals Against > 60
Translate the following into a SQL query
What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played?
SELECT AVG Goals For FROM table WHERE Drawn > 7 AND Goals Against < 86 AND Lost > 11 AND Played > 42
Translate the following into a SQL query
What is the highest lost with a drawn more than 11, a position lower than 17 and more than 61 goals?
SELECT MAX Lost FROM table WHERE Drawn > 11 AND Position < 17 AND Goals For > 61
Translate the following into a SQL query
Who held the title of Ruler?
SELECT Name FROM table WHERE Title = ruler
Translate the following into a SQL query
What type of state did the ruler have a title?
SELECT Type FROM table WHERE Title = ruler
Translate the following into a SQL query
In what state did Jing have the title of Marquis?
SELECT State FROM table WHERE Title = marquis AND Name = jing
Translate the following into a SQL query
What was Gongbo's title?
SELECT Title FROM table WHERE Name = gongbo
Translate the following into a SQL query
What is the name of Yi's state?
SELECT State FROM table WHERE Name = yi
Translate the following into a SQL query
What is the Devices per channel where the Name is sata revision 3.0?
SELECT Devices per channel FROM table WHERE Name = sata revision 3.0
Translate the following into a SQL query
What is the Raw bandwidth (Mbit/s) for the SAS 300?
SELECT Raw bandwidth (Mbit/s) FROM table WHERE Name = sas 300
Translate the following into a SQL query
Which Ground has a Home team score of 18.12 (120)?
SELECT Ground FROM table WHERE Home team score = 18.12 (120)
Translate the following into a SQL query
Name the Away team score which has an Away team of st kilda, and a Crowd of 8157?
SELECT Away team score FROM table WHERE Away team = st kilda AND Crowd = 8157
Translate the following into a SQL query
Name the Away team which have a Ground of colonial stadium on friday, 2 march?
SELECT Away team FROM table WHERE Ground = colonial stadium AND Date = friday, 2 march
Translate the following into a SQL query
Which team has 71 Points and F/Laps of 4?
SELECT Team FROM table WHERE Points = 71 AND F/Laps = 4
Translate the following into a SQL query
What Poles do Team jva have?
SELECT Poles FROM table WHERE Team = team jva
Translate the following into a SQL query
If the Season is later than 2008 and Races is 11, what ate the Points?
SELECT Points FROM table WHERE Races = 11 AND Season > 2008
Translate the following into a SQL query
What Position is Team Sahara Force india f1 team with 46 Points?
SELECT Position FROM table WHERE Team = sahara force india f1 team AND Points = 46
Translate the following into a SQL query
Which Poles have a position of 4th?
SELECT Poles FROM table WHERE Position = 4th
Translate the following into a SQL query
Which F/Laps have 27 Points?
SELECT F/Laps FROM table WHERE Points = 27
Translate the following into a SQL query
What country has the SBA Towers Tower Hayneville?
SELECT Country FROM table WHERE Name = sba towers tower hayneville
Translate the following into a SQL query
What type of structure is there at the American Tower Christmas?
SELECT Structure type FROM table WHERE Name = american tower christmas
Translate the following into a SQL query
What's the name of the structure at Egypt, Arkansas?
SELECT Name FROM table WHERE Town = egypt, arkansas
Translate the following into a SQL query
What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?
SELECT Country FROM table WHERE Date = 1991 AND Birth Date = 1976-07-23
Translate the following into a SQL query
Name the Points which has a Team of sportivo luqueño, and Wins larger than 1?
SELECT MIN Points FROM table WHERE Team = sportivo luqueño AND Wins > 1
Translate the following into a SQL query
Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?
SELECT MIN Wins FROM table WHERE Points < 10 AND Losses < 3 AND Scored = 11
Translate the following into a SQL query
Please name the highest Conceded which has a Played smaller than 5?
SELECT MAX Conceded FROM table WHERE Played < 5
Translate the following into a SQL query
Please name the Losses that has a Played smaller than 5?
SELECT MAX Losses FROM table WHERE Played < 5
Translate the following into a SQL query
Name the Scored which has a Position larger than 6?
SELECT COUNT Scored FROM table WHERE Position > 6
Translate the following into a SQL query
What is the earliest week with an opponent of cincinnati bengals?
SELECT MIN Week FROM table WHERE Opponent = cincinnati bengals
Translate the following into a SQL query
What is the sum for the week with the date october 30, 1994?
SELECT SUM Week FROM table WHERE Date = october 30, 1994
Translate the following into a SQL query
What is the date for a week before 9, and a opponent of dallas cowboys?
SELECT Date FROM table WHERE Week < 9 AND Opponent = dallas cowboys
Translate the following into a SQL query
What is the biggest week with an opponent of washington redskins?
SELECT MAX Week FROM table WHERE Opponent = washington redskins
Translate the following into a SQL query
What was the attendance for a week larger than 3, and an opponent of philadelphia eagles?
SELECT Attendance FROM table WHERE Week > 3 AND Opponent = philadelphia eagles
Translate the following into a SQL query
What is the result of the match with Jeff Monson as opponent?
SELECT Res. FROM table WHERE Opponent = jeff monson
Translate the following into a SQL query
How many rounds was the match against Jason Fairn?
SELECT Round FROM table WHERE Opponent = jason fairn
Translate the following into a SQL query
What is the method of the match where there was a loss to Carlos Newton in round 1?
SELECT Method FROM table WHERE Round = 1 AND Res. = loss AND Opponent = carlos newton
Translate the following into a SQL query
Who had the most points in games over 59?
SELECT High points FROM table WHERE Game > 59
Translate the following into a SQL query
What was the score for the game against San Antonio?
SELECT Score FROM table WHERE Team = san antonio
Translate the following into a SQL query
Who had the most assists in the game against Indiana?
SELECT High assists FROM table WHERE Team = indiana
Translate the following into a SQL query
What is the UK Railway with an ObjectNumber of 1975-7023?
SELECT Railway FROM table WHERE ObjectNumber = 1975-7023
Translate the following into a SQL query
Who was the manager that was positioned 11th in table and resigned in departure?
SELECT Replaced by FROM table WHERE Position in table = 11th AND Manner of departure = resigned