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 Visitor on april 14?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "trades" WHERE "date"='april 14';
2-14038745-11
Which Record has a Visitor of quebec nordiques with a Score of 4–5?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "trades" WHERE "visitor"='quebec nordiques' AND "score"='4–5';
2-14038745-11
What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MAX("december") FROM "regular_season" WHERE "game">27 AND "opponent"='pittsburgh penguins' AND "points"<41;
2-14318601-4
What's the score for December of 30?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "december"=30;
2-14318601-4
What is the average number of games associated with 6 points and under 2 losses?
CREATE TABLE "group_1" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real );
SELECT AVG("games") FROM "group_1" WHERE "points"=6 AND "lost"<2;
2-14076980-1
What is the low point total when there are over 5 games?
CREATE TABLE "group_1" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real );
SELECT MIN("points") FROM "group_1" WHERE "games">5;
2-14076980-1
What was the share of votes when there were more than 56 electors and the year was more recent than 1950?
CREATE TABLE "presidential_elections" ( "year" real, "electors" real, "votes" text, "share_of_votes" text, "candidate" text );
SELECT "share_of_votes" FROM "presidential_elections" WHERE "electors">56 AND "year">1950;
2-1517649-5
What is the total of electors when the share of votes was 11,0%?
CREATE TABLE "presidential_elections" ( "year" real, "electors" real, "votes" text, "share_of_votes" text, "candidate" text );
SELECT SUM("electors") FROM "presidential_elections" WHERE "share_of_votes"='11,0%';
2-1517649-5
Which Lost has Games larger than 7?
CREATE TABLE "world_championship_group_b_denmark" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT AVG("lost") FROM "world_championship_group_b_denmark" WHERE "games">7;
2-14076980-3
Which Points have a Lost smaller than 1, and Games larger than 7?
CREATE TABLE "world_championship_group_b_denmark" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MAX("points") FROM "world_championship_group_b_denmark" WHERE "lost"<1 AND "games">7;
2-14076980-3
Which Lost has Points larger than 13?
CREATE TABLE "world_championship_group_b_denmark" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT AVG("lost") FROM "world_championship_group_b_denmark" WHERE "points">13;
2-14076980-3
Which Points have a Drawn larger than 1?
CREATE TABLE "world_championship_group_b_denmark" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT AVG("points") FROM "world_championship_group_b_denmark" WHERE "drawn">1;
2-14076980-3
Which Diameter has a Year of Issue of 1977?
CREATE TABLE "one_cent_test_tokens" ( "year_of_issue" real, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "diameter" FROM "one_cent_test_tokens" WHERE "year_of_issue"=1977;
2-14258276-4
Which Year of Issue has a Thickness of 1.42mm?
CREATE TABLE "one_cent_test_tokens" ( "year_of_issue" real, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT MAX("year_of_issue") FROM "one_cent_test_tokens" WHERE "thickness"='1.42mm';
2-14258276-4
Which Diameter has a Thickness of 1.3mm?
CREATE TABLE "one_cent_test_tokens" ( "year_of_issue" real, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "diameter" FROM "one_cent_test_tokens" WHERE "thickness"='1.3mm';
2-14258276-4
Which party's candidate is Grech Louis Grech?
CREATE TABLE "elected_me_ps_5" ( "candidate" text, "party" text, "eu_party" text, "1st_count" real, "29th_count" text );
SELECT "party" FROM "elected_me_ps_5" WHERE "candidate"='grech louis grech';
2-15125113-1
Which eu party has a 29th count of 40,529?
CREATE TABLE "elected_me_ps_5" ( "candidate" text, "party" text, "eu_party" text, "1st_count" real, "29th_count" text );
SELECT "eu_party" FROM "elected_me_ps_5" WHERE "29th_count"='40,529';
2-15125113-1
Which candidate's party is pl when the 29th count is 39,250?
CREATE TABLE "elected_me_ps_5" ( "candidate" text, "party" text, "eu_party" text, "1st_count" real, "29th_count" text );
SELECT "candidate" FROM "elected_me_ps_5" WHERE "party"='pl' AND "29th_count"='39,250';
2-15125113-1
What is the sport played in Iowa City on February 14, 2009?
CREATE TABLE "2008_2009" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "sport" FROM "2008_2009" WHERE "site"='iowa city' AND "date"='february 14, 2009';
2-14175075-6
What is the series of the winning team in Iowa, for softball?
CREATE TABLE "2008_2009" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "series" FROM "2008_2009" WHERE "winning_team"='iowa' AND "sport"='softball';
2-14175075-6
What is the score of the match that was against alberto berasategui?
CREATE TABLE "singles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "score_in_the_final" FROM "singles" WHERE "opponent_in_the_final"='alberto berasategui';
2-1513105-4
How many rebounds does Ann Wauters have?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT COUNT("rebounds") FROM "rebounds" WHERE "name"='ann wauters';
2-14121260-8
Who played 10 games?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT "name" FROM "rebounds" WHERE "games"=10;
2-14121260-8
What is the total number of rebounds values for Ann Wauters?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT COUNT("rebounds") FROM "rebounds" WHERE "name"='ann wauters';
2-14121260-8
Who did the Colts play against on September 25, 1966?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "date"='september 25, 1966';
2-14975971-1
What is the date of the game with 40,005 in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='40,005';
2-14975971-1
What is the lowest week number for the game that was at milwaukee county stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT MIN("week") FROM "schedule" WHERE "game_site"='milwaukee county stadium';
2-14975971-1
After week 11, what was the Result on December 13, 1964?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week">11 AND "date"='december 13, 1964';
2-15122706-1
After week 8, what was the Attendance on November 1, 1964?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "date"='november 1, 1964' AND "week">8;
2-15122706-1
What is the alternate of the nation with Piotras Gerasimovici as the second?
CREATE TABLE "group_b1" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "alternate" FROM "group_b1" WHERE "second"='piotras gerasimovici';
2-15295737-52
What is the alternate of the nation with hubert gründhammer as the second?
CREATE TABLE "group_b1" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "alternate" FROM "group_b1" WHERE "second"='hubert gründhammer';
2-15295737-52
What is the alternate of the nation with Erkki Lill as the skip?
CREATE TABLE "group_b1" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "alternate" FROM "group_b1" WHERE "skip"='erkki lill';
2-15295737-52
Who is the skip of the nation with Laurens van der Windt as the alternate?
CREATE TABLE "group_b1" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "skip" FROM "group_b1" WHERE "alternate"='laurens van der windt';
2-15295737-52
Who is the lead of the nation with Juha Pekaristo as the alternate?
CREATE TABLE "group_b1" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "lead" FROM "group_b1" WHERE "alternate"='juha pekaristo';
2-15295737-52
What is the highest round in which a player was picked for the Center position?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MAX("round") FROM "draft_picks" WHERE "position"='center';
2-14159731-15
What is John Flatters' nationality?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "player"='john flatters';
2-14159731-15
What is Jeremy Duchesne's position?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "player"='jeremy duchesne';
2-14159731-15
When was the attendance 1,034?
CREATE TABLE "february" ( "date" real, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text );
SELECT MIN("date") FROM "february" WHERE "attendance"='1,034';
2-15213262-11
what was the opponent on 26 october 1889?
CREATE TABLE "football_alliance" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "opponents" FROM "football_alliance" WHERE "date"='26 october 1889';
2-13614398-1
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?
CREATE TABLE "estimated_total_direct_programme_hours_p" ( "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "1996_2" real );
SELECT MIN("1996_2") FROM "estimated_total_direct_programme_hours_p" WHERE "1950">80 AND "1960"=196 AND "1990">131;
2-1404891-1
1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?
CREATE TABLE "estimated_total_direct_programme_hours_p" ( "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "1996_2" real );
SELECT MAX("1950") FROM "estimated_total_direct_programme_hours_p" WHERE "1960">196 AND "1996_2"<726 AND "1980">125 AND "1990">848;
2-1404891-1
1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?
CREATE TABLE "estimated_total_direct_programme_hours_p" ( "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "1996_2" real );
SELECT MAX("1990") FROM "estimated_total_direct_programme_hours_p" WHERE "1980"<719 AND "1960"<205 AND "1996_2"<364 AND "1970">251;
2-1404891-1
1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?
CREATE TABLE "estimated_total_direct_programme_hours_p" ( "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "1996_2" real );
SELECT SUM("1980") FROM "estimated_total_direct_programme_hours_p" WHERE "1996_2">68 AND "1990"<352 AND "1970">105 AND "1950"=119;
2-1404891-1
1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?
CREATE TABLE "estimated_total_direct_programme_hours_p" ( "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "1996_2" real );
SELECT SUM("1980") FROM "estimated_total_direct_programme_hours_p" WHERE "1996_2"=127 AND "1990"<120;
2-1404891-1
Who was the opponent at the game with a result of w 14–6?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text );
SELECT "opponent" FROM "schedule" WHERE "result"='w 14–6';
2-14608543-1
What was the result of the game with a record of 2–3–2 before week 8?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text );
SELECT "result" FROM "schedule" WHERE "week"<8 AND "record"='2–3–2';
2-14608543-1
What was the earliest week with a game at the Braves Field on October 2, 1932?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text );
SELECT MIN("week") FROM "schedule" WHERE "game_site"='braves field' AND "date"='october 2, 1932';
2-14608543-1
What was the record at the game on November 13, 1932?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text );
SELECT "record" FROM "schedule" WHERE "date"='november 13, 1932';
2-14608543-1
What role is Kevin Bishop the actor?
CREATE TABLE "others" ( "character" text, "actor" text, "duration" text, "role" text, "appearances" text );
SELECT "role" FROM "others" WHERE "actor"='kevin bishop';
2-14222371-2
What is the duration for mike walling as the actor?
CREATE TABLE "others" ( "character" text, "actor" text, "duration" text, "role" text, "appearances" text );
SELECT "duration" FROM "others" WHERE "actor"='mike walling';
2-14222371-2
What is the duration that has 3 for appearances, and james garret as the character?
CREATE TABLE "others" ( "character" text, "actor" text, "duration" text, "role" text, "appearances" text );
SELECT "duration" FROM "others" WHERE "appearances"='3' AND "character"='james garret';
2-14222371-2
What is the duration for nickolas grace as the actor?
CREATE TABLE "others" ( "character" text, "actor" text, "duration" text, "role" text, "appearances" text );
SELECT "duration" FROM "others" WHERE "actor"='nickolas grace';
2-14222371-2
Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "time_et"='1:00pm' AND "result"='w 34–14';
2-14563349-11
Date of sun. oct. 1 has what location?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "location" FROM "schedule" WHERE "date"='sun. oct. 1';
2-14563349-11
Record of 3–3 has what result?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "result" FROM "schedule" WHERE "record"='3–3';
2-14563349-11
Date of sun. oct. 29 has what time (et)?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "time_et" FROM "schedule" WHERE "date"='sun. oct. 29';
2-14563349-11
How many games have more than 10 points and more than 2 draws?
CREATE TABLE "world_championship_group_b_france" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT COUNT("games") FROM "world_championship_group_b_france" WHERE "points"=10 AND "drawn">2;
2-14083712-4
What is the sum of losses that have points of 11 and more than 1 draw?
CREATE TABLE "world_championship_group_b_france" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT SUM("lost") FROM "world_championship_group_b_france" WHERE "points"=11 AND "drawn">1;
2-14083712-4
What is the greatest points value that have draws under 2 and 2 losses?
CREATE TABLE "world_championship_group_b_france" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MAX("points") FROM "world_championship_group_b_france" WHERE "drawn"<2 AND "lost"=2;
2-14083712-4
How many losses have draw values under 1?
CREATE TABLE "world_championship_group_b_france" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT COUNT("lost") FROM "world_championship_group_b_france" WHERE "drawn"<1;
2-14083712-4
What's the lowest February for less than 57 points?
CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("february") FROM "regular_season" WHERE "points"<57;
2-14323142-6
What's the February for the game against the Montreal Canadiens?
CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("february") FROM "regular_season" WHERE "opponent"='montreal canadiens';
2-14323142-6
What's the record for Game 58?
CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "regular_season" WHERE "game"=58;
2-14323142-6
Which Winner has a Season of 2005–06?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "score" text, "runner_up" text, "venue" text );
SELECT "winner" FROM "list_of_finals" WHERE "season"='2005–06';
2-1525758-1
Which Runner-up played in the Season of 2000–01?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "score" text, "runner_up" text, "venue" text );
SELECT "runner_up" FROM "list_of_finals" WHERE "season"='2000–01';
2-1525758-1
What was the venue during the Season of 2010–11?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "score" text, "runner_up" text, "venue" text );
SELECT "venue" FROM "list_of_finals" WHERE "season"='2010–11';
2-1525758-1
Which Winner has a Runner-up of larne, and a Season of 2003–04?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "score" text, "runner_up" text, "venue" text );
SELECT "winner" FROM "list_of_finals" WHERE "runner_up"='larne' AND "season"='2003–04';
2-1525758-1
Which Winner has a Score of 1 – 0, and a Season of 2011–12?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "score" text, "runner_up" text, "venue" text );
SELECT "winner" FROM "list_of_finals" WHERE "score"='1 – 0' AND "season"='2011–12';
2-1525758-1
What position does Martin Rucker play?
CREATE TABLE "2008_nfl_draft" ( "round" real, "pick" text, "name" text, "position" text, "college" text );
SELECT "position" FROM "2008_nfl_draft" WHERE "name"='martin rucker';
2-14965767-4
What was the lowest round for Paul Hubbard?
CREATE TABLE "2008_nfl_draft" ( "round" real, "pick" text, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "2008_nfl_draft" WHERE "name"='paul hubbard';
2-14965767-4
What was the lowest round for a tight end position?
CREATE TABLE "2008_nfl_draft" ( "round" real, "pick" text, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "2008_nfl_draft" WHERE "position"='tight end';
2-14965767-4
What years did the person coach who had more than 31 ties?
CREATE TABLE "coaching_records" ( "coach" text, "years" text, "wins" real, "losses" real, "ties" real );
SELECT "years" FROM "coaching_records" WHERE "ties">31;
2-14786334-1
What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?
CREATE TABLE "coaching_records" ( "coach" text, "years" text, "wins" real, "losses" real, "ties" real );
SELECT AVG("wins") FROM "coaching_records" WHERE "losses"<174 AND "years"='1951 to 1956' AND "ties"<6;
2-14786334-1
Who was the coach who had 215 losses?
CREATE TABLE "coaching_records" ( "coach" text, "years" text, "wins" real, "losses" real, "ties" real );
SELECT "coach" FROM "coaching_records" WHERE "losses"=215;
2-14786334-1
What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?
CREATE TABLE "coaching_records" ( "coach" text, "years" text, "wins" real, "losses" real, "ties" real );
SELECT "years" FROM "coaching_records" WHERE "ties">1 AND "wins"<311 AND "losses"=174;
2-14786334-1
What years did the person coach who had less than 82 wins and more than 24 losses?
CREATE TABLE "coaching_records" ( "coach" text, "years" text, "wins" real, "losses" real, "ties" real );
SELECT "years" FROM "coaching_records" WHERE "wins"<82 AND "losses">24;
2-14786334-1
Which Points have a Game larger than 25, and an Opponent of dallas stars?
CREATE TABLE "game_log" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT AVG("points") FROM "game_log" WHERE "game">25 AND "opponent"='dallas stars';
2-14347546-5
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?
CREATE TABLE "game_log" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "game_log" WHERE "december"<28 AND "points"<38 AND "game"<26 AND "score"='0–1 ot';
2-14347546-5
Which Opponent has a Game of 31?
CREATE TABLE "game_log" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "opponent" FROM "game_log" WHERE "game"=31;
2-14347546-5
Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0?
CREATE TABLE "game_log" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "game_log" WHERE "points"<40 AND "game">25 AND "score"='2–0';
2-14347546-5
Episode of 9 in which performer 3 had?
CREATE TABLE "series_6" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_3" FROM "series_6" WHERE "episode"=9;
2-14934885-7
Date of 8 july 1994 involves which performer 1?
CREATE TABLE "series_6" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_1" FROM "series_6" WHERE "date"='8 july 1994';
2-14934885-7
Date of 15 july 1994 involves which performer 3?
CREATE TABLE "series_6" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_3" FROM "series_6" WHERE "date"='15 july 1994';
2-14934885-7
Performer 2 of chip esten has what performer 3?
CREATE TABLE "series_6" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_3" FROM "series_6" WHERE "performer_2"='chip esten';
2-14934885-7
Which Name has a Pennant number of f82?
CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "laid_down" text, "launched" text, "date_of_commission" text, "homeport_as_of_july_2013" text, "planned_decommission_as_announced_in_2009" text );
SELECT "name" FROM "ships_of_the_class" WHERE "pennant_number"='f82';
2-140976-1
What is the Launched which is on 3 may 2001?
CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "laid_down" text, "launched" text, "date_of_commission" text, "homeport_as_of_july_2013" text, "planned_decommission_as_announced_in_2009" text );
SELECT "launched" FROM "ships_of_the_class" WHERE "date_of_commission"='3 may 2001';
2-140976-1
What is the Homeport that has a Laid down on 14 december 1985?
CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "laid_down" text, "launched" text, "date_of_commission" text, "homeport_as_of_july_2013" text, "planned_decommission_as_announced_in_2009" text );
SELECT "homeport_as_of_july_2013" FROM "ships_of_the_class" WHERE "laid_down"='14 december 1985';
2-140976-1
What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?
CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "laid_down" text, "launched" text, "date_of_commission" text, "homeport_as_of_july_2013" text, "planned_decommission_as_announced_in_2009" text );
SELECT "launched" FROM "ships_of_the_class" WHERE "homeport_as_of_july_2013"='sold to chile' AND "pennant_number"='f80';
2-140976-1
Which player had more than 25 events?
CREATE TABLE "money_leaders" ( "rank" real, "player" text, "country" text, "events" real, "prize_money" real );
SELECT "player" FROM "money_leaders" WHERE "events">25;
2-14473512-2
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?
CREATE TABLE "money_leaders" ( "rank" real, "player" text, "country" text, "events" real, "prize_money" real );
SELECT "prize_money" FROM "money_leaders" WHERE "rank"<7 AND "events">6 AND "country"='fiji';
2-14473512-2
What is the least amount of prize money when there are 21 events?
CREATE TABLE "money_leaders" ( "rank" real, "player" text, "country" text, "events" real, "prize_money" real );
SELECT MIN("prize_money") FROM "money_leaders" WHERE "events"=21;
2-14473512-2
Which series episode has a netflix figure of s04e21?
CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "series_ep" FROM "season_8_2006_2007" WHERE "netflix"='s04e21';
2-15187735-8
Which segment a's netflix figure is s04e24?
CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_8_2006_2007" WHERE "netflix"='s04e24';
2-15187735-8
How many episodes have a segment d that is goalie masks (part 2)?
CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("episode") FROM "season_8_2006_2007" WHERE "segment_d"='goalie masks (part 2)';
2-15187735-8
Which episode's segment b is s hacksaw?
CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "episode" FROM "season_8_2006_2007" WHERE "segment_b"='s hacksaw';
2-15187735-8
When was Lachlan Dale born?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "d_o_b" FROM "player_roster" WHERE "surname"='dale' AND "first"='lachlan';
2-15273269-3
Which batter played P and was born 18 April 1984?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "bats" FROM "player_roster" WHERE "position"='p' AND "d_o_b"='18 april 1984';
2-15273269-3
Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "surname" FROM "player_roster" WHERE "bats"='r' AND "position"='p' AND "d_o_b"='20 may 1989';
2-15273269-3
Which Position has Throws of r, and a DOB of 12 february 1983?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "position" FROM "player_roster" WHERE "throws"='r' AND "d_o_b"='12 february 1983';
2-15273269-3
How many throws did Needle have?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "throws" FROM "player_roster" WHERE "surname"='needle';
2-15273269-3