answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT country FROM table_name_44 WHERE to_par = "e" AND player = "mark o'meara"
CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)
What country has to par E with Mark O'Meara?
SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh"
CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR)
What country placed t6 with player Vijay Singh?
SELECT money___$__ FROM table_name_16 WHERE player = "david toms"
CREATE TABLE table_name_16 (money___$__ VARCHAR, player VARCHAR)
How much money did David Toms get?
SELECT game FROM table_name_94 WHERE date = "april 26"
CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR)
What is the playoffs Game number on April 26?
SELECT score FROM table_name_98 WHERE game = "4"
CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)
What is the Score of Game 4?
SELECT game FROM table_name_59 WHERE date = "april 30"
CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR)
What is the playoff Game on April 30?
SELECT date FROM table_name_75 WHERE score = "l 115–118 (ot)"
CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR)
What is the Date of the game with a Score of L 115–118 (OT)?
SELECT result FROM table_name_20 WHERE attendance = "27,321"
CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)
What was the result when there were 27,321 in attendance?
SELECT attendance FROM table_name_63 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND opponent = "ohio"
CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)
What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?
SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321"
CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR)
What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance?
SELECT opponent FROM table_name_86 WHERE attendance = "27,321"
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
What team was the opponent when there were 27,321 in attendance?
SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc"
CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)
What date was the game at Williams-Brice stadium • Columbia, SC?
SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272
CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR)
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
SELECT AVG(date) FROM table_name_80 WHERE label = "cbs" AND region = "australia" AND catalog = "sbp 241031"
CREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR)
WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?
SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"
CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)
WHAT DATE HAS A CATALOG OF 486553.4?
SELECT MIN(date) FROM table_name_23 WHERE region = "korea" AND format = "cd"
CREATE TABLE table_name_23 (date INTEGER, region VARCHAR, format VARCHAR)
WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"
CREATE TABLE table_name_70 (Id VARCHAR)
What is 2008, when 2006 is "1R"?
SELECT tournament FROM table_name_93 WHERE 2006 = "a" AND 2009 = "a"
CREATE TABLE table_name_93 (tournament VARCHAR)
What is Tournament, when 2006 is "A", and when 2009 is "A"?
SELECT 2005 FROM table_name_73 WHERE 2006 = "1r"
CREATE TABLE table_name_73 (Id VARCHAR)
What is 2005, when 2006 is "1R"?
SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
CREATE TABLE table_name_40 (Id VARCHAR)
What is 2011, when 2008 is "2R"?
SELECT 2004 FROM table_name_74 WHERE 2005 = "2r" AND 2006 = "1r"
CREATE TABLE table_name_74 (Id VARCHAR)
What is 2004, when 2005 is "2R", and when 2006 is "1R"
SELECT 2004 FROM table_name_28 WHERE 2009 = "a"
CREATE TABLE table_name_28 (Id VARCHAR)
What is 2004, when 2009 is "A"?
SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–1"
CREATE TABLE table_name_21 (opponent VARCHAR, method VARCHAR, record VARCHAR)
What was the name of the opponent when the method was ko (slam), and record was 13–1?
SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner"
CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)
What is the highest pick of scott turner, who has a round greater than 2?
SELECT name FROM table_name_69 WHERE round > 4 AND position = "ot"
CREATE TABLE table_name_69 (name VARCHAR, round VARCHAR, position VARCHAR)
What is the name of the ot position player with a round greater than 4?
SELECT SUM(pick) FROM table_name_94 WHERE name = "darryl pounds" AND overall > 68
CREATE TABLE table_name_94 (pick INTEGER, name VARCHAR, overall VARCHAR)
What is the sum of the pick of darryl pounds, who has an overall greater than 68?
SELECT COUNT(round) FROM table_name_39 WHERE college = "lehigh" AND overall < 152
CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR)
What is the total number of rounds of the player from lehigh college with an overall less than 152?
SELECT MAX(round) FROM table_name_42 WHERE pick = 3
CREATE TABLE table_name_42 (round INTEGER, pick VARCHAR)
What is the highest round of pick 3?
SELECT COUNT(overall) FROM table_name_59 WHERE position = "ot" AND pick > 5
CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR)
What is the total overall number of the ot position player with a pick greater than 5?
SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)"
CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR)
What rank does the Singapore Cup of 0 (1) have?
SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa"
CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)
What Singapore League Cup does Masahiro Fukasawa have?
SELECT total FROM table_name_41 WHERE name = "norikazu murakami"
CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR)
What is Norikazu Murakami's total?
SELECT rank FROM table_name_11 WHERE total = "3 (20)"
CREATE TABLE table_name_11 (rank VARCHAR, total VARCHAR)
What is the rank for the total that has 3 (20)?
SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa"
CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR)
Which AFC cup does Masahiro Fukasawa have?
SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai"
CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR)
Which AFC cup does Kenji Arai have?
SELECT score FROM table_name_79 WHERE high_points = "joe johnson (31)"
CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR)
In the game where Joe Johnson (31) was the high points scorer, what was the final score?
SELECT MIN(to_par) FROM table_name_28 WHERE place = "t3" AND money___$__ < 1 OFFSET 500
CREATE TABLE table_name_28 (to_par INTEGER, place VARCHAR, money___$__ VARCHAR)
What is the lowest to par of the player with a t3 place and less than $1,500?
SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?
SELECT COUNT(money___) AS $__ FROM table_name_76 WHERE to_par = 9 AND player = "tommy bolt"
CREATE TABLE table_name_76 (money___ VARCHAR, to_par VARCHAR, player VARCHAR)
How much total money does player tommy bolt, who has a to par of 9, have?
SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8
CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
What is the lowest amount of money a player from South Africa with a to par less than 8 has?
SELECT venue FROM table_name_49 WHERE competition = "friendly match"
CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR)
What was the venue that had a friendly match competition?
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania"
CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
SELECT total_score FROM table_name_68 WHERE location = "san francisco, california" AND year > 1987 AND to_par_[a_] = "+1"
CREATE TABLE table_name_68 (total_score VARCHAR, location VARCHAR, year VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
What is the total score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1?
SELECT SUM(year) FROM table_name_57 WHERE location = "newport, rhode island"
CREATE TABLE table_name_57 (year INTEGER, location VARCHAR)
What is the sum for the year with a location of newport, rhode island?
SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e"
CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
What is the country with a course of merion golf club, and a to par [1] of e?
SELECT total_score FROM table_name_14 WHERE year = 2012
CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR)
What is the total score for the year 2012?
SELECT evening_gown FROM table_name_4 WHERE state = "mississippi"
CREATE TABLE table_name_4 (evening_gown VARCHAR, state VARCHAR)
What is the evening gown score for the contestant from Mississippi?
SELECT type FROM table_name_26 WHERE rank = 2
CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR)
What is the type for rank 2?
SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984
CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)
What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?
SELECT qual_2 FROM table_name_80 WHERE team = "herdez competition" AND name = "ryan hunter-reay"
CREATE TABLE table_name_80 (qual_2 VARCHAR, team VARCHAR, name VARCHAR)
What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?
SELECT team FROM table_name_13 WHERE name = "justin wilson"
CREATE TABLE table_name_13 (team VARCHAR, name VARCHAR)
What is Justin Wilson's Team?
SELECT best FROM table_name_31 WHERE qual_2 = "1:00.588"
CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR)
What is the Best of the racer with a Qual 2 of 1:00.588?
SELECT MIN(area__km²_) FROM table_name_55 WHERE population__2010_ = 7 OFFSET 616
CREATE TABLE table_name_55 (area__km²_ INTEGER, population__2010_ VARCHAR)
Where is the lowest area with a population of 7,616?
SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin"
CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)
Where in Tongyong is Hanyu Sanmin?
SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888
CREATE TABLE table_name_59 (hanyu VARCHAR, area__km²_ VARCHAR)
Which Hanya has an area of 19.3888?
SELECT nationality FROM table_name_17 WHERE round < 2 AND pick = 24
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR)
What is Nationality, when Round is less than 2, and when Pick is "24"?
SELECT nationality FROM table_name_36 WHERE round < 2 AND college_team = "cb l'hospitalet"
CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR)
What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?
SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56
CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "united states"
CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)
What is College/Team, when Round is less than 2, and when Nationality is "United States"?
SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7
CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?
SELECT score FROM table_name_51 WHERE date = "december 2"
CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR)
What is the score on December 2?
SELECT silver FROM table_name_42 WHERE year = "1938"
CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)
How many silver medals were won in 1938?
SELECT gold FROM table_name_61 WHERE year = "1970"
CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR)
How many gold medals were won in 1970?
SELECT silver FROM table_name_43 WHERE gold = "7"
CREATE TABLE table_name_43 (silver VARCHAR, gold VARCHAR)
How many silver medals were won the year 7 gold medals were won?
SELECT bronze FROM table_name_27 WHERE year = "1998"
CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)
How many bronze medals were won in 1998?
SELECT tv_time FROM table_name_35 WHERE date = "november 22, 1998"
CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR)
Can you tell me the TV Time that has the Date of november 22, 1998?
SELECT result FROM table_name_28 WHERE date = "september 13, 1998"
CREATE TABLE table_name_28 (result VARCHAR, date VARCHAR)
Can you tell me the Result that has the Date of september 13, 1998?
SELECT opponent FROM table_name_33 WHERE week < 11 AND tv_time = "fox 10:00 am mt" AND result = "w 20-17"
CREATE TABLE table_name_33 (opponent VARCHAR, result VARCHAR, week VARCHAR, tv_time VARCHAR)
Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?
SELECT result FROM table_name_63 WHERE week = 5
CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR)
Can you tell me the Result that has the Week of 5?
SELECT AVG(founded) FROM table_name_87 WHERE coach = "unknown" AND location = "enfield"
CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)
What is the average year that the club located in enfield was founded with an unknown coach?
SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve"
CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)
What was the location of the club where the home ground is wilfred taylor reserve?
SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946
CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)
Where is the club that was founded in 1946 located that has an unknown coach?
SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR)
Where is the home ground for the club coached by nick pantsaras and founded before 1946?
SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83"
CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)
Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?
SELECT game FROM table_name_85 WHERE location_attendance = "the forum" AND series = "0-1"
CREATE TABLE table_name_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR)
Which game was played at the Forum and led to a series result of 0-1?
SELECT score FROM table_name_82 WHERE game = 2
CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)
What was the score for game 2?
SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997"
CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR)
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
SELECT attendance FROM table_name_49 WHERE date = "november 19, 1990"
CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)
What is the attendance of the November 19, 1990 game?
SELECT COUNT(year) FROM table_name_37 WHERE iron_man_award = "kyal horsley"
CREATE TABLE table_name_37 (year VARCHAR, iron_man_award VARCHAR)
How many Years have an Iron Man Award of kyal horsley?
SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson"
CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR)
Which Coach has a Most Improved of rory thompson?
SELECT SUM(year) FROM table_name_85 WHERE community_award = "jarrod harbrow"
CREATE TABLE table_name_85 (year INTEGER, community_award VARCHAR)
Which Year has a Community Award of jarrod harbrow?
SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik"
CREATE TABLE table_name_35 (capacity INTEGER, team VARCHAR)
what is the capacity for the team šibenik?
SELECT stadium FROM table_name_81 WHERE team = "čakovec"
CREATE TABLE table_name_81 (stadium VARCHAR, team VARCHAR)
what is the stadium for čakovec?
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
SELECT home_city FROM table_name_29 WHERE stadium = "stadion src mladost"
CREATE TABLE table_name_29 (home_city VARCHAR, stadium VARCHAR)
what is the home city for the stadion src mladost?
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51
CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
What is the grid for the driver with an electrical time/retired and 51 laps?
SELECT driver FROM table_name_30 WHERE grid = 1
CREATE TABLE table_name_30 (driver VARCHAR, grid VARCHAR)
Who is the driver with 1 grid?
SELECT place FROM table_name_32 WHERE player = "mark carnevale"
CREATE TABLE table_name_32 (place VARCHAR, player VARCHAR)
What place was Mark Carnevale in?
SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud"
CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)
What was the highest attendance against Real Juventud?
SELECT away_captain FROM table_name_47 WHERE date = "7,8,10,11 feb 1908"
CREATE TABLE table_name_47 (away_captain VARCHAR, date VARCHAR)
Who is the away captain for the matches dated 7,8,10,11 feb 1908?
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
Who is the home captain at the Adelaide Oval?
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs"
CREATE TABLE table_name_93 (home_captain VARCHAR, result VARCHAR)
Who is the home captain that won AUS by 245 runs?
SELECT venue FROM table_name_64 WHERE date = "1,2,3,4,6,7 jan 1908"
CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)
What was the venue for the dates 1,2,3,4,6,7 jan 1908?
SELECT venue FROM table_name_67 WHERE date = "7,8,10,11 feb 1908"
CREATE TABLE table_name_67 (venue VARCHAR, date VARCHAR)
What was the venue for the dates 7,8,10,11 Feb 1908?
SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries"
CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR)
What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?
SELECT moving_parts FROM table_name_74 WHERE technology = "lead-acid"
CREATE TABLE table_name_74 (moving_parts VARCHAR, technology VARCHAR)
What are the moving parts of lead-acid?
SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no"
CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)
What's the room temperature with no toxic materials and no ln production?
SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no"
CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)
What's the technology when there are no moving parts but yes to toxic materials?
SELECT score FROM table_name_14 WHERE place = "t9" AND country = "united states" AND player = "kirk triplett"
CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
What was the Score for T9 United States Player Kirk Triplett?
SELECT country FROM table_name_22 WHERE player = "tiger woods"
CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)
What country is Tiger Woods from?