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 "stations" ( "call_sign" text, "launched" text, "transmitting_from" text, "coverage" text, "languages" text, "frequency" text );. Question: "What frequency does Chihuahua Sinaloa Durango cover?". [/INST] SELECT "frequency" FROM "stations" WHERE "coverage"='Chihuahua Sinaloa Durango';</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 "stations" ( "call_sign" text, "launched" text, "transmitting_from" text, "coverage" text, "languages" text, "frequency" text );. Question: "How many times does the call sign XEZV appear?". [/INST] SELECT COUNT("transmitting_from") FROM "stations" WHERE "call_sign"='XEZV';</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 "stations" ( "call_sign" text, "launched" text, "transmitting_from" text, "coverage" text, "languages" text, "frequency" text );. Question: "What languages are spoken when call sign XEJAM is used?". [/INST] SELECT "languages" FROM "stations" WHERE "call_sign"='XEJAM';</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" ( "place" real, "shooter" text, "total" real, "round_1" real, "round_2" real, "round_3" real, "round_4" real, "round_5" real, "round_6" real );. Question: "Who shot an 80 in round 3". [/INST] SELECT "shooter" FROM "results" WHERE "round_3"=80;</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" ( "place" real, "shooter" text, "total" real, "round_1" real, "round_2" real, "round_3" real, "round_4" real, "round_5" real, "round_6" real );. Question: "What is the highest score of round 1 where they also shot 90 in round 2". [/INST] SELECT MAX("round_1") FROM "results" WHERE "round_2"=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 "round_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What position did Dave Johnson play?". [/INST] SELECT "position" FROM "round_five" WHERE "player"='Dave Johnson';</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_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What is Bernie Germain's nationality?". [/INST] SELECT "nationality" FROM "round_five" WHERE "player"='Bernie Germain';</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_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What player was picked by the Minnesota North Stars?". [/INST] SELECT "player" FROM "round_five" WHERE "nhl_team"='Minnesota North Stars';</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_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What position did Marty Gateman play?". [/INST] SELECT "position" FROM "round_five" WHERE "player"='Marty Gateman';</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_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What was the position of the player picked by the Montreal Canadiens?". [/INST] SELECT "position" FROM "round_five" WHERE "nhl_team"='Montreal Canadiens';</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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "the california golden seals that where drafted by nhl teams played what positions". [/INST] SELECT "position" FROM "round_seven" WHERE "nhl_team"='California Golden Seals';</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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "what country was the player drafted by the toronto maple leafs". [/INST] SELECT "nationality" FROM "round_seven" WHERE "nhl_team"='Toronto Maple Leafs';</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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "The los angeles kings drafted what player in the 7th round". [/INST] SELECT "player" FROM "round_seven" WHERE "nhl_team"='Los Angeles Kings';</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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many players had been drafted in front of Yves archambault". [/INST] SELECT "pick_num" FROM "round_seven" WHERE "player"='Yves Archambault';</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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Serge Beaudoin was drafted when in the 1972 NHL draft". [/INST] SELECT MIN("pick_num") FROM "round_seven" WHERE "player"='Serge Beaudoin';</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_six" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What NHL team drafted Rob Palmer?". [/INST] SELECT "nhl_team" FROM "round_six" WHERE "player"='Rob Palmer';</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_six" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What player was drafted by the Chicago Black Hawks?". [/INST] SELECT "player" FROM "round_six" WHERE "nhl_team"='Chicago Black Hawks';</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_six" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What country did Derek Black come from?". [/INST] SELECT "nationality" FROM "round_six" WHERE "player"='Derek Black';</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_six" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What team did Derek Black Play for prior to being drafted?". [/INST] SELECT "college_junior_club_team" FROM "round_six" WHERE "player"='Derek Black';</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_1474099_6" ( "season" text, "champions_premier_league_titles" text, "runners_up" text, "third_place" text, "player_s_club" text, "goals" real );. Question: "At maximum, what are our goals?". [/INST] SELECT MAX("goals") FROM "table1_1474099_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 "table1_1474099_6" ( "season" text, "champions_premier_league_titles" text, "runners_up" text, "third_place" text, "player_s_club" text, "goals" real );. Question: "When the team scored 17 and Slavija placed second, what year was it?". [/INST] SELECT "season" FROM "table1_1474099_6" WHERE "goals"=17 AND "runners_up"='Slavija';</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_14752049_3" ( "rank" real, "country" text, "international_tourist_arrivals_2011" text, "international_tourist_arrivals_2010" text, "change_2010_to_2011" text, "change_2009_to_2010" text );. Question: "Name the change 2009 to 2010 where international tourist arrivals is 9.4 million". [/INST] SELECT "change_2009_to_2010" FROM "table1_14752049_3" WHERE "international_tourist_arrivals_2011"='9.4 million';</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_14752049_3" ( "rank" real, "country" text, "international_tourist_arrivals_2011" text, "international_tourist_arrivals_2010" text, "change_2010_to_2011" text, "change_2009_to_2010" text );. Question: "Name the international tourist arrivals for arrivals 2011 for 8.1 million". [/INST] SELECT "international_tourist_arrivals_2010" FROM "table1_14752049_3" WHERE "international_tourist_arrivals_2011"='8.1 million';</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_14752049_1" ( "rank" real, "country" text, "unwto_region" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );. Question: "How many tourist arrivals occurred in 2011 in the country of Italy?". [/INST] SELECT "international_tourist_arrivals_2011" FROM "table1_14752049_1" WHERE "country"='Italy';</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_14752049_1" ( "rank" real, "country" text, "unwto_region" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );. Question: "Which country has a rank of 5?". [/INST] SELECT "country" FROM "table1_14752049_1" WHERE "rank"=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_14752049_1" ( "rank" real, "country" text, "unwto_region" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );. Question: "What rank is associated with Germany?". [/INST] SELECT MAX("rank") FROM "table1_14752049_1" WHERE "country"='Germany';</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 "asia_and_the_pacific" ( "rank" real, "country" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );. Question: "Name the number of ranks for international tourist arrivals being 6.2 million". [/INST] SELECT COUNT("rank") FROM "asia_and_the_pacific" WHERE "international_tourist_arrivals_2011"='6.2 million';</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 "asia_and_the_pacific" ( "rank" real, "country" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );. Question: "Name the number of ranks for south korea". [/INST] SELECT COUNT("rank") FROM "asia_and_the_pacific" WHERE "country"='South Korea';</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 "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is the minimum stolen ends for the locale Alberta?". [/INST] SELECT MIN("stolen_ends") FROM "standings" WHERE "locale"='Alberta';</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 "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What locale has Suzanne Gaudet as skip?". [/INST] SELECT "locale" FROM "standings" WHERE "skip"='Suzanne Gaudet';</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 "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What locale has the skip Colleen Jones?". [/INST] SELECT "locale" FROM "standings" WHERE "skip"='Colleen Jones';</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_14835674_1" ( "episode_num" real, "the_w_rd" text, "guest" text, "introductory_phrase" text, "original_airdate" text, "production_code" real );. Question: "What was the inroductory phase for the episode with production code 4005?". [/INST] SELECT "introductory_phrase" FROM "table1_14835674_1" WHERE "production_code"=4005;</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_14835674_1" ( "episode_num" real, "the_w_rd" text, "guest" text, "introductory_phrase" text, "original_airdate" text, "production_code" real );. Question: "What was the inroductory phase for the episode with neil shubin as a guest?". [/INST] SELECT "introductory_phrase" FROM "table1_14835674_1" WHERE "guest"='Neil Shubin';</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_14835674_1" ( "episode_num" real, "the_w_rd" text, "guest" text, "introductory_phrase" text, "original_airdate" text, "production_code" real );. Question: "What was the inroductory phase for the episode that originally aired january 21?". [/INST] SELECT "introductory_phrase" FROM "table1_14835674_1" WHERE "original_airdate"='January 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 "table1_14835826_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "How many series had 18.77 million viewers?". [/INST] SELECT COUNT("series_num") FROM "table1_14835826_1" WHERE "u_s_viewers_millions"='18.77';</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 "historical_casting" ( "role" text, "savoy_theatre_1888" text, "casino_theatre_1888" text, "savoy_theatre_1897" text, "savoy_theatre_1906" text, "savoy_theatre_1909" text );. Question: "How many roles include George Broderick in the casino 1888 theater?". [/INST] SELECT "role" FROM "historical_casting" WHERE "casino_theatre_1888"='George Broderick';</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 "historical_casting" ( "role" text, "savoy_theatre_1888" text, "casino_theatre_1888" text, "savoy_theatre_1897" text, "savoy_theatre_1906" text, "savoy_theatre_1909" text );. Question: "What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888?". [/INST] SELECT COUNT("savoy_theatre_1888") FROM "historical_casting" WHERE "casino_theatre_1888"='George Olmi';</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 "historical_casting" ( "role" text, "savoy_theatre_1888" text, "casino_theatre_1888" text, "savoy_theatre_1897" text, "savoy_theatre_1906" text, "savoy_theatre_1909" text );. Question: "Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906?". [/INST] SELECT "casino_theatre_1888" FROM "historical_casting" WHERE "savoy_theatre_1906"='Overton Moyle';</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 "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );. Question: "Name the losses for general caballero zc". [/INST] SELECT "losses" FROM "torneo_apertura" WHERE "team"='General Caballero ZC';</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 "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );. Question: "Name the most draws when wins is 3". [/INST] SELECT MAX("draws") FROM "torneo_apertura" WHERE "wins"=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 "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );. Question: "Name the number of played for 16". [/INST] SELECT COUNT("played") FROM "torneo_apertura" WHERE "scored"=16;</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 "administrative_counties" ( "administrative_county" text, "area_1891_statute_acres" real, "population_1891" real, "area_1961_statute_acres" real, "population_1961" real );. Question: "Name the population 1891 for area being 175836". [/INST] SELECT COUNT("population_1891") FROM "administrative_counties" WHERE "area_1891_statute_acres"=175836;</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 "administrative_counties" ( "administrative_county" text, "area_1891_statute_acres" real, "population_1891" real, "area_1961_statute_acres" real, "population_1961" real );. Question: "Name the administrative county being area of 422372". [/INST] SELECT "administrative_county" FROM "administrative_counties" WHERE "area_1961_statute_acres"=422372;</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 "administrative_counties" ( "administrative_county" text, "area_1891_statute_acres" real, "population_1891" real, "area_1961_statute_acres" real, "population_1961" real );. Question: "Name the area for administrative county being flintshire". [/INST] SELECT "area_1891_statute_acres" FROM "administrative_counties" WHERE "administrative_county"='Flintshire';</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 "administrative_counties" ( "administrative_county" text, "area_1891_statute_acres" real, "population_1891" real, "area_1961_statute_acres" real, "population_1961" real );. Question: "Name the number of administrative county for area 1961 and 176694". [/INST] SELECT COUNT("administrative_county") FROM "administrative_counties" WHERE "area_1961_statute_acres"=176694;</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 "past_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "How many couples won the Mixed Doubles in 1997?". [/INST] SELECT COUNT("mixed_doubles") FROM "past_winners" WHERE "year"=1997;</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the number of week for game site being memorial stadium for buffalo bills". [/INST] SELECT COUNT("week") FROM "schedule" WHERE "game_site"='Memorial Stadium' AND "opponent"='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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the opponent for october 2, 1983". [/INST] SELECT "opponent" FROM "schedule" WHERE "date"='October 2, 1983';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the least week for september 25, 1983". [/INST] SELECT MAX("week") FROM "schedule" WHERE "date"='September 25, 1983';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the total number of weeks for at cleveland browns". [/INST] SELECT COUNT("week") FROM "schedule" WHERE "opponent"='at Cleveland Browns';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the record for result of l 17–50". [/INST] SELECT "record" FROM "schedule" WHERE "result"='L 17–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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "what's the record with result being w 52–19". [/INST] SELECT "record" FROM "schedule" WHERE "result"='W 52–19';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: " how many result with opponent being cleveland browns". [/INST] SELECT COUNT("result") FROM "schedule" WHERE "opponent"='Cleveland Browns';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "what's the result with opponent being at new england patriots". [/INST] SELECT "result" FROM "schedule" WHERE "opponent"='at New England Patriots';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "what's the record with result being w 21–7". [/INST] SELECT "record" FROM "schedule" WHERE "result"='W 21–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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "what's the date with attendance being 40657". [/INST] SELECT "date" FROM "schedule" WHERE "attendance"=40657;</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the attendance for september 19, 1976". [/INST] SELECT MIN("attendance") FROM "schedule" WHERE "date"='September 19, 1976';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the number of record when attendance is 44023". [/INST] SELECT COUNT("record") FROM "schedule" WHERE "attendance"=44023;</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the least week for september 19, 1976". [/INST] SELECT MIN("week") FROM "schedule" WHERE "date"='September 19, 1976';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the record when attendance 42827". [/INST] SELECT "record" FROM "schedule" WHERE "attendance"=42827;</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the date when week is 9". [/INST] SELECT "date" FROM "schedule" WHERE "week"=9;</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 "submissions" ( "year_ceremony" text, "english_title" text, "hungarian_title" text, "director" text, "result" text );. Question: "What year was taxidermia nominated? ". [/INST] SELECT "year_ceremony" FROM "submissions" WHERE "hungarian_title"='Taxidermia';</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 "submissions" ( "year_ceremony" text, "english_title" text, "hungarian_title" text, "director" text, "result" text );. Question: "Who is the director for diary for my loves?". [/INST] SELECT "director" FROM "submissions" WHERE "english_title"='Diary for My Loves';</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 "submissions" ( "year_ceremony" text, "english_title" text, "hungarian_title" text, "director" text, "result" text );. Question: "Was diary for my loves nominated?". [/INST] SELECT "result" FROM "submissions" WHERE "english_title"='Diary for My Loves';</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 "submissions" ( "year_ceremony" text, "english_title" text, "hungarian_title" text, "director" text, "result" text );. Question: "Who is the director for the witman boys?". [/INST] SELECT "director" FROM "submissions" WHERE "english_title"='The Witman Boys';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the game site for december 12, 1965". [/INST] SELECT "game_site" FROM "schedule" WHERE "date"='December 12, 1965';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the total number of game sites for chicago bears". [/INST] SELECT COUNT("game_site") FROM "schedule" WHERE "opponent"='Chicago Bears';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Name the result for november 14, 1965". [/INST] SELECT "result" FROM "schedule" WHERE "date"='November 14, 1965';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "Where was the game against Atlanta Falcons held?". [/INST] SELECT "game_site" FROM "schedule" WHERE "opponent"='Atlanta Falcons';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );. Question: "What date was week 2?". [/INST] SELECT "date" FROM "schedule" WHERE "week"=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 "table1_14977252_2" ( "draw" real, "artist" text, "song" text, "televote" real, "points" real, "professional_jury" real, "trm_committee" real, "total" real, "place" real );. Question: "Name the place of the jury of 5". [/INST] SELECT "place" FROM "table1_14977252_2" WHERE "professional_jury"=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_14977252_2" ( "draw" real, "artist" text, "song" text, "televote" real, "points" real, "professional_jury" real, "trm_committee" real, "total" real, "place" real );. Question: "Name the jury of 10 points". [/INST] SELECT "professional_jury" FROM "table1_14977252_2" WHERE "points"=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 "table1_14977252_2" ( "draw" real, "artist" text, "song" text, "televote" real, "points" real, "professional_jury" real, "trm_committee" real, "total" real, "place" real );. Question: "Name the artist of 2 draw". [/INST] SELECT "artist" FROM "table1_14977252_2" WHERE "draw"=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 "table1_14977252_2" ( "draw" real, "artist" text, "song" text, "televote" real, "points" real, "professional_jury" real, "trm_committee" real, "total" real, "place" real );. Question: "Name the least draw for elena dermidjean". [/INST] SELECT MIN("draw") FROM "table1_14977252_2" WHERE "artist"='Elena Dermidjean';</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 "past_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "What was the competition when there was no competition for mens doubles?". [/INST] SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='No competition';</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 "past_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who won the mixed doubles in 1998?". [/INST] SELECT "mixed_doubles" FROM "past_winners" WHERE "year"=1998;</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_15017024_2" ( "rnd" real, "pick" real, "player_name" text, "position" text, "college" text, "height" text, "weight" text );. Question: "How many colleges did the player picked 57 attend?". [/INST] SELECT COUNT("college") FROM "table1_15017024_2" WHERE "pick"=57;</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_15017024_2" ( "rnd" real, "pick" real, "player_name" text, "position" text, "college" text, "height" text, "weight" text );. Question: "How many heights does chad henne have?". [/INST] SELECT COUNT("height") FROM "table1_15017024_2" WHERE "player_name"='Chad Henne';</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 "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1992" text, "supercopa_sudamericana_1992" text, "copa_conmebol_1992" text, "recopa_sudamericana_1992" text, "intercontinental_cup_1992" text );. Question: "Name the recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino". [/INST] SELECT "recopa_sudamericana_1992" FROM "brazilian_clubs_in_international_competi" WHERE "copa_libertadores_1992"='Did not qualify' AND "copa_conmebol_1992"='Round of 16' AND "team"='Bragantino';</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 "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1992" text, "supercopa_sudamericana_1992" text, "copa_conmebol_1992" text, "recopa_sudamericana_1992" text, "intercontinental_cup_1992" text );. Question: "Name the copa libertadores 1992 for round of 16 and team of fluminense". [/INST] SELECT "copa_libertadores_1992" FROM "brazilian_clubs_in_international_competi" WHERE "copa_conmebol_1992"='Round of 16' AND "team"='Fluminense';</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 "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1992" text, "supercopa_sudamericana_1992" text, "copa_conmebol_1992" text, "recopa_sudamericana_1992" text, "intercontinental_cup_1992" text );. Question: "Name the team for copa conmebol 1992 is round of 16". [/INST] SELECT "team" FROM "brazilian_clubs_in_international_competi" WHERE "copa_conmebol_1992"='Round of 16';</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 "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What league were they in in 2009?". [/INST] SELECT "league" FROM "year_by_year" WHERE "year"=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 "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What was the playoff result when they finished 5th, north in the regular sesason?". [/INST] SELECT "playoffs" FROM "year_by_year" WHERE "regular_season"='5th, North';</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_1506950_9" ( "nationality" text, "player" text, "year" real, "wins" real, "masters" text, "u_s_open" text, "open_ch" text, "pga_ch" text );. Question: "Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open?". [/INST] SELECT "player" FROM "table1_1506950_9" WHERE "pga_ch"='T6' AND "masters"='T4' AND "u_s_open"='T8';</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_1506950_9" ( "nationality" text, "player" text, "year" real, "wins" real, "masters" text, "u_s_open" text, "open_ch" text, "pga_ch" text );. Question: "What is the result at the Masters for the player who finished R16 at the PGA Ch.?". [/INST] SELECT "masters" FROM "table1_1506950_9" WHERE "pga_ch"='R16';</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_1506950_9" ( "nationality" text, "player" text, "year" real, "wins" real, "masters" text, "u_s_open" text, "open_ch" text, "pga_ch" text );. Question: "What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch?". [/INST] SELECT "u_s_open" FROM "table1_1506950_9" WHERE "open_ch"='6th';</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_1506619_1" ( "school_board" text, "type" text, "language" text, "headquarters" text, "census_division_s_served" text, "number_of_elementary_schools" real, "number_of_secondary_schools" real );. Question: "The Rainbow District School Board is associated with what type?". [/INST] SELECT "type" FROM "table1_1506619_1" WHERE "school_board"='Rainbow District School Board';</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_1506619_1" ( "school_board" text, "type" text, "language" text, "headquarters" text, "census_division_s_served" text, "number_of_elementary_schools" real, "number_of_secondary_schools" real );. Question: "Where are all school boards associated with a number of elementary schools of 96?". [/INST] SELECT "school_board" FROM "table1_1506619_1" WHERE "number_of_elementary_schools"=96;</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_1506619_1" ( "school_board" text, "type" text, "language" text, "headquarters" text, "census_division_s_served" text, "number_of_elementary_schools" real, "number_of_secondary_schools" real );. Question: "Which headquarters are associated with the school board Renfrew County Catholic District School Board?". [/INST] SELECT "headquarters" FROM "table1_1506619_1" WHERE "school_board"='Renfrew County Catholic District School Board';</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 "preliminaries_scores" ( "province" text, "swimsuit" text, "evening_gown" text, "interview" text, "average" text );. Question: "What is the swimsuit score for the item that has 7.61 as evening gown". [/INST] SELECT "swimsuit" FROM "preliminaries_scores" WHERE "evening_gown"='7.61';</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 "preliminaries_scores" ( "province" text, "swimsuit" text, "evening_gown" text, "interview" text, "average" text );. Question: "Which province got a swimsuit score of 8.43". [/INST] SELECT "province" FROM "preliminaries_scores" WHERE "swimsuit"='8.43';</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 "preliminaries_scores" ( "province" text, "swimsuit" text, "evening_gown" text, "interview" text, "average" text );. Question: "Which province has evening gown score of 7.61". [/INST] SELECT "province" FROM "preliminaries_scores" WHERE "evening_gown"='7.61';</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 "preliminaries_scores" ( "province" text, "swimsuit" text, "evening_gown" text, "interview" text, "average" text );. Question: "How many averages for the province with evening gown score of 8.00". [/INST] SELECT COUNT("average") FROM "preliminaries_scores" WHERE "evening_gown"='8.00';</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 "preliminaries_scores" ( "province" text, "swimsuit" text, "evening_gown" text, "interview" text, "average" text );. Question: "How many provinces have evening gown score of 8.49". [/INST] SELECT COUNT("province") FROM "preliminaries_scores" WHERE "evening_gown"='8.49';</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 "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text );. Question: "which electorate is 54787 of the constituency". [/INST] SELECT "constituency" FROM "by_constituency" WHERE "electorate"=54787;</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 "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text );. Question: "in electorate of 83850 what is the minimum s split vote". [/INST] SELECT MIN("s_spoilt_vote") FROM "by_constituency" WHERE "electorate"=83850;</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 "12_seats_needed_for_a_majority" ( "date_released" text, "institute" text, "socialist" text, "social_democratic" text, "green_communist" text, "left_bloc" text, "peoples_party" text, "lead" text );. Question: "What is the lead percentage when the socialist is at 35.5%?". [/INST] SELECT "lead" FROM "12_seats_needed_for_a_majority" WHERE "socialist"='35.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 "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the margin of victory at the Hawaiian Open tournament?". [/INST] SELECT "margin_of_victory" FROM "pga_tour_wins_16" WHERE "tournament"='Hawaiian Open';</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 "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the margin of victory at the Mercedes Championships?". [/INST] SELECT "margin_of_victory" FROM "pga_tour_wins_16" WHERE "tournament"='Mercedes Championships';</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_15128839_22" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "qbh" real, "no_yds" text, "avg" text, "td" real, "rcv_yds" text, "ff" real, "blkd_kick" real );. Question: "Name the tfl-yds for no-yds 1-0". [/INST] SELECT "tfl_yds" FROM "table1_15128839_22" WHERE "no_yds"='1-0';</s>