instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
When the opponent scored 96 points after game 61, what was the streak?
SELECT Streak FROM table WHERE Game > 61 AND Opponent score = 96
Translate the following into a SQL query
What transfer fee did Birmingham City get on 30 June 2010?
SELECT Transfer fee FROM table WHERE Ends = 30 june 2010 AND Moving from = birmingham city
Translate the following into a SQL query
What type of move was Elding from ENG?
SELECT Type FROM table WHERE Country = eng AND Name = elding
Translate the following into a SQL query
When does Donaldson's move end?
SELECT Ends FROM table WHERE Name = donaldson
Translate the following into a SQL query
Which Silver has a Total of 7, and a Gold larger than 1?
SELECT AVG Silver FROM table WHERE Total = 7 AND Gold > 1
Translate the following into a SQL query
Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy?
SELECT AVG Bronze FROM table WHERE Gold < 16 AND Rank = 10 AND Nation = italy
Translate the following into a SQL query
Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?
SELECT AVG Total FROM table WHERE Bronze > 2 AND Gold < 16 AND Silver = 0 AND Rank = 13
Translate the following into a SQL query
Which Gold has a Nation of malaysia, and a Silver smaller than 0?
SELECT MIN Gold FROM table WHERE Nation = malaysia AND Silver < 0
Translate the following into a SQL query
Which Population (2005) has a Literacy (2003) of 90%, and an Infant Mortality (2002) of 18.3‰?
SELECT SUM Population (2005) FROM table WHERE Literacy (2003) = 90% AND Infant Mortality (2002) = 18.3‰
Translate the following into a SQL query
Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300?
SELECT SUM Density (2005) FROM table WHERE Area (km²) = 340086.7 AND Population (2005) < 5926300
Translate the following into a SQL query
Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima?
SELECT MAX GDP per capita (US$) (2004) FROM table WHERE Area (km²) > 148825.6 AND State = roraima
Translate the following into a SQL query
Which Literacy (2003) has an HDI (2005) smaller than 0.718, and a GDP per capita (US$) (2004) smaller than 3877, and a State of maranhão?
SELECT Literacy (2003) FROM table WHERE HDI (2005) < 0.718 AND GDP per capita (US$) (2004) < 3877 AND State = maranhão
Translate the following into a SQL query
Which GDP per capita (US$) (2004) has a Literacy (2003) of 90%, and an Area (km²) of 1247689.5?
SELECT AVG GDP per capita (US$) (2004) FROM table WHERE Literacy (2003) = 90% AND Area (km²) = 1247689.5
Translate the following into a SQL query
Name the Date and an Opponent which has a f Position and Career Games of 123 games?
SELECT Date and Opponent FROM table WHERE Position = f AND Career Games = 123 games
Translate the following into a SQL query
Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue?
SELECT Name FROM table WHERE Years Played = 2004–2008 AND Date and Opponent = 2/17/07 vs. purdue
Translate the following into a SQL query
Which Career Games has a Scored 1,500 Points of sr./92nd game?
SELECT Career Games FROM table WHERE Scored 1,500 Points = sr./92nd game
Translate the following into a SQL query
Which Career Games has a Date and Opponent of 12/15/92 vs. uw–milwaukee?
SELECT Career Games FROM table WHERE Date and Opponent = 12/15/92 vs. uw–milwaukee
Translate the following into a SQL query
WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson?
SELECT Scored 1,500 Points FROM table WHERE Years Played = 2004–2008 AND Name = jolene anderson
Translate the following into a SQL query
Which Time has a Round smaller than 3, and an Opponent of bao quach?
SELECT Time FROM table WHERE Round < 3 AND Opponent = bao quach
Translate the following into a SQL query
Which Round has a Record of 10-6?
SELECT MIN Round FROM table WHERE Record = 10-6
Translate the following into a SQL query
Which Opponent has a Round smaller than 3, and a Time of 1:09?
SELECT Opponent FROM table WHERE Round < 3 AND Time = 1:09
Translate the following into a SQL query
Which Time has an Opponent of josh branham?
SELECT Time FROM table WHERE Opponent = josh branham
Translate the following into a SQL query
Which Time has a Round larger than 2, and an Opponent of jesse brock?
SELECT Time FROM table WHERE Round > 2 AND Opponent = jesse brock
Translate the following into a SQL query
Which Round has an Event of nle - capital city carnage?
SELECT Round FROM table WHERE Event = nle - capital city carnage
Translate the following into a SQL query
Which Round has an Opponent of ryan bixler?
SELECT Round FROM table WHERE Opponent = ryan bixler
Translate the following into a SQL query
Which Event has a Record of 19-9?
SELECT Event FROM table WHERE Record = 19-9
Translate the following into a SQL query
Which Method has a Round of 1, and a Record of 4–2?
SELECT Method FROM table WHERE Round = 1 AND Record = 4–2
Translate the following into a SQL query
Which Opponent has a Time of 4:51?
SELECT Opponent FROM table WHERE Time = 4:51
Translate the following into a SQL query
Which Round has an Opponent of jorge magalhaes?
SELECT AVG Round FROM table WHERE Opponent = jorge magalhaes
Translate the following into a SQL query
Which Round has a Location of bahia, brazil?
SELECT AVG Round FROM table WHERE Location = bahia, brazil
Translate the following into a SQL query
Which Opponent has an Event of jungle fight 5?
SELECT Opponent FROM table WHERE Event = jungle fight 5
Translate the following into a SQL query
Tiger Woods with a total less than 293 had what To par?
SELECT To par FROM table WHERE Total < 293 AND Player = tiger woods
Translate the following into a SQL query
Bernhard Langer maximum total was what?
SELECT MAX Total FROM table WHERE Player = bernhard langer
Translate the following into a SQL query
What is the average of the total when t11 is the finish?
SELECT AVG Total FROM table WHERE Finish = t11
Translate the following into a SQL query
Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia?
SELECT Rider FROM table WHERE Laps < 24 AND Grid < 12 AND Manufacturer = aprilia
Translate the following into a SQL query
What were grid 7's laps?
SELECT MIN Laps FROM table WHERE Grid = 7
Translate the following into a SQL query
Which Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia, and a Grid smaller than 12, and a Rider of ángel rodríguez?
SELECT Time/Retired FROM table WHERE Laps < 24 AND Manufacturer = aprilia AND Grid < 12 AND Rider = ángel rodríguez
Translate the following into a SQL query
How many Laps have a Time/Retired of +1:42.517, and a Grid larger than 33?
SELECT COUNT Laps FROM table WHERE Time/Retired = +1:42.517 AND Grid > 33
Translate the following into a SQL query
Which chassis-engine had 77 laps?
SELECT Chassis – Engine FROM table WHERE Laps = 77
Translate the following into a SQL query
What is the class of team liqui moly equipe, which has less than 71 laps?
SELECT Class FROM table WHERE Laps < 71 AND Team = liqui moly equipe
Translate the following into a SQL query
What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps?
SELECT Team FROM table WHERE Class = c1 AND Laps > 77 AND Driver = klaus ludwig
Translate the following into a SQL query
Who is the driver of the chassis-engine porsche 956 gti?
SELECT Driver FROM table WHERE Chassis – Engine = porsche 956 gti
Translate the following into a SQL query
What team has a porsche 956 b chassis-engine with less than 79 laps?
SELECT Team FROM table WHERE Chassis – Engine = porsche 956 b AND Laps < 79
Translate the following into a SQL query
What was the worldwide gross for the film directed by joe pytka?
SELECT Worldwide Gross FROM table WHERE Director = joe pytka
Translate the following into a SQL query
What was the average rank for the film directed by roland emmerich under the studio of 20th century fox?
SELECT AVG Rank FROM table WHERE Studio = 20th century fox AND Director = roland emmerich
Translate the following into a SQL query
What is the average rank for the film directed by michael bay?
SELECT AVG Rank FROM table WHERE Director = michael bay
Translate the following into a SQL query
What is the 3rd largest where the largest city is Ardabil?
SELECT 3rd Largest FROM table WHERE Largest city = ardabil
Translate the following into a SQL query
What is the province where the 3rd largest is Savojbolagh?
SELECT Province FROM table WHERE 3rd Largest = savojbolagh
Translate the following into a SQL query
What is the 4th largest where the 2nd largest is Minab?
SELECT 4th largest FROM table WHERE 2nd Largest = minab
Translate the following into a SQL query
In which province is the 3rd largest Dehbarez?
SELECT Province FROM table WHERE 3rd Largest = dehbarez
Translate the following into a SQL query
What is the 3rd largest when 2nd largest in Minab?
SELECT 3rd Largest FROM table WHERE 2nd Largest = minab
Translate the following into a SQL query
What province has the largest city of Birjand?
SELECT Province FROM table WHERE Largest city = birjand
Translate the following into a SQL query
What was the score on september 28?
SELECT Score FROM table WHERE Date = september 28
Translate the following into a SQL query
What date was the score 29-7?
SELECT Date FROM table WHERE Score = 29-7
Translate the following into a SQL query
How much January has a Game smaller than 37, and an Opponent of detroit red wings?
SELECT COUNT January FROM table WHERE Game < 37 AND Opponent = detroit red wings
Translate the following into a SQL query
Which January has an Opponent of toronto maple leafs?
SELECT January FROM table WHERE Opponent = toronto maple leafs
Translate the following into a SQL query
Which January has an Opponent of @ detroit red wings?
SELECT AVG January FROM table WHERE Opponent = @ detroit red wings
Translate the following into a SQL query
What date was the score won 1-2?
SELECT Date FROM table WHERE Score = won 1-2
Translate the following into a SQL query
What was the score when Bornor Regis Town was the opponent?
SELECT Score FROM table WHERE Opponent = bornor regis town
Translate the following into a SQL query
What is the number of people in attendance when Tonbridge Angels is the opponent?
SELECT Attendance FROM table WHERE Opponent = tonbridge angels
Translate the following into a SQL query
What is the score when the attendance shows TBC, and Sidley United was the opponent?
SELECT Score FROM table WHERE Attendance = tbc AND Opponent = sidley united
Translate the following into a SQL query
What is the score when the scorers show match report?
SELECT Score FROM table WHERE Scorers = match report
Translate the following into a SQL query
Which Album has a Label of msb 801?
SELECT Album FROM table WHERE Label = msb 801
Translate the following into a SQL query
Which Album has a Label of tumbleweed 1014?
SELECT Album FROM table WHERE Label = tumbleweed 1014
Translate the following into a SQL query
What was the score when the tie no was 12?
SELECT Score FROM table WHERE Tie no = 12
Translate the following into a SQL query
What date was the match against carlisle united?
SELECT Date FROM table WHERE Away team = carlisle united
Translate the following into a SQL query
Who was the home team when millwall was the away team?
SELECT Home team FROM table WHERE Away team = millwall
Translate the following into a SQL query
What is International Trade (Millions of USD) 2011 when 2011 GDP is less than 471,890 and UN budget of 0.238% and GDP nominal less than 845,680?
SELECT SUM International Trade (Millions of USD) 2011 FROM table WHERE GDP (PPP) (Millions of USD) 2011 < 471,890 AND UN budget = 0.238% AND GDP (nominal) (Millions of USD) 2011 < 845,680
Translate the following into a SQL query
What category was the nominated in after 2008?
SELECT Category FROM table WHERE Outcome = nominated AND Year > 2008
Translate the following into a SQL query
What year had the supernova award?
SELECT Year FROM table WHERE Category = supernova award
Translate the following into a SQL query
What category was the winner in?
SELECT Category FROM table WHERE Outcome = winner
Translate the following into a SQL query
what is the country when the iata is gva?
SELECT Country FROM table WHERE IATA = gva
Translate the following into a SQL query
what is the country for the city of cardiff?
SELECT Country FROM table WHERE City = cardiff
Translate the following into a SQL query
what is the icao when the country is norway?
SELECT ICAO FROM table WHERE Country = norway
Translate the following into a SQL query
what is the city for the country of netherlands?
SELECT City FROM table WHERE Country = netherlands
Translate the following into a SQL query
what is the airport when the city is düsseldorf?
SELECT Airport FROM table WHERE City = düsseldorf
Translate the following into a SQL query
what is the iata when the city is leipzig?
SELECT IATA FROM table WHERE City = leipzig
Translate the following into a SQL query
What is the record on February 23?
SELECT Record FROM table WHERE February = 23
Translate the following into a SQL query
What was the rank of the rider whose ascent time was 43:24 before the year 2002?
SELECT COUNT Rank FROM table WHERE Year < 2002 AND Ascent Time = 43:24
Translate the following into a SQL query
Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h?
SELECT Rider FROM table WHERE Rank < 8 AND Year = 2000 AND Speed = 18.32 km/h
Translate the following into a SQL query
What is the number of completions and attempts taken in 2009?
SELECT Comp–Att FROM table WHERE Season = 2009
Translate the following into a SQL query
What is the completion/attempts value for the year with an average per game of 36.5?
SELECT Comp–Att FROM table WHERE Avg/G = 36.5
Translate the following into a SQL query
What is the long value for the year with an average/game of 160.9?
SELECT Long FROM table WHERE Avg/G = 160.9
Translate the following into a SQL query
What was the highest attendance of February 7, 2009 and more than 49 points?
SELECT MAX Attendance FROM table WHERE Date = february 7, 2009 AND Points > 49
Translate the following into a SQL query
Which game has a number lower than 57 and more than 50 points?
SELECT Location FROM table WHERE Game < 57 AND Points > 50
Translate the following into a SQL query
What game in February 10, 2009 has the most points and a game number larger than 54?
SELECT MAX Points FROM table WHERE Date = february 10, 2009 AND Game > 54
Translate the following into a SQL query
What's the opponent's venue result when the opponent is tennessee?
SELECT at Opponent's Venue FROM table WHERE Missouri vs. = tennessee
Translate the following into a SQL query
What's the current streak with a last 10 meetings of lsu, 2-1?
SELECT Current Streak FROM table WHERE Last 10 Meetings = lsu, 2-1
Translate the following into a SQL query
What's the last 5 meetings with an opponent's venue result of vu, 2-0?
SELECT Last 5 Meetings FROM table WHERE at Opponent's Venue = vu, 2-0
Translate the following into a SQL query
What is the probable future word for the simple present/future word high grade?
SELECT Probable Future FROM table WHERE !Simple Present/Future = high grade
Translate the following into a SQL query
What is the injunctive for the Simple Past of गरुँला garũlā 'I will (probably) do'?
SELECT Injunctive FROM table WHERE Simple Past = गरुँला garũlā 'i will (probably) do'
Translate the following into a SQL query
What is the date of taking office for Giorgia Meloni?
SELECT Took office FROM table WHERE Minister = giorgia meloni
Translate the following into a SQL query
Which party was Andrea Ronchi from?
SELECT Party FROM table WHERE Minister = andrea ronchi
Translate the following into a SQL query
What is the lowest Division, when Team is "Benfica", and when Apps is 22?
SELECT MIN Division FROM table WHERE Team = benfica AND Apps = 22
Translate the following into a SQL query
What Championship had a winning score of 69-71-67-68=275?
SELECT Championship FROM table WHERE Winning score = 69-71-67-68=275
Translate the following into a SQL query
What is the smallest winner's share for the LPGA championship?
SELECT MIN Winner's share ( $ ) FROM table WHERE Championship = lpga championship
Translate the following into a SQL query
What is Jockey, when Time is 1:15.89?
SELECT Jockey FROM table WHERE Time = 1:15.89
Translate the following into a SQL query
What is Time, when Jockey is John Velazquez, and when Trainer is Todd A. Pletcher?
SELECT Time FROM table WHERE Jockey = john velazquez AND Trainer = todd a. pletcher
Translate the following into a SQL query
What is Winner, when Year is 2001?
SELECT Winner FROM table WHERE Year = 2001
Translate the following into a SQL query
What is Jockey, when Winner is Alke?
SELECT Jockey FROM table WHERE Winner = alke