answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT country FROM table_name_47 WHERE player = "tiger woods"
CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)
what country has tiger woods
SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)
what country has a score of 69-70-72=211?
SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209
CREATE TABLE table_name_66 (player VARCHAR, score VARCHAR)
what player scored 69-72-68=209?
SELECT MAX(earnings___) AS $__ FROM table_name_59 WHERE player = "tom watson" AND rank > 2
CREATE TABLE table_name_59 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
What is the largest number for earnings for tom watson when ranked more than 2?
SELECT MIN(1 AS st__m_) FROM table_name_28 WHERE nationality = "aut" AND points > 273.5
CREATE TABLE table_name_28 (nationality VARCHAR, points VARCHAR)
Which 1st (m) is the lowest one that has a Nationality of aut, and Points larger than 273.5?
SELECT MAX(wins) FROM table_name_36 WHERE poles < 0
CREATE TABLE table_name_36 (wins INTEGER, poles INTEGER)
What is the highest number of wins associated with under 0 poles?
SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2
CREATE TABLE table_name_57 (poles VARCHAR, season VARCHAR, wins VARCHAR)
How many poles did he have in 2006 with under 2 wins?
SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010"
CREATE TABLE table_name_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
What is the fewest number of wins when he has 3 poles in 2010?
SELECT 2012 FROM table_name_88 WHERE 2011 = "7.7%" AND 2008 = "7.9%"
CREATE TABLE table_name_88 (Id VARCHAR)
What's listed for the 2012 that has a 2011 of 7.7% with a 2008 of 7.9%?
SELECT 2011 FROM table_name_8 WHERE 2005 = "4.2%"
CREATE TABLE table_name_8 (Id VARCHAR)
What is listed for the 2011 that has a 2005 of 4.2%?
SELECT 2012 FROM table_name_86 WHERE 2011 = "28.9%"
CREATE TABLE table_name_86 (Id VARCHAR)
What is listed for the 2012 that has a 2011 of 28.9%?
SELECT 2005 FROM table_name_35 WHERE 2012 = "4.2%"
CREATE TABLE table_name_35 (Id VARCHAR)
What is listed for the 2005 that has a 2012 of 4.2%?
SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.1%"
CREATE TABLE table_name_91 (favorite_professional_sport VARCHAR)
What is listed the Favorite Professional Sport that's got a 2005 of 17.1%?
SELECT favorite_professional_sport FROM table_name_87 WHERE 2008 = "8.9%"
CREATE TABLE table_name_87 (favorite_professional_sport VARCHAR)
What is listed as the Favorite Professional Sport that has a 2008 of 8.9%?
SELECT score FROM table_name_64 WHERE record = "79-77"
CREATE TABLE table_name_64 (score VARCHAR, record VARCHAR)
What was the score of the game that led to a 79-77 record?
SELECT record FROM table_name_95 WHERE loss = "rosales (1-1)"
CREATE TABLE table_name_95 (record VARCHAR, loss VARCHAR)
What was the record after the game in which Rosales (1-1) took the loss?
SELECT name FROM table_name_52 WHERE province_or_country_of_birth = "manitoba"
CREATE TABLE table_name_52 (name VARCHAR, province_or_country_of_birth VARCHAR)
Which supercentenarians were born in Manitoba?
SELECT age_as_of_1_february_2014 FROM table_name_23 WHERE province_or_country_of_birth = "united states"
CREATE TABLE table_name_23 (age_as_of_1_february_2014 VARCHAR, province_or_country_of_birth VARCHAR)
What is the average age as of February 1, 2014 for the supercentenarians born in the United States?
SELECT 2010 FROM table_name_36 WHERE 2001 = "grand slam tournaments"
CREATE TABLE table_name_36 (Id VARCHAR)
Which 2010 Tournament has a 2001 of grand slam tournaments?
SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"
CREATE TABLE table_name_15 (Id VARCHAR)
Which 2006 Tournament has a 2004, and a 2002 of not tier i?
SELECT 2008 FROM table_name_46 WHERE 2007 = "a" AND 2010 = "qf"
CREATE TABLE table_name_46 (Id VARCHAR)
Which 2008 Tournament has a 2007 of a and a 2010 of qf?
SELECT tournament FROM table_name_82 WHERE 2002 = "grand slam tournaments"
CREATE TABLE table_name_82 (tournament VARCHAR)
Which Tournament has a 2002 of grand slam tournaments?
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"
CREATE TABLE table_name_57 (Id VARCHAR)
Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?
SELECT language FROM table_name_7 WHERE launch = 2006 AND hanzi = "青海电视台藏语综合频道"
CREATE TABLE table_name_7 (language VARCHAR, launch VARCHAR, hanzi VARCHAR)
Which language's launch was in 2006 when then hanzi was 青海电视台藏语综合频道?
SELECT hanzi FROM table_name_84 WHERE name = "nmtv mongolian satellite television"
CREATE TABLE table_name_84 (hanzi VARCHAR, name VARCHAR)
Which hanzi's name is nmtv mongolian satellite television?
SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = "tibetan" AND name = "qinghai tibetian general channel"
CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR)
Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel?
SELECT team FROM table_name_60 WHERE qual_2 = "1:24.365"
CREATE TABLE table_name_60 (team VARCHAR, qual_2 VARCHAR)
What Team had a 1:24.365 Qual 2?
SELECT team FROM table_name_51 WHERE best = "1:24.152"
CREATE TABLE table_name_51 (team VARCHAR, best VARCHAR)
What Team had a 1:24.152 Best?
SELECT best FROM table_name_47 WHERE name = "robert doornbos"
CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)
What was Robert Doornbos' Best?
SELECT best FROM table_name_47 WHERE name = "alex figge"
CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)
What was Alex Figge's Best?
SELECT team FROM table_name_41 WHERE best = "1:25.602"
CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)
What Team had a 1:25.602 Best?
SELECT name FROM table_name_59 WHERE qual_1 = "1:26.056"
CREATE TABLE table_name_59 (name VARCHAR, qual_1 VARCHAR)
What was the Name of the person with a Qual 1 of 1:26.056?
SELECT COUNT(pick) FROM table_name_31 WHERE school_club_team = "bentley"
CREATE TABLE table_name_31 (pick VARCHAR, school_club_team VARCHAR)
How many picks were there for the Bentley team?
SELECT MAX(round) FROM table_name_87 WHERE player = "dan connor"
CREATE TABLE table_name_87 (round INTEGER, player VARCHAR)
What is the largest round number for Dan Connor, the player?
SELECT MAX(round) FROM table_name_54 WHERE position = "dt" AND pick > 181
CREATE TABLE table_name_54 (round INTEGER, position VARCHAR, pick VARCHAR)
What is the largest round number for the dt position when the pick number is bigger than 181?
SELECT circuit FROM table_name_25 WHERE round = "italy"
CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)
what circuit is in italy
SELECT AVG(pick) FROM table_name_59 WHERE player = "clarence mason"
CREATE TABLE table_name_59 (pick INTEGER, player VARCHAR)
What is the average pick for clarence mason?
SELECT AVG(frequency_mhz) FROM table_name_37 WHERE city_of_license = "lamar, colorado"
CREATE TABLE table_name_37 (frequency_mhz INTEGER, city_of_license VARCHAR)
What is the frequency for the city of Lamar, Colorado?
SELECT AVG(erp_w) FROM table_name_97 WHERE call_sign = "k207bk"
CREATE TABLE table_name_97 (erp_w INTEGER, call_sign VARCHAR)
What is the average ERP W for callsign K207BK?
SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99
CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7
CREATE TABLE table_name_20 (city_of_license VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
Which city has ERP W under 14 and a frequency over 93.7MHz?
SELECT COUNT(field_goals) FROM table_name_80 WHERE touchdowns = 0 AND extra_points = 2
CREATE TABLE table_name_80 (field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
What were the total number of field goals when there were 0 touchdowns and 2 extra points?
SELECT SUM(field_goals) FROM table_name_14 WHERE player = "carter" AND extra_points < 0
CREATE TABLE table_name_14 (field_goals INTEGER, player VARCHAR, extra_points VARCHAR)
How many field goals did Carter get when he had 0 extra points?
SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0
CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR)
What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals?
SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5
CREATE TABLE table_name_80 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR)
What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
SELECT MIN(wins) FROM table_name_80 WHERE points > 113 AND rank = "4th"
CREATE TABLE table_name_80 (wins INTEGER, points VARCHAR, rank VARCHAR)
What is the lowest number of wins with more than 113 points in 4th rank?
SELECT wins FROM table_name_44 WHERE points < 91 AND rank = "25th"
CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR)
How many wins had less than 91 points in 25th rank?
SELECT wins FROM table_name_52 WHERE year = 1992
CREATE TABLE table_name_52 (wins VARCHAR, year VARCHAR)
How many wins in 1992?
SELECT COUNT(wins) FROM table_name_31 WHERE rank = "6th"
CREATE TABLE table_name_31 (wins VARCHAR, rank VARCHAR)
How many wins occurred for 6th rank?
SELECT constructor FROM table_name_39 WHERE driver = "heikki kovalainen"
CREATE TABLE table_name_39 (constructor VARCHAR, driver VARCHAR)
Who was the constructor of the car driven by Heikki Kovalainen?
SELECT reg_season FROM table_name_31 WHERE division = 2
CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR)
Which Reg Season has a Division of 2?
SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 2
CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR)
Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2?
SELECT MIN(year) FROM table_name_93 WHERE playoffs = "did not qualify"
CREATE TABLE table_name_93 (year INTEGER, playoffs VARCHAR)
Which year is the lowest one when the playoffs did not qualify?
SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western"
CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR)
Which Year has a Reg Season of 3rd, western?
SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013
CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR)
Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
SELECT opponent FROM table_name_80 WHERE attendance > 31 OFFSET 891
CREATE TABLE table_name_80 (opponent VARCHAR, attendance INTEGER)
Who was the opponent during the game that had more than 31,891 people in attendance?
SELECT AVG(attendance) FROM table_name_97 WHERE date = "october 16, 1955" AND week < 4
CREATE TABLE table_name_97 (attendance INTEGER, date VARCHAR, week VARCHAR)
What is the average attendance for the game before week 4 that was on october 16, 1955?
SELECT opponent FROM table_name_35 WHERE date = "november 20, 1955"
CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)
Who was the opponent for the game on November 20, 1955?
SELECT MAX(successful_defenses) FROM table_name_13 WHERE location = "brandon, florida" AND reign < 1
CREATE TABLE table_name_13 (successful_defenses INTEGER, location VARCHAR, reign VARCHAR)
What is the highest number of successful defenses in brandon, florida and a reign less than 1?
SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1"
CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)
What was the date of the game against Norway with a 1:1 result?
SELECT type_of_game FROM table_name_17 WHERE results¹ = "0:0"
CREATE TABLE table_name_17 (type_of_game VARCHAR, results¹ VARCHAR)
What type of game had a 0:0 result?
SELECT city FROM table_name_5 WHERE results¹ = "5:2"
CREATE TABLE table_name_5 (city VARCHAR, results¹ VARCHAR)
What city held that game with a 5:2 result?
SELECT score FROM table_name_29 WHERE record = "1-2-1"
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
What is the score of the game that has a record of 1-2-1?
SELECT record FROM table_name_52 WHERE opponent = "hartford whalers"
CREATE TABLE table_name_52 (record VARCHAR, opponent VARCHAR)
What is the team's record in games against the Hartford Whalers?
SELECT record FROM table_name_97 WHERE game_site = "hoosier dome" AND week = 13
CREATE TABLE table_name_97 (record VARCHAR, game_site VARCHAR, week VARCHAR)
What was the Record on Week 13 at the Hoosier Dome?
SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992"
CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)
What was the Week on October 18, 1992?
SELECT loss FROM table_name_25 WHERE record = "16-6"
CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)
What loss has 16-6 as the record?
SELECT loss FROM table_name_73 WHERE record = "4-2"
CREATE TABLE table_name_73 (loss VARCHAR, record VARCHAR)
What loss has 4-2 as the record?
SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"
CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
What attendance has astros as the opponent, and april 29 as the date?
SELECT operator FROM table_name_13 WHERE width = "2.65 m" AND type_designation = "m5000"
CREATE TABLE table_name_13 (operator VARCHAR, width VARCHAR, type_designation VARCHAR)
Which Operator has a Width of 2.65 m, and a Type designation of m5000?
SELECT width FROM table_name_88 WHERE number_of_vehicles > 15 AND type_designation = "k5000"
CREATE TABLE table_name_88 (width VARCHAR, number_of_vehicles VARCHAR, type_designation VARCHAR)
Which Width has a Number of vehicles larger than 15, and a Type designation of k5000?
SELECT number_of_vehicles FROM table_name_76 WHERE type_designation = "u5-25 (bi-directional)"
CREATE TABLE table_name_76 (number_of_vehicles VARCHAR, type_designation VARCHAR)
Which Number of vehicles has a Type designation of u5-25 (bi-directional)?
SELECT irish_name FROM table_name_65 WHERE province = "leinster" AND county = "fingal"
CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)
Province of leinster, and a County of fingal has which irish name?
SELECT county AS town FROM table_name_34 WHERE irish_name = "an dún (contae an dúin)"
CREATE TABLE table_name_34 (county VARCHAR, irish_name VARCHAR)
Irish name of an dún (contae an dúin) has what county town?
SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)"
CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)
Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region?
SELECT most_populous_city_town FROM table_name_46 WHERE irish_name = "dún na ngall (contae dhún na ngall)"
CREATE TABLE table_name_46 (most_populous_city_town VARCHAR, irish_name VARCHAR)
Irish name of dún na ngall (contae dhún na ngall) has the most populous city/town?
SELECT games FROM table_name_66 WHERE name = "rubén limardo"
CREATE TABLE table_name_66 (games VARCHAR, name VARCHAR)
Name the games for rubén limardo
SELECT sport FROM table_name_75 WHERE medal = "gold" AND event = "men's light flyweight"
CREATE TABLE table_name_75 (sport VARCHAR, medal VARCHAR, event VARCHAR)
Name the sport for men's light flyweight with medal of gold
SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting"
CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR)
Tell me the name for men's featherweight and sport of weightlifting
SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart"
CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR)
Which details of journey had simon hoggart as a narrator?
SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling"
CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)
Which countries visited had an episode number of less than 7 when Ray Gosling was the writer?
SELECT height FROM table_name_30 WHERE name = "zipp duncan"
CREATE TABLE table_name_30 (height VARCHAR, name VARCHAR)
How tall is Zipp Duncan?
SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon"
CREATE TABLE table_name_51 (games INTEGER, name VARCHAR)
What is the average games of Tony Dixon?
SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19
CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19?
SELECT SUM(cuts_made) FROM table_name_90 WHERE top_25 < 6 AND top_5 > 0
CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)
What is the total of cuts made where the top 25 is less than 6 and the top-5 is more than 0?
SELECT COUNT(top_10) FROM table_name_61 WHERE top_25 > 6 AND wins < 2
CREATE TABLE table_name_61 (top_10 VARCHAR, top_25 VARCHAR, wins VARCHAR)
How many top-10 numbers had a top 25 of more than 6 with less than 2 wins?
SELECT 2011 FROM table_name_35 WHERE 2010 = "1r" AND 2012 = "sf"
CREATE TABLE table_name_35 (Id VARCHAR)
Name the 2011 with 2010 of 1r and 2012 of sf
SELECT 2008 FROM table_name_39 WHERE 2012 = "2r" AND 2006 = "2r"
CREATE TABLE table_name_39 (Id VARCHAR)
Name the 2008 with 2012 of 2r and 2006 of 2r
SELECT 2008 FROM table_name_41 WHERE 2012 = "sf"
CREATE TABLE table_name_41 (Id VARCHAR)
Name the 2008 for 2012 of sf
SELECT 2013 FROM table_name_9 WHERE 2011 = "1r"
CREATE TABLE table_name_9 (Id VARCHAR)
Name the 2013 for 2011 of 1r
SELECT 2011 FROM table_name_22 WHERE 2006 = "2r" AND 2008 = "2r"
CREATE TABLE table_name_22 (Id VARCHAR)
Name the 2011 with 2006 of 2r and 2008 of 2r
SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r"
CREATE TABLE table_name_69 (Id VARCHAR)
Name the 2012 with 2013 of 2r and 2009 of 3r
SELECT COUNT(field_goals) FROM table_name_33 WHERE points > 5 AND touchdowns > 2 AND extra_points < 0
CREATE TABLE table_name_33 (field_goals VARCHAR, extra_points VARCHAR, points VARCHAR, touchdowns VARCHAR)
How many Field goals have Points larger than 5, and Touchdowns larger than 2, and an Extra points smaller than 0?
SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48
CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR)
How many Touchdowns have Extra points larger than 0, and Points of 48?
SELECT AVG(touchdowns) FROM table_name_8 WHERE extra_points < 5 AND player = "clark" AND field_goals > 0
CREATE TABLE table_name_8 (touchdowns INTEGER, field_goals VARCHAR, extra_points VARCHAR, player VARCHAR)
Which Touchdowns have an Extra points smaller than 5, and a Player of clark, and Field goals larger than 0?
SELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0
CREATE TABLE table_name_70 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
SELECT semifinalists FROM table_name_86 WHERE champions = "michael chang 6-0 6-4"
CREATE TABLE table_name_86 (semifinalists VARCHAR, champions VARCHAR)
Which Semifinalists has a Champions of michael chang 6-0 6-4?
SELECT runners_up FROM table_name_68 WHERE semifinalists = "guillermo pérez-roldán andrea gaudenzi"
CREATE TABLE table_name_68 (runners_up VARCHAR, semifinalists VARCHAR)
Whose Runner-up has a Semifinalist of guillermo pérez-roldán andrea gaudenzi?
SELECT MIN(season) FROM table_name_5 WHERE level < 1
CREATE TABLE table_name_5 (season INTEGER, level INTEGER)
Tell me the least season with level less than 1
SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983"
CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)
What was the Attendance on September 11, 1983?