context
stringlengths
27
489
question
stringlengths
12
244
answer
stringlengths
18
557
CREATE TABLE table_name_97 (tyre VARCHAR, drivers VARCHAR)
What is the tyre for Yoshihisa Namekata?
SELECT tyre FROM table_name_97 WHERE drivers = "yoshihisa namekata"
CREATE TABLE table_name_55 (overall INTEGER, position VARCHAR, pick VARCHAR)
If the pick is under 28 and the position is k, what's the highest Overall pick?
SELECT MAX(overall) FROM table_name_55 WHERE position = "k" AND pick < 28
CREATE TABLE table_name_62 (overall INTEGER, position VARCHAR, round VARCHAR)
During round 8 when the Position being picked was rb, what was the highest overall pick?
SELECT MAX(overall) FROM table_name_62 WHERE position = "rb" AND round = 8
CREATE TABLE table_name_34 (county VARCHAR, bush_number VARCHAR)
Which county had a Bush number of votes of 566?
SELECT county FROM table_name_34 WHERE bush_number = 566
CREATE TABLE table_name_50 (opponent VARCHAR, year VARCHAR, outcome VARCHAR)
who is the opponent when the year is after 1996 and the outcome is winner?
SELECT opponent FROM table_name_50 WHERE year > 1996 AND outcome = "winner"
CREATE TABLE table_name_23 (surface VARCHAR, championship VARCHAR, opponent VARCHAR)
what is the surface when the championship is rome and the opponent is sergi bruguera?
SELECT surface FROM table_name_23 WHERE championship = "rome" AND opponent = "sergi bruguera"
CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, outcome VARCHAR)
what is the score when the surface is hard and outcome is runner-up?
SELECT score FROM table_name_85 WHERE surface = "hard" AND outcome = "runner-up"
CREATE TABLE table_name_29 (game INTEGER, date VARCHAR)
What was the number of the game played on February 24?
SELECT SUM(game) FROM table_name_29 WHERE date = "february 24"
CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR)
Where was the game played when the opponent was Oklahoma City, and what was the attendance?
SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city"
CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR)
What was the record when they played game 58?
SELECT record FROM table_name_59 WHERE game = 58
CREATE TABLE table_name_94 (score_in_the_final VARCHAR, date VARCHAR)
What is Score In The Final, when Date is "22 October 1990"?
SELECT score_in_the_final FROM table_name_94 WHERE date = "22 october 1990"
CREATE TABLE table_name_32 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
What is Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"?
SELECT outcome FROM table_name_32 WHERE surface = "carpet (i)" AND date = "15 november 1993"
CREATE TABLE table_name_49 (tournament VARCHAR, opponent_in_the_final VARCHAR)
What is Tournament, when Opponent In The Final is "Andre Agassi"?
SELECT tournament FROM table_name_49 WHERE opponent_in_the_final = "andre agassi"
CREATE TABLE table_name_20 (score_in_the_final VARCHAR, date VARCHAR)
What is Score In The Final, when Date is "30 August 1993"?
SELECT score_in_the_final FROM table_name_20 WHERE date = "30 august 1993"
CREATE TABLE table_name_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
What is Date, when Outcome is "Winner", and when Surface is "Grass"?
SELECT date FROM table_name_72 WHERE outcome = "winner" AND surface = "grass"
CREATE TABLE table_name_67 (opponent_in_the_final VARCHAR, tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
What is Opponent In The Final, when Outcome is "Winner", when Surface is "Carpet (I)", and when Tournament is "Lyon, France"?
SELECT opponent_in_the_final FROM table_name_67 WHERE outcome = "winner" AND surface = "carpet (i)" AND tournament = "lyon, france"
CREATE TABLE table_name_89 (goals_against VARCHAR, wins VARCHAR, played VARCHAR)
What are the total goals against the winner with less than 5 wins, and less than 5 plays?
SELECT COUNT(goals_against) FROM table_name_89 WHERE wins < 5 AND played < 5
CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)
What is the average losses for 22 goals?
SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 2
CREATE TABLE table_name_4 (overall_record VARCHAR, last_10_meetings VARCHAR, at_norman VARCHAR)
What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3?
SELECT overall_record FROM table_name_4 WHERE last_10_meetings = "ou, 7-3" AND at_norman = "ou, 18-3"
CREATE TABLE table_name_15 (oklahoma_vs VARCHAR, current_streak VARCHAR, at_neutral_site VARCHAR)
What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is osu, 7-6?
SELECT oklahoma_vs FROM table_name_15 WHERE current_streak = "l 1" AND at_neutral_site = "osu, 7-6"
CREATE TABLE table_name_11 (overall_record VARCHAR, since_beginning_of_big_12 VARCHAR)
What is the Overall Record when Since Beginning of Big 12 is ou, 27-3?
SELECT overall_record FROM table_name_11 WHERE since_beginning_of_big_12 = "ou, 27-3"
CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR)
What is the Last 10 Meetings when Norman is ou, 18-6?
SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6"
CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?
SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2"
CREATE TABLE table_name_27 (current_streak VARCHAR, last_5_meetings VARCHAR)
what is the current streak when the last 5 meetings is osu, 4-1?
SELECT current_streak FROM table_name_27 WHERE last_5_meetings = "osu, 4-1"
CREATE TABLE table_name_90 (record VARCHAR, game INTEGER)
What is the record for a game lower than 79?
SELECT record FROM table_name_90 WHERE game < 79
CREATE TABLE table_name_48 (partner VARCHAR, score_in_the_final VARCHAR)
Who was the partner when the final score was 7–6, 3–6, 6–7?
SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–7"
CREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR)
Who was the partner for the match with a score in the final of 4–6, 6–7?
SELECT partner FROM table_name_31 WHERE score_in_the_final = "4–6, 6–7"
CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"
CREATE TABLE table_name_76 (year INTEGER, athlete VARCHAR, time VARCHAR)
Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24?
SELECT MIN(year) FROM table_name_76 WHERE athlete = "markus thalmann" AND time = "23:28:24"
CREATE TABLE table_name_69 (year INTEGER, time VARCHAR, place VARCHAR)
Which Year is the lowest one that has a Time of 24:55:58, and a Place larger than 3?
SELECT MIN(year) FROM table_name_69 WHERE time = "24:55:58" AND place > 3
CREATE TABLE table_name_97 (athlete VARCHAR, time VARCHAR, country VARCHAR, place VARCHAR, year VARCHAR)
Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00?
SELECT athlete FROM table_name_97 WHERE place = 1 AND year < 1988 AND country = "gre" AND time = "21:57:00"
CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR)
Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"
CREATE TABLE table_name_67 (anand VARCHAR, game VARCHAR)
What was Anand's score in game 8?
SELECT anand FROM table_name_67 WHERE game = "8"
CREATE TABLE table_name_20 (day VARCHAR, _date VARCHAR, game VARCHAR)
What is the day and date of game 2?
SELECT day, _date FROM table_name_20 WHERE game = "2"
CREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR)
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?
SELECT high_assists FROM table_name_21 WHERE date = "november 24"
CREATE TABLE table_name_7 (location_attendance VARCHAR, game VARCHAR)
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4?
SELECT location_attendance FROM table_name_7 WHERE game = 4
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
SELECT record FROM table_name_44 WHERE date = "november 14"
CREATE TABLE table_name_29 (tournament VARCHAR, date VARCHAR)
What tournament is on 18 May 1992?
SELECT tournament FROM table_name_29 WHERE date = "18 may 1992"
CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR)
What is the score of the tournament with a carpet surface and tim henman as the partnering?
SELECT score FROM table_name_88 WHERE surface = "carpet" AND partnering = "tim henman"
CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_final VARCHAR)
On what surface did Katarina Srebotnik play Paola Suárez?
SELECT surface FROM table_name_83 WHERE opponent_in_final = "paola suárez"
CREATE TABLE table_name_54 (tournament VARCHAR, score_in_final VARCHAR)
At what tournament was the Score 5–7, 7–5, 6–4?
SELECT tournament FROM table_name_54 WHERE score_in_final = "5–7, 7–5, 6–4"
CREATE TABLE table_name_21 (score_in_final VARCHAR, date VARCHAR)
What was the Final Score on February 24, 2002?
SELECT score_in_final FROM table_name_21 WHERE date = "february 24, 2002"
CREATE TABLE table_name_20 (team__number1 VARCHAR, team__number2 VARCHAR)
Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
SELECT team__number1 FROM table_name_20 WHERE team__number2 = "galatasaray cc i̇stanbul"
CREATE TABLE table_name_82 (podiums VARCHAR, poles VARCHAR)
What are the Podiums that has a Poles of 3?
SELECT podiums FROM table_name_82 WHERE poles = "3"
CREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)
What is the Team that has a Races of 4, and a Points of 0?
SELECT team FROM table_name_10 WHERE races = "4" AND points = "0"
CREATE TABLE table_name_44 (to_par VARCHAR, country VARCHAR, player VARCHAR)
What to par is located in the united states and has a player by the name of hal sutton?
SELECT to_par FROM table_name_44 WHERE country = "united states" AND player = "hal sutton"
CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, score VARCHAR)
What player is in the place of t1 and has the score of 67-70=137?
SELECT player FROM table_name_85 WHERE place = "t1" AND score = 67 - 70 = 137
CREATE TABLE table_name_2 (place VARCHAR, score VARCHAR)
What place has the score of 67-74=141?
SELECT place FROM table_name_2 WHERE score = 67 - 74 = 141
CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR)
What player has the score of 67-72=139?
SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139
CREATE TABLE table_name_19 (record VARCHAR, location VARCHAR, opponent VARCHAR)
What was Gassaway's record at the fight in mississippi, united states against anthony macias?
SELECT record FROM table_name_19 WHERE location = "mississippi, united states" AND opponent = "anthony macias"
CREATE TABLE table_name_23 (location VARCHAR, round VARCHAR)
What was the location the fight was held at that lasted 5 rounds?
SELECT location FROM table_name_23 WHERE round = "5"
CREATE TABLE table_name_66 (location VARCHAR, opponent VARCHAR)
What was the location of the fight when Gassaway fought kevin knabjian?
SELECT location FROM table_name_66 WHERE opponent = "kevin knabjian"
CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR)
What place did Fred Couples finish in?
SELECT place FROM table_name_84 WHERE player = "fred couples"
CREATE TABLE table_name_56 (rank VARCHAR, revenue_in_usd VARCHAR)
What is the rank of the company who has a revenue of $428.2 billion?
SELECT COUNT(rank) FROM table_name_56 WHERE revenue_in_usd = "$428.2 billion"
CREATE TABLE table_name_7 (rank INTEGER, industry VARCHAR, revenue_in_usd VARCHAR)
What is the rank of the petroleum company who has a revenue of $481.7 billion?
SELECT MIN(rank) FROM table_name_7 WHERE industry = "petroleum" AND revenue_in_usd = "$481.7 billion"
CREATE TABLE table_name_74 (tournament VARCHAR)
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1"
CREATE TABLE table_name_70 (career_win_loss VARCHAR)
What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"?
SELECT career_win_loss FROM table_name_70 WHERE 2002 = "a" AND 2001 = "4r"
CREATE TABLE table_name_48 (tournament VARCHAR)
What is Tournament, when 2001 is "1R"?
SELECT tournament FROM table_name_48 WHERE 2001 = "1r"
CREATE TABLE table_name_73 (south_west VARCHAR, center VARCHAR, north_east VARCHAR, north_west VARCHAR)
Who is in the south-west next to Vishnu on the east, Durga on the west, and in the center of Ganapati?
SELECT south_west FROM table_name_73 WHERE north_east = "vishnu" AND north_west = "durga" AND center = "ganapati"
CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR)
What was the final score of game 26?
SELECT score FROM table_name_64 WHERE game = 26
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
What game was played on December 8?
SELECT AVG(game) FROM table_name_80 WHERE date = "december 8"
CREATE TABLE table_name_66 (area_km_2 INTEGER, population VARCHAR)
What is the sum of the areas for populations of 542?
SELECT SUM(area_km_2) FROM table_name_66 WHERE population = 542
CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR)
What is the highest area for locations named Centreville having populations over 532?
SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville"
CREATE TABLE table_name_35 (competition VARCHAR, result VARCHAR, venue VARCHAR)
what is the competition when the result is 1-1 and venue is gwangju?
SELECT competition FROM table_name_35 WHERE result = "1-1" AND venue = "gwangju"
CREATE TABLE table_name_17 (date VARCHAR, competition VARCHAR)
what is the date when the competition is 1998 asian games?
SELECT date FROM table_name_17 WHERE competition = "1998 asian games"
CREATE TABLE table_name_96 (venue VARCHAR, score VARCHAR, date VARCHAR)
what is the venue when the score is 1 goal and the date is october 11, 1997?
SELECT venue FROM table_name_96 WHERE score = "1 goal" AND date = "october 11, 1997"
CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR)
what is the competition when the result is 2-1?
SELECT competition FROM table_name_58 WHERE result = "2-1"
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
what is the result when the date is august 24, 1997?
SELECT result FROM table_name_52 WHERE date = "august 24, 1997"
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
what is the venue when the date is december 7, 1998?
SELECT venue FROM table_name_6 WHERE date = "december 7, 1998"
CREATE TABLE table_name_23 (driver VARCHAR, time_retired VARCHAR)
Who is the driver with a time/retired of +5.2684?
SELECT driver FROM table_name_23 WHERE time_retired = "+5.2684"
CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)
What is the grid of driver tomas scheckter from vision racing team?
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"
CREATE TABLE table_name_17 (grid VARCHAR, car_no VARCHAR)
What is the grid of car no. 3?
SELECT grid FROM table_name_17 WHERE car_no = "3"
CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR)
What is the grid with a +6.8359 time/retired?
SELECT grid FROM table_name_53 WHERE time_retired = "+6.8359"
CREATE TABLE table_name_5 (team_2 VARCHAR)
WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC?
SELECT 1 AS st_leg FROM table_name_5 WHERE team_2 = "athletic"
CREATE TABLE table_name_22 (team_1 VARCHAR)
WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING?
SELECT 2 AS nd_leg FROM table_name_22 WHERE team_1 = "sporting"
CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR)
Sum of cuyo selection as the opposing team?
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection"
CREATE TABLE table_name_46 (against INTEGER, status VARCHAR, date VARCHAR)
Lowest against for tour match on 21 july 1990?
SELECT MIN(against) FROM table_name_46 WHERE status = "tour match" AND date = "21 july 1990"
CREATE TABLE table_name_85 (version INTEGER, code VARCHAR, year VARCHAR)
Name the lowest version with a code of u+1034a that began after 2001.
SELECT MIN(version) FROM table_name_85 WHERE code = "u+1034a" AND year > 2001
CREATE TABLE table_name_21 (character VARCHAR, version VARCHAR, name VARCHAR)
What character was the version 5.1 and had a Greek capital letter Archaic Sampi?
SELECT character FROM table_name_21 WHERE version = 5.1 AND name = "greek capital letter archaic sampi"
CREATE TABLE table_name_89 (version INTEGER, name VARCHAR, year VARCHAR)
Give the sum of the version with the coptic small letter sampi, and a year after 2005.
SELECT SUM(version) FROM table_name_89 WHERE name = "coptic small letter sampi" AND year > 2005
CREATE TABLE table_name_89 (year INTEGER, name VARCHAR)
What is the year that has a name with the Greek small letter sampi?
SELECT SUM(year) FROM table_name_89 WHERE name = "greek small letter sampi"
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR)
What country id Bob Rosburg from?
SELECT country FROM table_name_95 WHERE player = "bob rosburg"
CREATE TABLE table_name_14 (country VARCHAR, score VARCHAR)
What country has a score of 73-72-67=212?
SELECT country FROM table_name_14 WHERE score = 73 - 72 - 67 = 212
CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR)
What is Mike Souchak's to par?
SELECT to_par FROM table_name_89 WHERE player = "mike souchak"
CREATE TABLE table_name_70 (to_par VARCHAR, player VARCHAR)
What is Mike Souchak's to par score?
SELECT to_par FROM table_name_70 WHERE player = "mike souchak"
CREATE TABLE table_name_4 (finish VARCHAR, total VARCHAR)
What was the finish for the golfer with a total of 285?
SELECT finish FROM table_name_4 WHERE total = 285
CREATE TABLE table_name_20 (total VARCHAR, year_s__won VARCHAR)
What was the total for the golfer who had a year won of 1987?
SELECT total FROM table_name_20 WHERE year_s__won = "1987"
CREATE TABLE table_name_91 (finish VARCHAR, to_par VARCHAR)
What was the finish for the golfer with a To par of +2?
SELECT finish FROM table_name_91 WHERE to_par = "+2"
CREATE TABLE table_name_9 (total INTEGER, to_par VARCHAR, year_s__won VARCHAR)
What was the total for the golfer who had a To par of +10 and year won of 1971?
SELECT SUM(total) FROM table_name_9 WHERE to_par = "+10" AND year_s__won = "1971"
CREATE TABLE table_name_36 (team VARCHAR, game VARCHAR, score VARCHAR)
What team played before game 71 and had a score w 91–86 (ot)?
SELECT team FROM table_name_36 WHERE game < 71 AND score = "w 91–86 (ot)"
CREATE TABLE table_name_15 (high_assists VARCHAR, game VARCHAR)
What was the high assist for game 66?
SELECT high_assists FROM table_name_15 WHERE game = 66
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
What is josé maría olazábal's country?
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"
CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)
Which Player has a Score of 74-67-74-71=286?
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286
CREATE TABLE table_name_69 (place VARCHAR, country VARCHAR, player VARCHAR)
Which Place has a Country of united states, and a Player of corey pavin?
SELECT place FROM table_name_69 WHERE country = "united states" AND player = "corey pavin"
CREATE TABLE table_name_65 (opponent VARCHAR, week VARCHAR)
Who is the opponent in week 15?
SELECT opponent FROM table_name_65 WHERE week = 15
CREATE TABLE table_name_57 (attendance INTEGER, result VARCHAR)
What is the highest attendance a result of W 30-7?
SELECT MAX(attendance) FROM table_name_57 WHERE result = "w 30-7"
CREATE TABLE table_name_22 (attendance INTEGER, week VARCHAR, date VARCHAR)
What is the average attendance at week earlier than 6 on October 14, 2001?
SELECT AVG(attendance) FROM table_name_22 WHERE week < 6 AND date = "october 14, 2001"
CREATE TABLE table_name_8 (record VARCHAR, method VARCHAR, round VARCHAR)
what is the record when the method is submission (armbar) and the round is less than 3?
SELECT record FROM table_name_8 WHERE method = "submission (armbar)" AND round < 3
CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR)
How many average points did svg burgkirchen have with a loss smaller than 6?
SELECT AVG(points) FROM table_name_12 WHERE name = "svg burgkirchen" AND lost < 6