context
stringlengths
27
489
question
stringlengths
12
244
answer
stringlengths
18
557
CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR)
What week number did November 19, 1989 games fall on?
SELECT week FROM table_name_14 WHERE date = "november 19, 1989"
CREATE TABLE table_name_58 (game_site VARCHAR, record VARCHAR)
Which game site(s) had record of 2-2?
SELECT game_site FROM table_name_58 WHERE record = "2-2"
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
Which game had a kickoff at 1:00 and a record of 3-7?
SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7"
CREATE TABLE table_name_12 (date VARCHAR, attendance VARCHAR)
Which game had an attendance of 56,271?
SELECT date FROM table_name_12 WHERE attendance = "56,271"
CREATE TABLE table_name_22 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20
SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "ts19 ts20"
CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR)
Tell me the constructor for alberto colombo and chassis of a1
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1"
CREATE TABLE table_name_24 (constructor VARCHAR, driver VARCHAR)
Tell me the constructor for clay regazzoni
SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni"
CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
Tell me the chassis for team tissot ensign and driver of brett lunger
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
I want the tyres for hans binder
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
I want the constructor for divina galica rounds of 1-2
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica"
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
What team did the Red Sox play against on June 3?
SELECT opponent FROM table_name_16 WHERE date = "june 3"
CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR)
What was the Record at the game that had an attendance of 21,191?
SELECT record FROM table_name_22 WHERE attendance = "21,191"
CREATE TABLE table_name_74 (score VARCHAR, date VARCHAR)
What was the final score of the game on June 17?
SELECT score FROM table_name_74 WHERE date = "june 17"
CREATE TABLE table_name_87 (total_number_of_ways VARCHAR)
What is the 1st ship delivery date of 6 ways?
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways"
CREATE TABLE table_name_44 (final VARCHAR, athlete VARCHAR)
What was the final round result of Mohammad Reza Samadi?
SELECT final FROM table_name_44 WHERE athlete = "mohammad reza samadi"
CREATE TABLE table_name_53 (home_team VARCHAR)
When the Home team of footscray is playing, what's the Home team score?
SELECT home_team AS score FROM table_name_53 WHERE home_team = "footscray"
CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR)
What was the title of the song that peaked the charts at #1 with track 20?
SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20
CREATE TABLE table_name_29 (time VARCHAR, song_title VARCHAR)
What is the time from the song called Treat Me Nice?
SELECT time FROM table_name_29 WHERE song_title = "treat me nice"
CREATE TABLE table_name_7 (copyright_information VARCHAR, publisher VARCHAR)
What was Random House's copyright information?
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house"
CREATE TABLE table_name_19 (release_date VARCHAR, isbn VARCHAR, year VARCHAR)
What was release date in 1992 with the ISBN #0?
SELECT release_date FROM table_name_19 WHERE isbn = 0 AND year = 1992
CREATE TABLE table_name_70 (club_team VARCHAR, overall VARCHAR)
What club team has 216 overall?
SELECT club_team FROM table_name_70 WHERE overall = 216
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
What is the highest round played by Chris Phillips?
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR)
What player attended Graceland College?
SELECT player FROM table_name_94 WHERE college = "graceland"
CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)
What is the highest pick number of the CFL's Toronto Argonauts?
SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)
Which pick number attended McMaster College?
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"
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 visitor FROM table_name_98 WHERE decision = "osgood" AND home = "edmonton"
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 recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
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 MAX(track) FROM table_name_15 WHERE time = "1:54" AND writer_s_ = "gene autry and oakley haldeman"
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_53 WHERE track < 8 AND release_date = "3/22/57"
CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)
What song title was written by Kal Mann and Bernie Lowe?
SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe"
CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)
What date did the Away team, North Melbourne, play Geelong?
SELECT date FROM table_name_27 WHERE away_team = "north melbourne"
CREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR)
The driver Jacky Ickx had what time/retired?
SELECT time_retired FROM table_name_64 WHERE driver = "jacky ickx"
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_58 WHERE driver = "jo siffert"
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 MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4
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 SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection"
CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR)
What is the gender of Congresswoman Jaime Herrera Beutler's baby?
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler"
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 date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand"
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_58 WHERE club_province = "bulls" AND date_of_birth__age_ = "6 may 1978"
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 player FROM table_name_61 WHERE caps > 16 AND date_of_birth__age_ = "1 february 1982"
CREATE TABLE table_name_88 (tournament VARCHAR)
Which tournament has a 2011 of 1r?
SELECT tournament FROM table_name_88 WHERE 2011 = "1r"
CREATE TABLE table_name_51 (tournament VARCHAR)
Which 2009 tournament was french open?
SELECT 2009 FROM table_name_51 WHERE tournament = "french open"
CREATE TABLE table_name_86 (away_team VARCHAR)
When the away team was collingwood, what was the away team score?
SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood"
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
Who was Richmond's home team opponent?
SELECT home_team FROM table_name_72 WHERE away_team = "richmond"
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
Where did Essendon play as the away team?
SELECT venue FROM table_name_83 WHERE away_team = "essendon"
CREATE TABLE table_name_21 (first_appearance VARCHAR, character VARCHAR)
Where did the character of Aiden Burn csi detective first appear?
SELECT first_appearance FROM table_name_21 WHERE character = "aiden burn csi detective"
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 ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"
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 tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "1%"
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 opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%"
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 ipsos_5_16_09 FROM table_name_72 WHERE tns_sofres_5_28_09 = "2.5%"
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 csa_5_20_09 FROM table_name_89 WHERE ifop__la_croix_5_15_09 = "26%"
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 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_75 (driver VARCHAR, laps VARCHAR)
What driver has 44 laps?
SELECT driver FROM table_name_75 WHERE laps = 44
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(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari"
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 AVG(goal_difference) FROM table_name_2 WHERE draw = 7 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(goal_difference) FROM table_name_4 WHERE goals_against = 30 AND played < 18
CREATE TABLE table_name_47 (draw VARCHAR, played INTEGER)
Name the total number of draw for played more than 18
SELECT COUNT(draw) FROM table_name_47 WHERE played > 18
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 pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17
CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)
What is Mark Joseph Kong's pick?
SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"
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 pba_team FROM table_name_65 WHERE pick < 15 AND college = "ateneo"
CREATE TABLE table_name_29 (pick VARCHAR, player VARCHAR)
What pick number is Larry Fonacier?
SELECT pick FROM table_name_29 WHERE player = "larry fonacier"
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 SUM(rating) FROM table_name_92 WHERE rank__timeslot_ < 3 AND rank__night_ < 8
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 AVG(rank__night_) FROM table_name_29 WHERE rating > 4.3 AND viewers__millions_ > 10.72
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
When was Windy Hill used as a venue?
SELECT date FROM table_name_90 WHERE venue = "windy hill"
CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR)
Which home team plays at VFL Park?
SELECT home_team FROM table_name_36 WHERE venue = "vfl park"
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
Which team plays against Footscray as the home team?
SELECT home_team FROM table_name_2 WHERE away_team = "footscray"
CREATE TABLE table_name_99 (attendance INTEGER, date VARCHAR)
What is the total audience on may 28?
SELECT SUM(attendance) FROM table_name_99 WHERE date = "may 28"
CREATE TABLE table_name_93 (attendance INTEGER, score VARCHAR)
What was the the total top attendance with a score of 0 – 4?
SELECT MAX(attendance) FROM table_name_93 WHERE score = "0 – 4"
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 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_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 MAX(swedish_championship_titles) FROM table_name_62 WHERE introduced < 2006
CREATE TABLE table_name_75 (record VARCHAR, loss VARCHAR)
What is the record loss of R. Springer?
SELECT record FROM table_name_75 WHERE loss = "r. springer"
CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR)
What was the streak on April 12?
SELECT streak FROM table_name_77 WHERE date = "april 12"
CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR)
What was the date of A. Benes loss to the Rockies?
SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"
CREATE TABLE table_name_45 (streak VARCHAR, attendance VARCHAR)
Which streak had an attendance of 33,013?
SELECT streak FROM table_name_45 WHERE attendance = "33,013"
CREATE TABLE table_name_91 (wicket_partnership VARCHAR, season VARCHAR)
What was the partnership in the season of 1928
SELECT wicket_partnership FROM table_name_91 WHERE season = "1928"
CREATE TABLE table_name_33 (earnings___ VARCHAR, player VARCHAR, wins VARCHAR)
What are the earnings for jim colbert with under 4 wins?
SELECT COUNT(earnings___) AS $__ FROM table_name_33 WHERE player = "jim colbert" AND wins < 4
CREATE TABLE table_name_34 (events INTEGER, player VARCHAR)
How many events for bob murphy?
SELECT MAX(events) FROM table_name_34 WHERE player = "bob murphy"
CREATE TABLE table_name_62 (rank VARCHAR, player VARCHAR, wins VARCHAR)
What is the rank for bob murphy with under 4 wins?
SELECT COUNT(rank) FROM table_name_62 WHERE player = "bob murphy" AND wins < 4
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 SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0
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 club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"
CREATE TABLE table_name_36 (round VARCHAR, event VARCHAR)
What Round is the Event cage rage 17?
SELECT round FROM table_name_36 WHERE event = "cage rage 17"
CREATE TABLE table_name_70 (event VARCHAR, time VARCHAR)
What Event is at the Time 1:16?
SELECT event FROM table_name_70 WHERE time = "1:16"
CREATE TABLE table_name_93 (title VARCHAR, track INTEGER)
What is the title of the track after 11?
SELECT title FROM table_name_93 WHERE track > 11
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 original_album FROM table_name_92 WHERE performer = "brad mehldau"
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)
Which track has the original album turbulent indigo?
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"
CREATE TABLE table_name_8 (player VARCHAR, position VARCHAR)
What Utah Jazz player played Center?
SELECT player FROM table_name_8 WHERE position = "center"
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_41 WHERE years_for_jazz = "1987-88"
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 nationality FROM table_name_53 WHERE years_for_jazz = "2011-present"
CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
What Utah Jazz Forward played for Southern Methodist?
SELECT player FROM table_name_74 WHERE position = "forward" AND 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 years_for_jazz FROM table_name_52 WHERE school_club_team = "southern methodist"
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
Who was the home team at MCG?
SELECT home_team FROM table_name_40 WHERE venue = "mcg"
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
Who was Carlton's away team opponents?
SELECT away_team FROM table_name_16 WHERE home_team = "carlton"
CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)
What was home team South Melbourne's opponents score?
SELECT away_team AS score FROM table_name_67 WHERE home_team = "south melbourne"
CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)
When the Attendance was 4,516, what was the Record?
SELECT record FROM table_name_72 WHERE attendance = "4,516"
CREATE TABLE table_name_13 (attendance VARCHAR, score VARCHAR)
When the Score was 4-10, what was the Attendance?
SELECT attendance FROM table_name_13 WHERE score = "4-10"
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
With a Record of 9-24, what was the Score?
SELECT score FROM table_name_40 WHERE record = "9-24"
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)
When the Score was 6-2, which Opponent was played?
SELECT opponent FROM table_name_16 WHERE score = "6-2"
CREATE TABLE table_name_82 (date VARCHAR, attendance VARCHAR)
On what Date was the Attendance 16,212?
SELECT date FROM table_name_82 WHERE attendance = "16,212"
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 attendance FROM table_name_71 WHERE opponent = "new york yankees" AND date = "may 12"
CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)
Which Date has a Venue of junction oval?
SELECT date FROM table_name_39 WHERE venue = "junction oval"
CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)
Which total number of Crowd has a Home team of melbourne?
SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne"