instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which permanent account has registration of invite-only and userpics free of unknown?
SELECT Permanent Account FROM table WHERE Userpics Free = unknown AND Registration = invite-only
Translate the following into a SQL query
What is the year began for the site with free userpics cost of $1 and a userpics paid value of N/A?
SELECT Year Began FROM table WHERE Userpics Paid = n/a AND Userpics Free = 1
Translate the following into a SQL query
Which Week has a Tournament of monte carlo?
SELECT Week FROM table WHERE Tournament = monte carlo
Translate the following into a SQL query
Which Winner and score has a Finalist of aaron krickstein?
SELECT Winner and score FROM table WHERE Finalist = aaron krickstein
Translate the following into a SQL query
Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6–3, 3–6, 6–3?
SELECT Semifinalists FROM table WHERE Surface = hard AND Winner and score = pete sampras 6–3, 3–6, 6–3
Translate the following into a SQL query
Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3?
SELECT Finalist FROM table WHERE Winner and score = boris becker 7–6(3), 6–3, 3–6, 6–3
Translate the following into a SQL query
Which Semifinalists have a Finalist of andrei chesnokov?
SELECT Semifinalists FROM table WHERE Finalist = andrei chesnokov
Translate the following into a SQL query
Which Surface has Semifinalists of wally masur malivai washington?
SELECT Surface FROM table WHERE Semifinalists = wally masur malivai washington
Translate the following into a SQL query
What place had a score of 73-69-68=210?
SELECT Place FROM table WHERE Score = 73-69-68=210
Translate the following into a SQL query
What country is Gary Player from in T9 place?
SELECT Country FROM table WHERE Place = t9 AND Player = gary player
Translate the following into a SQL query
What's the score of New Zealand?
SELECT Score FROM table WHERE Country = new zealand
Translate the following into a SQL query
What player has a score of 67-70-77=214?
SELECT Player FROM table WHERE Score = 67-70-77=214
Translate the following into a SQL query
What country has a finish of 59?
SELECT Country FROM table WHERE Finish = 59
Translate the following into a SQL query
What is the To Par when the finish was t16 and the player was Julius Boros?
SELECT To par FROM table WHERE Finish = t16 AND Player = julius boros
Translate the following into a SQL query
What was the finish for Billy Casper?
SELECT Finish FROM table WHERE Player = billy casper
Translate the following into a SQL query
Who is the competitor with a downhill of more than 55, and 1st DQ run?
SELECT Competitor FROM table WHERE Downhill > 55 AND 1st run = dq
Translate the following into a SQL query
What is the 1st run that is down hill less than 46, and 84.45 points?
SELECT 1st run FROM table WHERE Downhill < 46 AND Points = 84.45
Translate the following into a SQL query
What ground has 0.14.1.6 (93) as the home team score?
SELECT Ground FROM table WHERE Home team score = 0.14.1.6 (93)
Translate the following into a SQL query
What away team score has hawthorn as the home team?
SELECT Away team score FROM table WHERE Home team = hawthorn
Translate the following into a SQL query
What is the make of the vehicle for driver Hisashi Wada?
SELECT Make FROM table WHERE Drivers = hisashi wada
Translate the following into a SQL query
In what rounds was the featured team of Avanzza Rosso?
SELECT Rounds FROM table WHERE Team = avanzza rosso
Translate the following into a SQL query
In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y?
SELECT Rounds FROM table WHERE Tyre = y AND Drivers = tomonobu fujii
Translate the following into a SQL query
Who is the driver with a tyre of k for Avanzza Rosso?
SELECT Drivers FROM table WHERE Tyre = k AND Team = avanzza rosso
Translate the following into a SQL query
What is the tyre for Yoshihisa Namekata?
SELECT Tyre FROM table WHERE Drivers = yoshihisa namekata
Translate the following into a SQL query
If the pick is under 28 and the position is k, what's the highest Overall pick?
SELECT MAX Overall FROM table WHERE Position = k AND Pick < 28
Translate the following into a SQL query
During round 8 when the Position being picked was rb, what was the highest overall pick?
SELECT MAX Overall FROM table WHERE Position = rb AND Round = 8
Translate the following into a SQL query
Which county had a Bush number of votes of 566?
SELECT County FROM table WHERE Bush# = 566
Translate the following into a SQL query
who is the opponent when the year is after 1996 and the outcome is winner?
SELECT Opponent FROM table WHERE Year > 1996 AND Outcome = winner
Translate the following into a SQL query
what is the surface when the championship is rome and the opponent is sergi bruguera?
SELECT Surface FROM table WHERE Championship = rome AND Opponent = sergi bruguera
Translate the following into a SQL query
what is the score when the surface is hard and outcome is runner-up?
SELECT Score FROM table WHERE Surface = hard AND Outcome = runner-up
Translate the following into a SQL query
What was the number of the game played on February 24?
SELECT SUM Game FROM table WHERE Date = february 24
Translate the following into a SQL query
Where was the game played when the opponent was Oklahoma City, and what was the attendance?
SELECT Location Attendance FROM table WHERE Team = oklahoma city
Translate the following into a SQL query
What was the record when they played game 58?
SELECT Record FROM table WHERE Game = 58
Translate the following into a SQL query
What is Score In The Final, when Date is "22 October 1990"?
SELECT Score in the final FROM table WHERE Date = 22 october 1990
Translate the following into a SQL query
What is Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"?
SELECT Outcome FROM table WHERE Surface = carpet (i) AND Date = 15 november 1993
Translate the following into a SQL query
What is Tournament, when Opponent In The Final is "Andre Agassi"?
SELECT Tournament FROM table WHERE Opponent in the final = andre agassi
Translate the following into a SQL query
What is Score In The Final, when Date is "30 August 1993"?
SELECT Score in the final FROM table WHERE Date = 30 august 1993
Translate the following into a SQL query
What is Date, when Outcome is "Winner", and when Surface is "Grass"?
SELECT Date FROM table WHERE Outcome = winner AND Surface = grass
Translate the following into a SQL query
What is Opponent In The Final, when Outcome is "Winner", when Surface is "Carpet (I)", and when Tournament is "Lyon, France"?
SELECT Opponent in the final FROM table WHERE Outcome = winner AND Surface = carpet (i) AND Tournament = lyon, france
Translate the following into a SQL query
What are the total goals against the winner with less than 5 wins, and less than 5 plays?
SELECT COUNT Goals Against FROM table WHERE Wins < 5 AND Played < 5
Translate the following into a SQL query
What is the average losses for 22 goals?
SELECT AVG Losses FROM table WHERE Goals For > 22
Translate the following into a SQL query
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
SELECT SUM Wins FROM table WHERE Ties < 2 AND Goals Against = 18 AND Losses < 2
Translate the following into a SQL query
What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3?
SELECT Overall Record FROM table WHERE Last 10 Meetings = ou, 7-3 AND at Norman = ou, 18-3
Translate the following into a SQL query
What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is osu, 7-6?
SELECT Oklahoma vs. FROM table WHERE Current Streak = l 1 AND at Neutral Site = osu, 7-6
Translate the following into a SQL query
What is the Overall Record when Since Beginning of Big 12 is ou, 27-3?
SELECT Overall Record FROM table WHERE Since Beginning of Big 12 = ou, 27-3
Translate the following into a SQL query
What is the Last 10 Meetings when Norman is ou, 18-6?
SELECT Last 10 Meetings FROM table WHERE at Norman = ou, 18-6
Translate the following into a SQL query
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?
SELECT Since Beginning of Big 12 FROM table WHERE Last 10 Meetings = ou, 7-3 AND at Neutral Site = ou, 2-1 AND Last 5 Meetings = bu, 3-2
Translate the following into a SQL query
what is the current streak when the last 5 meetings is osu, 4-1?
SELECT Current Streak FROM table WHERE Last 5 Meetings = osu, 4-1
Translate the following into a SQL query
What is the record for a game lower than 79?
SELECT Record FROM table WHERE Game < 79
Translate the following into a SQL query
Who was the partner when the final score was 7–6, 3–6, 6–7?
SELECT Partner FROM table WHERE Score in the final = 7–6, 3–6, 6–7
Translate the following into a SQL query
Who was the partner for the match with a score in the final of 4–6, 6–7?
SELECT Partner FROM table WHERE Score in the final = 4–6, 6–7
Translate the following into a SQL query
What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?
SELECT Tournament FROM table WHERE Date > 1986 AND Score in the final = 7–6, 3–6, 6–2
Translate the following into a SQL query
Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24?
SELECT MIN Year FROM table WHERE Athlete = markus thalmann AND Time = 23:28:24
Translate the following into a SQL query
Which Year is the lowest one that has a Time of 24:55:58, and a Place larger than 3?
SELECT MIN Year FROM table WHERE Time = 24:55:58 AND Place > 3
Translate the following into a SQL query
Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00?
SELECT Athlete FROM table WHERE Place = 1 AND Year < 1988 AND Country = gre AND Time = 21:57:00
Translate the following into a SQL query
Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
SELECT Time FROM table WHERE Year > 1985 AND Place < 2 AND Athlete = riochy sekiya
Translate the following into a SQL query
What was Anand's score in game 8?
SELECT Anand FROM table WHERE Game = 8
Translate the following into a SQL query
What is the day and date of game 2?
SELECT Day, Date FROM table WHERE Game = 2
Translate the following into a SQL query
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?
SELECT High assists FROM table WHERE Date = november 24
Translate the following into a SQL query
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4?
SELECT Location Attendance FROM table WHERE Game = 4
Translate the following into a SQL query
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
SELECT Record FROM table WHERE Date = november 14
Translate the following into a SQL query
What tournament is on 18 May 1992?
SELECT Tournament FROM table WHERE Date = 18 may 1992
Translate the following into a SQL query
What is the score of the tournament with a carpet surface and tim henman as the partnering?
SELECT Score FROM table WHERE Surface = carpet AND Partnering = tim henman
Translate the following into a SQL query
On what surface did Katarina Srebotnik play Paola SuΓ‘rez?
SELECT Surface FROM table WHERE Opponent in Final = paola suΓ‘rez
Translate the following into a SQL query
At what tournament was the Score 5–7, 7–5, 6–4?
SELECT Tournament FROM table WHERE Score in Final = 5–7, 7–5, 6–4
Translate the following into a SQL query
What was the Final Score on February 24, 2002?
SELECT Score in Final FROM table WHERE Date = february 24, 2002
Translate the following into a SQL query
What was the smallest crowd when the away team scored 12.16 (88)?
SELECT MIN Crowd FROM table WHERE Away team score = 12.16 (88)
Translate the following into a SQL query
What was the average crowd size for a home team score of 11.11 (77)?
SELECT AVG Crowd FROM table WHERE Home team score = 11.11 (77)
Translate the following into a SQL query
What is the 1st leg when the 2nd leg was 67-83?
SELECT 1st leg FROM table WHERE 2nd leg = 67-83
Translate the following into a SQL query
Which Team #1 had a 1st leg of 78-78?
SELECT Team #1 FROM table WHERE 1st leg = 78-78
Translate the following into a SQL query
Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
SELECT Team #1 FROM table WHERE Team #2 = galatasaray cc i̇stanbul
Translate the following into a SQL query
What are the Podiums that has a Poles of 3?
SELECT Podiums FROM table WHERE Poles = 3
Translate the following into a SQL query
What is the Team that has a Races of 4, and a Points of 0?
SELECT Team FROM table WHERE Races = 4 AND Points = 0
Translate the following into a SQL query
What to par is located in the united states and has a player by the name of hal sutton?
SELECT To par FROM table WHERE Country = united states AND Player = hal sutton
Translate the following into a SQL query
What player is in the place of t1 and has the score of 67-70=137?
SELECT Player FROM table WHERE Place = t1 AND Score = 67-70=137
Translate the following into a SQL query
What place has the score of 67-74=141?
SELECT Place FROM table WHERE Score = 67-74=141
Translate the following into a SQL query
What player has the score of 67-72=139?
SELECT Player FROM table WHERE Score = 67-72=139
Translate the following into a SQL query
What was Gassaway's record at the fight in mississippi, united states against anthony macias?
SELECT Record FROM table WHERE Location = mississippi, united states AND Opponent = anthony macias
Translate the following into a SQL query
What was the location the fight was held at that lasted 5 rounds?
SELECT Location FROM table WHERE Round = 5
Translate the following into a SQL query
What was the location of the fight when Gassaway fought kevin knabjian?
SELECT Location FROM table WHERE Opponent = kevin knabjian
Translate the following into a SQL query
What place did Fred Couples finish in?
SELECT Place FROM table WHERE Player = fred couples
Translate the following into a SQL query
What is the rank of the company who has a revenue of $428.2 billion?
SELECT COUNT Rank FROM table WHERE Revenue in USD = $428.2 billion
Translate the following into a SQL query
What is the rank of the petroleum company who has a revenue of $481.7 billion?
SELECT MIN Rank FROM table WHERE Industry = petroleum AND Revenue in USD = $481.7 billion
Translate the following into a SQL query
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
SELECT Tournament FROM table WHERE 2005 = n/a AND 2002 = 0 / 1
Translate the following into a SQL query
What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"?
SELECT Career Win-Loss FROM table WHERE 2002 = a AND 2001 = 4r
Translate the following into a SQL query
What is Tournament, when 2001 is "1R"?
SELECT Tournament FROM table WHERE 2001 = 1r
Translate the following into a SQL query
What was the score in the 1st leg when 2nd leg was 1–4?
SELECT 1st leg FROM table WHERE 2nd leg = 1–4
Translate the following into a SQL query
Who is in the south-west next to Vishnu on the east, Durga on the west, and in the center of Ganapati?
SELECT South West FROM table WHERE North East = vishnu AND North West = durga AND Center = ganapati
Translate the following into a SQL query
What was the final score of game 26?
SELECT Score FROM table WHERE Game = 26
Translate the following into a SQL query
What game was played on December 8?
SELECT AVG Game FROM table WHERE Date = december 8
Translate the following into a SQL query
What was the highest score for a California home game with over 10,870 in attendance?
SELECT MAX Points FROM table WHERE Attendance > 10,870 AND Home = california
Translate the following into a SQL query
What is the sum of the areas for populations of 542?
SELECT SUM Area km 2 FROM table WHERE Population = 542
Translate the following into a SQL query
What is the highest area for locations named Centreville having populations over 532?
SELECT MAX Area km 2 FROM table WHERE Population > 532 AND Official Name = centreville
Translate the following into a SQL query
what is the competition when the result is 1-1 and venue is gwangju?
SELECT Competition FROM table WHERE Result = 1-1 AND Venue = gwangju
Translate the following into a SQL query
what is the date when the competition is 1998 asian games?
SELECT Date FROM table WHERE Competition = 1998 asian games
Translate the following into a SQL query
what is the venue when the score is 1 goal and the date is october 11, 1997?
SELECT Venue FROM table WHERE Score = 1 goal AND Date = october 11, 1997
Translate the following into a SQL query
what is the competition when the result is 2-1?
SELECT Competition FROM table WHERE Result = 2-1
Translate the following into a SQL query
what is the result when the date is august 24, 1997?
SELECT Result FROM table WHERE Date = august 24, 1997
Translate the following into a SQL query
what is the venue when the date is december 7, 1998?
SELECT Venue FROM table WHERE Date = december 7, 1998
Translate the following into a SQL query
Who is the driver with a time/retired of +5.2684?
SELECT Driver FROM table WHERE Time/Retired = +5.2684