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 "tv_stations" ( "branding" text, "callsign" text, "channel" text, "power_k_w" text, "coverage" text );. Question: "Which area did estrella tv 62 provide coverage for?". [/INST] SELECT "coverage" FROM "tv_stations" WHERE "branding"='Estrella TV 62';</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 "tv_stations" ( "branding" text, "callsign" text, "channel" text, "power_k_w" text, "coverage" text );. Question: "List the power output for Phoenix. ". [/INST] SELECT "power_k_w" FROM "tv_stations" WHERE "coverage"='Phoenix';</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 "tv_stations" ( "branding" text, "callsign" text, "channel" text, "power_k_w" text, "coverage" text );. Question: "List the branding for krca-tv.". [/INST] SELECT "branding" FROM "tv_stations" WHERE "callsign"='KRCA-TV';</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 "tv_stations" ( "branding" text, "callsign" text, "channel" text, "power_k_w" text, "coverage" text );. Question: "What's the power output for channel tv-29?". [/INST] SELECT "power_k_w" FROM "tv_stations" WHERE "channel"='TV-29';</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 "tv_stations" ( "branding" text, "callsign" text, "channel" text, "power_k_w" text, "coverage" text );. Question: "Which city did kpnz-tv provide coverage for?". [/INST] SELECT "coverage" FROM "tv_stations" WHERE "callsign"='KPNZ-TV';</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_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "What is the maximum renewable energy (gw×h) for the state of Delaware?". [/INST] SELECT MAX("renewable_electricity_gw_h") FROM "table1_25244412_1" WHERE "state"='Delaware';</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_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "Which state has 5179 (gw×h) of renewable energy without hydrogen power?wha". [/INST] SELECT "state" FROM "table1_25244412_1" WHERE "renewable_electricity_w_o_hydro_gw_h"=5179;</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_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power?". [/INST] SELECT MIN("renewable_electricity_w_o_hydro_gw_h") FROM "table1_25244412_1" WHERE "renewable_electricity_gw_h"=5760;</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_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?". [/INST] SELECT "renewable_electricity_w_o_hydro_gw_h" FROM "table1_25244412_1" WHERE "pct_renewable"='83.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 "table1_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "Which states have renewable electricity equal to 9667 (gw×h)?". [/INST] SELECT "state" FROM "table1_25244412_1" WHERE "renewable_electricity_gw_h"=9667;</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_25244412_1" ( "rank" real, "rank_w_o_hydropower" real, "state" text, "pct_renewable" text, "pct_renewable_w_o_hydro" text, "renewable_electricity_gw_h" real, "renewable_electricity_w_o_hydro_gw_h" real, "total_electricity_gw_h" real );. Question: "What is the percentage of renewable electricity without hydrogen power in the state of South Dakota?". [/INST] SELECT "pct_renewable_w_o_hydro" FROM "table1_25244412_1" WHERE "state"='South Dakota';</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_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: "What is shown for august 21-22 when november 3 is november 3, 1994?". [/INST] SELECT "august_21_22" FROM "table1_25252080_3" WHERE "november_3"='November 3, 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 "table1_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: "What is the number for march 27-29 whern november 3 is 153?". [/INST] SELECT "march_27_29" FROM "table1_25252080_3" WHERE "november_3"='153';</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_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: "What number is shown for january 15-16 when november 3 is 133?". [/INST] SELECT "january_15_16" FROM "table1_25252080_3" WHERE "november_3"='133';</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_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: "What is shown for november 3 when june 10-11 is june 10, 1964?". [/INST] SELECT "november_3" FROM "table1_25252080_3" WHERE "june_10_11"='June 10, 1964';</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_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: " november 3 where march 27-29 is 149?". [/INST] SELECT "november_3" FROM "table1_25252080_3" WHERE "march_27_29"='149';</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_25252080_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text );. Question: "What number is shown for november 3 where january 15-16 is 151?". [/INST] SELECT "november_3" FROM "table1_25252080_3" WHERE "january_15_16"='151';</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_25276250_3" ( "driver_unit_model_no" text, "release_year" real, "output_voltage_rms" text, "inputs" text, "outputs" text, "notes" text );. Question: "What year were outputs is 2x pro bias, rca loop out and notes is vacuum tube released?". [/INST] SELECT "release_year" FROM "table1_25276250_3" WHERE "outputs"='2x Pro Bias, RCA Loop Out' AND "notes"='Vacuum tube';</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_25276250_3" ( "driver_unit_model_no" text, "release_year" real, "output_voltage_rms" text, "inputs" text, "outputs" text, "notes" text );. Question: "How many outputs are there for solid state, battery operated for portable use listed in notes?". [/INST] SELECT COUNT("outputs") FROM "table1_25276250_3" WHERE "notes"='Solid state, battery operated for portable use';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "Who sang for the movie Amar Deep?". [/INST] SELECT "singer" FROM "list_of_songs" WHERE "movie_album"='Amar Deep';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?". [/INST] SELECT "movie_album" FROM "list_of_songs" WHERE "co_stars"='VijayaLaxmi' AND "lyricist"='Shakeel Badayuni';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "What year did Naushad Direct the Music?". [/INST] SELECT MAX("year") FROM "list_of_songs" WHERE "music_director"='Naushad';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "How many co-singers were there when Parveen Babi co-starred?". [/INST] SELECT COUNT("co_singers") FROM "list_of_songs" WHERE "co_stars"='Parveen Babi';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "What movie did Bela Bose co-star in?". [/INST] SELECT "movie_album" FROM "list_of_songs" WHERE "co_stars"='Bela Bose';</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 "list_of_songs" ( "song" text, "singer" text, "co_singers" text, "music_director" text, "lyricist" text, "co_stars" text, "movie_album" text, "year" real, "additional_info" text );. Question: "Who wrote the lyrics when Jeevankala co-starred?". [/INST] SELECT "lyricist" FROM "list_of_songs" WHERE "co_stars"='Jeevankala';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "When did the episode "you gonna do that the rest of your life?" air?". [/INST] SELECT "original_air_date" FROM "table1_25356350_2" WHERE "title"='\"You Gonna Do That the Rest of Your Life?\"';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "What is the episode number of "you gonna do that the rest of your life?"". [/INST] SELECT "series_num" FROM "table1_25356350_2" WHERE "title"='\"You Gonna Do That the Rest of Your Life?\"';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "What is the original air date of "Powerless"?". [/INST] SELECT "original_air_date" FROM "table1_25356350_2" WHERE "title"='\"Powerless\"';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "How many episodes are written by Lew Schneider?". [/INST] SELECT COUNT("series_num") FROM "table1_25356350_2" WHERE "written_by"='Lew Schneider';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "What is the title of the episode written by Jack Orman?". [/INST] SELECT "title" FROM "table1_25356350_2" WHERE "written_by"='Jack Orman';</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_25356350_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_in_millions" text );. Question: "How many viewers (in millions) did episode 1 have?". [/INST] SELECT "viewers_in_millions" FROM "table1_25356350_2" 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 "offensive_stats" ( "number" real, "name" text, "games_played" real, "games_started" real, "goals" real, "assists" real, "points" real, "shots" real );. Question: "How many games played catagories are there for Lauren McGee? ". [/INST] SELECT COUNT("games_played") FROM "offensive_stats" WHERE "name"='Lauren McGee';</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 "offensive_stats" ( "number" real, "name" text, "games_played" real, "games_started" real, "goals" real, "assists" real, "points" real, "shots" real );. Question: "How many numbers belong to the player with 10 assists? ". [/INST] SELECT COUNT("number") FROM "offensive_stats" WHERE "assists"=10;</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 "offensive_stats" ( "number" real, "name" text, "games_played" real, "games_started" real, "goals" real, "assists" real, "points" real, "shots" real );. Question: "How many names are listed for the player with 50 points?". [/INST] SELECT COUNT("name") FROM "offensive_stats" WHERE "points"=50;</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 "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text, "us_news_ranking_2014_for_liberal_arts" text, "football" text );. Question: "What type of school is in swarthmore, pennsylvania?". [/INST] SELECT "type" FROM "current_members" WHERE "location"='Swarthmore, Pennsylvania';</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 "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text, "us_news_ranking_2014_for_liberal_arts" text, "football" text );. Question: "When was Dickinson College founded?". [/INST] SELECT "founded" FROM "current_members" WHERE "institution"='Dickinson College';</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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" real, "position" text );. Question: "How many F.L. are listed for Formula Three Euroseries?". [/INST] SELECT COUNT("f_l") FROM "career_summary" WHERE "series"='Formula Three Euroseries';</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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" real, "position" text );. Question: "What are the most poles listed?". [/INST] SELECT MAX("poles") FROM "career_summary";</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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" real, "position" text );. Question: "What is the least amount of podiums?". [/INST] SELECT MIN("podiums") FROM "career_summary";</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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" real, "position" text );. Question: "How many points does Marussia Manor Racing have?". [/INST] SELECT COUNT("points") FROM "career_summary" WHERE "team"='Marussia Manor Racing';</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 "subdivisions" ( "city_municipality" text, "no_of_s_barangay" real, "district" real, "area_km" text, "population_2010" real, "income_class_2007" text, "zip_code" real, "mayor" text );. Question: "What are all the vicinity (km²) where profits magnificence (2007) is 2nd". [/INST] SELECT "area_km" FROM "subdivisions" WHERE "income_class_2007"='2nd';</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 "subdivisions" ( "city_municipality" text, "no_of_s_barangay" real, "district" real, "area_km" text, "population_2010" real, "income_class_2007" text, "zip_code" real, "mayor" text );. Question: "What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor". [/INST] SELECT "income_class_2007" FROM "subdivisions" WHERE "mayor"='Ma. Ester A. Hamor';</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 "subdivisions" ( "city_municipality" text, "no_of_s_barangay" real, "district" real, "area_km" text, "population_2010" real, "income_class_2007" text, "zip_code" real, "mayor" text );. Question: "What is the total quantity of populace (2010) where location (km²) is 134.51". [/INST] SELECT COUNT("population_2010") FROM "subdivisions" WHERE "area_km"='134.51';</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 "subdivisions" ( "city_municipality" text, "no_of_s_barangay" real, "district" real, "area_km" text, "population_2010" real, "income_class_2007" text, "zip_code" real, "mayor" text );. Question: "What are all the metropolis / municipality where mayor is helen c. De castro". [/INST] SELECT "city_municipality" FROM "subdivisions" WHERE "mayor"='Helen C. De Castro';</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 "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "corrected_time_d_hh_mm_ss" text );. Question: "Which racing boat had a corrected time of 4:14:11:23?". [/INST] SELECT "yacht" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='4:14:11:23';</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 "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "corrected_time_d_hh_mm_ss" text );. Question: "What is the number of the sail with an overall length of 13.68?". [/INST] SELECT "sail_number" FROM "handicap_results_top_10" WHERE "loa_metres"='13.68';</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 "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "corrected_time_d_hh_mm_ss" text );. Question: "What is the ranking for NSW open 66 racing boat. ". [/INST] SELECT "position" FROM "handicap_results_top_10" WHERE "state_country"='NSW' AND "yacht_type"='Open 66';</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 "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "corrected_time_d_hh_mm_ss" text );. Question: "What is the overall length of sail for the boat with a correct time of 4:15:35:26?". [/INST] SELECT "loa_metres" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='4:15:35:26';</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_25604014_9" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "Name the most number in season for leslie hill". [/INST] SELECT MAX("no_in_season") FROM "table1_25604014_9" WHERE "directed_by"='Leslie Hill';</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_25604014_9" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "Name who directed the production code 1l10". [/INST] SELECT "directed_by" FROM "table1_25604014_9" WHERE "production_code"='1L10';</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_25604014_9" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "Name the production code for theresa rebeck". [/INST] SELECT "production_code" FROM "table1_25604014_9" WHERE "written_by"='Theresa Rebeck';</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_25604014_9" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "Name the original air date for production code 1l16". [/INST] SELECT "original_air_date" FROM "table1_25604014_9" WHERE "production_code"='1L16';</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_2562572_11" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the ethnic majority in the only town?". [/INST] SELECT "largest_ethnic_group_2002" FROM "table1_2562572_11" WHERE "type"='town';</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_2562572_11" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "How to you write плавна with the latin alphabet?". [/INST] SELECT "settlement" FROM "table1_2562572_11" WHERE "cyrillic_name_other_names"='Плавна';</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_2562572_11" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the second way of writting плавна.". [/INST] SELECT "settlement" FROM "table1_2562572_11" WHERE "cyrillic_name_other_names"='Плавна';</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_2562572_11" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the smallest population listed?". [/INST] SELECT MIN("population_2011") FROM "table1_2562572_11";</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_2562572_30" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What type of settlement is rabe?". [/INST] SELECT "type" FROM "table1_2562572_30" WHERE "settlement"='Rabe';</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_2562572_30" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the largest ethnic group of the settlement with the cyrillic name of банатско аранђелово?". [/INST] SELECT "largest_ethnic_group_2002" FROM "table1_2562572_30" WHERE "cyrillic_name_other_names"='Банатско Аранђелово';</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_2562572_30" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "How many dominant religions are in đala?". [/INST] SELECT COUNT("dominant_religion_2002") FROM "table1_2562572_30" WHERE "settlement"='Đala';</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_2562572_30" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "Which settlement has the cyrillic name сигет? ". [/INST] SELECT "settlement" FROM "table1_2562572_30" WHERE "cyrillic_name_other_names"='Сигет';</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_2562572_30" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the cyrillic and other name of rabe?". [/INST] SELECT "cyrillic_name_other_names" FROM "table1_2562572_30" WHERE "settlement"='Rabe';</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_2562572_26" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the dominant religion in Gornji Tavankut?". [/INST] SELECT "dominant_religion_2002" FROM "table1_2562572_26" WHERE "settlement"='Gornji Tavankut';</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_2562572_26" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the population in стари жедник (croatian: stari žednik)?". [/INST] SELECT "population_2011" FROM "table1_2562572_26" WHERE "cyrillic_name_other_names"='Стари Жедник (Croatian: Stari Žednik)';</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_2562572_26" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What are the cyrillic and other names of the settlement whose population is 6591?". [/INST] SELECT "cyrillic_name_other_names" FROM "table1_2562572_26" WHERE "population_2011"=6591;</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_2562572_26" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What type of settlement has a population of 1441?". [/INST] SELECT "type" FROM "table1_2562572_26" WHERE "population_2011"=1441;</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_2562572_26" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "How many settlements are named ђурђин (croatian: đurđin)?". [/INST] SELECT COUNT("settlement") FROM "table1_2562572_26" WHERE "cyrillic_name_other_names"='Ђурђин (Croatian: Đurđin)';</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_2562572_39" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What town has the population of 777?". [/INST] SELECT "cyrillic_name_other_names" FROM "table1_2562572_39" WHERE "population_2011"='777';</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_2562572_39" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the ethnic group is конак?". [/INST] SELECT "largest_ethnic_group_2002" FROM "table1_2562572_39" WHERE "cyrillic_name_other_names"='Конак';</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_2562572_39" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "The pooulation of јарковац is?". [/INST] SELECT "population_2011" FROM "table1_2562572_39" WHERE "cyrillic_name_other_names"='Јарковац';</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_2562572_39" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What kind of type is бока?". [/INST] SELECT "type" FROM "table1_2562572_39" WHERE "cyrillic_name_other_names"='Бока';</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_2562572_39" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "The population is 2,107's dominant religion is?". [/INST] SELECT "dominant_religion_2002" FROM "table1_2562572_39" WHERE "population_2011"='2,107';</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_2562572_41" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text );. Question: "What is the Deliblato village known as in Cyrillic?". [/INST] SELECT "cyrillic_name_other_names" FROM "table1_2562572_41" WHERE "settlement"='Deliblato';</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 "june_1927_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text );. Question: "Who had 41.76% yes votes". [/INST] SELECT "description" FROM "june_1927_special_election" WHERE "pct_yes"='41.76%';</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 "june_1927_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text );. Question: "how many yes votes made up 43.18% yes?". [/INST] SELECT MAX("yes_votes") FROM "june_1927_special_election" WHERE "pct_yes"='43.18%';</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 "june_1927_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text );. Question: "HOw many no votes were there when there were 45.60% yes votes". [/INST] SELECT MIN("no_votes") FROM "june_1927_special_election" WHERE "pct_yes"='45.60%';</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 "1924_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text );. Question: "what is the measure number for the init type? ". [/INST] SELECT "meas_num" FROM "1924_general_election" WHERE "type"='Init';</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 "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the points for donald boor". [/INST] SELECT "points" FROM "scoring_leaders" WHERE "player"='Donald Boor';</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 "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "Name the least touchdowns for joe rogers". [/INST] SELECT MIN("touchdowns") FROM "scoring_leaders" WHERE "player"='Joe Rogers';</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_25662434_1" ( "no_in_season" real, "no_in_series" real, "title" text, "canadian_airdate" text, "us_airdate" text, "production_code" real );. Question: "What was the us airdate of "love lockdown" part one?". [/INST] SELECT "us_airdate" FROM "table1_25662434_1" WHERE "title"='\"Love Lockdown\" Part One';</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_25662434_1" ( "no_in_season" real, "no_in_series" real, "title" text, "canadian_airdate" text, "us_airdate" text, "production_code" real );. Question: "How many titles had production code 1040?". [/INST] SELECT COUNT("title") FROM "table1_25662434_1" WHERE "production_code"=1040;</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_25740548_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed the episode with production code ca311?". [/INST] SELECT "directed_by" FROM "table1_25740548_4" WHERE "production_code"='CA311';</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_25740548_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "What is the series episode number of the episode titled "sound and vision"?". [/INST] SELECT MAX("series_num") FROM "table1_25740548_4" WHERE "title"='\"Sound and Vision\"';</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_25740548_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Which episode had 2.75 million viewers in the U.S.?". [/INST] SELECT "title" FROM "table1_25740548_4" WHERE "u_s_viewers_million"='2.75';</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_25740548_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed the episode with production code ca303?". [/INST] SELECT "directed_by" FROM "table1_25740548_4" WHERE "production_code"='CA303';</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_25750635_2" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "What date did "d.a.w." Originally air?". [/INST] SELECT "original_air_date" FROM "table1_25750635_2" WHERE "title"='\"D.A.W.\"';</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_25750635_2" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "Who wrote the episode with e4515 as the production code?". [/INST] SELECT "written_by" FROM "table1_25750635_2" WHERE "production_code"='E4515';</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_25750635_2" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "What episode number in the season is titled "stray"?". [/INST] SELECT MAX("season_no") FROM "table1_25750635_2" WHERE "title"='\"Stray\"';</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 "external_links" ( "name" text, "nearest_city" text, "skiable_area_acres" real, "top_elevation_feet" real, "base_elevation_feet" real, "vertical_feet" real, "runs" text, "lifts" real, "snowfall_in_year" real );. Question: "If there are 11 lifts, what is the base elevation?". [/INST] SELECT MAX("base_elevation_feet") FROM "external_links" WHERE "lifts"=11;</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 "external_links" ( "name" text, "nearest_city" text, "skiable_area_acres" real, "top_elevation_feet" real, "base_elevation_feet" real, "vertical_feet" real, "runs" text, "lifts" real, "snowfall_in_year" real );. Question: "if there are 30 lifts, what is the name of the ski resort?". [/INST] SELECT "name" FROM "external_links" WHERE "lifts"=30;</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 "external_links" ( "name" text, "nearest_city" text, "skiable_area_acres" real, "top_elevation_feet" real, "base_elevation_feet" real, "vertical_feet" real, "runs" text, "lifts" real, "snowfall_in_year" real );. Question: "If the name is Steamboat, what is the top elevation?". [/INST] SELECT "top_elevation_feet" FROM "external_links" WHERE "name"='Steamboat';</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 "external_links" ( "name" text, "nearest_city" text, "skiable_area_acres" real, "top_elevation_feet" real, "base_elevation_feet" real, "vertical_feet" real, "runs" text, "lifts" real, "snowfall_in_year" real );. Question: "How many resorts have 118 runs?". [/INST] SELECT COUNT("name") FROM "external_links" WHERE "runs"='118';</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 "external_links" ( "name" text, "nearest_city" text, "skiable_area_acres" real, "top_elevation_feet" real, "base_elevation_feet" real, "vertical_feet" real, "runs" text, "lifts" real, "snowfall_in_year" real );. Question: "What is the snowfall for ski resort Snowmass?". [/INST] SELECT MAX("snowfall_in_year") FROM "external_links" WHERE "name"='Snowmass';</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 "career_summary" ( "season" real, "series" text, "team" text, "car_no" real, "races" real, "poles" real, "wins" real, "f_laps" real, "points" text, "position" text );. Question: "Name the most poles for 64 points". [/INST] SELECT MAX("poles") FROM "career_summary" WHERE "points"='64';</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 "career_summary" ( "season" real, "series" text, "team" text, "car_no" real, "races" real, "poles" real, "wins" real, "f_laps" real, "points" text, "position" text );. Question: "Name the points for car number 4". [/INST] SELECT "points" FROM "career_summary" WHERE "car_no"=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 "career_summary" ( "season" real, "series" text, "team" text, "car_no" real, "races" real, "poles" real, "wins" real, "f_laps" real, "points" text, "position" text );. Question: "Name the position for eifelland racing". [/INST] SELECT "position" FROM "career_summary" WHERE "team"='Eifelland Racing';</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 "career_summary" ( "season" real, "series" text, "team" text, "car_no" real, "races" real, "poles" real, "wins" real, "f_laps" real, "points" text, "position" text );. Question: "Name the series for 68". [/INST] SELECT "series" FROM "career_summary" WHERE "points"='68';</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 "1999_00_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "How man teams had a total weight of 57.5?". [/INST] SELECT COUNT("group") FROM "1999_00_season_as_a_four_year_old" WHERE "weight_kg"='57.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 "1999_00_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "List the weight for 56 kilograms.". [/INST] SELECT "distance" FROM "1999_00_season_as_a_four_year_old" WHERE "weight_kg"='56';</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 "1999_00_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "List the weight for 56.5 kilograms.". [/INST] SELECT "race" FROM "1999_00_season_as_a_four_year_old" WHERE "weight_kg"='56.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 "scotland" ( "constituency" text, "candidate" text, "affiliation" text, "votes_cast" real, "result_pct" text, "loss_gain" text );. Question: "What was the loss/gain when the votes -cast was 166?". [/INST] SELECT "loss_gain" FROM "scotland" WHERE "votes_cast"=166;</s>