answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT tournament FROM table_name_35 WHERE date = "13 november 2000"
CREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR)
What is the name of the tournament played 13 November 2000?
SELECT tournament FROM table_name_21 WHERE date = "12 february 2001"
CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR)
Which tournament was played on 12 February 2001?
SELECT AVG(round__number) FROM table_name_18 WHERE position = "wide receiver" AND college = "clark university" AND pick__number > 166
CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR)
What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166?
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)
Which team had a year entering the league under 2009, located in Bath?
SELECT year_entered_league FROM table_name_70 WHERE university = "university of essex"
CREATE TABLE table_name_70 (year_entered_league VARCHAR, university VARCHAR)
What is the year of entry for the University of Essex?
SELECT 2013 AS _14_division FROM table_name_60 WHERE team = "wolverhampton wildcats"
CREATE TABLE table_name_60 (team VARCHAR)
What is the 2013-2014 division for the Wolverhampton Wildcats?
SELECT MIN(draws) FROM table_name_16 WHERE against = 1261
CREATE TABLE table_name_16 (draws INTEGER, against VARCHAR)
What is the least amount of draws with an against of 1261?
SELECT label FROM table_name_24 WHERE album = "cover version v"
CREATE TABLE table_name_24 (label VARCHAR, album VARCHAR)
What label shows an Album of cover version v?
SELECT label FROM table_name_26 WHERE album = "cover version vi"
CREATE TABLE table_name_26 (label VARCHAR, album VARCHAR)
What is the Label when the album shows cover version vi?
SELECT covered_song FROM table_name_7 WHERE album = "cover version iii"
CREATE TABLE table_name_7 (covered_song VARCHAR, album VARCHAR)
What is the name of the Covered Song when the Album shows cover version iii?
SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968"
CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)
What is the sum of Week when there were 67,968 people in attendance?
SELECT COUNT(week) FROM table_name_77 WHERE result = "l 31–28"
CREATE TABLE table_name_77 (week VARCHAR, result VARCHAR)
What is the Week number with a result of l 31–28?
SELECT score FROM table_name_37 WHERE tie_no = "1"
CREATE TABLE table_name_37 (score VARCHAR, tie_no VARCHAR)
What was the score at the Tie no. 1 game?
SELECT attendance FROM table_name_69 WHERE home_team = "west ham united"
CREATE TABLE table_name_69 (attendance VARCHAR, home_team VARCHAR)
What was the attendance at the West Ham United home game?
SELECT sport FROM table_name_9 WHERE name = "gustav larsson"
CREATE TABLE table_name_9 (sport VARCHAR, name VARCHAR)
What is the Sport with a Name that is gustav larsson?
SELECT name FROM table_name_15 WHERE event = "men's time trial"
CREATE TABLE table_name_15 (name VARCHAR, event VARCHAR)
What is the Name with an Event that is men's time trial?
SELECT venue FROM table_name_78 WHERE date = "15 november 2010"
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR)
At which venue did the event held on 15 November 2010 occur?
SELECT AVG(points) FROM table_name_32 WHERE performer = "rob burke band" AND draw > 1
CREATE TABLE table_name_32 (points INTEGER, performer VARCHAR, draw VARCHAR)
Which Points has a Performer of rob burke band and a Draw larger than 1?
SELECT MIN(points) FROM table_name_87 WHERE performer = "seán monaghan" AND draw < 7
CREATE TABLE table_name_87 (points INTEGER, performer VARCHAR, draw VARCHAR)
Which Points have a Performer of seán monaghan and a Draw smaller than 7?
SELECT COUNT(points) FROM table_name_7 WHERE performer = "rob burke band"
CREATE TABLE table_name_7 (points VARCHAR, performer VARCHAR)
Which Points has a Performer of rob burke band?
SELECT finish FROM table_name_8 WHERE wins = "28"
CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)
What is the Finish of 28 Wins?
SELECT finish FROM table_name_41 WHERE wins = "reno bighorns"
CREATE TABLE table_name_41 (finish VARCHAR, wins VARCHAR)
What is the Finish of the Reno Bighorns Wins?
SELECT finish FROM table_name_49 WHERE wins = "28"
CREATE TABLE table_name_49 (finish VARCHAR, wins VARCHAR)
What is the Finish of 28 Wins?
SELECT wins FROM table_name_95 WHERE division = "western" AND finish = "4th"
CREATE TABLE table_name_95 (wins VARCHAR, division VARCHAR, finish VARCHAR)
What is the Western Division of Wins with a 4th Finish?
SELECT losses FROM table_name_56 WHERE season = "playoffs"
CREATE TABLE table_name_56 (losses VARCHAR, season VARCHAR)
What are the losses of the playoffs season?
SELECT team_1 FROM table_name_84 WHERE team_2 = "saint louis"
CREATE TABLE table_name_84 (team_1 VARCHAR, team_2 VARCHAR)
What is Team 1, when Team 2 is Saint Louis?
SELECT agg FROM table_name_42 WHERE team_2 = "mukungwa"
CREATE TABLE table_name_42 (agg VARCHAR, team_2 VARCHAR)
What is Agg., when Team 2 is Mukungwa?
SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow"
CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR)
What is the Round with an Opponent that is torpedo moscow?
SELECT SUM(matches) FROM table_name_7 WHERE goals = 103 AND rank > 9
CREATE TABLE table_name_7 (matches INTEGER, goals VARCHAR, rank VARCHAR)
Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
SELECT name FROM table_name_24 WHERE goals > 98 AND rank = 7
CREATE TABLE table_name_24 (name VARCHAR, goals VARCHAR, rank VARCHAR)
Can you tell me the Name that has the Goals larger than 98, and the Rank of 7?
SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25
CREATE TABLE table_name_84 (laps INTEGER, grid VARCHAR, time VARCHAR, rider VARCHAR)
How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987"
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
How many laps had a time of +2.987?
SELECT bike FROM table_name_15 WHERE laps < 23 AND grid = 4
CREATE TABLE table_name_15 (bike VARCHAR, laps VARCHAR, grid VARCHAR)
Which bike had fewer than 23 laps and a grid number of 4?
SELECT record FROM table_name_88 WHERE week = 14
CREATE TABLE table_name_88 (record VARCHAR, week VARCHAR)
What is the Record for week 14?
SELECT result FROM table_name_41 WHERE nfl_recap = "recap" AND game_site = "bank of america stadium"
CREATE TABLE table_name_41 (result VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)
What is the Result with an NFL Recap, played at bank of america stadium?
SELECT record FROM table_name_95 WHERE week = 12
CREATE TABLE table_name_95 (record VARCHAR, week VARCHAR)
What is the Record for week 12?
SELECT opponent FROM table_name_62 WHERE time = "2:05 p.m." AND result = "w 26–20"
CREATE TABLE table_name_62 (opponent VARCHAR, time VARCHAR, result VARCHAR)
What is the Opponent with a time of 2:05 p.m., and the results were w 26–20?
SELECT MAX(week) FROM table_name_67 WHERE date = "october 12, 2008"
CREATE TABLE table_name_67 (week INTEGER, date VARCHAR)
What is the highest Week for october 12, 2008?
SELECT team FROM table_name_37 WHERE drawn = 1 AND lost = 2
CREATE TABLE table_name_37 (team VARCHAR, drawn VARCHAR, lost VARCHAR)
Which team has 1 as the drawn, with 2 as the lost?
SELECT SUM(drawn) FROM table_name_83 WHERE lost = 7
CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR)
How many drawns have 7 for the lost?
SELECT AVG(played) FROM table_name_17 WHERE drawn > 1 AND against > 16
CREATE TABLE table_name_17 (played INTEGER, drawn VARCHAR, against VARCHAR)
What is the average played that has a drawn greater than 1, with an against greater than 16?
SELECT SUM(maidens) FROM table_name_36 WHERE matches = 2
CREATE TABLE table_name_36 (maidens INTEGER, matches VARCHAR)
What is the sum of Maidens with a number of Matches that is 2?
SELECT team FROM table_name_52 WHERE rank > 2 AND name = "paolo maldini"
CREATE TABLE table_name_52 (team VARCHAR, rank VARCHAR, name VARCHAR)
Ranking higher than 2, what Team has Player Paolo Maldini?
SELECT country FROM table_name_97 WHERE rank = 2
CREATE TABLE table_name_97 (country VARCHAR, rank VARCHAR)
What Country is in Rank 2?
SELECT date FROM table_name_72 WHERE leading_scorer = "leo mainoldi (24)"
CREATE TABLE table_name_72 (date VARCHAR, leading_scorer VARCHAR)
What date was Leo Mainoldi (24) the leading scorer?
SELECT visitor FROM table_name_61 WHERE record = "14-10"
CREATE TABLE table_name_61 (visitor VARCHAR, record VARCHAR)
Who is the visitor with the 14-10 record?
SELECT record FROM table_name_32 WHERE score = "73-82"
CREATE TABLE table_name_32 (record VARCHAR, score VARCHAR)
What is the record of the 73-82 score?
SELECT leading_scorer FROM table_name_56 WHERE visitor = "villa de los barrios"
CREATE TABLE table_name_56 (leading_scorer VARCHAR, visitor VARCHAR)
Who is the leading scorer of the Villa De Los Barrios visitor?
SELECT visitor FROM table_name_71 WHERE record = "14-10"
CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR)
Who is the visitor with a 14-10 record?
SELECT score FROM table_name_43 WHERE record = "14-9"
CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR)
What is the score of the team with the 14-9 record?
SELECT date FROM table_name_61 WHERE goal = 6
CREATE TABLE table_name_61 (date VARCHAR, goal VARCHAR)
What was the date of the game with 6 goals?
SELECT MAX(goal) FROM table_name_27 WHERE venue = "hannover"
CREATE TABLE table_name_27 (goal INTEGER, venue VARCHAR)
What was the highest number of goals for a game held at Hannover?
SELECT result FROM table_name_80 WHERE goal > 12 AND venue = "pasadena"
CREATE TABLE table_name_80 (result VARCHAR, goal VARCHAR, venue VARCHAR)
What was the result of the game with more than 12 goals at Pasadena?
SELECT COUNT(round) FROM table_name_54 WHERE position = "defensive tackle" AND player = "andre fluellen"
CREATE TABLE table_name_54 (round VARCHAR, position VARCHAR, player VARCHAR)
What round was Andre Fluellen drafted as a Defensive Tackle?
SELECT player FROM table_name_68 WHERE round > 5 AND position = "defensive tackle"
CREATE TABLE table_name_68 (player VARCHAR, round VARCHAR, position VARCHAR)
After Round 5, which player was drafted for Defensive Tackle?
SELECT MIN(round) FROM table_name_32 WHERE team = "central florida"
CREATE TABLE table_name_32 (round INTEGER, team VARCHAR)
What was the earliest Round for Central Florida?
SELECT date FROM table_name_9 WHERE label = "dos or die recordings"
CREATE TABLE table_name_9 (date VARCHAR, label VARCHAR)
What is the date of the label Dos or Die Recordings?
SELECT label FROM table_name_23 WHERE date = "2002" AND region = "germany" AND catalog = "dos 195"
CREATE TABLE table_name_23 (label VARCHAR, catalog VARCHAR, date VARCHAR, region VARCHAR)
What is the label for 2002, in Germany, Catalog Dos 195?
SELECT region FROM table_name_70 WHERE date = "2002" AND catalog = "dos 195"
CREATE TABLE table_name_70 (region VARCHAR, date VARCHAR, catalog VARCHAR)
What region has a 2002 date, and a Catalog dos 195?
SELECT winners FROM table_name_90 WHERE runners_up = "united states" AND venue = "st. germain golf club"
CREATE TABLE table_name_90 (winners VARCHAR, runners_up VARCHAR, venue VARCHAR)
What is the Winners when the United States is the runner-up at st. germain golf club?
SELECT AVG(year) FROM table_name_8 WHERE runners_up = "australia" AND venue = "victoria golf club"
CREATE TABLE table_name_8 (year INTEGER, runners_up VARCHAR, venue VARCHAR)
What is the average Year when Australia was the runner-up at victoria golf club?
SELECT location FROM table_name_41 WHERE runners_up = "france" AND venue = "club de campo"
CREATE TABLE table_name_41 (location VARCHAR, runners_up VARCHAR, venue VARCHAR)
What is the Location when France was the runner-up at club de campo?
SELECT location FROM table_name_77 WHERE runners_up = "canada" AND winners = "australia"
CREATE TABLE table_name_77 (location VARCHAR, runners_up VARCHAR, winners VARCHAR)
What is the Location when Canada was the runner-up and Australia was the winner?
SELECT name FROM table_name_31 WHERE terminated = "march 1993"
CREATE TABLE table_name_31 (name VARCHAR, terminated VARCHAR)
What is the Name of the Space Telescope Terminated on March 1993?
SELECT party FROM table_name_33 WHERE opinion_research_centre__opc_ = "1.5%"
CREATE TABLE table_name_33 (party VARCHAR, opinion_research_centre__opc_ VARCHAR)
What is Party, when Opinion Research Centre (OPC) is 1.5%?
SELECT marplan FROM table_name_55 WHERE gallup = "1.5%"
CREATE TABLE table_name_55 (marplan VARCHAR, gallup VARCHAR)
What is Marplan, when Gallup is 1.5%
SELECT opinion_research_centre__opc_ FROM table_name_40 WHERE party = "conservative"
CREATE TABLE table_name_40 (opinion_research_centre__opc_ VARCHAR, party VARCHAR)
What is Opinion Research Centre (OPC), when Party is Conservative?
SELECT harris FROM table_name_84 WHERE marplan = "1.3%"
CREATE TABLE table_name_84 (harris VARCHAR, marplan VARCHAR)
What is Harris, when Marplan is 1.3%
SELECT MIN(points) FROM table_name_15 WHERE rider = "roger dutton/tony wright"
CREATE TABLE table_name_15 (points INTEGER, rider VARCHAR)
What are the fewest points that Roger Dutton/Tony Wright have received?
SELECT speed FROM table_name_43 WHERE machine = "bmw" AND points = 6
CREATE TABLE table_name_43 (speed VARCHAR, machine VARCHAR, points VARCHAR)
How fast does the BMW with 6 points go?
SELECT AVG(draw) FROM table_name_64 WHERE artist = "desi dobreva" AND place < 6
CREATE TABLE table_name_64 (draw INTEGER, artist VARCHAR, place VARCHAR)
What is the average draw for Desi Dobreva, was it less than 6?
SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "as police"
CREATE TABLE table_name_34 (team_2 VARCHAR)
What was the first leg score for the match that had AS Police as team 2?
SELECT result FROM table_name_67 WHERE category = "outstanding director of a musical"
CREATE TABLE table_name_67 (result VARCHAR, category VARCHAR)
What was the result for the Outstanding director of a musical category?
SELECT result FROM table_name_37 WHERE award = "drama desk award" AND nominee = "tom hewitt"
CREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR)
What was the result of the Award of Drama desk award nominee Tom Hewitt.
SELECT year FROM table_name_97 WHERE category = "best costume design"
CREATE TABLE table_name_97 (year VARCHAR, category VARCHAR)
What year was best costume design the award category?
SELECT accolade FROM table_name_61 WHERE country = "usa" AND year < 2009
CREATE TABLE table_name_61 (accolade VARCHAR, country VARCHAR, year VARCHAR)
Which accolade has USA as the country, with a year less than 2009?
SELECT SUM(year) FROM table_name_6 WHERE accolade = "50 best albums of the year" AND rank = "#3"
CREATE TABLE table_name_6 (year INTEGER, accolade VARCHAR, rank VARCHAR)
How many years have an accolade of 50 best albums of the year, with #3 as the rank?
SELECT rank FROM table_name_84 WHERE country = "canada"
CREATE TABLE table_name_84 (rank VARCHAR, country VARCHAR)
Which rank has canada as the country?
SELECT guest_host FROM table_name_73 WHERE episode_number = 5
CREATE TABLE table_name_73 (guest_host VARCHAR, episode_number VARCHAR)
What is the name of the Guest Host for Episode Number of 5?
SELECT guest_host FROM table_name_2 WHERE air_date = "8 june 2008"
CREATE TABLE table_name_2 (guest_host VARCHAR, air_date VARCHAR)
What is the Guest Host for the episode on 8 june 2008?
SELECT musical_guest__song_performed_ FROM table_name_2 WHERE air_date = "13 july 2008"
CREATE TABLE table_name_2 (musical_guest__song_performed_ VARCHAR, air_date VARCHAR)
What is the Musical Guest (Song performed) for the episode aired on 13 july 2008?
SELECT score FROM table_name_64 WHERE competition = "2014 fifa world cup qualification (uefa)"
CREATE TABLE table_name_64 (score VARCHAR, competition VARCHAR)
What was the score for the 2014 FIFA World Cup Qualification (UEFA)?
SELECT kickoff_time FROM table_name_64 WHERE week = 11
CREATE TABLE table_name_64 (kickoff_time VARCHAR, week VARCHAR)
What was the kickoff time for week 11's game?
SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "mark o'meara"
CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR)
When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?
SELECT the_tradition FROM table_name_83 WHERE senior_british_open = "founded in 1987" AND us_senior_open = "roberto devicenzo"
CREATE TABLE table_name_83 (the_tradition VARCHAR, senior_british_open VARCHAR, us_senior_open VARCHAR)
Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987?
SELECT senior_british_open FROM table_name_57 WHERE senior_pga_championship = "hale irwin (3/7)"
CREATE TABLE table_name_57 (senior_british_open VARCHAR, senior_pga_championship VARCHAR)
Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship?
SELECT senior_pga_championship FROM table_name_41 WHERE senior_british_open = "tom watson (5/6)"
CREATE TABLE table_name_41 (senior_pga_championship VARCHAR, senior_british_open VARCHAR)
When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship?
SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = "philadelphia eagles" AND points_against > 7
CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR)
Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?
SELECT SUM(attendance) FROM table_name_98 WHERE first_downs < 26 AND opponent = "los angeles rams" AND points_for > 28
CREATE TABLE table_name_98 (attendance INTEGER, points_for VARCHAR, first_downs VARCHAR, opponent VARCHAR)
Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?
SELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = "boston united" AND league < 16
CREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)
Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?
SELECT COUNT(total) FROM table_name_99 WHERE fa_trophy = 0 AND player = "charlie butler"
CREATE TABLE table_name_99 (total VARCHAR, fa_trophy VARCHAR, player VARCHAR)
How many Total that has a FA Trophy of 0 and a Player of charlie butler?
SELECT AVG(fa_trophy) FROM table_name_52 WHERE player = "mario walsh" AND league > 17
CREATE TABLE table_name_52 (fa_trophy INTEGER, player VARCHAR, league VARCHAR)
How many FA Trophy has a Player of mario walsh and a League larger than 17?
SELECT winning_score FROM table_name_64 WHERE date = "oct 28, 1962"
CREATE TABLE table_name_64 (winning_score VARCHAR, date VARCHAR)
What was the score of the winning match on Oct 28, 1962?
SELECT margin_of_victory FROM table_name_16 WHERE runner_s__up = "jack nicklaus"
CREATE TABLE table_name_16 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
By how many strokes did Lema beat Jack Nicklaus?
SELECT runner_s__up FROM table_name_89 WHERE date = "jan 19, 1964"
CREATE TABLE table_name_89 (runner_s__up VARCHAR, date VARCHAR)
Who was the runner-up on Jan 19, 1964?
SELECT COUNT(rebounds) FROM table_name_10 WHERE team = "maccabi tel aviv" AND games > 6
CREATE TABLE table_name_10 (rebounds VARCHAR, team VARCHAR, games VARCHAR)
How many Rebounds did Maccabi Tel Aviv Team get after Game 6?
SELECT games FROM table_name_3 WHERE team = "efes pilsen"
CREATE TABLE table_name_3 (games VARCHAR, team VARCHAR)
How many Games for the player with Rebounds from Efes Pilsen?
SELECT SUM(games) FROM table_name_68 WHERE team = "lietuvos rytas vilnius" AND rebounds < 43
CREATE TABLE table_name_68 (games INTEGER, team VARCHAR, rebounds VARCHAR)
How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?
SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang"
CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR)
Who is The Author of zhou clarke zhang?
SELECT status FROM table_name_21 WHERE notes = "primitive confuciusornithid ."
CREATE TABLE table_name_21 (status VARCHAR, notes VARCHAR)
What is the Status of primitive confuciusornithid .?