instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
When was the match with a result of sa by 10 wkts?
SELECT Date FROM table WHERE Result = sa by 10 wkts
Translate the following into a SQL query
When was the match with a result of sa by 10 wkts?
SELECT Date FROM table WHERE Result = sa by 10 wkts
Translate the following into a SQL query
When was there a match in Centurion Park?
SELECT Date FROM table WHERE Venue = centurion park
Translate the following into a SQL query
Name the finish which has qual of 144.817
SELECT Finish FROM table WHERE Qual = 144.817
Translate the following into a SQL query
Name the qual for rank of 9
SELECT Qual FROM table WHERE Rank = 9
Translate the following into a SQL query
Name the qual for 1957
SELECT Qual FROM table WHERE Year = 1957
Translate the following into a SQL query
What shows as the status for the name of de la red?
SELECT Status FROM table WHERE Name = de la red
Translate the following into a SQL query
What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález?
SELECT Country FROM table WHERE Transfer fee = — AND Transfer window = summer AND Status = loaned out AND Name = gonzález
Translate the following into a SQL query
What shows as the status for Diogo?
SELECT Status FROM table WHERE Name = diogo
Translate the following into a SQL query
What is the name when the country is ESP and the transfer fee is € 7m?
SELECT Name FROM table WHERE Country = esp AND Transfer fee = € 7m
Translate the following into a SQL query
What is the transfer window for the country of ESP and the name of de la red?
SELECT Transfer window FROM table WHERE Country = esp AND Name = de la red
Translate the following into a SQL query
What is the transfer fee of Diogo?
SELECT Transfer fee FROM table WHERE Name = diogo
Translate the following into a SQL query
What was the record at the game that had an attendance over 27,623 and a score of 0–7?
SELECT Record FROM table WHERE Att. > 27,623 AND Score = 0–7
Translate the following into a SQL query
What was the lowest attendance at a game that had a loss of lohse (12–11)?
SELECT MIN Att. FROM table WHERE Loss = lohse (12–11)
Translate the following into a SQL query
What was time of the game against the Royals with a record of 81–73?
SELECT Time FROM table WHERE Opponent = royals AND Record = 81–73
Translate the following into a SQL query
What is the average year of Maja Pohar's Women's singles matches?
SELECT AVG Year FROM table WHERE Women's singles = maja pohar
Translate the following into a SQL query
Which round has a Kick Off of 1992-10-01 21:15?
SELECT Round FROM table WHERE Kick Off = 1992-10-01 21:15
Translate the following into a SQL query
Which round has a Kick Off of 1993-02-17 20:30?
SELECT Round FROM table WHERE Kick Off = 1993-02-17 20:30
Translate the following into a SQL query
What is the sum of Mpix with a maximum fps HDRX of less than 12 with a width larger than 5120?
SELECT SUM Mpix FROM table WHERE Maximum fps HDRx < 12 AND Width > 5120
Translate the following into a SQL query
What is the lowest maximum of fps with a width of 3072 and a height less than 1620?
SELECT MIN Maximum fps FROM table WHERE Width = 3072 AND Height < 1620
Translate the following into a SQL query
What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?
SELECT Maximum fps HDRx FROM table WHERE Height > 1080 AND least compression at 24 fps = 6:1 AND least compression at maximum fps = 7:1
Translate the following into a SQL query
Who got the loss on the game that ended in a 52-36 record?
SELECT Loss FROM table WHERE Record = 52-36
Translate the following into a SQL query
Who got the loss for the game ending in a record of 55-41?
SELECT Loss FROM table WHERE Record = 55-41
Translate the following into a SQL query
Which team opponent had a loss with their pitcher Dotson (8-6)?
SELECT Opponent FROM table WHERE Loss = dotson (8-6)
Translate the following into a SQL query
What is the average 2006 value for wheat with a 2005 value greater than 7340?
SELECT AVG 2006 FROM table WHERE Production year = wheat AND 2005 > 7340
Translate the following into a SQL query
What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?
SELECT AVG 2002 FROM table WHERE 2010 < 5587 AND Production year = sunflower AND 2007 > 546
Translate the following into a SQL query
What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?
SELECT AVG 2001 FROM table WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340
Translate the following into a SQL query
What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
SELECT SUM 2006 FROM table WHERE 2011 > 4113 AND 2008 < 7181
Translate the following into a SQL query
Name the gamecenter that has attendance of 65,212
SELECT GameCenter FROM table WHERE Attendance = 65,212
Translate the following into a SQL query
Name the gamecenter with attendance of 78,551
SELECT GameCenter FROM table WHERE Attendance = 78,551
Translate the following into a SQL query
Name the tv time for attendance of 69,551
SELECT TV Time FROM table WHERE Attendance = 69,551
Translate the following into a SQL query
what is the smallest number of laps imre toth has?
SELECT MIN Laps FROM table WHERE Rider = imre toth
Translate the following into a SQL query
what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
SELECT MIN Laps FROM table WHERE Manufacturer = gilera AND Rider = marco simoncelli AND Grid < 8
Translate the following into a SQL query
Who was the away captain at Brisbane Cricket Ground?
SELECT Away captain FROM table WHERE Venue = brisbane cricket ground
Translate the following into a SQL query
Who was the home captain at Sydney Cricket Ground?
SELECT Home captain FROM table WHERE Venue = sydney cricket ground
Translate the following into a SQL query
On what date was the venue at Brisbane Cricket Ground?
SELECT Date FROM table WHERE Venue = brisbane cricket ground
Translate the following into a SQL query
Who was the away captain at Waca Ground?
SELECT Away captain FROM table WHERE Venue = waca ground
Translate the following into a SQL query
On what date was the venue at Brisbane Cricket Ground?
SELECT Date FROM table WHERE Venue = brisbane cricket ground
Translate the following into a SQL query
What was the score for the game on June 30?
SELECT Score FROM table WHERE Date = june 30
Translate the following into a SQL query
What CD has a catalog # of PCR 502?
SELECT Title FROM table WHERE Catalog # = pcr 502
Translate the following into a SQL query
What CD was released in 2009?
SELECT Title FROM table WHERE Released = 2009
Translate the following into a SQL query
What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?
SELECT MAX Division FROM table WHERE Playoffs = quarter finals AND Regular Season = 5th
Translate the following into a SQL query
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th?
SELECT COUNT Year FROM table WHERE Playoffs = did not qualify AND Regular Season = 10th
Translate the following into a SQL query
What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlantic?
SELECT Playoffs FROM table WHERE Open Cup = did not qualify AND Regular Season = 3rd, south atlantic
Translate the following into a SQL query
What is the highest points value for 1962, in the 125cc class, and with 0 wins?
SELECT MAX Points FROM table WHERE Year = 1962 AND Class = 125cc AND Wins < 0
Translate the following into a SQL query
What is the highest points value for the 500cc class in years after 1962 with 0 wins?
SELECT MAX Points FROM table WHERE Class = 500cc AND Year > 1962 AND Wins < 0
Translate the following into a SQL query
For Team AJS, what is the total number of points for drivers with 0 wins?
SELECT COUNT Points FROM table WHERE Team = ajs AND Wins < 0
Translate the following into a SQL query
Which year had 0 points and an AGS JH23B chassis?
SELECT Year FROM table WHERE Points = 0 AND Chassis = ags jh23b
Translate the following into a SQL query
How many points does the year after 1986 with a AGS JH23B chassis have?
SELECT Points FROM table WHERE Year > 1986 AND Chassis = ags jh23b
Translate the following into a SQL query
How many points did the Tyrrell Racing Organisation have?
SELECT Points FROM table WHERE Entrant = tyrrell racing organisation
Translate the following into a SQL query
September 23, 1973 landed on which week of the season?
SELECT Week FROM table WHERE Date = september 23, 1973
Translate the following into a SQL query
What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
SELECT MIN Gold FROM table WHERE Rank > 4 AND Total < 1
Translate the following into a SQL query
What's the highest bronze with a less than 1 Rank?
SELECT MAX Bronze FROM table WHERE Rank < 1
Translate the following into a SQL query
What's the average total if the Bronze is 5 and the Silver is less than 4?
SELECT AVG Total FROM table WHERE Bronze = 5 AND Silver < 4
Translate the following into a SQL query
How many Votes, when the Residence is Halifax?
SELECT Votes FROM table WHERE Residence = halifax
Translate the following into a SQL query
What is the Riding, when the Rank is 4th?
SELECT Riding FROM table WHERE Rank = 4th
Translate the following into a SQL query
What is the lowest number of Votes, when the Candidate's Name is Trevor Ennis?
SELECT MIN Votes FROM table WHERE Candidate's Name = trevor ennis
Translate the following into a SQL query
What is the Candidate's Name, when the Votes are 513?
SELECT Candidate's Name FROM table WHERE Votes = 513
Translate the following into a SQL query
What is the Occupation, when the Candidate's Name is Trevor Ennis?
SELECT Occupation FROM table WHERE Candidate's Name = trevor ennis
Translate the following into a SQL query
Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0
SELECT MAX Cuts made FROM table WHERE Top-25 > 4 AND Top-5 = 1 AND Wins > 0
Translate the following into a SQL query
Name the top-25 with wins less than 1 and events of 12
SELECT SUM Top-25 FROM table WHERE Wins < 1 AND Events = 12
Translate the following into a SQL query
Who was the away team when the attendance was 7,891?
SELECT Away team FROM table WHERE Attendance = 7,891
Translate the following into a SQL query
What was the score of the game when the attendance was 1,644?
SELECT Score FROM table WHERE Attendance = 1,644
Translate the following into a SQL query
Who was the away team when the home team was Lincoln City?
SELECT Away team FROM table WHERE Home team = lincoln city
Translate the following into a SQL query
What was the score of the game when the home team was Lincoln City?
SELECT Score FROM table WHERE Home team = lincoln city
Translate the following into a SQL query
Who was the away team when the attendance was 7,891?
SELECT Away team FROM table WHERE Attendance = 7,891
Translate the following into a SQL query
What is the most amount of points for a team before 1983?
SELECT MAX Points FROM table WHERE Year < 1983
Translate the following into a SQL query
What team has 4 points and a Chassis of march 82/83c?
SELECT Team FROM table WHERE Points = 4 AND Chassis = march 82/83c
Translate the following into a SQL query
What engine was used by Curb Motorsports after 1982 that had 11 points?
SELECT Engine FROM table WHERE Year > 1982 AND Points = 11 AND Team = curb motorsports
Translate the following into a SQL query
What is the Engine used before 1983?
SELECT Engine FROM table WHERE Year < 1983
Translate the following into a SQL query
Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52
SELECT COUNT Average FROM table WHERE Matches < 52 AND Runs < 4564 AND Wickets < 265
Translate the following into a SQL query
Name the total number of average for wickets more than 537, career of 1899/00-1925/26 and matches less than 211
SELECT COUNT Average FROM table WHERE Wickets > 537 AND Career = 1899/00-1925/26 AND Matches < 211
Translate the following into a SQL query
Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51
SELECT MIN Average FROM table WHERE Wickets > 265 AND Career = 1888/89-1913/14 AND Matches > 51
Translate the following into a SQL query
Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476
SELECT COUNT Matches FROM table WHERE Wickets < 537 AND Career = 1898/99-1919/20 AND Runs > 4476
Translate the following into a SQL query
Can you tell me the Opponent that has the Series of 4-2?
SELECT Opponent FROM table WHERE Series = 4-2
Translate the following into a SQL query
What is the to par of the player with a t4 place and a score of 75-69-74-72=290?
SELECT To par FROM table WHERE Place = t4 AND Score = 75-69-74-72=290
Translate the following into a SQL query
Which entrant scored less than 8 points and used a Maserati chassis?
SELECT Entrant FROM table WHERE Points < 8 AND Chassis = maserati
Translate the following into a SQL query
Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955?
SELECT Entrant FROM table WHERE Engine = offenhauser l4 AND Year < 1955 AND Chassis = kurtis kraft kk500a AND Points = 9
Translate the following into a SQL query
What type of engine did the Fuel Injection entrant use?
SELECT Engine FROM table WHERE Entrant = fuel injection
Translate the following into a SQL query
What is the average number of points for an Offenhauser L4 engine with a Trevis chassis?
SELECT AVG Points FROM table WHERE Engine = offenhauser l4 AND Chassis = trevis
Translate the following into a SQL query
What poll had Steve Poizner at 37%?
SELECT Poll source FROM table WHERE Steve Poizner = 37%
Translate the following into a SQL query
When did Meg Whitman get 60%?
SELECT Date(s) administered FROM table WHERE Meg Whitman = 60%
Translate the following into a SQL query
How many players were drafted from the Boston Cannons in the round?
SELECT SUM Round FROM table WHERE Team = boston cannons
Translate the following into a SQL query
Which round was a player from the Long Island Lizards drafted in first?
SELECT MAX Round FROM table WHERE Team = long island lizards
Translate the following into a SQL query
Dave Curry has what Nationality?
SELECT Nationality FROM table WHERE Player = dave curry
Translate the following into a SQL query
Name the manufacturer with grid of 11
SELECT Manufacturer FROM table WHERE Grid = 11
Translate the following into a SQL query
Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap
SELECT Manufacturer FROM table WHERE Grid > 18 AND Laps > 1 AND Time/Retired = +1 lap
Translate the following into a SQL query
Name the laps for suzuki and time/retired of +1:02.804
SELECT Laps FROM table WHERE Manufacturer = suzuki AND Time/Retired = +1:02.804
Translate the following into a SQL query
Name the sum of laps for 12 grids
SELECT SUM Laps FROM table WHERE Grid = 12
Translate the following into a SQL query
Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95
SELECT MAX # of total votes FROM table WHERE % of popular vote = 32.41% AND # of seats won > 95
Translate the following into a SQL query
What was Jack McGrath's finish number in 1954?
SELECT Finish FROM table WHERE Year = 1954
Translate the following into a SQL query
What place did Jack McGrath start in when he received a qual score of 141.033?
SELECT Start FROM table WHERE Qual = 141.033
Translate the following into a SQL query
What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26?
SELECT Rank FROM table WHERE Start = 3 AND Finish = 26 AND Year = 1955
Translate the following into a SQL query
Which pre-season has May 5 of 21?
SELECT Pre- season FROM table WHERE May 5 = 21
Translate the following into a SQL query
Which March 3 has a Poll of baseball america (top 25)?
SELECT Mar. 3 FROM table WHERE Poll = baseball america (top 25)
Translate the following into a SQL query
Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)?
SELECT Pre- season FROM table WHERE Mar. 3 = nr AND Poll = usa today/espn coaches' poll (top 25)
Translate the following into a SQL query
Who is the opponent on September 9, 1979?
SELECT Opponent FROM table WHERE Date = september 9, 1979
Translate the following into a SQL query
What is the sum of the week for the Denver Broncos?
SELECT SUM Week FROM table WHERE Opponent = denver broncos
Translate the following into a SQL query
What is the attendance number for December 2, 1979?
SELECT SUM Attendance FROM table WHERE Date = december 2, 1979
Translate the following into a SQL query
Name the term in office for liberal and state of sa for ian mclachlan
SELECT Term in office FROM table WHERE Party = liberal AND State = sa AND Member = ian mclachlan