text
stringlengths
411
1.74k
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "origins_in_corporate_strategy" ( "component" text, "integrated" text, "allied_related" text, "allied_unrelated" text, "holding" text );. Question: "What is the name of the integrated where allied-related is shared?". [/INST] SELECT "component" FROM "origins_in_corporate_strategy" WHERE "allied_related"='Shared';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1_1994_1995" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" real );. Question: "Who were the writers for series number 20?". [/INST] SELECT "written_by" FROM "season_1_1994_1995" WHERE "series_num"=20;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1_1994_1995" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" real );. Question: "What is the production code for the show that aired on October 27, 1994?". [/INST] SELECT MAX("production_code") FROM "season_1_1994_1995" WHERE "original_air_date"='October 27, 1994';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1_1994_1995" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" real );. Question: "Who was the director of the Series 1 episode?". [/INST] SELECT "directed_by" FROM "season_1_1994_1995" WHERE "series_num"=1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Which team played on December 5?". [/INST] SELECT "team" FROM "game_log" WHERE "date"='December 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location attendance when High points was by Pierce (22)?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_points"='Pierce (22)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What date did the Bulls play the LA Lakers?". [/INST] SELECT "date" FROM "game_log" WHERE "team"='LA Lakers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What team were the Bulls hosted by on December 7?". [/INST] SELECT "team" FROM "game_log" WHERE "date"='December 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the highest assists in game 4?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "game"=4;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many games was Damien Wilkins (27) the high scorer?". [/INST] SELECT MIN("game") FROM "game_log" WHERE "high_points"='Damien Wilkins (27)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_professionals" ( "name" text, "position" text, "height" text, "weight_lbs" real, "born" text, "college" text, "drafted" text, "pro_team" text );. Question: "What is the name when born is december 30, 1957 detroit, mi?". [/INST] SELECT "name" FROM "nfl_professionals" WHERE "born"='December 30, 1957 Detroit, MI';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_professionals" ( "name" text, "position" text, "height" text, "weight_lbs" real, "born" text, "college" text, "drafted" text, "pro_team" text );. Question: "What is the weight(lbs) when born is april 6, 1954 detroit, mi?". [/INST] SELECT "weight_lbs" FROM "nfl_professionals" WHERE "born"='April 6, 1954 Detroit, MI';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_professionals" ( "name" text, "position" text, "height" text, "weight_lbs" real, "born" text, "college" text, "drafted" text, "pro_team" text );. Question: "What is the name when the position is de and college is ohio state?". [/INST] SELECT "name" FROM "nfl_professionals" WHERE "position"='DE' AND "college"='Ohio State';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_professionals" ( "name" text, "position" text, "height" text, "weight_lbs" real, "born" text, "college" text, "drafted" text, "pro_team" text );. Question: "What is under drafted when pro team is arizona cardinals?". [/INST] SELECT "drafted" FROM "nfl_professionals" WHERE "pro_team"='Arizona Cardinals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_professionals" ( "name" text, "position" text, "height" text, "weight_lbs" real, "born" text, "college" text, "drafted" text, "pro_team" text );. Question: "What is the position when drafted is 1974,r11,p11?". [/INST] SELECT "position" FROM "nfl_professionals" WHERE "drafted"='1974,R11,P11';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "In which year was the Weight 170?". [/INST] SELECT "year" FROM "roster" WHERE "weight"=170;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "What number (#) is associated with the Name Ron Baxter?". [/INST] SELECT COUNT("num") FROM "roster" WHERE "name"='Ron Baxter';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "Crockett High School had which number(#)?". [/INST] SELECT "num" FROM "roster" WHERE "high_school"='Crockett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "Which home town was the high school Catholic University located in?". [/INST] SELECT "home_town" FROM "roster" WHERE "high_school"='Catholic University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "How many years have the home town of Baton Rouge, LA?". [/INST] SELECT COUNT("year") FROM "roster" WHERE "home_town"='Baton Rouge, LA';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text );. Question: "What height was the forward position at Crockett High School?". [/INST] SELECT "height" FROM "roster" WHERE "position"='Forward' AND "high_school"='Crockett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What are the commissioned for scotts, greenock and chieftain?". [/INST] SELECT "commissioned" FROM "ch_or_12th_emergency_flotilla" WHERE "builder"='Scotts, Greenock' AND "name"='Chieftain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the builder launched 30 october 1944?". [/INST] SELECT "builder" FROM "ch_or_12th_emergency_flotilla" WHERE "launched"='30 October 1944';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_of_the_national_referendum_on_th" ( "jurisdiction" text, "voted_yes" real, "percent_yes" text, "voted_no" real, "percent_no" text );. Question: "what is the minimum voted no where percent no is 56.6". [/INST] SELECT MIN("voted_no") FROM "results_of_the_national_referendum_on_th" WHERE "percent_no"='56.6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_of_the_national_referendum_on_th" ( "jurisdiction" text, "voted_yes" real, "percent_yes" text, "voted_no" real, "percent_no" text );. Question: " what's the percent yes where voted yes is 2410119". [/INST] SELECT "percent_yes" FROM "results_of_the_national_referendum_on_th" WHERE "voted_yes"=2410119;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_of_the_national_referendum_on_th" ( "jurisdiction" text, "voted_yes" real, "percent_yes" text, "voted_no" real, "percent_no" text );. Question: " what's the jurisdiction where percent yes is 43.4". [/INST] SELECT "jurisdiction" FROM "results_of_the_national_referendum_on_th" WHERE "percent_yes"='43.4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_of_the_national_referendum_on_th" ( "jurisdiction" text, "voted_yes" real, "percent_yes" text, "voted_no" real, "percent_no" text );. Question: "what is the minimum voted yes where percent no is 68.2". [/INST] SELECT MIN("voted_yes") FROM "results_of_the_national_referendum_on_th" WHERE "percent_no"='68.2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_of_the_national_referendum_on_th" ( "jurisdiction" text, "voted_yes" real, "percent_yes" text, "voted_no" real, "percent_no" text );. Question: " what's the jurisdiction where voted no is 322971". [/INST] SELECT "jurisdiction" FROM "results_of_the_national_referendum_on_th" WHERE "voted_no"=322971;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: " what's the date of completion where success is yes". [/INST] SELECT "date_of_completion" FROM "table1_12078626_1" WHERE "success"='Yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: " what's the deadline for completion where description is iphone recall within the first 3 months of release". [/INST] SELECT "deadline_for_completion" FROM "table1_12078626_1" WHERE "description"='iPhone recall within the first 3 months of release';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: " what's the success where date of completion is september 28, 2007". [/INST] SELECT "success" FROM "table1_12078626_1" WHERE "date_of_completion"='September 28, 2007';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: " what's the date of completion where deadline for completion is september 30, 2007". [/INST] SELECT "date_of_completion" FROM "table1_12078626_1" WHERE "deadline_for_completion"='September 30, 2007';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: "what is the total number of deadline for completion where description is facebook becomes a publicly traded company". [/INST] SELECT COUNT("deadline_for_completion") FROM "table1_12078626_1" WHERE "description"='Facebook becomes a publicly traded company';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12078626_1" ( "symbol" text, "description" text, "success" text, "date_of_completion" text, "deadline_for_completion" text );. Question: " what's the success where deadline for completion is october 7, 2007". [/INST] SELECT "success" FROM "table1_12078626_1" WHERE "deadline_for_completion"='October 7, 2007';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "resources" ( "year" real, "product" text, "production" text, "consumption" text, "import" text, "export" text );. Question: "The earliest year is 1996.". [/INST] SELECT MIN("year") FROM "resources";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "resources" ( "year" real, "product" text, "production" text, "consumption" text, "import" text, "export" text );. Question: "There are 5 imports of plywood.". [/INST] SELECT "import" FROM "resources" WHERE "product"='Plywood';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "What is the score for interview when the preliminaries score is 8.425?". [/INST] SELECT "interview" FROM "final_competition_scores" WHERE "preliminaries"='8.425';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "What is the interview score when the preliminaries score is 8.400?". [/INST] SELECT "interview" FROM "final_competition_scores" WHERE "preliminaries"='8.400';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "What is the score for swimsuit when the average is 8.791?". [/INST] SELECT "swimsuit" FROM "final_competition_scores" WHERE "average"='8.791';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "What is the score for the interview for the state of New York?". [/INST] SELECT "interview" FROM "final_competition_scores" WHERE "state"='New York';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "How many times did district of Columbia receive a score for evening gown?". [/INST] SELECT COUNT("evening_gown") FROM "final_competition_scores" WHERE "state"='District of Columbia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "What is the average score when the swimsuit score is 8.503?". [/INST] SELECT "average" FROM "final_competition_scores" WHERE "swimsuit"='8.503';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146068_2" ( "rnd" real, "circuit" text, "ca_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "gt3_winning_team" text, "results" text );. Question: "What is the number of gt1 winning team for rnd 5?". [/INST] SELECT COUNT("gt1_winning_team") FROM "table1_12146068_2" WHERE "rnd"=5;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146068_2" ( "rnd" real, "circuit" text, "ca_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "gt3_winning_team" text, "results" text );. Question: "What is the rnd for gt1 winning team for doc bundy andy wallace?". [/INST] SELECT "rnd" FROM "table1_12146068_2" WHERE "gt1_winning_team"='Doc Bundy Andy Wallace';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146068_2" ( "rnd" real, "circuit" text, "ca_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "gt3_winning_team" text, "results" text );. Question: "Name the gt1 winning team for #54 bell motorsports". [/INST] SELECT "gt1_winning_team" FROM "table1_12146068_2" WHERE "gt2_winning_team"='#54 Bell Motorsports';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146637_1" ( "series_num" real, "season_num" real, "episode_title" text, "writer_s" text, "director" text, "u_s_viewers_millions" text, "original_air_date" text );. Question: "What is the title of the episode that was watched by 8.92 million viewers?". [/INST] SELECT "episode_title" FROM "table1_12146637_1" WHERE "u_s_viewers_millions"='8.92';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146637_1" ( "series_num" real, "season_num" real, "episode_title" text, "writer_s" text, "director" text, "u_s_viewers_millions" text, "original_air_date" text );. Question: "How many episodes had 9.90 million viewers?". [/INST] SELECT COUNT("episode_title") FROM "table1_12146637_1" WHERE "u_s_viewers_millions"='9.90';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146637_1" ( "series_num" real, "season_num" real, "episode_title" text, "writer_s" text, "director" text, "u_s_viewers_millions" text, "original_air_date" text );. Question: "What is the series number of the episode watched by 10.89 million viewers?". [/INST] SELECT MAX("series_num") FROM "table1_12146637_1" WHERE "u_s_viewers_millions"='10.89';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12146637_1" ( "series_num" real, "season_num" real, "episode_title" text, "writer_s" text, "director" text, "u_s_viewers_millions" text, "original_air_date" text );. Question: "What is the name of the episode written by Sheila Lawrence & Henry Alonso Myers?". [/INST] SELECT "episode_title" FROM "table1_12146637_1" WHERE "writer_s"='Sheila Lawrence & Henry Alonso Myers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the pick number of the defensive back?". [/INST] SELECT COUNT("overall_pick_num") FROM "round_one" WHERE "position"='Defensive Back';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the position for the pick number 17?". [/INST] SELECT "position" FROM "round_one" WHERE "overall_pick_num"=17;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the college of the afl team of buffalo bills?". [/INST] SELECT "college" FROM "round_one" WHERE "afl_team"='Buffalo Bills';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the position of john charles?". [/INST] SELECT "position" FROM "round_one" WHERE "player"='John Charles';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the largest pick number of the new york jets?". [/INST] SELECT MAX("overall_pick_num") FROM "round_one" WHERE "afl_team"='New York Jets';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_one" ( "overall_pick_num" real, "afl_team" text, "player" text, "position" text, "college" text );. Question: "What is the afl team of the offensive guard?". [/INST] SELECT "afl_team" FROM "round_one" WHERE "position"='Offensive Guard';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What was the women's singles were men's doubles were steen fladberg jens peter nierhoff?". [/INST] SELECT "womens_singles" FROM "winners" WHERE "mens_doubles"='Steen Fladberg Jens Peter Nierhoff';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What are the mixed doubles where the mens singles is kim brodersen?". [/INST] SELECT "mixed_doubles" FROM "winners" WHERE "mens_singles"='Kim Brodersen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: " what's the first appearance where character(s) is iron man". [/INST] SELECT "first_appearance" FROM "first_appearances_of_popular_heroes_vill" WHERE "character_s"='Iron Man';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: "what is the total number of publisher where cover date is may 1939". [/INST] SELECT COUNT("publisher") FROM "first_appearances_of_popular_heroes_vill" WHERE "cover_date"='May 1939';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: "what is the total number of publisher where first appearance is daredevil #1". [/INST] SELECT COUNT("publisher") FROM "first_appearances_of_popular_heroes_vill" WHERE "first_appearance"='Daredevil #1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: " what's the cover date where character(s) is sandman (wesley dodds)". [/INST] SELECT "cover_date" FROM "first_appearances_of_popular_heroes_vill" WHERE "character_s"='Sandman (Wesley Dodds)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: " what's the cover date where character(s) is x-men ; magneto". [/INST] SELECT "cover_date" FROM "first_appearances_of_popular_heroes_vill" WHERE "character_s"='X-Men ; Magneto';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: " what's the estimated value where cover date is august 1962". [/INST] SELECT "estimated_value" FROM "first_appearances_of_popular_heroes_vill" WHERE "cover_date"='August 1962';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What theme placed as #3 in the finale?". [/INST] SELECT "result" FROM "performances_results" WHERE "theme"='Finale' AND "order_num"='3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the theme for the episode selection process?". [/INST] SELECT "theme" FROM "performances_results" WHERE "episode"='Selection Process';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the order number for the song choice "detalles"? ". [/INST] SELECT "order_num" FROM "performances_results" WHERE "song_choice"='\"Detalles\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the order number for songs by the original artist Luis Fonsi?". [/INST] SELECT "order_num" FROM "performances_results" WHERE "original_artist"='Luis Fonsi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the song choice when the theme is not aired?". [/INST] SELECT "theme" FROM "performances_results" WHERE "song_choice"='Not Aired';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What years did Markose Bristow Madhumita Bisht win the mens singles and/or the mixed doubles?". [/INST] SELECT "mens_singles" FROM "21st_century" WHERE "mixed_doubles"='Markose Bristow Madhumita Bisht';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who won the womens doubles in 2002?". [/INST] SELECT "womens_doubles" FROM "21st_century" WHERE "season"=2002;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "How many total titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total?". [/INST] SELECT COUNT("womens_singles") FROM "21st_century" WHERE "mens_doubles"='Rupesh Kumar Sanave Thomas' AND "womens_doubles"='Jwala Gutta Ashwini Ponnappa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?". [/INST] SELECT "womens_doubles" FROM "21st_century" WHERE "mens_singles"='Arvind Bhat' AND "mixed_doubles"='Valiyaveetil Diju Jwala Gutta';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "How many titles did Trupti Murgunde claim?". [/INST] SELECT "womens_doubles" FROM "21st_century" WHERE "womens_singles"='Trupti Murgunde';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the pennant for 4 may 1943?". [/INST] SELECT "pennant" FROM "table1_1220125_4" WHERE "laid_down"='4 May 1943';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the total number of fate for pennant of u33?". [/INST] SELECT COUNT("fate") FROM "table1_1220125_4" WHERE "pennant"='U33';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the fate for 11 april 1944?". [/INST] SELECT "fate" FROM "table1_1220125_4" WHERE "commissioned"='11 April 1944';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the name for 30 september 1943?". [/INST] SELECT "name" FROM "table1_1220125_4" WHERE "launched"='30 September 1943';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the comissioned for 4 may 1943?". [/INST] SELECT "commissioned" FROM "table1_1220125_4" WHERE "laid_down"='4 May 1943';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1220125_4" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "fate" text );. Question: "What is the fate for 11 april 1944?". [/INST] SELECT "fate" FROM "table1_1220125_4" WHERE "commissioned"='11 April 1944';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12226390_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "Who was the writters for the episode directed by Richard L. Bare, no. 8 in season?". [/INST] SELECT "written_by" FROM "table1_12226390_7" WHERE "directed_by"='Richard L. Bare' AND "no_in_season"=8;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12226390_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "How many episodes had a title "the great mayoralty campaign"?". [/INST] SELECT COUNT("directed_by") FROM "table1_12226390_7" WHERE "title"='\"The Great Mayoralty Campaign\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winners_share" real );. Question: "What is the location of the tournament that the share of winning is 7000?". [/INST] SELECT "tournament_location" FROM "winners" WHERE "winners_share"=7000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winners_share" real );. Question: "What year is Japan the country?". [/INST] SELECT "year" FROM "winners" WHERE "country"='Japan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winners_share" real );. Question: "What is the year that Dewi Claire Schreefel is the champion?". [/INST] SELECT "year" FROM "winners" WHERE "champion"='Dewi Claire Schreefel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winners_share" real );. Question: "What is the winners Share ($) in the year 2004?". [/INST] SELECT MIN("winners_share") FROM "winners" WHERE "year"='2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winners_share" real );. Question: "What is the tournament location when Vicky Hurst in the champion?". [/INST] SELECT "tournament_location" FROM "winners" WHERE "champion"='Vicky Hurst';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text, "trofeo_fast_team" text );. Question: "What is the intergiro classification of stage 21?". [/INST] SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "stage"=21;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text, "trofeo_fast_team" text );. Question: "What is the trofeo fast team on stage 8?". [/INST] SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "stage"=8;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text, "trofeo_fast_team" text );. Question: "What is the general classification with the winner being evgeni berzin?". [/INST] SELECT COUNT("general_classification") FROM "classification_leadership_by_stage" WHERE "winner"='Evgeni Berzin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text, "trofeo_fast_team" text );. Question: "What is the intergiro classification of alexander gontchenkov?". [/INST] SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "winner"='Alexander Gontchenkov';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text, "trofeo_fast_team" text );. Question: "what is total number of points where the stage is 17?". [/INST] SELECT COUNT("points_classification") FROM "classification_leadership_by_stage" WHERE "stage"=17;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12271718_1" ( "station" text, "channel" text, "network_affiliation" text, "city_of_license" text, "status" text );. Question: "What is the status of channel 44.1?". [/INST] SELECT "status" FROM "table1_12271718_1" WHERE "channel"='44.1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12271718_1" ( "station" text, "channel" text, "network_affiliation" text, "city_of_license" text, "status" text );. Question: "What station has a univision network affiliation?". [/INST] SELECT "station" FROM "table1_12271718_1" WHERE "network_affiliation"='Univision';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_statistics" ( "season" text, "overall_spectators" real, "per_game" real, "best_supported_club" text, "spectators_game" real, "top_goal_scorer" text, "goals" real );. Question: "How many season did sportfreunde siegen win best supported club?". [/INST] SELECT COUNT("season") FROM "league_statistics" WHERE "best_supported_club"='Sportfreunde Siegen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "what are all the Canadian air dates where the u.s. air date is may 1, 2009". [/INST] SELECT "canadian_airdate" FROM "table1_12294557_3" WHERE "u_s_airdate"='May 1, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "What is the total number of u.s. air dates with a title of "dermabrasion"". [/INST] SELECT COUNT("u_s_airdate") FROM "table1_12294557_3" WHERE "title"='\"Dermabrasion\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "What is the maximum season # with a u.s. air date is may 1, 2009". [/INST] SELECT MAX("season_num") FROM "table1_12294557_3" WHERE "u_s_airdate"='May 1, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "What is the total number of title with a u.s. air date of April 17, 2009". [/INST] SELECT COUNT("title") FROM "table1_12294557_3" WHERE "u_s_airdate"='April 17, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "what is the minimum production code". [/INST] SELECT MIN("production_code") FROM "table1_12294557_3";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_12294557_3" ( "season_num" real, "series_num" real, "title" text, "canadian_airdate" text, "u_s_airdate" text, "production_code" real );. Question: "what are the u.s. air dates with a Canadian air date of may 4, 2009". [/INST] SELECT "u_s_airdate" FROM "table1_12294557_3" WHERE "canadian_airdate"='May 4, 2009';</s>