instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which League has a Venue of martin luther king, jr. recreation center?
SELECT League FROM table WHERE Venue = martin luther king, jr. recreation center
Translate the following into a SQL query
Which Championships (Years) have a League of milb, florida state league, and a Venue of ed smith stadium?
SELECT Championships (Years) FROM table WHERE League = milb, florida state league AND Venue = ed smith stadium
Translate the following into a SQL query
Which Sport has a League of continental basketball league, and a Venue of avalon middle school?
SELECT Sport FROM table WHERE League = continental basketball league AND Venue = avalon middle school
Translate the following into a SQL query
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads?
SELECT Venue FROM table WHERE Sport = baseball AND Championships (Years) = 0 AND League = milb, florida state league AND Club = jupiter hammerheads
Translate the following into a SQL query
Which club has a League of american basketball association, and a Venue of tba?
SELECT Club FROM table WHERE League = american basketball association AND Venue = tba
Translate the following into a SQL query
Which area has Years of 1–8, a Decile smaller than 7, and a Name of waikari school?
SELECT Area FROM table WHERE Years = 1–8 AND Decile < 7 AND Name = waikari school
Translate the following into a SQL query
What is the average decile with Years of 1–8, and an Area of waipara?
SELECT AVG Decile FROM table WHERE Years = 1–8 AND Area = waipara
Translate the following into a SQL query
Which area has Years of 1–8, and a Name of broomfield school?
SELECT Area FROM table WHERE Years = 1–8 AND Name = broomfield school
Translate the following into a SQL query
What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
SELECT MIN Roll FROM table WHERE Decile > 6 AND Name = broomfield school
Translate the following into a SQL query
Which name has a Roll of 270?
SELECT Name FROM table WHERE Roll = 270
Translate the following into a SQL query
Who directed the episode written by Dan Serafin and aired on July 23, 2008?
SELECT Directed by FROM table WHERE Written by = dan serafin AND Original airdate = july 23, 2008
Translate the following into a SQL query
What is the title of the episode originally aired on February 2, 2008?
SELECT Title FROM table WHERE Original airdate = february 2, 2008
Translate the following into a SQL query
How much money did James Seddon request?
SELECT Money requested (Β£) FROM table WHERE Entrepreneur(s) = james seddon
Translate the following into a SQL query
Which Entrepreneur(s) first aired on 24 August 2006?
SELECT Entrepreneur(s) FROM table WHERE First aired = 24 august 2006
Translate the following into a SQL query
Which Entrepreneur(s) have mixalbum?
SELECT Entrepreneur(s) FROM table WHERE Company or product name = mixalbum
Translate the following into a SQL query
How much money did Ian Chamings request?
SELECT Money requested (Β£) FROM table WHERE Entrepreneur(s) = ian chamings
Translate the following into a SQL query
Which Investing Dragon(s) requested 100,000 in money and has autosafe?
SELECT Investing Dragon(s) FROM table WHERE Money requested (Β£) = 100,000 AND Company or product name = autosafe
Translate the following into a SQL query
How tall is the Anqing Bridge which opened prior to 2011?
SELECT Height of bridge structure FROM table WHERE Opened < 2011 AND Name = anqing bridge
Translate the following into a SQL query
Where did the cable-stayed Badong Bridge open in 2005?
SELECT Location FROM table WHERE Type = cable-stayed AND Opened = 2005 AND Name = badong bridge
Translate the following into a SQL query
Name the average year for janaprakal chandruang
SELECT AVG Year FROM table WHERE Performing arts = janaprakal chandruang
Translate the following into a SQL query
Name the literature for pradit prasarttong
SELECT Literature FROM table WHERE Performing arts = pradit prasarttong
Translate the following into a SQL query
What was the first year Fabrice Soulier was a runner-up?
SELECT MIN Year FROM table WHERE Runner-Up = fabrice soulier
Translate the following into a SQL query
How many entrants were there in 2011?
SELECT COUNT Entrants FROM table WHERE Year = 2011
Translate the following into a SQL query
What was the rank of Bobby Grim when he finished 1059 laps?
SELECT Rank FROM table WHERE Laps = 1059
Translate the following into a SQL query
What is the rd., time of the match with a win result, a tko type, and Carlos Molina as the opponent?
SELECT Rd., Time FROM table WHERE Res. = win AND Type = tko AND Opponent = carlos molina
Translate the following into a SQL query
What is the record of the match on 2009-07-18?
SELECT Record FROM table WHERE Date = 2009-07-18
Translate the following into a SQL query
What is the type of the match with a win result and Michael Gomez as the opponent?
SELECT Type FROM table WHERE Res. = win AND Opponent = michael gomez
Translate the following into a SQL query
What were the goals when the caps were set at 48?
SELECT Goals FROM table WHERE Caps = 48
Translate the following into a SQL query
How many caps did the player Mile Sterjovski have?
SELECT Caps FROM table WHERE Player = mile sterjovski
Translate the following into a SQL query
What are the goals of Mile Sterjovski as a player?
SELECT Goals FROM table WHERE Player = mile sterjovski
Translate the following into a SQL query
How many caps did Mitchell Duke have overall?
SELECT COUNT Caps FROM table WHERE Player = mitchell duke
Translate the following into a SQL query
Which opponent has a Date of 16 february 2003?
SELECT Opponent FROM table WHERE Date = 16 february 2003
Translate the following into a SQL query
Which date has an A venue with an Opponent of stoke city?
SELECT Date FROM table WHERE Venue = a AND Opponent = stoke city
Translate the following into a SQL query
Which opponent has a Round of r5?
SELECT Opponent FROM table WHERE Round = r5
Translate the following into a SQL query
Which Scorers have a Venue of A, and an Opponent of arsenal?
SELECT Scorers FROM table WHERE Venue = a AND Opponent = arsenal
Translate the following into a SQL query
Which Opponent has a Round of qf replay?
SELECT Opponent FROM table WHERE Round = qf replay
Translate the following into a SQL query
Who took the loss on the April 6 game?
SELECT Loss FROM table WHERE Date = april 6
Translate the following into a SQL query
What was the record after the April 15 game?
SELECT Record FROM table WHERE Date = april 15
Translate the following into a SQL query
Who was the opponent that led to a 10-13 record?
SELECT Opponent FROM table WHERE Record = 10-13
Translate the following into a SQL query
What is the record after the April 6 game?
SELECT Record FROM table WHERE Date = april 6
Translate the following into a SQL query
What was the score for the April 12 game?
SELECT Score FROM table WHERE Date = april 12
Translate the following into a SQL query
What team has the most wins with at least 18 goals and less than 5 losses?
SELECT MAX Wins FROM table WHERE Goals For = 18 AND Losses < 5
Translate the following into a SQL query
How many times has the Cornwall HC team, that has scored more than 18 goals, lost ?
SELECT COUNT Losses FROM table WHERE Team = cornwall hc AND Goals For > 18
Translate the following into a SQL query
What is the series number that has a production code of 50021–50025?
SELECT MAX Number in series FROM table WHERE Production code = 50021–50025
Translate the following into a SQL query
Which county team has jimmy finn as the player?
SELECT County team FROM table WHERE Player = jimmy finn
Translate the following into a SQL query
How many team numbers have john keane as the player?
SELECT COUNT Team Number FROM table WHERE Player = john keane
Translate the following into a SQL query
Which position has john keane as the player?
SELECT Position FROM table WHERE Player = john keane
Translate the following into a SQL query
What was the loss of the game when the record was 27-17?
SELECT Loss FROM table WHERE Record = 27-17
Translate the following into a SQL query
Which average purse was earned by Erika Wicoff and has a winner's share greater than $9,750?
SELECT AVG Purse ($) FROM table WHERE Champion = erika wicoff AND Winner's share ($) > 9,750
Translate the following into a SQL query
What are the smallest goals with wins smaller than 16, and a Draws larger than 14?
SELECT MIN Goals against FROM table WHERE Wins < 16 AND Draws > 14
Translate the following into a SQL query
What are the average wins with a Points of 42-2, and Goals against of 67, and Played smaller than 44?
SELECT AVG Wins FROM table WHERE Points = 42-2 AND Goals against = 67 AND Played < 44
Translate the following into a SQL query
Which average wins have a Club of barcelona atlètic, and Goals for larger than 56?
SELECT AVG Wins FROM table WHERE Club = barcelona atlètic AND Goals for > 56
Translate the following into a SQL query
Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15?
SELECT MIN Position FROM table WHERE Goals against < 78 AND Points = 42-2 AND Wins > 15
Translate the following into a SQL query
Which lowest played has a Position of 2, and Goals against larger than 53?
SELECT MIN Played FROM table WHERE Position = 2 AND Goals against > 53
Translate the following into a SQL query
How many goal differences have Played larger than 44?
SELECT SUM Goal Difference FROM table WHERE Played > 44
Translate the following into a SQL query
What year was the race in Vienna, Austria?
SELECT MIN Year FROM table WHERE Venue = vienna, austria
Translate the following into a SQL query
What event (Extra) in 2002 did the competitor compete in and place 8th?
SELECT Extra FROM table WHERE Year = 2002 AND Result = 8th
Translate the following into a SQL query
Where was the Olympic Games held?
SELECT Venue FROM table WHERE Tournament = olympic games
Translate the following into a SQL query
That is the value for Try bonus when the value for Points is 418?
SELECT Try bonus FROM table WHERE Points for = 418
Translate the following into a SQL query
What is the Club, when the value for Played is 22, and when the value for Tries is 41?
SELECT Club FROM table WHERE Played = 22 AND Tries for = 41
Translate the following into a SQL query
What is the value for Drawn, when the value for Losing bonus is 6?
SELECT Drawn FROM table WHERE Losing bonus = 6
Translate the following into a SQL query
What is the value for Lost, when the value for Try bonus is 2, and when the value for Losing bonus is 4?
SELECT Lost FROM table WHERE Try bonus = 2 AND Losing bonus = 4
Translate the following into a SQL query
What is the Losing bonus, when the value for Points is 43?
SELECT Losing bonus FROM table WHERE Points = 43
Translate the following into a SQL query
What is the Club, when the value for Lost is 9, and when the value for Tries is 55?
SELECT Club FROM table WHERE Lost = 9 AND Tries for = 55
Translate the following into a SQL query
What is the largest draw with 37 games from England?
SELECT MAX Drawn FROM table WHERE Nationality = england AND Games = 37
Translate the following into a SQL query
How many draws have a Cambridge United career of 2008–2009 and less than 13 losses?
SELECT COUNT Drawn FROM table WHERE Cambridge United career = 2008–2009 AND Lost < 13
Translate the following into a SQL query
What was the record at the game when the score was 1–0?
SELECT Record FROM table WHERE Score = 1–0
Translate the following into a SQL query
What was the score of the game when the record was 19–13–3?
SELECT Score FROM table WHERE Record = 19–13–3
Translate the following into a SQL query
Who was the visiting team when the score was 1–3?
SELECT Visitor FROM table WHERE Score = 1–3
Translate the following into a SQL query
Who was the home team when there was a record of 20–13–3?
SELECT Home FROM table WHERE Record = 20–13–3
Translate the following into a SQL query
What was the date of the game with the record of 18–10–2?
SELECT Date FROM table WHERE Record = 18–10–2
Translate the following into a SQL query
Visitor of minnesota has what average attendance?
SELECT AVG Attendance FROM table WHERE Visitor = minnesota
Translate the following into a SQL query
Date of december 29 has what visitor?
SELECT Visitor FROM table WHERE Date = december 29
Translate the following into a SQL query
Score of 2 – 3 has what attendance?
SELECT Attendance FROM table WHERE Score = 2 – 3
Translate the following into a SQL query
With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many?
SELECT MIN Attendance FROM table WHERE Record = 48-51
Translate the following into a SQL query
What would be the lowest Attendance that also showed a loss of Obermueller (1-2)?
SELECT MIN Attendance FROM table WHERE Loss = obermueller (1-2)
Translate the following into a SQL query
What was the stadium for the game held on October 31?
SELECT Stadium FROM table WHERE Date = october 31
Translate the following into a SQL query
How many weeks in total were games played at Cleveland Browns Stadium?
SELECT COUNT Week FROM table WHERE Stadium = cleveland browns stadium
Translate the following into a SQL query
What was the surface on 23 October 2011?
SELECT Surface FROM table WHERE Date = 23 october 2011
Translate the following into a SQL query
Which Notre Dame coach lost 15 games?
SELECT Coach FROM table WHERE Losses = 15
Translate the following into a SQL query
How many losses did Notre Dame have in 1904?
SELECT AVG Losses FROM table WHERE Years = 1904
Translate the following into a SQL query
What was the winning percent of Notre Dame in 1905?
SELECT Pct. FROM table WHERE Years = 1905
Translate the following into a SQL query
Who is the home captain that played at Edgbaston?
SELECT Home captain FROM table WHERE Venue = edgbaston
Translate the following into a SQL query
Who is the home captain that played at Edgbaston?
SELECT Home captain FROM table WHERE Venue = edgbaston
Translate the following into a SQL query
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?
SELECT Result FROM table WHERE Home captain = graham gooch AND Date = 3,4,5,6,7 june 1993
Translate the following into a SQL query
What was the venue for the matches played on the dates 3,4,5,6,7 June 1993?
SELECT Venue FROM table WHERE Date = 3,4,5,6,7 june 1993
Translate the following into a SQL query
Who was the away captain for matches played at Trent Bridge?
SELECT Away captain FROM table WHERE Venue = trent bridge
Translate the following into a SQL query
Which rank is Hawthorn?
SELECT Rank FROM table WHERE Club/Clubs = hawthorn
Translate the following into a SQL query
What is the First Performance when the status is past and the style was ballet, tap?
SELECT First Performance FROM table WHERE Status = past AND Style = ballet, tap
Translate the following into a SQL query
What was the Last Performance when the status is current cast, and a Name of noah parets?
SELECT Last Performance FROM table WHERE Status = current cast AND Name = noah parets
Translate the following into a SQL query
What is the style for Giuseppe Bausilio?
SELECT Style FROM table WHERE Name = giuseppe bausilio
Translate the following into a SQL query
Which opponent has the event Jungle Fight 6?
SELECT Opponent FROM table WHERE Event = jungle fight 6
Translate the following into a SQL query
Which is the method under the event Jungle Fight 2?
SELECT Method FROM table WHERE Event = jungle fight 2
Translate the following into a SQL query
What is the total number of points when draw is 4?
SELECT COUNT Points FROM table WHERE Draw = 4
Translate the following into a SQL query
what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?
SELECT SUM Goals Scored FROM table WHERE Draw < 8 AND Points = 19 AND Goals Conceded > 26
Translate the following into a SQL query
what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26?
SELECT SUM Points FROM table WHERE Goals Conceded < 24 AND Place < 6 AND Goals Scored < 26
Translate the following into a SQL query
what is the place when losses is less than 12 and points is less than 19?
SELECT SUM Place FROM table WHERE Lost < 12 AND Points < 19
Translate the following into a SQL query
what is the average place when lost is more than 12?
SELECT AVG Place FROM table WHERE Lost > 12
Translate the following into a SQL query
In what Year were there 48 of 120 Seats and a % votes larger than 34.18?
SELECT SUM Year FROM table WHERE Seats = 48 of 120 AND % votes > 34.18
Translate the following into a SQL query
After 1993, what is the Seats with a % votes of 38.72?
SELECT Seats FROM table WHERE Year > 1993 AND % votes = 38.72