answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
What is the highest round played by Chris Phillips?
SELECT player FROM table_name_94 WHERE college = "graceland"
CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR)
What player attended Graceland College?
SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"
CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)
What is the highest pick number of the CFL's Toronto Argonauts?
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)
Which pick number attended McMaster College?
SELECT visitor FROM table_name_98 WHERE decision = "osgood" AND home = "edmonton"
CREATE TABLE table_name_98 (visitor VARCHAR, decision VARCHAR, home VARCHAR)
Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?
SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
CREATE TABLE table_name_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR)
What is the date recorded for I Want to Be Free with a length of 2:12?
SELECT MAX(track) FROM table_name_15 WHERE time = "1:54" AND writer_s_ = "gene autry and oakley haldeman"
CREATE TABLE table_name_15 (track INTEGER, time VARCHAR, writer_s_ VARCHAR)
What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?
SELECT song_title FROM table_name_53 WHERE track < 8 AND release_date = "3/22/57"
CREATE TABLE table_name_53 (song_title VARCHAR, track VARCHAR, release_date VARCHAR)
What is the title of the song with a track less than 8 released on 3/22/57?
SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe"
CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)
What song title was written by Kal Mann and Bernie Lowe?
SELECT date FROM table_name_27 WHERE away_team = "north melbourne"
CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)
What date did the Away team, North Melbourne, play Geelong?
SELECT time_retired FROM table_name_64 WHERE driver = "jacky ickx"
CREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR)
The driver Jacky Ickx had what time/retired?
SELECT MIN(laps) FROM table_name_58 WHERE driver = "jo siffert"
CREATE TABLE table_name_58 (laps INTEGER, driver VARCHAR)
What is the least number of laps for the driver Jo Siffert?
SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4
CREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
SELECT SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection"
CREATE TABLE table_name_87 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection?
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler"
CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR)
What is the gender of Congresswoman Jaime Herrera Beutler's baby?
SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand"
CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR)
What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?
SELECT player FROM table_name_58 WHERE club_province = "bulls" AND date_of_birth__age_ = "6 may 1978"
CREATE TABLE table_name_58 (player VARCHAR, club_province VARCHAR, date_of_birth__age_ VARCHAR)
Which player on the Bulls has a 6 May 1978 birthday?
SELECT player FROM table_name_61 WHERE caps > 16 AND date_of_birth__age_ = "1 february 1982"
CREATE TABLE table_name_61 (player VARCHAR, caps VARCHAR, date_of_birth__age_ VARCHAR)
Which player has a 1 February 1982 birthday and more than 16 caps?
SELECT tournament FROM table_name_88 WHERE 2011 = "1r"
CREATE TABLE table_name_88 (tournament VARCHAR)
Which tournament has a 2011 of 1r?
SELECT 2009 FROM table_name_51 WHERE tournament = "french open"
CREATE TABLE table_name_51 (tournament VARCHAR)
Which 2009 tournament was french open?
SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood"
CREATE TABLE table_name_86 (away_team VARCHAR)
When the away team was collingwood, what was the away team score?
SELECT home_team FROM table_name_72 WHERE away_team = "richmond"
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
Who was Richmond's home team opponent?
SELECT venue FROM table_name_83 WHERE away_team = "essendon"
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
Where did Essendon play as the away team?
SELECT first_appearance FROM table_name_21 WHERE character = "aiden burn csi detective"
CREATE TABLE table_name_21 (first_appearance VARCHAR, character VARCHAR)
Where did the character of Aiden Burn csi detective first appear?
SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"
CREATE TABLE table_name_26 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "1%"
CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR)
Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?
SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%"
CREATE TABLE table_name_52 (opinionway_5_18_09 VARCHAR, ipsos_5_16_09 VARCHAR)
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?
SELECT ipsos_5_16_09 FROM table_name_72 WHERE tns_sofres_5_28_09 = "2.5%"
CREATE TABLE table_name_72 (ipsos_5_16_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?
SELECT csa_5_20_09 FROM table_name_89 WHERE ifop__la_croix_5_15_09 = "26%"
CREATE TABLE table_name_89 (csa_5_20_09 VARCHAR, ifop__la_croix_5_15_09 VARCHAR)
Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%?
SELECT viavoice_5_15_09 FROM table_name_96 WHERE csa_5_14_09 = "5%" AND tns_sofres_5_28_09 = "4.5%"
CREATE TABLE table_name_96 (viavoice_5_15_09 VARCHAR, csa_5_14_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
Which Viavoice 5/15/09 has a CSA 5/14/09 of 5%, and a TNS-Sofres 5/28/09 of 4.5%?
SELECT driver FROM table_name_75 WHERE laps = 44
CREATE TABLE table_name_75 (driver VARCHAR, laps VARCHAR)
What driver has 44 laps?
SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari"
CREATE TABLE table_name_87 (laps INTEGER, constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18
CREATE TABLE table_name_2 (goal_difference INTEGER, draw VARCHAR, played VARCHAR)
Name the average goal difference for draw of 7 and played more than 18
SELECT COUNT(goal_difference) FROM table_name_4 WHERE goals_against = 30 AND played < 18
CREATE TABLE table_name_4 (goal_difference VARCHAR, goals_against VARCHAR, played VARCHAR)
Tell me the totla number of goal difference for goals against of 30 and played less than 18
SELECT COUNT(draw) FROM table_name_47 WHERE played > 18
CREATE TABLE table_name_47 (draw VARCHAR, played INTEGER)
Name the total number of draw for played more than 18
SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17
CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)
What PBA team is the player from Ateneo college and a pick of 17?
SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"
CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)
What is Mark Joseph Kong's pick?
SELECT pba_team FROM table_name_65 WHERE pick < 15 AND college = "ateneo"
CREATE TABLE table_name_65 (pba_team VARCHAR, pick VARCHAR, college VARCHAR)
What PBA team is the player from Ateneo college with a pick number smaller than 15 from?
SELECT pick FROM table_name_29 WHERE player = "larry fonacier"
CREATE TABLE table_name_29 (pick VARCHAR, player VARCHAR)
What pick number is Larry Fonacier?
SELECT SUM(rating) FROM table_name_92 WHERE rank__timeslot_ < 3 AND rank__night_ < 8
CREATE TABLE table_name_92 (rating INTEGER, rank__timeslot_ VARCHAR, rank__night_ VARCHAR)
what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?
SELECT AVG(rank__night_) FROM table_name_29 WHERE rating > 4.3 AND viewers__millions_ > 10.72
CREATE TABLE table_name_29 (rank__night_ INTEGER, rating VARCHAR, viewers__millions_ VARCHAR)
what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?
SELECT date FROM table_name_90 WHERE venue = "windy hill"
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
When was Windy Hill used as a venue?
SELECT home_team FROM table_name_36 WHERE venue = "vfl park"
CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR)
Which home team plays at VFL Park?
SELECT home_team FROM table_name_2 WHERE away_team = "footscray"
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
Which team plays against Footscray as the home team?
SELECT SUM(attendance) FROM table_name_99 WHERE date = "may 28"
CREATE TABLE table_name_99 (attendance INTEGER, date VARCHAR)
What is the total audience on may 28?
SELECT MAX(attendance) FROM table_name_93 WHERE score = "0 – 4"
CREATE TABLE table_name_93 (attendance INTEGER, score VARCHAR)
What was the the total top attendance with a score of 0 – 4?
SELECT SUM(allsvenskan_titles) FROM table_name_78 WHERE stars_symbolizes = "number of swedish championship titles" AND club = "aik" AND introduced > 2000
CREATE TABLE table_name_78 (allsvenskan_titles INTEGER, introduced VARCHAR, stars_symbolizes VARCHAR, club VARCHAR)
How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?
SELECT MAX(swedish_championship_titles) FROM table_name_62 WHERE introduced < 2006
CREATE TABLE table_name_62 (swedish_championship_titles INTEGER, introduced INTEGER)
What is the highest amount of swedish championship titles for the team that was introduced before 2006?
SELECT record FROM table_name_75 WHERE loss = "r. springer"
CREATE TABLE table_name_75 (record VARCHAR, loss VARCHAR)
What is the record loss of R. Springer?
SELECT streak FROM table_name_77 WHERE date = "april 12"
CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR)
What was the streak on April 12?
SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"
CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR)
What was the date of A. Benes loss to the Rockies?
SELECT streak FROM table_name_45 WHERE attendance = "33,013"
CREATE TABLE table_name_45 (streak VARCHAR, attendance VARCHAR)
Which streak had an attendance of 33,013?
SELECT wicket_partnership FROM table_name_91 WHERE season = "1928"
CREATE TABLE table_name_91 (wicket_partnership VARCHAR, season VARCHAR)
What was the partnership in the season of 1928
SELECT COUNT(earnings___) AS $__ FROM table_name_33 WHERE player = "jim colbert" AND wins < 4
CREATE TABLE table_name_33 (earnings___ VARCHAR, player VARCHAR, wins VARCHAR)
What are the earnings for jim colbert with under 4 wins?
SELECT MAX(events) FROM table_name_34 WHERE player = "bob murphy"
CREATE TABLE table_name_34 (events INTEGER, player VARCHAR)
How many events for bob murphy?
SELECT COUNT(rank) FROM table_name_62 WHERE player = "bob murphy" AND wins < 4
CREATE TABLE table_name_62 (rank VARCHAR, player VARCHAR, wins VARCHAR)
What is the rank for bob murphy with under 4 wins?
SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0
CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR)
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"
CREATE TABLE table_name_43 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR)
In the 2010 season what club has 0 goals and more than 0 Apps?
SELECT round FROM table_name_36 WHERE event = "cage rage 17"
CREATE TABLE table_name_36 (round VARCHAR, event VARCHAR)
What Round is the Event cage rage 17?
SELECT event FROM table_name_70 WHERE time = "1:16"
CREATE TABLE table_name_70 (event VARCHAR, time VARCHAR)
What Event is at the Time 1:16?
SELECT title FROM table_name_93 WHERE track > 11
CREATE TABLE table_name_93 (title VARCHAR, track INTEGER)
What is the title of the track after 11?
SELECT original_album FROM table_name_92 WHERE performer = "brad mehldau"
CREATE TABLE table_name_92 (original_album VARCHAR, performer VARCHAR)
On the title feature brad mehldau as the performer, what is the original album?
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)
Which track has the original album turbulent indigo?
SELECT player FROM table_name_8 WHERE position = "center"
CREATE TABLE table_name_8 (player VARCHAR, position VARCHAR)
What Utah Jazz player played Center?
SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88"
CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR)
What is the nationality of all Utah Jazz Players, that played 1987-88?
SELECT nationality FROM table_name_53 WHERE years_for_jazz = "2011-present"
CREATE TABLE table_name_53 (nationality VARCHAR, years_for_jazz VARCHAR)
What is the nationality of all Utah Jazz Players, that played 2011-present?
SELECT player FROM table_name_74 WHERE position = "forward" AND school_club_team = "southern methodist"
CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
What Utah Jazz Forward played for Southern Methodist?
SELECT years_for_jazz FROM table_name_52 WHERE school_club_team = "southern methodist"
CREATE TABLE table_name_52 (years_for_jazz VARCHAR, school_club_team VARCHAR)
What years did the Utah Jazz Player from Southern Methodist, Play?
SELECT home_team FROM table_name_40 WHERE venue = "mcg"
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
Who was the home team at MCG?
SELECT away_team FROM table_name_16 WHERE home_team = "carlton"
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
Who was Carlton's away team opponents?
SELECT away_team AS score FROM table_name_67 WHERE home_team = "south melbourne"
CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)
What was home team South Melbourne's opponents score?
SELECT record FROM table_name_72 WHERE attendance = "4,516"
CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)
When the Attendance was 4,516, what was the Record?
SELECT attendance FROM table_name_13 WHERE score = "4-10"
CREATE TABLE table_name_13 (attendance VARCHAR, score VARCHAR)
When the Score was 4-10, what was the Attendance?
SELECT score FROM table_name_40 WHERE record = "9-24"
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
With a Record of 9-24, what was the Score?
SELECT opponent FROM table_name_16 WHERE score = "6-2"
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)
When the Score was 6-2, which Opponent was played?
SELECT date FROM table_name_82 WHERE attendance = "16,212"
CREATE TABLE table_name_82 (date VARCHAR, attendance VARCHAR)
On what Date was the Attendance 16,212?
SELECT attendance FROM table_name_71 WHERE opponent = "new york yankees" AND date = "may 12"
CREATE TABLE table_name_71 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
What was the Attendance on May 12, when the New York Yankees were the Opponent?
SELECT date FROM table_name_39 WHERE venue = "junction oval"
CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)
Which Date has a Venue of junction oval?
SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne"
CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)
Which total number of Crowd has a Home team of melbourne?
SELECT MIN(1 AS st_prize__) AS $__ FROM table_name_65 WHERE location = "florida" AND score = "200 (-16)"
CREATE TABLE table_name_65 (location VARCHAR, score VARCHAR)
What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?
SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = "+27.347"
CREATE TABLE table_name_24 (grid VARCHAR, time_retired VARCHAR)
Which grid has a time/retired of +27.347?
SELECT singles_champions FROM table_name_9 WHERE country = "italy" AND city = "trieste"
CREATE TABLE table_name_9 (singles_champions VARCHAR, country VARCHAR, city VARCHAR)
Who was the Singles Champions in Trieste, Italy?
SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)
On what Surface will the Venezuela F5 Futures in Caracas be played?
SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures"
CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR)
What is the type of Surface for the New Zealand F1 Futures Tournament?
SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"
CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR)
In what Country will Dennis Blömke play the Germany F13 Futures Tournament?
SELECT AVG(laps) FROM table_name_77 WHERE driver = "jackie stewart"
CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR)
What are the average laps for jackie stewart?
SELECT result FROM table_name_19 WHERE venue = "fort lauderdale, florida"
CREATE TABLE table_name_19 (result VARCHAR, venue VARCHAR)
What is the result in fort lauderdale, florida?
SELECT venue FROM table_name_80 WHERE goal < 2
CREATE TABLE table_name_80 (venue VARCHAR, goal INTEGER)
What venue had less than 2 goals?
SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy"
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)
What was the attendance when Fitzroy played as the away team?
SELECT trainer FROM table_name_8 WHERE owner = "robert courtney"
CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR)
Who was the trainer with Robert Courtney was owner?
SELECT MIN(year) FROM table_name_36 WHERE trainer = "jeff mullins"
CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR)
What year was Jeff Mullins?
SELECT SUM(grid) FROM table_name_48 WHERE driver = "richard robarts" AND laps < 36
CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR, laps VARCHAR)
In what grid did Richard Robarts make 36 laps?
SELECT SUM(laps) FROM table_name_20 WHERE grid = 18
CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR)
How many laps were completed in grid 18?
SELECT venue FROM table_name_73 WHERE result = "12th"
CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR)
What was the venue where the result was 12th?
SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030
CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER)
What species has more than 2,030 genes?
SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"
CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR)
How many genes in the species Rubrobacter Xylanophilus?
SELECT MIN(genes) FROM table_name_66 WHERE species = "rubrobacter xylanophilus"
CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR)
What is the lowest number of genes in Rubrobacter Xylanophilus?
SELECT AVG(base_pairs) FROM table_name_53 WHERE genes = 784
CREATE TABLE table_name_53 (base_pairs INTEGER, genes VARCHAR)
What is the average number of base pairs with 784 genes?
SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215"
CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR)
How many points are obtained when a standing broad jump is 207-215 cm?
SELECT MAX(points) FROM table_name_92 WHERE grade = "a"
CREATE TABLE table_name_92 (points INTEGER, grade VARCHAR)
How many points are there, when the grade is A?