instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?
SELECT COUNT Goals for FROM table WHERE Draws > 7 AND Wins > 8 AND Losses > 5
Translate the following into a SQL query
What city is the Stadium estádio dr. magalhães pessoa in?
SELECT City FROM table WHERE Stadium = estádio dr. magalhães pessoa
Translate the following into a SQL query
What city is the Stadium estádio cidade de barcelos in?
SELECT City FROM table WHERE Stadium = estádio cidade de barcelos
Translate the following into a SQL query
Head Coach casemiro mior is at which Club?
SELECT Club FROM table WHERE Head Coach = casemiro mior
Translate the following into a SQL query
What City is the Club braga in?
SELECT City FROM table WHERE Club = braga
Translate the following into a SQL query
What place is listed in the 2002-2003 season for the City of Aveiro?
SELECT 2002-2003 season FROM table WHERE City = aveiro
Translate the following into a SQL query
What is the 1st round with fc nantes (d1) as team 1?
SELECT 1st round FROM table WHERE Team 1 = fc nantes (d1)
Translate the following into a SQL query
What is the team 1 with nîmes olympique (d2) as team 2?
SELECT Team 1 FROM table WHERE Team 2 = nîmes olympique (d2)
Translate the following into a SQL query
In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?
SELECT Lyrics FROM table WHERE Date = august 10, 2005 AND Catalog number = tocp-66427
Translate the following into a SQL query
What is the Label of the CD released in Germany on June 6, 2005?
SELECT Label FROM table WHERE Date = june 6, 2005 AND Region = germany AND Format = cd
Translate the following into a SQL query
What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?
SELECT Region FROM table WHERE Label = emi AND Format = 4 x vinyl AND Catalog number = 560 6111
Translate the following into a SQL query
What language is the Lyrics of the release with Catalog number 560 6111?
SELECT Lyrics FROM table WHERE Catalog number = 560 6111
Translate the following into a SQL query
What is the Region of the release with Catalog number 3 12046 2?
SELECT Region FROM table WHERE Catalog number = 3 12046 2
Translate the following into a SQL query
What is the Label of the September 19, 2008 release in Germany?
SELECT Label FROM table WHERE Date = september 19, 2008 AND Region = germany
Translate the following into a SQL query
What is the Edition of the release in Germany?
SELECT Edition(s) FROM table WHERE Region = germany
Translate the following into a SQL query
What is the Format(s) of the release on September 23, 2008?
SELECT Format(s) FROM table WHERE Date = september 23, 2008
Translate the following into a SQL query
What is the Label of the release on April 24, 2009 in Germany?
SELECT Label FROM table WHERE Region = germany AND Date = april 24, 2009
Translate the following into a SQL query
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
SELECT L2 Cache FROM table WHERE Idle Power = 100mw AND Model Number = nano u3400
Translate the following into a SQL query
What is the total Cores with a Clock Speed of 1.3ghz?
SELECT COUNT Cores FROM table WHERE Clock Speed = 1.3ghz
Translate the following into a SQL query
What's the to par for the score of 68-74-71-77=290?
SELECT To par FROM table WHERE Score = 68-74-71-77=290
Translate the following into a SQL query
What's the money ($) for the t3 place and the score of 74-74-71-69=288?
SELECT Money ( $ ) FROM table WHERE Place = t3 AND Score = 74-74-71-69=288
Translate the following into a SQL query
What's the score for $22,500?
SELECT Score FROM table WHERE Money ( $ ) = 22,500
Translate the following into a SQL query
What's the to par for the t1 place with a score of 70-72-73-72=287?
SELECT To par FROM table WHERE Place = t1 AND Score = 70-72-73-72=287
Translate the following into a SQL query
What's the average annual interchange for a rank over 26 in liverpool with an annual entry/exit less than 14.209 and more than 10 platforms?
SELECT AVG Annual interchanges (millions) 2011–12 FROM table WHERE Rank > 26 AND Location = liverpool AND Annual entry/exit (millions) 2011–12 < 14.209 AND Number of Platforms > 10
Translate the following into a SQL query
What's the highest annual interchange for wimbledon railway station?
SELECT MAX Annual interchanges (millions) 2011–12 FROM table WHERE Railway Station = wimbledon
Translate the following into a SQL query
What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?
SELECT MIN Total Passengers (millions) 2011–12 FROM table WHERE Annual entry/exit (millions) 2011–12 = 36.609
Translate the following into a SQL query
What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers?
SELECT Rank FROM table WHERE Annual interchanges (millions) 2011–12 < 1.99 AND Annual entry/exit (millions) 2011–12 < 13.835 AND Total Passengers (millions) 2011–12 > 13.772
Translate the following into a SQL query
How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million?
SELECT COUNT Rank FROM table WHERE Location = liverpool AND Number of Platforms > 3 AND Annual interchanges (millions) 2011–12 < 0.778
Translate the following into a SQL query
Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?
SELECT AVG Number of households FROM table WHERE Per capita income = $21,571 AND Population < 9,783
Translate the following into a SQL query
Which Number of households has a County of cook, and Population smaller than 5,176?
SELECT AVG Number of households FROM table WHERE County = cook AND Population < 5,176
Translate the following into a SQL query
What Per capita income has a Median family income of $50,755?
SELECT Per capita income FROM table WHERE Median family income = $50,755
Translate the following into a SQL query
What Number of households have a Median family income of $58,491?
SELECT Number of households FROM table WHERE Median family income = $58,491
Translate the following into a SQL query
What was the score of the golfer representing Scotland?
SELECT Score FROM table WHERE Country = scotland
Translate the following into a SQL query
What was the to par score of the golfer that had a score of 68-70=138?
SELECT To par FROM table WHERE Score = 68-70=138
Translate the following into a SQL query
Which golfer had a score of 69-71=140?
SELECT Player FROM table WHERE Score = 69-71=140
Translate the following into a SQL query
Which country is t3 finisher billy mayfair from?
SELECT Country FROM table WHERE Place = t3 AND Player = billy mayfair
Translate the following into a SQL query
Which Country has a Player of jodie mudd?
SELECT Country FROM table WHERE Player = jodie mudd
Translate the following into a SQL query
Which Money (£) has a Player of jodie mudd?
SELECT COUNT Money ( £ ) FROM table WHERE Player = jodie mudd
Translate the following into a SQL query
What is the total Money (£) of Player of nick faldo?
SELECT SUM Money ( £ ) FROM table WHERE Player = nick faldo
Translate the following into a SQL query
What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?
SELECT COUNT Money ( £ ) FROM table WHERE Place = t6 AND Player = ian baker-finch
Translate the following into a SQL query
What position was the team who had less then 63 goals against and less than 6 losses?
SELECT AVG Position FROM table WHERE Goals Against < 63 AND Lost < 6
Translate the following into a SQL query
How many times did the team lose who had 1 of 37 points and less than 60 goals against?
SELECT MIN Lost FROM table WHERE Points 1 = 37 AND Goals Against < 60
Translate the following into a SQL query
How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?
SELECT MIN Lost FROM table WHERE Goal Difference = +2 AND Goals For = 52 AND Drawn < 9
Translate the following into a SQL query
How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?
SELECT SUM Drawn FROM table WHERE Position < 12 AND Team = clitheroe AND Lost > 4
Translate the following into a SQL query
What is the reserved for (ST/ST/None) when it was Uklana?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Name = uklana
Translate the following into a SQL query
Bhiwani district have what constituency number?
SELECT Constituency number FROM table WHERE District = bhiwani
Translate the following into a SQL query
What is the reserved for (SC/ST/None) when number of electorates (2009) is larger than 101,595, and constituency is 49?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Number of electorates (2009) > 101,595 AND Constituency number = 49
Translate the following into a SQL query
What is the constituency number with electorates (2009) number larger than 152,958?
SELECT Constituency number FROM table WHERE Number of electorates (2009) > 152,958
Translate the following into a SQL query
What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran?
SELECT Date performed FROM table WHERE Main contestant = jatin shah AND Co-contestant (Yaar vs. Pyaar) = shalini chandran
Translate the following into a SQL query
What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran?
SELECT Scores by each individual judge FROM table WHERE Total score/week = 41/60 AND Co-contestant (Yaar vs. Pyaar) = shalini chandran
Translate the following into a SQL query
What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?
SELECT Position FROM table WHERE Main contestant = vishal singh AND Scores by each individual judge = 1 + 7 + 5 = 13
Translate the following into a SQL query
Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran?
SELECT Main contestant FROM table WHERE Co-contestant (Yaar vs. Pyaar) = shalini chandran
Translate the following into a SQL query
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
SELECT Main contestant FROM table WHERE Status = eliminated AND Scores by each individual judge = 1 + 7 + 5 = 13
Translate the following into a SQL query
What shows for series 4 when the seat shows 1?
SELECT Series 4 FROM table WHERE Seat = 1
Translate the following into a SQL query
What is the seat number when Series 3 shows Dana Bérová?
SELECT AVG Seat FROM table WHERE Series 3 = dana bérová
Translate the following into a SQL query
Who was the Partner in the Algiers 2, Algeria Tournament?
SELECT Partner FROM table WHERE Tournament = algiers 2, algeria
Translate the following into a SQL query
Who were the Opponents in the Match with Partner Rushmi Chakravarthi?
SELECT Opponents FROM table WHERE Partner = rushmi chakravarthi
Translate the following into a SQL query
What is the Date of the Match with a Score of 6–4, 7–5?
SELECT Date FROM table WHERE Score = 6–4, 7–5
Translate the following into a SQL query
What is the fewest loses for the club that is below 8 in position, and had played less than 30 games?
SELECT MIN Loses FROM table WHERE Position < 8 AND Games played < 30
Translate the following into a SQL query
What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals scored, and the club is positioned greater than 2?
SELECT SUM Loses FROM table WHERE Draws < 4 AND Goals conceded < 105 AND Position > 2 AND Goals scored < 38
Translate the following into a SQL query
How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws?
SELECT SUM Goals conceded FROM table WHERE Points > 58 AND Wins < 27 AND Draws < 1
Translate the following into a SQL query
How many total goals scored when less than 30 games have been played?
SELECT COUNT Goals scored FROM table WHERE Games played < 30
Translate the following into a SQL query
When less than 30 games have been played what is the average goals scored?
SELECT AVG Goals scored FROM table WHERE Games played < 30
Translate the following into a SQL query
What is the league cup app with league cup goals more than 0?
SELECT League Cup Apps FROM table WHERE League Cup Goals > 0
Translate the following into a SQL query
What is the fa cup apps with 0 league cup goals, and a total of 43 apps?
SELECT FA Cup Apps FROM table WHERE League Cup Goals = 0 AND Total Apps = 43
Translate the following into a SQL query
What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps?
SELECT MAX FLT Goals FROM table WHERE League Cup Goals = 0 AND Position = gk AND League Cup Apps = 2
Translate the following into a SQL query
On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?
SELECT Date FROM table WHERE Venue = sam nujoma stadium, windhoek, namibia
Translate the following into a SQL query
Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs?
SELECT Third-place FROM table WHERE Number of clubs = 14 AND Winners = dalian shide AND fourth-placed = chongqing longxin
Translate the following into a SQL query
What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th?
SELECT SUM Season FROM table WHERE Winners = dalian wanda AND fourth-placed = yanbian aodong
Translate the following into a SQL query
What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao?
SELECT AVG Number of clubs FROM table WHERE fourth-placed = shenzhen jianlibao AND Season < 2003
Translate the following into a SQL query
What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th?
SELECT AVG Number of clubs FROM table WHERE Winners = dalian shide AND fourth-placed = sichuan quanxing
Translate the following into a SQL query
Who was the winner when the runner-up was Guangzhou Apollo?
SELECT Winners FROM table WHERE Runners-up = guangzhou apollo
Translate the following into a SQL query
How many Byes have an Against of 972, and more than 11 wins?
SELECT SUM Byes FROM table WHERE Against = 972 AND Wins > 11
Translate the following into a SQL query
Which Byes have a Lexton Plains of skipton?
SELECT MAX Byes FROM table WHERE Lexton Plains = skipton
Translate the following into a SQL query
What is the value for Lost when Drawn is 0, and Tries against is 41?
SELECT Lost FROM table WHERE Drawn = 0 AND Tries against = 41
Translate the following into a SQL query
What is the drawn value for furnace united rfc?
SELECT Drawn FROM table WHERE Club = furnace united rfc
Translate the following into a SQL query
What tries against value does burry port rfc have?
SELECT Tries against FROM table WHERE Club = burry port rfc
Translate the following into a SQL query
Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms?
SELECT MIN Staterooms FROM table WHERE Comments = diesel-electric hybrid engines AND Length = 443 feet AND Guests > 190
Translate the following into a SQL query
How many wins for the year that is later than 1987 and has points less than 188?
SELECT Wins FROM table WHERE Year > 1987 AND Points < 188
Translate the following into a SQL query
What is the name of the machine that ranked 4th and has 2 wins?
SELECT Machine FROM table WHERE Rank = 4th AND Wins = 2
Translate the following into a SQL query
How many wins were there in 1994?
SELECT SUM Wins FROM table WHERE Year = 1994
Translate the following into a SQL query
What is the rank associated with the team that has more than 2 wins and has greater than 204 points?
SELECT Rank FROM table WHERE Wins > 2 AND Points > 204
Translate the following into a SQL query
How many picks have a Player of pong escobal?
SELECT SUM Pick FROM table WHERE Player = pong escobal
Translate the following into a SQL query
Which PBA team has a College of nu?
SELECT PBA team FROM table WHERE College = nu
Translate the following into a SQL query
What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro?
SELECT Place of birth FROM table WHERE Elevator = lucius iii AND Cardinalatial title = deacon of s. giorgio in velabro
Translate the following into a SQL query
What is the place of birth for the elector Laborante de Panormo?
SELECT Place of birth FROM table WHERE Elector = laborante de panormo
Translate the following into a SQL query
Who is the elector that has the cardinalatial title of Deacon of SS. Cosma e Damiano?
SELECT Elector FROM table WHERE Cardinalatial title = deacon of ss. cosma e damiano
Translate the following into a SQL query
Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?
SELECT Elevator FROM table WHERE Cardinalatial title = deacon of ss. sergio e bacco
Translate the following into a SQL query
How much Premier League has an FA Cup of 0, and a Total of 1, and a UEFA Cup larger than 1?
SELECT SUM Premier League FROM table WHERE FA Cup = 0 AND Total = 1 AND UEFA Cup > 1
Translate the following into a SQL query
How many totals have a Premier League smaller than 6, and a League Cup larger than 0?
SELECT SUM Total FROM table WHERE Premier League < 6 AND League Cup > 0
Translate the following into a SQL query
Which FA Cup has a Total smaller than 1?
SELECT AVG FA Cup FROM table WHERE Total < 1
Translate the following into a SQL query
What week is the opponent the Indianapolis Colts with an attendance of 68,932?
SELECT COUNT Week FROM table WHERE Attendance = 68,932 AND Opponent = indianapolis colts
Translate the following into a SQL query
What was the attendance for the week before 10 with a result of L 12-15
SELECT Attendance FROM table WHERE Week < 10 AND Result = l 12-15
Translate the following into a SQL query
What week has a result of L 17-31 first?
SELECT MAX Week FROM table WHERE Result = l 17-31
Translate the following into a SQL query
What was the score for the game that attendance was 70,721?
SELECT Result FROM table WHERE Attendance = 70,721
Translate the following into a SQL query
What week was she safe for a salsa dance?
SELECT SUM Week FROM table WHERE Result = safe AND Dance = salsa
Translate the following into a SQL query
Who was the opponent with the loss in Westbury, NY?
SELECT Opponent FROM table WHERE Result = loss AND Location = westbury, ny
Translate the following into a SQL query
What is the date where the type is type?
SELECT Date FROM table WHERE Type = type
Translate the following into a SQL query
What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze?
SELECT COUNT Rank FROM table WHERE Silver < 2 AND Gold = 4 AND Bronze > 2
Translate the following into a SQL query
What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6?
SELECT SUM Rank FROM table WHERE Silver > 1 AND Gold = 1 AND Total < 6