question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the highest value of PF when Ends Lost is 51?
CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT MAX("pf") FROM "round_robin_standings" WHERE "ends_lost"=51;
1-1505809-2
What is the total of all Shot PCT occurrences when the value of Blank Ends is 8?
CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT COUNT("shot_pct") FROM "round_robin_standings" WHERE "blank_ends"=8;
1-1505809-2
Where is the Locale when L is 2.
CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "locale" FROM "round_robin_standings" WHERE "l"=2;
1-1505809-2
What is the lowest value of Blank Ends when Stolen Ends is 7.
CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT MIN("blank_ends") FROM "round_robin_standings" WHERE "stolen_ends"=7;
1-1505809-2
What is the value of Ends Lost when Blank Ends is 9.
CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "ends_lost" FROM "round_robin_standings" WHERE "blank_ends"=9;
1-1505809-2
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT COUNT("combination_classification") FROM "jersey_progress" WHERE "points_classification"='Alessandro Petacchi' AND "winner"='Erik Zabel';
1-15059783-1
If winner is alejandro Valverde and the points Classification is by Erik Zabel, who is the mountain classification?
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT "mountains_classification" FROM "jersey_progress" WHERE "winner"='Alejandro Valverde' AND "points_classification"='Erik Zabel';
1-15059783-1
How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi?
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT COUNT("team_classification") FROM "jersey_progress" WHERE "combination_classification"='Alejandro Valverde' AND "points_classification"='Alessandro Petacchi';
1-15059783-1
How many times were the winnings $3,816,362?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("avg_finish") FROM "nascar_sprint_cup_series" WHERE "winnings"='$3,816,362';
1-1507423-4
How many wins were there when the position was 26th?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "position"='26th';
1-1507423-4
What was the average finish when the average start was 18.4?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "avg_finish" FROM "nascar_sprint_cup_series" WHERE "avg_start"='18.4';
1-1507423-4
How many teams had a 76th position finish?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("team_s") FROM "nascar_sprint_cup_series" WHERE "position"='76th';
1-1507423-4
What is the maximumum number of wins?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MIN("wins") FROM "nascar_sprint_cup_series";
1-1507423-4
What teams won in 2007?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "team_s" FROM "nascar_sprint_cup_series" WHERE "year"=2007;
1-1507423-4
How many entries arr there for the top 10 for the 78th position?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("top_10") FROM "nascar_nationwide_series" WHERE "position"='78th';
1-1507423-5
Where does team #55/#83 robby gordon motorsports rank in the top 10?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MAX("top_10") FROM "nascar_nationwide_series" WHERE "team_s"='#55/#83 Robby Gordon Motorsports';
1-1507423-5
How many entries are shown for winnings for team #07 robby gordon motorsports?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("winnings") FROM "nascar_nationwide_series" WHERE "team_s"='#07 Robby Gordon Motorsports';
1-1507423-5
What are all values for 'to par' for the winning score of 67-67-69-69=272?
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_up" text );
SELECT "to_par" FROM "pga_tour_wins_8" WHERE "winning_score"='67-67-69-69=272';
1-1507431-1
The tournament Buick Classic occured on what dates?
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_up" text );
SELECT "date" FROM "pga_tour_wins_8" WHERE "tournament"='Buick Classic';
1-1507431-1
Who are all runner-ups for No. 2?
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_up" text );
SELECT "runner_up" FROM "pga_tour_wins_8" WHERE "no"=2;
1-1507431-1
when the nickname halley is used, what are the date completed
CREATE TABLE "portfolio" ( "print_name" text, "nickname" text, "number_of_colors" text, "framed_size" text, "date_completed" text );
SELECT "date_completed" FROM "portfolio" WHERE "nickname"='Halley';
1-15070195-1
the date complted is 02/91, what framed size was used
CREATE TABLE "portfolio" ( "print_name" text, "nickname" text, "number_of_colors" text, "framed_size" text, "date_completed" text );
SELECT "framed_size" FROM "portfolio" WHERE "date_completed"='02/91';
1-15070195-1
for the robot black nickname, what framed size is used
CREATE TABLE "portfolio" ( "print_name" text, "nickname" text, "number_of_colors" text, "framed_size" text, "date_completed" text );
SELECT "framed_size" FROM "portfolio" WHERE "nickname"='Robot Black';
1-15070195-1
What are the attributes when the type is "DOMNodeRemoved"?
CREATE TABLE "common_w3_c_events" ( "category" text, "type" text, "attribute" text, "description" text, "bubbles" text, "cancelable" text );
SELECT "attribute" FROM "common_w3_c_events" WHERE "type"='DOMNodeRemoved';
1-1507852-1
How many categories are there when the attribute is "onreset"?
CREATE TABLE "common_w3_c_events" ( "category" text, "type" text, "attribute" text, "description" text, "bubbles" text, "cancelable" text );
SELECT COUNT("category") FROM "common_w3_c_events" WHERE "attribute"='onreset';
1-1507852-1
How many descriptions are there when the attribute is "ondragstart"?
CREATE TABLE "common_w3_c_events" ( "category" text, "type" text, "attribute" text, "description" text, "bubbles" text, "cancelable" text );
SELECT COUNT("description") FROM "common_w3_c_events" WHERE "attribute"='ondragstart';
1-1507852-1
When the type is "reset" what is the description?
CREATE TABLE "common_w3_c_events" ( "category" text, "type" text, "attribute" text, "description" text, "bubbles" text, "cancelable" text );
SELECT "description" FROM "common_w3_c_events" WHERE "type"='reset';
1-1507852-1
Name all the team clasification where the combination classification is mederic clain
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT "team_classification" FROM "jersey_progress" WHERE "combination_classification"='Mederic Clain';
1-15088557-1
In how many stages did Jose Vicente Garcia Acosta won?
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT COUNT("stage") FROM "jersey_progress" WHERE "winner"='Jose Vicente Garcia Acosta';
1-15088557-1
What is the minimum stage where Sergei Smetanine won?
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT MIN("stage") FROM "jersey_progress" WHERE "winner"='Sergei Smetanine';
1-15088557-1
what is the minimum stage where mountains classification is aitor osa and aitor gonzález won?
CREATE TABLE "jersey_progress" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "combination_classification" text, "team_classification" text );
SELECT MIN("stage") FROM "jersey_progress" WHERE "mountains_classification"='Aitor Osa' AND "winner"='Aitor González';
1-15088557-1
How many seasons in the top division for the team that finished 005 5th in 2012-2013
CREATE TABLE "members_for_2013_14" ( "club" text, "position_in_2012_13" text, "first_season_in_top_division" text, "number_of_seasons_in_top_division" real, "number_of_seasons_in_prva_hnl" real, "first_season_of_current_spell_in_top_division" text, "top_division_titles" text, "last_top_division_title" text );
SELECT COUNT("number_of_seasons_in_top_division") FROM "members_for_2013_14" WHERE "position_in_2012_13"='005 5th';
1-1510519-1
How many countries does honoree Roberto de Vicenzo represent?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winners_share" real, "honoree_s" text );
SELECT COUNT("country") FROM "winners_and_honorees" WHERE "honoree_s"='Roberto De Vicenzo';
1-1515346-2
For which country does Keith Fergus play?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winners_share" real, "honoree_s" text );
SELECT "country" FROM "winners_and_honorees" WHERE "player"='Keith Fergus';
1-1515346-2
Who won the tournament for Australia in the year when Byron Nelson was Honoree?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winners_share" real, "honoree_s" text );
SELECT "player" FROM "winners_and_honorees" WHERE "country"='Australia' AND "honoree_s"='Byron Nelson';
1-1515346-2
What was the margin of victory in the year when the honoree was Tommy Armour?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winners_share" real, "honoree_s" text );
SELECT "margin_of_victory" FROM "winners_and_honorees" WHERE "honoree_s"='Tommy Armour';
1-1515346-2
What year was the most recent US Open championship?
CREATE TABLE "women_s_doubles_10_finals_3_titles_7_run" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT MAX("year") FROM "women_s_doubles_10_finals_3_titles_7_run" WHERE "championship"='US Open';
1-1514559-1
When li fuyu is the stage winner what is points classification?
CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "malaysian_rider_classification" text, "team_classification" text );
SELECT "points_classification" FROM "classification_leadership" WHERE "stage_winner"='Li Fuyu';
1-15128548-2
When anuar manan is the stage winner and the team classification is japan and suhardi hassan is the malaysian rider classification who is the points classification?
CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "malaysian_rider_classification" text, "team_classification" text );
SELECT "points_classification" FROM "classification_leadership" WHERE "malaysian_rider_classification"='Suhardi Hassan' AND "team_classification"='Japan' AND "stage_winner"='Anuar Manan';
1-15128548-2
When li fuyu is the stage winner who is the general classification?
CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "malaysian_rider_classification" text, "team_classification" text );
SELECT "general_classification" FROM "classification_leadership" WHERE "stage_winner"='Li Fuyu';
1-15128548-2
When hossein askari is the stage winner who is the malaysian rider classification ?
CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "malaysian_rider_classification" text, "team_classification" text );
SELECT "malaysian_rider_classification" FROM "classification_leadership" WHERE "stage_winner"='Hossein Askari';
1-15128548-2
How many nominees had a net voice of 15.17%
CREATE TABLE "s_e_voting_system_result" ( "eviction_no" real, "nominee" text, "vote_to_save" text, "vote_to_evict" text, "net_vote" text, "eviction_result" text );
SELECT COUNT("nominee") FROM "s_e_voting_system_result" WHERE "net_vote"='15.17%';
1-15162479-8
What nominees had a net vote of 34.46%?
CREATE TABLE "s_e_voting_system_result" ( "eviction_no" real, "nominee" text, "vote_to_save" text, "vote_to_evict" text, "net_vote" text, "eviction_result" text );
SELECT "nominee" FROM "s_e_voting_system_result" WHERE "net_vote"='34.46%';
1-15162479-8
How many nominee's had a vote to evict percentage of 3.92%
CREATE TABLE "s_e_voting_system_result" ( "eviction_no" real, "nominee" text, "vote_to_save" text, "vote_to_evict" text, "net_vote" text, "eviction_result" text );
SELECT COUNT("nominee") FROM "s_e_voting_system_result" WHERE "vote_to_evict"='3.92%';
1-15162479-8
How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?
CREATE TABLE "s_e_voting_system_result" ( "eviction_no" real, "nominee" text, "vote_to_save" text, "vote_to_evict" text, "net_vote" text, "eviction_result" text );
SELECT COUNT("eviction_result") FROM "s_e_voting_system_result" WHERE "eviction_no"=12 AND "vote_to_save"='2.76%';
1-15162479-8
What was the final result when the viewers selected ejay?
CREATE TABLE "house_players" ( "task_no" real, "day_announced" text, "description" text, "options" text, "viewers_selection" text, "result" text );
SELECT "result" FROM "house_players" WHERE "viewers_selection"='Ejay';
1-15162503-1
What was the description when the viewers selected Nan?
CREATE TABLE "house_players" ( "task_no" real, "day_announced" text, "description" text, "options" text, "viewers_selection" text, "result" text );
SELECT "description" FROM "house_players" WHERE "viewers_selection"='Nan';
1-15162503-1
What is the name of series episode 11-02's segment c?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_11_2008" WHERE "series_ep"='11-02';
1-15187735-11
What is the title of series episode 11-05's segment d?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_11_2008" WHERE "series_ep"='11-05';
1-15187735-11
In seris episode 11-04, what is the B segment titled?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_11_2008" WHERE "series_ep"='11-04';
1-15187735-11
In the episode where segment a is microphones, what is segment d?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_11_2008" WHERE "segment_a"='Microphones';
1-15187735-11
What is Segment B for series episode 12-08?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_12_2008_2009" WHERE "series_ep"='12-08';
1-15187735-12
What is the series episode where Segment B is popcorn ?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "series_ep" FROM "season_12_2008_2009" WHERE "segment_b"='Popcorn';
1-15187735-12
What is the Netflix where Segment C is car washes?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_12_2008_2009" WHERE "segment_c"='Car Washes';
1-15187735-12
What is Segment B for series episode 12-02?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_12_2008_2009" WHERE "series_ep"='12-02';
1-15187735-12
What is Segment A where Segment B is Kevlar S Canoe?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_12_2008_2009" WHERE "segment_b"='Kevlar s Canoe';
1-15187735-12
What is the Netflix where Segment D is pressure gauges ?
CREATE TABLE "season_12_2008_2009" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_12_2008_2009" WHERE "segment_d"='Pressure Gauges';
1-15187735-12
Name the segment d for bowling balls
CREATE TABLE "season_13_2009" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_13_2009" WHERE "segment_a"='Bowling Balls';
1-15187735-13
Name the segment b for pressure cookers
CREATE TABLE "season_13_2009" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_13_2009" WHERE "segment_a"='Pressure Cookers';
1-15187735-13
Name the segment b for 167
CREATE TABLE "season_13_2009" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_13_2009" WHERE "episode"=167;
1-15187735-13
Name the segment a for 162
CREATE TABLE "season_13_2009" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_13_2009" WHERE "episode"=162;
1-15187735-13
Name the total number of segment c for pressure cookers
CREATE TABLE "season_13_2009" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_c") FROM "season_13_2009" WHERE "segment_a"='Pressure Cookers';
1-15187735-13
What was segment C when segment D was fluorescent tubes?
CREATE TABLE "season_1_2001" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_1_2001" WHERE "segment_d"='Fluorescent Tubes';
1-15187735-1
What was segment C when segment B was package printing?
CREATE TABLE "season_1_2001" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_1_2001" WHERE "segment_b"='Package printing';
1-15187735-1
What was segment A when segment B was snowboards?
CREATE TABLE "season_1_2001" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_1_2001" WHERE "segment_b"='Snowboards';
1-15187735-1
What was segment D when segment B was jeans?
CREATE TABLE "season_1_2001" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_1_2001" WHERE "segment_b"='Jeans';
1-15187735-1
In what episode was segment D ned Can Corn?
CREATE TABLE "season_1_2001" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MAX("episode") FROM "season_1_2001" WHERE "segment_d"='ned Can Corn';
1-15187735-1
Name the segment c for crash test dummies
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_c") FROM "season_10_2007_2008" WHERE "segment_d"='Crash Test Dummies';
1-15187735-10
Name the segment b for s dress form
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_10_2007_2008" WHERE "segment_a"='s Dress Form';
1-15187735-10
Name the segment a for s duvet
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_10_2007_2008" WHERE "segment_c"='s Duvet';
1-15187735-10
Name the total number of episodes for s fire extinguisher
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("episode") FROM "season_10_2007_2008" WHERE "segment_a"='s Fire Extinguisher';
1-15187735-10
Name the total number of segment b for s banjo
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_b") FROM "season_10_2007_2008" WHERE "segment_d"='s Banjo';
1-15187735-10
Name the total number of segment d for wooden s barrel
CREATE TABLE "season_10_2007_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_d") FROM "season_10_2007_2008" WHERE "segment_a"='Wooden s Barrel';
1-15187735-10
How many segment A were in series episode 14-05
CREATE TABLE "season_14_2009_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_a") FROM "season_14_2009_2010" WHERE "series_ep"='14-05';
1-15187735-14
What is segment C in s07e05
CREATE TABLE "season_14_2009_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_14_2009_2010" WHERE "netflix"='S07E05';
1-15187735-14
What is the netflix episode number where Segment D is high-performance engines?
CREATE TABLE "season_15_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_15_2010" WHERE "segment_d"='High-Performance Engines';
1-15187735-15
What was segment D for episode 183?
CREATE TABLE "season_15_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_15_2010" WHERE "episode"=183;
1-15187735-15
What is Segment A where Segment C is Sushi (part 1)?
CREATE TABLE "season_15_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_15_2010" WHERE "segment_c"='Sushi (Part 1)';
1-15187735-15
How many episodes have the Netflix episode number S08E04?
CREATE TABLE "season_15_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("episode") FROM "season_15_2010" WHERE "netflix"='S08E04';
1-15187735-15
What is Segment A where Segment D is luxury sports cars?
CREATE TABLE "season_15_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_15_2010" WHERE "segment_d"='Luxury Sports Cars';
1-15187735-15
What episode number is the episode with a segment on thinning shears?
CREATE TABLE "season_20_2012_2013" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MIN("episode") FROM "season_20_2012_2013" WHERE "segment_a"='Thinning Shears';
1-15187735-20
Which episode has segment D on custom motorcycle tanks?
CREATE TABLE "season_20_2012_2013" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MIN("episode") FROM "season_20_2012_2013" WHERE "segment_d"='Custom Motorcycle Tanks';
1-15187735-20
How many segment C are there in the episode where segment D is bicycle tires?
CREATE TABLE "season_20_2012_2013" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_c") FROM "season_20_2012_2013" WHERE "segment_d"='Bicycle Tires';
1-15187735-20
What is the first episode number?
CREATE TABLE "season_20_2012_2013" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MIN("episode") FROM "season_20_2012_2013";
1-15187735-20
How many segment b's when segment a is filigree glass
CREATE TABLE "season_16_2010_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_b") FROM "season_16_2010_2011" WHERE "segment_a"='Filigree Glass';
1-15187735-16
Whats the name of segment in s08e21
CREATE TABLE "season_16_2010_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_16_2010_2011" WHERE "netflix"='S08E21';
1-15187735-16
Whats the season/episode of segment a digital dentistry
CREATE TABLE "season_16_2010_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_16_2010_2011" WHERE "segment_a"='Digital Dentistry';
1-15187735-16
Whats the name of segment D in the episode where segment A is tequila
CREATE TABLE "season_16_2010_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_16_2010_2011" WHERE "segment_a"='Tequila';
1-15187735-16
Name the segment D of the episode where segment A is tequila
CREATE TABLE "season_16_2010_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_16_2010_2011" WHERE "segment_a"='Tequila';
1-15187735-16
Name the number of episods for segment c being s oyster
CREATE TABLE "season_18_2011_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("episode") FROM "season_18_2011_2012" WHERE "segment_c"='s Oyster';
1-15187735-18
Name the least episode for fibre cement siding
CREATE TABLE "season_18_2011_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MIN("episode") FROM "season_18_2011_2012" WHERE "segment_d"='Fibre Cement Siding';
1-15187735-18
Name the segment b for 226 episode
CREATE TABLE "season_18_2011_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_18_2011_2012" WHERE "episode"=226;
1-15187735-18
Name the number of sement d for solar water heaters
CREATE TABLE "season_18_2011_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT COUNT("segment_d") FROM "season_18_2011_2012" WHERE "segment_b"='Solar Water Heaters';
1-15187735-18
Name the segment d for s cufflink
CREATE TABLE "season_18_2011_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_18_2011_2012" WHERE "segment_a"='s Cufflink';
1-15187735-18
What is the segment B of episode 242?
CREATE TABLE "season_19_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_b" FROM "season_19_2012" WHERE "episode"=242;
1-15187735-19
What is the segment C of the episode where segment B is Film Digitization?
CREATE TABLE "season_19_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_19_2012" WHERE "segment_b"='Film Digitization';
1-15187735-19
What is the segment A on episode 237?
CREATE TABLE "season_19_2012" ( "series_ep" text, "episode" real, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_19_2012" WHERE "episode"=237;
1-15187735-19
What is the last episode which has segment d as blown glass?
CREATE TABLE "season_4_2004" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MAX("episode") FROM "season_4_2004" WHERE "segment_d"='Blown Glass';
1-15187735-4
What is the first episode with a netflix episode code of s02e20?
CREATE TABLE "season_4_2004" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT MIN("episode") FROM "season_4_2004" WHERE "netflix"='S02E20';
1-15187735-4
What is the netflix code for episode 46?
CREATE TABLE "season_4_2004" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_4_2004" WHERE "episode"=46;
1-15187735-4