instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is Chepén's average UBIGEO?
SELECT AVG UBIGEO FROM table WHERE Province = chepén
Translate the following into a SQL query
What is the region for Chepén with 3 districts?
SELECT Region FROM table WHERE Districts = 3 AND Capital = chepén
Translate the following into a SQL query
What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997?
SELECT MAX Diameter (km) FROM table WHERE Longitude = 152.5e AND Year named < 1997
Translate the following into a SQL query
What is the Year named of the Ganga Valles?
SELECT MAX Year named FROM table WHERE Name = ganga valles
Translate the following into a SQL query
What is the Latitude of the Alajen Vallis named after 1997?
SELECT Latitude FROM table WHERE Year named > 1997 AND Name = alajen vallis
Translate the following into a SQL query
What is the release date with par116 as the cat. #?
SELECT Release date FROM table WHERE Cat. # = par116
Translate the following into a SQL query
What is the title released on 24 July 2005?
SELECT Title FROM table WHERE Release date = 24 july 2005
Translate the following into a SQL query
What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"?
SELECT Record FROM table WHERE High points = thaddeus young (19) AND Team = @ orlando
Translate the following into a SQL query
What is High Rebounds, when Location Attendance is "Time Warner Cable Arena 10,848"?
SELECT High rebounds FROM table WHERE Location Attendance = time warner cable arena 10,848
Translate the following into a SQL query
Can you tell me the lowest Losses that has the Gains smaller than 0?
SELECT MIN Losses FROM table WHERE Gains < 0
Translate the following into a SQL query
what is the record when marc gasol (8) had the high rebounds?
SELECT Record FROM table WHERE High rebounds = marc gasol (8)
Translate the following into a SQL query
what is the score on march 8?
SELECT Score FROM table WHERE Date = march 8
Translate the following into a SQL query
who had the high assists on march 30?
SELECT High assists FROM table WHERE Date = march 30
Translate the following into a SQL query
Which location has a capacity greater than 51,500?
SELECT Location FROM table WHERE Capacity > 51,500
Translate the following into a SQL query
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
SELECT Rider FROM table WHERE Laps < 30 AND Manufacturer = yamaha AND Time = accident AND Grid > 3
Translate the following into a SQL query
Who was the manufacturer for the race on grid 12?
SELECT Manufacturer FROM table WHERE Grid = 12
Translate the following into a SQL query
Who was the manufacturer for the car that dani pedrosa did less than 9 laps in?
SELECT Manufacturer FROM table WHERE Laps < 9 AND Rider = dani pedrosa
Translate the following into a SQL query
How many laps did the driver with the yamaha manufacturer go on grid 3?
SELECT Laps FROM table WHERE Manufacturer = yamaha AND Grid = 3
Translate the following into a SQL query
What is the time in Baltimore?
SELECT Time FROM table WHERE City = baltimore
Translate the following into a SQL query
What date was the score 1-8?
SELECT Date FROM table WHERE Score = 1-8
Translate the following into a SQL query
What is the event where the opponent was Chris Barden?
SELECT Event FROM table WHERE Opponent = chris barden
Translate the following into a SQL query
What is the Surface of the Court in Napoli?
SELECT Surface FROM table WHERE Tournament = napoli
Translate the following into a SQL query
What is the Outcome of the game with a Score of 6–4, 6–4?
SELECT Outcome FROM table WHERE Score = 6–4, 6–4
Translate the following into a SQL query
What is the Outcome of the game against Frederic Jeanclaude?
SELECT Outcome FROM table WHERE Opponent = frederic jeanclaude
Translate the following into a SQL query
What is the Opponent in a game with a Score of 6–2, 6–2?
SELECT Opponent FROM table WHERE Score = 6–2, 6–2
Translate the following into a SQL query
What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
SELECT Surface FROM table WHERE Opponent = ivo klec AND Score = 6–3, 6–3
Translate the following into a SQL query
Who was the player with a score of 70-69=139?
SELECT Player FROM table WHERE Score = 70-69=139
Translate the following into a SQL query
What country did Bart Bryant with a score of 69-70=139 belong to?
SELECT Country FROM table WHERE Score = 69-70=139 AND Player = bart bryant
Translate the following into a SQL query
What is the country that the player with a score of 70-69=139 from?
SELECT Country FROM table WHERE Score = 70-69=139
Translate the following into a SQL query
In what place did the player with a score of 66-67=133 come in?
SELECT Place FROM table WHERE Score = 66-67=133
Translate the following into a SQL query
What country was the player from who placed t3 with a score of 70-68=138?
SELECT Country FROM table WHERE Place = t3 AND Score = 70-68=138
Translate the following into a SQL query
What was the score for the player from Scotland?
SELECT Score FROM table WHERE Country = scotland
Translate the following into a SQL query
What week had a game that was played on November 11, 1962?
SELECT AVG Week FROM table WHERE Date = november 11, 1962
Translate the following into a SQL query
Who is the author of Bludgeoning Angel Dokuro-Chan?
SELECT Author FROM table WHERE Title = bludgeoning angel dokuro-chan
Translate the following into a SQL query
What was the manner of departure for the outgoing manager, miguel brindisi?
SELECT Manner of departure FROM table WHERE Outgoing manager = miguel brindisi
Translate the following into a SQL query
Who was the outgoing manager for the team, necaxa?
SELECT Outgoing manager FROM table WHERE Team = necaxa
Translate the following into a SQL query
Who was the winner when the finalist was fsv frankfurt?
SELECT Winner FROM table WHERE Finalist = fsv frankfurt
Translate the following into a SQL query
Who was the finalist when the winner was First Vienna FC?
SELECT Finalist FROM table WHERE Winner = first vienna fc
Translate the following into a SQL query
How did the manager replaced by Wolfgang Frank depart?
SELECT Manner of departure FROM table WHERE Replaced by = wolfgang frank
Translate the following into a SQL query
Who was hired to fill the spot that became vacant on 3 March 2009?
SELECT Replaced by FROM table WHERE Date of vacancy = 3 march 2009
Translate the following into a SQL query
What is the name of the person that was appointed on 13 May 2009?
SELECT Replaced by FROM table WHERE Date of appointment = 13 may 2009
Translate the following into a SQL query
How did the manager replaced by Michael Oenning depart?
SELECT Manner of departure FROM table WHERE Replaced by = michael oenning
Translate the following into a SQL query
What is the name of the manager that was replaced by Michael Oenning?
SELECT Outgoing manager FROM table WHERE Replaced by = michael oenning
Translate the following into a SQL query
Which Home Team has a Game of game 1?
SELECT Home Team FROM table WHERE Game = game 1
Translate the following into a SQL query
Which Game has a Home Team of san francisco, and a Date of april 22?
SELECT Game FROM table WHERE Home Team = san francisco AND Date = april 22
Translate the following into a SQL query
Which Road Team has a Home Team of boston, and a Result of 124-101?
SELECT Road Team FROM table WHERE Home Team = boston AND Result = 124-101
Translate the following into a SQL query
Which Game has a Home Team of san francisco, and a Date of april 22?
SELECT Game FROM table WHERE Home Team = san francisco AND Date = april 22
Translate the following into a SQL query
Which Result has a Road Team of san francisco, and a Game of game 2?
SELECT Result FROM table WHERE Road Team = san francisco AND Game = game 2
Translate the following into a SQL query
Which Home Team has a Result of 124-101?
SELECT Home Team FROM table WHERE Result = 124-101
Translate the following into a SQL query
What is the total attendance in a week less than 5 when the result was l 24-20?
SELECT COUNT Attendance FROM table WHERE Result = l 24-20 AND Week < 5
Translate the following into a SQL query
What is the largest week with the Atlanta Falcons as the opponent?
SELECT MAX Week FROM table WHERE Opponent = atlanta falcons
Translate the following into a SQL query
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?
SELECT COUNT Attendance FROM table WHERE Week > 1 AND Opponent = philadelphia eagles
Translate the following into a SQL query
Which Score has an Opponent of washington capitals, and a Record of 24-34-17?
SELECT Score FROM table WHERE Opponent = washington capitals AND Record = 24-34-17
Translate the following into a SQL query
Which Game has an Attendance smaller than 18,277, and Points of 64?
SELECT MAX Game FROM table WHERE Attendance < 18,277 AND Points = 64
Translate the following into a SQL query
Which Joined has a Nickname of knights, and an Enrollment larger than 2,960?
SELECT SUM Joined FROM table WHERE Nickname = knights AND Enrollment > 2,960
Translate the following into a SQL query
Which Nickname has an Enrollment smaller than 501, and a Location of clarkesville?
SELECT Nickname FROM table WHERE Enrollment < 501 AND Location = clarkesville
Translate the following into a SQL query
Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284?
SELECT MAX Joined FROM table WHERE Institution = abraham baldwin agricultural college AND Enrollment < 3,284
Translate the following into a SQL query
What is Home Team, when Away Team Score is 9.11 (65)?
SELECT Home team FROM table WHERE Away team score = 9.11 (65)
Translate the following into a SQL query
What is Away Team Score, when Ground is Optus Oval, and when Away Team is Fremantle?
SELECT Away team score FROM table WHERE Ground = optus oval AND Away team = fremantle
Translate the following into a SQL query
What is Away Team, when Ground is Colonial Stadium?
SELECT Away team FROM table WHERE Ground = colonial stadium
Translate the following into a SQL query
What is the sum of Crowd, when Date is Sunday, 4 March, and when Home Team Score is 22.13 (145)?
SELECT SUM Crowd FROM table WHERE Date = sunday, 4 march AND Home team score = 22.13 (145)
Translate the following into a SQL query
A score of 71-71=142 earned what place?
SELECT Place FROM table WHERE Score = 71-71=142
Translate the following into a SQL query
What was José María Olazábal's score?
SELECT To par FROM table WHERE Player = josé maría olazábal
Translate the following into a SQL query
What team was the opponent on October 15, 1967?
SELECT Opponent FROM table WHERE Date = october 15, 1967
Translate the following into a SQL query
What was the lowest attendance when the Green Bay Packers played?
SELECT MIN Attendance FROM table WHERE Opponent = green bay packers
Translate the following into a SQL query
What was the week number when a game was played on November 19, 1967?
SELECT MIN Week FROM table WHERE Date = november 19, 1967
Translate the following into a SQL query
If a team has a grid of over 8 with less than 4 points, what's the team name?
SELECT Team FROM table WHERE Grid > 8 AND Points < 4
Translate the following into a SQL query
When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing?
SELECT Team FROM table WHERE Laps = 90 AND Points < 19 AND Driver = patrick carpentier
Translate the following into a SQL query
What was the score where the total points was 50?
SELECT Score FROM table WHERE Total Points = 50
Translate the following into a SQL query
For the match that had detail of 2001 nrl grand final, what was the lowest total points?
SELECT MIN Total Points FROM table WHERE Details = 2001 nrl grand final
Translate the following into a SQL query
Which average Game has a High points of wilson chandler (16)?
SELECT AVG Game FROM table WHERE High points = wilson chandler (16)
Translate the following into a SQL query
Which Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson chandler (8)?
SELECT Score FROM table WHERE Game > 76 AND Location Attendance = madison square garden 19,763 AND High rebounds = wilson chandler (8)
Translate the following into a SQL query
Which Team has a Record of 32–50?
SELECT Team FROM table WHERE Record = 32–50
Translate the following into a SQL query
Which Date has a Record of 29–47?
SELECT Date FROM table WHERE Record = 29–47
Translate the following into a SQL query
Which Date has a Location Attendance of madison square garden 19,763, and a High rebounds of david lee (12)?
SELECT Date FROM table WHERE Location Attendance = madison square garden 19,763 AND High rebounds = david lee (12)
Translate the following into a SQL query
Which Record has a Score of w 107–102 (ot)?
SELECT Record FROM table WHERE Score = w 107–102 (ot)
Translate the following into a SQL query
Which Team has a Location Attendance of fedexforum 11,731?
SELECT Team FROM table WHERE Location Attendance = fedexforum 11,731
Translate the following into a SQL query
Which Record has a Score of l 97–99 (ot)?
SELECT Record FROM table WHERE Score = l 97–99 (ot)
Translate the following into a SQL query
What is game 34's record?
SELECT Record FROM table WHERE Game = 34
Translate the following into a SQL query
What were the high assist on january 2?
SELECT High assists FROM table WHERE Date = january 2
Translate the following into a SQL query
Who was the director that had a film titled "Floating Life"?
SELECT Director FROM table WHERE Film title used in nomination = floating life
Translate the following into a SQL query
Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1?
SELECT COUNT Played FROM table WHERE Position > 5 AND Points = 11 AND Drawn < 1
Translate the following into a SQL query
Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7?
SELECT MAX Played FROM table WHERE Points > 11 AND Lost > 7
Translate the following into a SQL query
What was Dave Hill's score?
SELECT Score FROM table WHERE Player = dave hill
Translate the following into a SQL query
What is the to par of Al Mengert of the United States?
SELECT To par FROM table WHERE Country = united states AND Player = al mengert
Translate the following into a SQL query
What is the score of T5 place in the United States?
SELECT Score FROM table WHERE Country = united states AND Place = t5
Translate the following into a SQL query
Who was the player from the United States in T10 place with a score of 67-77=144?
SELECT Player FROM table WHERE Country = united states AND Place = t10 AND Score = 67-77=144
Translate the following into a SQL query
What was Billy Casper's to par?
SELECT To par FROM table WHERE Player = billy casper
Translate the following into a SQL query
What is the sum of Wins, when Played is less than 5?
SELECT SUM Wins FROM table WHERE Played < 5
Translate the following into a SQL query
What is the highest Wins, when Rank is greater than 2, and when Played is less than 5?
SELECT MAX Wins FROM table WHERE Rank > 2 AND Played < 5
Translate the following into a SQL query
What is the sum of Wins, when Team is Sweden, and when Played is less than 5?
SELECT SUM Wins FROM table WHERE Team = sweden AND Played < 5
Translate the following into a SQL query
What is the highest Points, when Played is greater than 5?
SELECT MAX Points FROM table WHERE Played > 5
Translate the following into a SQL query
What is the average Ties, when Played is greater than 5?
SELECT AVG Ties FROM table WHERE Played > 5
Translate the following into a SQL query
What is Date, when Runner(s)-Up is Oliver Wilson?
SELECT Date FROM table WHERE Runner(s)-up = oliver wilson
Translate the following into a SQL query
What is Date, when Margin Of Victory is 4 Strokes?
SELECT Date FROM table WHERE Margin of victory = 4 strokes
Translate the following into a SQL query
What is Runner(s)-up, when Date is 21 Jan 2007?
SELECT Runner(s)-up FROM table WHERE Date = 21 jan 2007
Translate the following into a SQL query
What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan 2009?
SELECT Tournament FROM table WHERE Margin of victory = 1 stroke AND Date = 18 jan 2009
Translate the following into a SQL query
what is the U.S. senate when the year is after 2002 and the party is working families?
SELECT U.S. Senate FROM table WHERE Year > 2002 AND Party = working families
Translate the following into a SQL query
How many times what the comptroller alan hevesi and the party working families?
SELECT COUNT Year FROM table WHERE Comptroller = alan hevesi AND Party = working families
Translate the following into a SQL query
What is the highest number of points of the game in Conseco fieldhouse 7,134?
SELECT High points FROM table WHERE Location/Attendance = conseco fieldhouse 7,134