question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who is the vacator for the February 1, 1971 date of successor's formal installation?
CREATE TABLE "senate" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successor_s_formal_installation" text );
SELECT "vacator" FROM "senate" WHERE "date_of_successor_s_formal_installation"='february 1, 1971';
2-1199219-1
What is the state of the senator with a November 14, 1972 date of successor's formal installation?
CREATE TABLE "senate" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successor_s_formal_installation" text );
SELECT "state_class" FROM "senate" WHERE "date_of_successor_s_formal_installation"='november 14, 1972';
2-1199219-1
What team did the Red Sox play against on June 3?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "date"='june 3';
2-11885248-4
What was the Record at the game that had an attendance of 21,191?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "attendance"='21,191';
2-11885248-4
What was the final score of the game on June 17?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='june 17';
2-11885248-4
What is the 1st ship delivery date of 6 ways?
CREATE TABLE "yards_on_the_west_coast" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "total_number_of_ways" text, "total_vessels_built" text );
SELECT "1st_ship_delivery_date" FROM "yards_on_the_west_coast" WHERE "total_number_of_ways"='6 ways';
2-11552751-2
What is the total vessels built in Wilmington, California?
CREATE TABLE "yards_on_the_west_coast" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "total_number_of_ways" text, "total_vessels_built" text );
SELECT "total_vessels_built" FROM "yards_on_the_west_coast" WHERE "location_city_state"='wilmington, california';
2-11552751-2
What was the final round result of Mohammad Reza Samadi?
CREATE TABLE "boxing" ( "athlete" text, "event" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "final" FROM "boxing" WHERE "athlete"='mohammad reza samadi';
2-10830492-6
If the Home team score was 19.15 (129), what was the Away team's score that game?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_16" WHERE "home_team_score"='19.15 (129)';
2-10806852-16
When the Home team of footscray is playing, what's the Home team score?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "home_team"='footscray';
2-10806852-16
If the Away team scored 18.8 (116), what was the Home team's score?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "away_team_score"='18.8 (116)';
2-10806852-16
What was the title of the song that peaked the charts at #1 with track 20?
CREATE TABLE "disc_four" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "chart_peak" text, "song_title" text, "time" text );
SELECT "song_title" FROM "disc_four" WHERE "chart_peak"='#1' AND "track"=20;
2-11551042-5
What is the time from the song called Treat Me Nice?
CREATE TABLE "disc_four" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "chart_peak" text, "song_title" text, "time" text );
SELECT "time" FROM "disc_four" WHERE "song_title"='treat me nice';
2-11551042-5
What was Random House's copyright information?
CREATE TABLE "official_callanetics_books" ( "year" real, "title" text, "publisher" text, "release_date" text, "copyright_information" text, "isbn" real );
SELECT "copyright_information" FROM "official_callanetics_books" WHERE "publisher"='random house';
2-11222744-1
What was release date in 1992 with the ISBN #0?
CREATE TABLE "official_callanetics_books" ( "year" real, "title" text, "publisher" text, "release_date" text, "copyright_information" text, "isbn" real );
SELECT "release_date" FROM "official_callanetics_books" WHERE "isbn"=0 AND "year"=1992;
2-11222744-1
What club team has 216 overall?
CREATE TABLE "1996_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT "club_team" FROM "1996_draft_picks" WHERE "overall"=216;
2-11803648-5
What is the highest round played by Chris Phillips?
CREATE TABLE "1996_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT MAX("round") FROM "1996_draft_picks" WHERE "player"='chris phillips';
2-11803648-5
What player attended Graceland College?
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_four" WHERE "college"='graceland';
2-10960039-4
What is the highest pick number of the CFL's Toronto Argonauts?
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "round_four" WHERE "cfl_team"='toronto argonauts';
2-10960039-4
Which pick number attended McMaster College?
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "pick_num" FROM "round_four" WHERE "college"='mcmaster';
2-10960039-4
Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?
CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "visitor" FROM "october" WHERE "decision"='osgood' AND "home"='edmonton';
2-11786815-3
What is the date recorded for I Want to Be Free with a length of 2:12?
CREATE TABLE "disc_three" ( "track" real, "recorded" text, "release_date" text, "song_title" text, "writer_s" text, "time" text );
SELECT "recorded" FROM "disc_three" WHERE "time"='2:12' AND "song_title"='i want to be free';
2-11551042-4
What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?
CREATE TABLE "disc_three" ( "track" real, "recorded" text, "release_date" text, "song_title" text, "writer_s" text, "time" text );
SELECT MAX("track") FROM "disc_three" WHERE "time"='1:54' AND "writer_s"='gene autry and oakley haldeman';
2-11551042-4
What is the title of the song with a track less than 8 released on 3/22/57?
CREATE TABLE "disc_three" ( "track" real, "recorded" text, "release_date" text, "song_title" text, "writer_s" text, "time" text );
SELECT "song_title" FROM "disc_three" WHERE "track"<8 AND "release_date"='3/22/57';
2-11551042-4
What song title was written by Kal Mann and Bernie Lowe?
CREATE TABLE "disc_three" ( "track" real, "recorded" text, "release_date" text, "song_title" text, "writer_s" text, "time" text );
SELECT "song_title" FROM "disc_three" WHERE "writer_s"='kal mann and bernie lowe';
2-11551042-4
What is the Home team score for Geelong, whereby the Away team has a score of 18.13 (121)?
CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_9" WHERE "away_team_score"='18.13 (121)';
2-10869537-9
What date did the Away team, North Melbourne, play Geelong?
CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_9" WHERE "away_team"='north melbourne';
2-10869537-9
What Venue had an Away team score of 7.15 (57) on June 4, 1973?
CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_9" WHERE "away_team_score"='7.15 (57)';
2-10869537-9
The driver Jacky Ickx had what time/retired?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "driver"='jacky ickx';
2-1122373-1
What is the least number of laps for the driver Jo Siffert?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "classification" WHERE "driver"='jo siffert';
2-1122373-1
What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "classification" WHERE "constructor"='ferrari' AND "grid"<4;
2-1122373-1
What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "classification" WHERE "laps"<68 AND "time_retired"='injection';
2-1122373-1
What is the gender of Congresswoman Jaime Herrera Beutler's baby?
CREATE TABLE "pregnancies" ( "congresswoman" text, "state" text, "date_of_delivery" text, "mother_s_age" real, "baby_gender" text );
SELECT "baby_gender" FROM "pregnancies" WHERE "congresswoman"='jaime herrera beutler';
2-11800900-4
How old was the mother who delivered on December 15, 2008?
CREATE TABLE "pregnancies" ( "congresswoman" text, "state" text, "date_of_delivery" text, "mother_s_age" real, "baby_gender" text );
SELECT "mother_s_age" FROM "pregnancies" WHERE "date_of_delivery"='december 15, 2008';
2-11800900-4
What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?
CREATE TABLE "pregnancies" ( "congresswoman" text, "state" text, "date_of_delivery" text, "mother_s_age" real, "baby_gender" text );
SELECT "date_of_delivery" FROM "pregnancies" WHERE "baby_gender"='boy' AND "congresswoman"='kirsten gillibrand';
2-11800900-4
Which player on the Bulls has a 6 May 1978 birthday?
CREATE TABLE "2007_rugby_world_cup_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );
SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "club_province"='bulls' AND "date_of_birth_age"='6 may 1978';
2-11783766-3
Which player has a 1 February 1982 birthday and more than 16 caps?
CREATE TABLE "2007_rugby_world_cup_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );
SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "caps">16 AND "date_of_birth_age"='1 february 1982';
2-11783766-3
Which tournament has a 2011 of 1r?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "tournament" FROM "women_s_doubles_performance_timeline" WHERE "2011"='1r';
2-11739415-11
Which 2009 tournament was french open?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2009" FROM "women_s_doubles_performance_timeline" WHERE "tournament"='french open';
2-11739415-11
When the home team score was 8.12 (60), what was the date?
CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_3" WHERE "home_team_score"='8.12 (60)';
2-10784349-3
When the away team was collingwood, what was the away team score?
CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_3" WHERE "away_team"='collingwood';
2-10784349-3
Who was Richmond's home team opponent?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "away_team"='richmond';
2-10807990-2
Where did Essendon play as the away team?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_2" WHERE "away_team"='essendon';
2-10807990-2
Where did the character of Aiden Burn csi detective first appear?
CREATE TABLE "main_characters" ( "character" text, "portrayed_by" text, "first_appearance" text, "last_appearance" text, "duration" text, "episodes" text );
SELECT "first_appearance" FROM "main_characters" WHERE "character"='aiden burn csi detective';
2-11240028-1
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "ipsos_5_25_09" FROM "polling" WHERE "tns_sofres_5_28_09"='20%';
2-11728067-3
Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "tns_sofres_5_26_09" FROM "polling" WHERE "ipsos_5_25_09"='1%';
2-11728067-3
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "opinion_way_5_18_09" FROM "polling" WHERE "ipsos_5_16_09"='11%';
2-11728067-3
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "ipsos_5_16_09" FROM "polling" WHERE "tns_sofres_5_28_09"='2.5%';
2-11728067-3
Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "csa_5_20_09" FROM "polling" WHERE "ifop_la_croix_5_15_09"='26%';
2-11728067-3
Which Viavoice 5/15/09 has a CSA 5/14/09 of 5%, and a TNS-Sofres 5/28/09 of 4.5%?
CREATE TABLE "polling" ( "party" text, "results_2004" text, "csa_5_14_09" text, "viavoice_5_15_09" text, "ifop_la_croix_5_15_09" text, "ipsos_5_16_09" text, "opinion_way_5_18_09" text, "csa_5_20_09" text, "ipsos_5_25_09" text, "tns_sofres_5_26_09" text, "opinion_way_5_28_09" text, "tns_sofres_5_28_09" text );
SELECT "viavoice_5_15_09" FROM "polling" WHERE "csa_5_14_09"='5%' AND "tns_sofres_5_28_09"='4.5%';
2-11728067-3
What driver has 44 laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "laps"=44;
2-1122962-1
What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "grid">2 AND "time_retired"='accident' AND "constructor"='ferrari';
2-1122962-1
Name the average goal difference for draw of 7 and played more than 18
CREATE TABLE "final_league_position" ( "team" text, "played" real, "draw" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" real, "points" real );
SELECT AVG("goal_difference") FROM "final_league_position" WHERE "draw"=7 AND "played">18;
2-11179106-1
Tell me the totla number of goal difference for goals against of 30 and played less than 18
CREATE TABLE "final_league_position" ( "team" text, "played" real, "draw" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" real, "points" real );
SELECT COUNT("goal_difference") FROM "final_league_position" WHERE "goals_against"=30 AND "played"<18;
2-11179106-1
Name the total number of draw for played more than 18
CREATE TABLE "final_league_position" ( "team" text, "played" real, "draw" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" real, "points" real );
SELECT COUNT("draw") FROM "final_league_position" WHERE "played">18;
2-11179106-1
Where is the player with a pick smaller than 12 and a college of UV from?
CREATE TABLE "round_2" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "country_of_origin" FROM "round_2" WHERE "pick"<12 AND "college"='uv';
2-11779131-3
What PBA team is the player from Ateneo college and a pick of 17?
CREATE TABLE "round_2" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pba_team" FROM "round_2" WHERE "college"='ateneo' AND "pick"=17;
2-11779131-3
What is Mark Joseph Kong's pick?
CREATE TABLE "round_2" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT AVG("pick") FROM "round_2" WHERE "player"='mark joseph kong';
2-11779131-3
What PBA team is the player from Ateneo college with a pick number smaller than 15 from?
CREATE TABLE "round_2" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pba_team" FROM "round_2" WHERE "pick"<15 AND "college"='ateneo';
2-11779131-3
What pick number is Larry Fonacier?
CREATE TABLE "round_2" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pick" FROM "round_2" WHERE "player"='larry fonacier';
2-11779131-3
what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" text, "rating" real, "share" real, "rating_share_18_49" text, "viewers_millions" real, "rank_timeslot" real, "rank_night" real, "rank_week" text );
SELECT SUM("rating") FROM "u_s_nielsen_ratings" WHERE "rank_timeslot"<3 AND "rank_night"<8;
2-11253290-2
what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" text, "rating" real, "share" real, "rating_share_18_49" text, "viewers_millions" real, "rank_timeslot" real, "rank_night" real, "rank_week" text );
SELECT AVG("rank_night") FROM "u_s_nielsen_ratings" WHERE "rating">4.3 AND "viewers_millions">10.72;
2-11253290-2
When was Windy Hill used as a venue?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_21" WHERE "venue"='windy hill';
2-10823950-21
Which home team plays at VFL Park?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_21" WHERE "venue"='vfl park';
2-10823950-21
Which team plays against Footscray as the home team?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_21" WHERE "away_team"='footscray';
2-10823950-21
What is the total audience on may 28?
CREATE TABLE "vs_2" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text );
SELECT SUM("attendance") FROM "vs_2" WHERE "date"='may 28';
2-11786815-13
What was the the total top attendance with a score of 0 – 4?
CREATE TABLE "vs_2" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text );
SELECT MAX("attendance") FROM "vs_2" WHERE "score"='0 – 4';
2-11786815-13
How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?
CREATE TABLE "honoured_clubs" ( "club" text, "swedish_championship_titles" real, "allsvenskan_titles" real, "introduced" real, "stars_symbolizes" text );
SELECT SUM("allsvenskan_titles") FROM "honoured_clubs" WHERE "stars_symbolizes"='number of swedish championship titles' AND "club"='aik' AND "introduced">2000;
2-1096793-8
What is the highest amount of swedish championship titles for the team that was introduced before 2006?
CREATE TABLE "honoured_clubs" ( "club" text, "swedish_championship_titles" real, "allsvenskan_titles" real, "introduced" real, "stars_symbolizes" text );
SELECT MAX("swedish_championship_titles") FROM "honoured_clubs" WHERE "introduced"<2006;
2-1096793-8
What is the average reception of the player with 4 touchdowns and less than 171 yards?
CREATE TABLE "wide_receivers" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real );
SELECT AVG("rec") FROM "wide_receivers" WHERE "td_s"=4 AND "yards"<171;
2-11786754-12
What is the average that has more than 0 touchdowns and more than 135 yards?
CREATE TABLE "wide_receivers" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real );
SELECT "avg" FROM "wide_receivers" WHERE "td_s">0 AND "yards">135;
2-11786754-12
What is the record loss of R. Springer?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text, "streak" text );
SELECT "record" FROM "game_log" WHERE "loss"='r. springer';
2-11503038-5
What was the streak on April 12?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text, "streak" text );
SELECT "streak" FROM "game_log" WHERE "date"='april 12';
2-11503038-5
What was the date of A. Benes loss to the Rockies?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text, "streak" text );
SELECT "date" FROM "game_log" WHERE "loss"='a. benes' AND "opponent"='rockies';
2-11503038-5
Which streak had an attendance of 33,013?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text, "streak" text );
SELECT "streak" FROM "game_log" WHERE "attendance"='33,013';
2-11503038-5
What was the partnership in the season of 1928
CREATE TABLE "partnership_records" ( "wicket_partnership" text, "runs" text, "batsmen" text, "opponents" text, "venue" text, "season" text );
SELECT "wicket_partnership" FROM "partnership_records" WHERE "season"='1928';
2-11377094-4
What are the earnings for jim colbert with under 4 wins?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT COUNT("earnings") FROM "leaders" WHERE "player"='jim colbert' AND "wins"<4;
2-11621915-3
What is the ranking for the player with under 34 events and earnings of $1,444,386
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MAX("rank") FROM "leaders" WHERE "earnings"='1,444,386' AND "events"<34;
2-11621915-3
How many events for bob murphy?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MAX("events") FROM "leaders" WHERE "player"='bob murphy';
2-11621915-3
What is the rank for bob murphy with under 4 wins?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT COUNT("rank") FROM "leaders" WHERE "player"='bob murphy' AND "wins"<4;
2-11621915-3
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
CREATE TABLE "international_career" ( "national_team" text, "club" text, "season" text, "apps" real, "goals" real );
SELECT SUM("apps") FROM "international_career" WHERE "club"='flamengo' AND "season"='2009' AND "goals">0;
2-1142467-2
In the 2010 season what club has 0 goals and more than 0 Apps?
CREATE TABLE "international_career" ( "national_team" text, "club" text, "season" text, "apps" real, "goals" real );
SELECT "club" FROM "international_career" WHERE "goals"=0 AND "apps">0 AND "season"='2010';
2-1142467-2
What Round is the Event cage rage 17?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='cage rage 17';
2-11087181-2
What Event is at the Time 1:16?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='1:16';
2-11087181-2
What is the title of the track after 11?
CREATE TABLE "track_listing" ( "track" real, "title" text, "performer" text, "length" text, "original_album" text );
SELECT "title" FROM "track_listing" WHERE "track">11;
2-11023796-2
On the title feature brad mehldau as the performer, what is the original album?
CREATE TABLE "track_listing" ( "track" real, "title" text, "performer" text, "length" text, "original_album" text );
SELECT "original_album" FROM "track_listing" WHERE "performer"='brad mehldau';
2-11023796-2
Which track has the original album turbulent indigo?
CREATE TABLE "track_listing" ( "track" real, "title" text, "performer" text, "length" text, "original_album" text );
SELECT AVG("track") FROM "track_listing" WHERE "original_album"='turbulent indigo';
2-11023796-2
What Utah Jazz player played Center?
CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "player" FROM "t" WHERE "position"='center';
2-11545282-19
What is the nationality of all Utah Jazz Players, that played 1987-88?
CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "t" WHERE "years_for_jazz"='1987-88';
2-11545282-19
What is the nationality of all Utah Jazz Players, that played 2011-present?
CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "t" WHERE "years_for_jazz"='2011-present';
2-11545282-19
What Utah Jazz Forward played for Southern Methodist?
CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "player" FROM "t" WHERE "position"='forward' AND "school_club_team"='southern methodist';
2-11545282-19
What years did the Utah Jazz Player from Southern Methodist, Play?
CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "years_for_jazz" FROM "t" WHERE "school_club_team"='southern methodist';
2-11545282-19
Who was the home team at MCG?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "venue"='mcg';
2-10809823-2
Who was Carlton's away team opponents?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_2" WHERE "home_team"='carlton';
2-10809823-2
What was home team South Melbourne's opponents score?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_2" WHERE "home_team"='south melbourne';
2-10809823-2
What player has under 357 assists and is from 2001?
CREATE TABLE "f" ( "player" text, "pos" text, "from" text, "school_country" text, "rebs" real, "asts" real );
SELECT "player" FROM "f" WHERE "asts"<357 AND "from"='2001';
2-11482079-7
When the Attendance was 4,516, what was the Record?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "attendance"='4,516';
2-11664564-5
When the Score was 4-10, what was the Attendance?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "attendance" FROM "game_log" WHERE "score"='4-10';
2-11664564-5
With a Record of 9-24, what was the Score?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='9-24';
2-11664564-5
When the Score was 6-2, which Opponent was played?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "score"='6-2';
2-11664564-5