instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What venue was the match against the guest team, FK ibar, played at?
SELECT Venue FROM table WHERE Guest = fk ibar
Translate the following into a SQL query
What's the Score with a Home of Scotland and Date of 24 February?
SELECT Score FROM table WHERE Home = scotland AND Date = 24 february
Translate the following into a SQL query
What round was john sutro, tackle, drafter with a pick lower than 79?
SELECT SUM Round FROM table WHERE Position = tackle AND Player = john sutro AND Pick < 79
Translate the following into a SQL query
What pick was roger holdinsky?
SELECT Pick FROM table WHERE Player = roger holdinsky
Translate the following into a SQL query
When was chuck morris, back, drafted?
SELECT MIN Pick FROM table WHERE Position = back AND Player = chuck morris
Translate the following into a SQL query
What wss the average round drafted for xavier players?
SELECT AVG Round FROM table WHERE School = xavier
Translate the following into a SQL query
What is the urban sub-area with an East Dunbartonshire council area and a population of 19,020?
SELECT Urban sub-area FROM table WHERE Council area = east dunbartonshire AND Population = 19,020
Translate the following into a SQL query
What is the council area for the Larkhall urban sub-area?
SELECT Council area FROM table WHERE Urban sub-area = larkhall
Translate the following into a SQL query
What is the population of the East Kilbride urban sub-area?
SELECT Population FROM table WHERE Urban sub-area = east kilbride
Translate the following into a SQL query
Which urban sub-area has a population of 16,140?
SELECT Urban sub-area FROM table WHERE Population = 16,140
Translate the following into a SQL query
What is the record of the cubs on July 19?
SELECT Record FROM table WHERE Date = july 19
Translate the following into a SQL query
What was the score during the game that had more than 12,194 people in attendance and a record of 53-32?
SELECT Score FROM table WHERE Attendance > 12,194 AND Record = 53-32
Translate the following into a SQL query
What nationality is Northwood School (N.Y.)?
SELECT Nationality FROM table WHERE College/Junior/Club Team (League) = northwood school (n.y.)
Translate the following into a SQL query
What are incumbent William Vandever's results?
SELECT Result FROM table WHERE Incumbent = william vandever
Translate the following into a SQL query
Who was the first person elected from Democratic GAIN?
SELECT First elected FROM table WHERE Result = democratic gain
Translate the following into a SQL query
What was the result for incumbent Joseph McKenna who was first elected in 1884?
SELECT Result FROM table WHERE First elected = 1884 AND Incumbent = joseph mckenna
Translate the following into a SQL query
When was republican incumbent Joseph McKenna first elected?
SELECT First elected FROM table WHERE Party = republican AND Incumbent = joseph mckenna
Translate the following into a SQL query
what is the lowest capacity in grodno
SELECT MIN Capacity FROM table WHERE Location = grodno
Translate the following into a SQL query
Which Score has January larger than 18 and a Record of 35–15–1?
SELECT Score FROM table WHERE January > 18 AND Record = 35–15–1
Translate the following into a SQL query
How many starts are associated with an oldsmobile engine, 21 finishes and before 2001?
SELECT SUM Start FROM table WHERE Engine = oldsmobile AND Finish = 21 AND Year < 2001
Translate the following into a SQL query
What was the finish associated with under 11 starts, a honda engine, before 2003?
SELECT AVG Finish FROM table WHERE Start < 11 AND Engine = honda AND Year < 2003
Translate the following into a SQL query
what is the director of la ronde
SELECT Director FROM table WHERE Original title = la ronde
Translate the following into a SQL query
What is the lowest number of people attending the game on May 30 with Colorado as the visitors?
SELECT MIN Attendance FROM table WHERE Visitor = colorado AND Date = may 30
Translate the following into a SQL query
What is the lowest number of people attending the game where Colorado was the home team?
SELECT MIN Attendance FROM table WHERE Home = colorado
Translate the following into a SQL query
What was the score of the game on May 26?
SELECT Score FROM table WHERE Date = may 26
Translate the following into a SQL query
What is the lowest round that Adam Wiesel was picked?
SELECT MIN Round FROM table WHERE Player = adam wiesel
Translate the following into a SQL query
What college, junior, or club team did defence player Rory Fitzpatrick play for?
SELECT College/Junior/Club Team FROM table WHERE Position = defence AND Player = rory fitzpatrick
Translate the following into a SQL query
What was the score for 1911?
SELECT Score FROM table WHERE Year = 1911
Translate the following into a SQL query
what country has tiger woods
SELECT Country FROM table WHERE Player = tiger woods
Translate the following into a SQL query
what country has a score of 69-70-72=211?
SELECT Place FROM table WHERE Score = 69-70-72=211
Translate the following into a SQL query
what player scored 69-72-68=209?
SELECT Player FROM table WHERE Score = 69-72-68=209
Translate the following into a SQL query
What is the largest number for earnings for tom watson when ranked more than 2?
SELECT MAX Earnings ( $ ) FROM table WHERE Player = tom watson AND Rank > 2
Translate the following into a SQL query
Which 1st (m) is the lowest one that has a Nationality of aut, and Points larger than 273.5?
SELECT MIN 1st (m) FROM table WHERE Nationality = aut AND Points > 273.5
Translate the following into a SQL query
Which 2nd (m) is the lowest one that has a Rank larger than 3, and a 1st (m) larger than 140.5?
SELECT MIN 2nd (m) FROM table WHERE Rank > 3 AND 1st (m) > 140.5
Translate the following into a SQL query
Which 2nd (m) has an Overall WC points (Rank) of 1632 (1), and Points larger than 273.5?
SELECT SUM 2nd (m) FROM table WHERE Overall WC points (Rank) = 1632 (1) AND Points > 273.5
Translate the following into a SQL query
What is the highest number of wins associated with under 0 poles?
SELECT MAX Wins FROM table WHERE Poles < 0
Translate the following into a SQL query
How many poles did he have in 2006 with under 2 wins?
SELECT Poles FROM table WHERE Season = 2006 AND Wins < 2
Translate the following into a SQL query
What is the fewest number of wins when he has 3 poles in 2010?
SELECT MIN Wins FROM table WHERE Poles = 3 AND Season = 2010
Translate the following into a SQL query
What's listed for the 2012 that has a 2011 of 7.7% with a 2008 of 7.9%?
SELECT 2012 FROM table WHERE 2011 = 7.7% AND 2008 = 7.9%
Translate the following into a SQL query
What is listed for the 2011 that has a 2005 of 4.2%?
SELECT 2011 FROM table WHERE 2005 = 4.2%
Translate the following into a SQL query
What is listed for the 2012 that has a 2011 of 28.9%?
SELECT 2012 FROM table WHERE 2011 = 28.9%
Translate the following into a SQL query
What is listed for the 2005 that has a 2012 of 4.2%?
SELECT 2005 FROM table WHERE 2012 = 4.2%
Translate the following into a SQL query
What is listed the Favorite Professional Sport that's got a 2005 of 17.1%?
SELECT Favorite professional sport FROM table WHERE 2005 = 17.1%
Translate the following into a SQL query
What is listed as the Favorite Professional Sport that has a 2008 of 8.9%?
SELECT Favorite professional sport FROM table WHERE 2008 = 8.9%
Translate the following into a SQL query
What was the score of the game that led to a 79-77 record?
SELECT Score FROM table WHERE Record = 79-77
Translate the following into a SQL query
What was the record after the game in which Rosales (1-1) took the loss?
SELECT Record FROM table WHERE Loss = rosales (1-1)
Translate the following into a SQL query
Which supercentenarians were born in Manitoba?
SELECT Name FROM table WHERE Province or Country of birth = manitoba
Translate the following into a SQL query
What is the average age as of February 1, 2014 for the supercentenarians born in the United States?
SELECT Age as of 1 February 2014 FROM table WHERE Province or Country of birth = united states
Translate the following into a SQL query
Which 2010 Tournament has a 2001 of grand slam tournaments?
SELECT 2010 FROM table WHERE 2001 = grand slam tournaments
Translate the following into a SQL query
Which 2006 Tournament has a 2004, and a 2002 of not tier i?
SELECT 2006 FROM table WHERE 2004 = a AND 2002 = not tier i
Translate the following into a SQL query
Which 2008 Tournament has a 2007 of a and a 2010 of qf?
SELECT 2008 FROM table WHERE 2007 = a AND 2010 = qf
Translate the following into a SQL query
Which Tournament has a 2002 of grand slam tournaments?
SELECT Tournament FROM table WHERE 2002 = grand slam tournaments
Translate the following into a SQL query
Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?
SELECT 2000 FROM table WHERE 2002 = not tier i AND 2006 = 2r
Translate the following into a SQL query
Which language's launch was in 2006 when then hanzi was 青海电视台藏语综合频道?
SELECT Language FROM table WHERE Launch = 2006 AND Hanzi = 青海电视台藏语综合频道
Translate the following into a SQL query
Which hanzi's name is nmtv mongolian satellite television?
SELECT Hanzi FROM table WHERE Name = nmtv mongolian satellite television
Translate the following into a SQL query
Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel?
SELECT Hanzi FROM table WHERE Launch < 2009 AND Language = tibetan AND Name = qinghai tibetian general channel
Translate the following into a SQL query
What Team had a 1:24.365 Qual 2?
SELECT Team FROM table WHERE Qual 2 = 1:24.365
Translate the following into a SQL query
What Team had a 1:24.152 Best?
SELECT Team FROM table WHERE Best = 1:24.152
Translate the following into a SQL query
What was Robert Doornbos' Best?
SELECT Best FROM table WHERE Name = robert doornbos
Translate the following into a SQL query
What was Alex Figge's Best?
SELECT Best FROM table WHERE Name = alex figge
Translate the following into a SQL query
What Team had a 1:25.602 Best?
SELECT Team FROM table WHERE Best = 1:25.602
Translate the following into a SQL query
What was the Name of the person with a Qual 1 of 1:26.056?
SELECT Name FROM table WHERE Qual 1 = 1:26.056
Translate the following into a SQL query
How many picks were there for the Bentley team?
SELECT COUNT Pick FROM table WHERE School/Club Team = bentley
Translate the following into a SQL query
What is the largest round number for Dan Connor, the player?
SELECT MAX Round FROM table WHERE Player = dan connor
Translate the following into a SQL query
What is the largest round number for the dt position when the pick number is bigger than 181?
SELECT MAX Round FROM table WHERE Position = dt AND Pick > 181
Translate the following into a SQL query
what circuit is in italy
SELECT Circuit FROM table WHERE Round = italy
Translate the following into a SQL query
What is the average pick for clarence mason?
SELECT AVG Pick FROM table WHERE Player = clarence mason
Translate the following into a SQL query
What is the frequency for the city of Lamar, Colorado?
SELECT AVG Frequency MHz FROM table WHERE City of license = lamar, colorado
Translate the following into a SQL query
What is the average ERP W for callsign K207BK?
SELECT AVG ERP W FROM table WHERE Call sign = k207bk
Translate the following into a SQL query
Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
SELECT Call sign FROM table WHERE Frequency MHz > 88.7 AND ERP W = 99
Translate the following into a SQL query
Which city has ERP W under 14 and a frequency over 93.7MHz?
SELECT City of license FROM table WHERE ERP W < 14 AND Frequency MHz > 93.7
Translate the following into a SQL query
What were the total number of field goals when there were 0 touchdowns and 2 extra points?
SELECT COUNT Field goals FROM table WHERE Touchdowns = 0 AND Extra points = 2
Translate the following into a SQL query
How many field goals did Carter get when he had 0 extra points?
SELECT SUM Field goals FROM table WHERE Player = carter AND Extra points < 0
Translate the following into a SQL query
What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals?
SELECT MAX Extra points FROM table WHERE Points = 28 AND Field goals < 0
Translate the following into a SQL query
What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
SELECT AVG Field goals FROM table WHERE Extra points > 0 AND Touchdowns > 5
Translate the following into a SQL query
What is the lowest number of wins with more than 113 points in 4th rank?
SELECT MIN Wins FROM table WHERE Points > 113 AND Rank = 4th
Translate the following into a SQL query
How many wins had less than 91 points in 25th rank?
SELECT Wins FROM table WHERE Points < 91 AND Rank = 25th
Translate the following into a SQL query
How many wins in 1992?
SELECT Wins FROM table WHERE Year = 1992
Translate the following into a SQL query
How many wins occurred for 6th rank?
SELECT COUNT Wins FROM table WHERE Rank = 6th
Translate the following into a SQL query
Who was the constructor of the car driven by Heikki Kovalainen?
SELECT Constructor FROM table WHERE Driver = heikki kovalainen
Translate the following into a SQL query
Which Reg Season has a Division of 2?
SELECT Reg. Season FROM table WHERE Division = 2
Translate the following into a SQL query
Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2?
SELECT MAX Year FROM table WHERE Reg. Season = 3rd, western AND Division > 2
Translate the following into a SQL query
Which year is the lowest one when the playoffs did not qualify?
SELECT MIN Year FROM table WHERE Playoffs = did not qualify
Translate the following into a SQL query
Which Year has a Reg Season of 3rd, western?
SELECT AVG Year FROM table WHERE Reg. Season = 3rd, western
Translate the following into a SQL query
Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
SELECT AVG Division FROM table WHERE Reg. Season = 1st, western AND Playoffs = champions AND Year < 2013
Translate the following into a SQL query
Who was the opponent during the game that had more than 31,891 people in attendance?
SELECT Opponent FROM table WHERE Attendance > 31,891
Translate the following into a SQL query
What is the average attendance for the game before week 4 that was on october 16, 1955?
SELECT AVG Attendance FROM table WHERE Date = october 16, 1955 AND Week < 4
Translate the following into a SQL query
What is the total number of weeks that were on September 25, 1955 with more than 16,901 people in attendance?
SELECT COUNT Week FROM table WHERE Attendance > 16,901 AND Date = september 25, 1955
Translate the following into a SQL query
Who was the opponent for the game on November 20, 1955?
SELECT Opponent FROM table WHERE Date = november 20, 1955
Translate the following into a SQL query
What is the highest number of successful defenses in brandon, florida and a reign less than 1?
SELECT MAX Successful defenses FROM table WHERE Location = brandon, florida AND Reign < 1
Translate the following into a SQL query
What was the date of the game against Norway with a 1:1 result?
SELECT Date FROM table WHERE Opponent = norway AND Results¹ = 1:1
Translate the following into a SQL query
What type of game had a 0:0 result?
SELECT Type of game FROM table WHERE Results¹ = 0:0
Translate the following into a SQL query
What city held that game with a 5:2 result?
SELECT City FROM table WHERE Results¹ = 5:2
Translate the following into a SQL query
What is the score of the game that has a record of 1-2-1?
SELECT Score FROM table WHERE Record = 1-2-1
Translate the following into a SQL query
What is the team's record in games against the Hartford Whalers?
SELECT Record FROM table WHERE Opponent = hartford whalers
Translate the following into a SQL query
What was the Record on Week 13 at the Hoosier Dome?
SELECT Record FROM table WHERE Game Site = hoosier dome AND Week = 13
Translate the following into a SQL query
What was the Week on October 18, 1992?
SELECT SUM Week FROM table WHERE Date = october 18, 1992
Translate the following into a SQL query
What loss has 16-6 as the record?
SELECT Loss FROM table WHERE Record = 16-6
Translate the following into a SQL query
What loss has 4-2 as the record?
SELECT Loss FROM table WHERE Record = 4-2
Translate the following into a SQL query
What attendance has astros as the opponent, and april 29 as the date?
SELECT SUM Attendance FROM table WHERE Opponent = astros AND Date = april 29