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 "table1_19897294_4" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text );. Question: "What family had a no.overall of UK10?". [/INST] SELECT "family_families" FROM "table1_19897294_4" WHERE "no_overall"='UK10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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's the highest division number through the years?". [/INST] SELECT MAX("division") FROM "year_by_year";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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's the lowest division number of the 6th, Great Lakes season?". [/INST] SELECT MIN("division") FROM "year_by_year" WHERE "regular_season"='6th, Great Lakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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's the team's status in the Open Cup in 2006?". [/INST] SELECT "open_cup" FROM "year_by_year" WHERE "year"=2006;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "When did the 4th, Midwest season happen?". [/INST] SELECT "year" FROM "year_by_year" WHERE "regular_season"='4th, Midwest';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1992924_3" ( "year_s" real, "commentator" text, "dual_commentator" text, "spokesperson" text, "channel" text );. Question: "which channels had spokesperson arina sharapova and no dual commentator". [/INST] SELECT "channel" FROM "table1_1992924_3" WHERE "spokesperson"='Arina Sharapova' AND "dual_commentator"='No Dual Commentator';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1992924_3" ( "year_s" real, "commentator" text, "dual_commentator" text, "spokesperson" text, "channel" text );. Question: "how many spokesperson where in 2004". [/INST] SELECT COUNT("spokesperson") FROM "table1_1992924_3" WHERE "year_s"=2004;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1992924_3" ( "year_s" real, "commentator" text, "dual_commentator" text, "spokesperson" text, "channel" text );. Question: "who is the dual commentator at the channel with spokesperson larisa verbickaya". [/INST] SELECT "dual_commentator" FROM "table1_1992924_3" WHERE "spokesperson"='Larisa Verbickaya';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1992924_3" ( "year_s" real, "commentator" text, "dual_commentator" text, "spokesperson" text, "channel" text );. Question: "state all spokesperson for the channel where dual commentator was elena batinova". [/INST] SELECT "spokesperson" FROM "table1_1992924_3" WHERE "dual_commentator"='Elena Batinova';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1992924_3" ( "year_s" real, "commentator" text, "dual_commentator" text, "spokesperson" text, "channel" text );. Question: "state all the spokesperson for the channel where commentator is dmitriy guberniyev". [/INST] SELECT "spokesperson" FROM "table1_1992924_3" WHERE "commentator"='Dmitriy Guberniyev';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3" ( "episode" text, "first_broadcast" text, "rufus_guest" text, "marcus_guest" text, "winner" text );. Question: "When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?". [/INST] SELECT "first_broadcast" FROM "series_3" WHERE "rufus_guest"='Jack Whitehall';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3" ( "episode" text, "first_broadcast" text, "rufus_guest" text, "marcus_guest" text, "winner" text );. Question: "Which episodes have Chris Addison as Rufus's guest?". [/INST] SELECT "episode" FROM "series_3" WHERE "rufus_guest"='Chris Addison';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3" ( "episode" text, "first_broadcast" text, "rufus_guest" text, "marcus_guest" text, "winner" text );. Question: "What is the resulting score for the episodes where Rufus's guest is Sean Lock?". [/INST] SELECT "winner" FROM "series_3" WHERE "rufus_guest"='Sean Lock';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3" ( "episode" text, "first_broadcast" text, "rufus_guest" text, "marcus_guest" text, "winner" text );. Question: "What is the first broadcast date for episode 3x10?". [/INST] SELECT "first_broadcast" FROM "series_3" WHERE "episode"='3x10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_america_comparative_index" ( "index_year" text, "author_editor_source" text, "year_of_publication" text, "countries_sampled" real, "world_ranking_1" text, "ranking_l_a_2" text );. Question: "What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking?". [/INST] SELECT "index_year" FROM "latin_america_comparative_index" WHERE "author_editor_source"='United Nations (UNDP)' AND "ranking_l_a_2"='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 "latin_america_comparative_index" ( "index_year" text, "author_editor_source" text, "year_of_publication" text, "countries_sampled" real, "world_ranking_1" text, "ranking_l_a_2" text );. Question: "How many countries were sampled in the index created by The Economist, published in 2007 and ranked 2nd in the LA Ranking?". [/INST] SELECT MAX("countries_sampled") FROM "latin_america_comparative_index" WHERE "author_editor_source"='The Economist' AND "year_of_publication"='2007' AND "ranking_l_a_2"='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 "latin_america_comparative_index" ( "index_year" text, "author_editor_source" text, "year_of_publication" text, "countries_sampled" real, "world_ranking_1" text, "ranking_l_a_2" text );. Question: "What's the wold ranking of the index by Transparency International?". [/INST] SELECT "world_ranking_1" FROM "latin_america_comparative_index" WHERE "author_editor_source"='Transparency International';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_america_comparative_index" ( "index_year" text, "author_editor_source" text, "year_of_publication" text, "countries_sampled" real, "world_ranking_1" text, "ranking_l_a_2" text );. Question: "How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking?". [/INST] SELECT "countries_sampled" FROM "latin_america_comparative_index" WHERE "ranking_l_a_2"='2nd' AND "world_ranking_1"='23rd';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "latin_america_comparative_index" ( "index_year" text, "author_editor_source" text, "year_of_publication" text, "countries_sampled" real, "world_ranking_1" text, "ranking_l_a_2" text );. Question: "How many countries were sampled for the Prosperity Index (2008)?". [/INST] SELECT MAX("countries_sampled") FROM "latin_america_comparative_index" WHERE "index_year"='Prosperity Index (2008)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_canada_cup" text );. Question: "What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"?". [/INST] SELECT "playoffs" FROM "year_by_year" WHERE "open_canada_cup"='N/A' AND "regular_season"='2nd, New England';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_canada_cup" text );. Question: "What is the earliest year where playoffs was "did not qualify," regular season was "2nd, New England," and Open Canada Cup is "N/A"?". [/INST] SELECT MIN("year") FROM "year_by_year" WHERE "playoffs"='Did not qualify' AND "regular_season"='2nd, New England' AND "open_canada_cup"='N/A';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_canada_cup" text );. Question: "What is the total number of playoffs held in exactly 2006?". [/INST] SELECT COUNT("playoffs") FROM "year_by_year" WHERE "year"=2006;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "effect_on_other_conventions" ( "ilo_code" text, "field" text, "conclusion_date" text, "entry_into_force" text, "closure_for_signature" text, "parties_april_2011" real, "denunciations_september_2011" real, "revising_convention_s" text, "text_and_ratifications" text );. Question: "What were the revising conventions commentary with a denunciation of 21?". [/INST] SELECT "revising_convention_s" FROM "effect_on_other_conventions" WHERE "denunciations_september_2011"=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 "effect_on_other_conventions" ( "ilo_code" text, "field" text, "conclusion_date" text, "entry_into_force" text, "closure_for_signature" text, "parties_april_2011" real, "denunciations_september_2011" real, "revising_convention_s" text, "text_and_ratifications" text );. Question: "How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'?". [/INST] SELECT COUNT("closure_for_signature") FROM "effect_on_other_conventions" WHERE "field"='Sea (revised)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "effect_on_other_conventions" ( "ilo_code" text, "field" text, "conclusion_date" text, "entry_into_force" text, "closure_for_signature" text, "parties_april_2011" real, "denunciations_september_2011" real, "revising_convention_s" text, "text_and_ratifications" text );. Question: "How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?". [/INST] SELECT COUNT("ilo_code") FROM "effect_on_other_conventions" WHERE "revising_convention_s"='this convention, Work in Fishing Convention';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "effect_on_other_conventions" ( "ilo_code" text, "field" text, "conclusion_date" text, "entry_into_force" text, "closure_for_signature" text, "parties_april_2011" real, "denunciations_september_2011" real, "revising_convention_s" text, "text_and_ratifications" text );. Question: "What was the revising convention of the field 'trimmers and stokers'?". [/INST] SELECT "revising_convention_s" FROM "effect_on_other_conventions" WHERE "field"='trimmers and stokers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "water_users_organizations_and_irrigation" ( "irrigation_district" text, "juntas_de_regantes_wub" text, "asociaciones_wua_num" real, "tareas_15_9_tareas_1_ha" real, "users_num" real );. Question: "What are the Juntas de Regantes (WUB) within the Azua Valley?". [/INST] SELECT "juntas_de_regantes_wub" FROM "water_users_organizations_and_irrigation" WHERE "irrigation_district"='Azua Valley';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "water_users_organizations_and_irrigation" ( "irrigation_district" text, "juntas_de_regantes_wub" text, "asociaciones_wua_num" real, "tareas_15_9_tareas_1_ha" real, "users_num" real );. Question: "Which irrigation district has 4733 users?". [/INST] SELECT "irrigation_district" FROM "water_users_organizations_and_irrigation" WHERE "users_num"=4733;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "water_users_organizations_and_irrigation" ( "irrigation_district" text, "juntas_de_regantes_wub" text, "asociaciones_wua_num" real, "tareas_15_9_tareas_1_ha" real, "users_num" real );. Question: "What's the number of users in the Nisibon-Yuma within the Del Este district?". [/INST] SELECT "users_num" FROM "water_users_organizations_and_irrigation" WHERE "irrigation_district"='Del Este' AND "juntas_de_regantes_wub"='Nisibon-Yuma';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "What percentage voted for Tom Horner according to the poll source with sampling error of 2.5%?". [/INST] SELECT "tom_horner_i" FROM "polling" WHERE "sampling_error"='2.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 "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "What's the percentage of undecided according to the poll source with sampling error of 2.7%?". [/INST] SELECT "undecided" FROM "polling" WHERE "sampling_error"='2.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 "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "When did Minnesota Poll administer their poll?". [/INST] SELECT "dates_administered" FROM "polling" WHERE "poll_source"='Minnesota Poll';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "How many polls show different percentages for Tom Emmer and 38% for Matt Entenza?". [/INST] SELECT COUNT("tom_emmer_r") FROM "polling" WHERE "matt_entenza_dfl"='38%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "What poll source administered their poll on June 14-16, 2010?". [/INST] SELECT "poll_source" FROM "polling" WHERE "dates_administered"='June 14-16, 2010';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "tom_emmer_r" text, "matt_entenza_dfl" text, "tom_horner_i" text, "undecided" text, "sampling_error" text );. Question: "What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?". [/INST] SELECT "tom_horner_i" FROM "polling" WHERE "matt_entenza_dfl"='31%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "year" real, "presidential_election_result" text, "redskins_score" text, "opponent_score" text, "redskins_win_or_lose" text, "incumbent_party_win_or_lose" text, "rule_upheld" text, "popular_vote_won" text );. Question: "what is redskins (score) against tennessee titans 27". [/INST] SELECT "redskins_score" FROM "results" WHERE "opponent_score"='Tennessee Titans 27';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "location" text, "head_coach" text, "team_captain" text, "venue" text, "capacity" real, "position_in_2008" text );. Question: "Who is the head coach of the team who's venue is Lokomotiv?". [/INST] SELECT "head_coach" FROM "teams" WHERE "venue"='Lokomotiv';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "location" text, "head_coach" text, "team_captain" text, "venue" text, "capacity" real, "position_in_2008" text );. Question: "What is the venue for the team Terek?". [/INST] SELECT "venue" FROM "teams" WHERE "team"='Terek';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "location" text, "head_coach" text, "team_captain" text, "venue" text, "capacity" real, "position_in_2008" text );. Question: "How many teams finished in 8th in 2008?". [/INST] SELECT COUNT("team") FROM "teams" WHERE "position_in_2008"='8th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "location" text, "head_coach" text, "team_captain" text, "venue" text, "capacity" real, "position_in_2008" text );. Question: "What is the location of the team Saturn?". [/INST] SELECT "location" FROM "teams" WHERE "team"='Saturn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "location" text, "head_coach" text, "team_captain" text, "venue" text, "capacity" real, "position_in_2008" text );. Question: "What is the location of the team who's captain is Miodrag Džudović?". [/INST] SELECT "location" FROM "teams" WHERE "team_captain"='Miodrag Džudović';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "withdrawal" ( "year" real, "fowler" real, "stanier_3_cylinder" real, "stanier_2_cylinder" real, "fairburn" real, "br_standard" real, "total" real );. Question: "when fairburn is bigger than 54.0, how many years?". [/INST] SELECT COUNT("year") FROM "withdrawal" WHERE "fairburn">54.0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "withdrawal" ( "year" real, "fowler" real, "stanier_3_cylinder" real, "stanier_2_cylinder" real, "fairburn" real, "br_standard" real, "total" real );. Question: "where stanier, 2 cylinder is 43, what is the stanier, 3 cylinder". [/INST] SELECT COUNT("stanier_3_cylinder") FROM "withdrawal" WHERE "stanier_2_cylinder"=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 "withdrawal" ( "year" real, "fowler" real, "stanier_3_cylinder" real, "stanier_2_cylinder" real, "fairburn" real, "br_standard" real, "total" real );. Question: "When the Fowler is 16, what is the number of cylinders?". [/INST] SELECT COUNT("stanier_3_cylinder") FROM "withdrawal" WHERE "fowler"=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 "withdrawal" ( "year" real, "fowler" real, "stanier_3_cylinder" real, "stanier_2_cylinder" real, "fairburn" real, "br_standard" real, "total" real );. Question: "What is tops for Folwer?". [/INST] SELECT MAX("fowler") FROM "withdrawal";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "On what grid was the time for part 1 1:31.063?". [/INST] SELECT "grid" FROM "qualifying" WHERE "part_1"='1:31.063';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "Which driver was number 2‡?". [/INST] SELECT "driver" FROM "qualifying" WHERE "no"='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 "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "Who was the driver in grid 01 1?". [/INST] SELECT "driver" FROM "qualifying" WHERE "grid"='01 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 "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "What was the time in part 3 when Heikki Kovalainen was the driver? ". [/INST] SELECT "part_3" FROM "qualifying" WHERE "driver"='Heikki Kovalainen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "Who was the driver when the time in part 3 was 1:31.386?". [/INST] SELECT "driver" FROM "qualifying" WHERE "part_1"='1:31.386';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qualifying" ( "pos" text, "no" text, "driver" text, "constructor" text, "part_1" text, "part_2" text, "part_3" text, "grid" text );. Question: "What was the time in part 3 when Nick Heidfeld was the driver?". [/INST] SELECT "part_3" FROM "qualifying" WHERE "driver"='Nick Heidfeld';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1" ( "no" real, "season" real, "ep" real, "title" text, "writer" text, "director" text, "original_airdate" text, "archive" text );. Question: "Name the title that aired on 5 august 1967". [/INST] SELECT COUNT("title") FROM "season_1" WHERE "original_airdate"='5 August 1967';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1" ( "no" real, "season" real, "ep" real, "title" text, "writer" text, "director" text, "original_airdate" text, "archive" text );. Question: "Name the total number of directors for number 6". [/INST] SELECT COUNT("director") FROM "season_1" WHERE "no"=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 "season_1" ( "no" real, "season" real, "ep" real, "title" text, "writer" text, "director" text, "original_airdate" text, "archive" text );. Question: "Name the original airdate for guy verney". [/INST] SELECT "original_airdate" FROM "season_1" WHERE "director"='Guy Verney';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_1" ( "no" real, "season" real, "ep" real, "title" text, "writer" text, "director" text, "original_airdate" text, "archive" text );. Question: "Name the number of writers for airdate of 15 july 1967". [/INST] SELECT COUNT("writer") FROM "season_1" WHERE "original_airdate"='15 July 1967';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "What's the abbreviation for the month whose transcription is Kumphaphan?". [/INST] SELECT "abbr" FROM "thai_calendar" WHERE "transcription"='kumphaphan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "What's the zodiac sign for the month with Thai name มกราคม?". [/INST] SELECT "zodiac_sign" FROM "thai_calendar" WHERE "thai_name"='มกราคม';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "What's the zodiac sing for the month whose transcription is Karakadakhom?". [/INST] SELECT "zodiac_sign" FROM "thai_calendar" WHERE "transcription"='karakadakhom';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "What's the transcription for the Thai name พฤษภาคม?". [/INST] SELECT "transcription" FROM "thai_calendar" WHERE "thai_name"='พฤษภาคม';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "What's the Sanskrit word for month with Thai name มกราคม?". [/INST] SELECT "sanskrit_word" FROM "thai_calendar" WHERE "thai_name"='มกราคม';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "thai_calendar" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );. Question: "How many different transcriptions are there for the Thai name พฤษภาคม?". [/INST] SELECT COUNT("transcription") FROM "thai_calendar" WHERE "thai_name"='พฤษภาคม';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text );. Question: "What is the innings when the average is 36.48?". [/INST] SELECT MAX("innings") FROM "most_career_runs" WHERE "average"='36.48';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text );. Question: "How many no outs are there for an average of 43.70?". [/INST] SELECT "not_out" FROM "most_career_runs" WHERE "average"='43.70';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text );. Question: "How many no outs for an average of 56.38?". [/INST] SELECT COUNT("not_out") FROM "most_career_runs" WHERE "average"='56.38';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_laps" real, "podiums" real, "points" text, "position" text );. Question: "How many poles had 78 points?". [/INST] SELECT COUNT("poles") FROM "career_summary" WHERE "points"='78';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_laps" real, "podiums" real, "points" text, "position" text );. Question: "How many poles had 72 points?". [/INST] SELECT COUNT("poles") FROM "career_summary" WHERE "points"='72';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_laps" real, "podiums" real, "points" text, "position" text );. Question: "How many poles were there in season 2000?". [/INST] SELECT "poles" FROM "career_summary" WHERE "season"=2000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_laps" real, "podiums" real, "points" text, "position" text );. Question: "What team scored 4 points?". [/INST] SELECT "team" FROM "career_summary" WHERE "points"='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_20462111_1" ( "date" text, "location" text, "discipline" text, "winner" text, "2nd_place" text, "3rd_place" text );. Question: "Who won the cup on 30.11.2008?". [/INST] SELECT "winner" FROM "table1_20462111_1" WHERE "date"='30.11.2008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_20462111_1" ( "date" text, "location" text, "discipline" text, "winner" text, "2nd_place" text, "3rd_place" text );. Question: "Who got the 3rd place in the cup on 01.02.2009?". [/INST] SELECT "3rd_place" FROM "table1_20462111_1" WHERE "date"='01.02.2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_20462111_1" ( "date" text, "location" text, "discipline" text, "winner" text, "2nd_place" text, "3rd_place" text );. Question: "Where was the cup on 07.02.2009 held?". [/INST] SELECT "location" FROM "table1_20462111_1" WHERE "date"='07.02.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 "barangays" ( "barangay" text, "location" text, "classification" text, "population_may_2000" real, "population_may_2010" real );. Question: "What was the population in May of 2000 when In may 2010 it was 2262?". [/INST] SELECT MIN("population_may_2000") FROM "barangays" WHERE "population_may_2010"=2262;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "barangays" ( "barangay" text, "location" text, "classification" text, "population_may_2000" real, "population_may_2010" real );. Question: "What was the Barangay when the population was 1267 in May of 2000?". [/INST] SELECT "barangay" FROM "barangays" WHERE "population_may_2000"=1267;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "barangays" ( "barangay" text, "location" text, "classification" text, "population_may_2000" real, "population_may_2010" real );. Question: "What was the population of the coastal location Isio in May of 2000?". [/INST] SELECT MIN("population_may_2000") FROM "barangays" WHERE "location"='coastal' AND "barangay"='Isio';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "us_nielsen_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" text, "rank_overall" text );. Question: "What was the share for rank 54?". [/INST] SELECT MAX("share") FROM "us_nielsen_ratings" WHERE "rank_overall"='54';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "us_nielsen_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" text, "rank_overall" text );. Question: "What are the ratings/share ratio when viewers are 5.50 Million?". [/INST] SELECT "rating_share_18_49" FROM "us_nielsen_ratings" WHERE "viewers_millions"='5.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 "us_nielsen_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" text, "rank_overall" text );. Question: "What are the rank timeslots where ratings are 4.1?". [/INST] SELECT "rank_timeslot" FROM "us_nielsen_ratings" WHERE "rating"='4.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 "us_nielsen_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" text, "rank_overall" text );. Question: "What is overall rank when viewers are at 6.59 million?". [/INST] SELECT "rank_overall" FROM "us_nielsen_ratings" WHERE "viewers_millions"='6.59';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "us_nielsen_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" text, "rank_overall" text );. Question: "What was the episode name when share was 8?". [/INST] SELECT "episode" FROM "us_nielsen_ratings" WHERE "share"=8;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "episodes" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "Who were the writers of episode 20?". [/INST] SELECT "written_by" FROM "episodes" WHERE "no_in_season"=20;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "mc_cainnum" real, "mc_cainpct" text, "obamanum" real, "obamapct" text, "barrnum" real, "barrpct" text, "nadernum" real, "naderpct" text, "mc_kinneynum" real, "mc_kinneypct" text, "othersnum" real, "otherspct" text, "total_ballots" real, "total_eligible_registration" real, "voter_turnout" text );. Question: "What county has others at 5?". [/INST] SELECT "county" FROM "by_county" WHERE "othersnum"=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 "by_county" ( "county" text, "mc_cainnum" real, "mc_cainpct" text, "obamanum" real, "obamapct" text, "barrnum" real, "barrpct" text, "nadernum" real, "naderpct" text, "mc_kinneynum" real, "mc_kinneypct" text, "othersnum" real, "otherspct" text, "total_ballots" real, "total_eligible_registration" real, "voter_turnout" text );. Question: "What is the percentage of others when McCain is at 57.7%". [/INST] SELECT "otherspct" FROM "by_county" WHERE "mc_cainpct"='57.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 "by_county" ( "county" text, "mc_cainnum" real, "mc_cainpct" text, "obamanum" real, "obamapct" text, "barrnum" real, "barrpct" text, "nadernum" real, "naderpct" text, "mc_kinneynum" real, "mc_kinneypct" text, "othersnum" real, "otherspct" text, "total_ballots" real, "total_eligible_registration" real, "voter_turnout" text );. Question: "What is Nader's percentage when Obama is 44.6%?". [/INST] SELECT "naderpct" FROM "by_county" WHERE "obamapct"='44.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_2064747_1" ( "school" text, "location_s" text, "control" text, "type_school_types_are_based_on_the_carnegie_classification_of_institutions_of_higher_education" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "What schools are accredited by COE?". [/INST] SELECT "location_s" FROM "table1_2064747_1" WHERE "accreditation"='COE';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2064747_1" ( "school" text, "location_s" text, "control" text, "type_school_types_are_based_on_the_carnegie_classification_of_institutions_of_higher_education" text, "enrollment_fall_2010" real, "founded" real, "accreditation" text );. Question: "Where was there a school founded in 1927?". [/INST] SELECT "location_s" FROM "table1_2064747_1" WHERE "founded"=1927;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cobbled_hills" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_in_m" real, "average_climb_pct" real );. Question: "What is the minimum length of the locations where the average climb percentage is exactly 59%?". [/INST] SELECT MIN("length_in_m") FROM "cobbled_hills" WHERE "average_climb_pct"=59;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cobbled_hills" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_in_m" real, "average_climb_pct" real );. Question: "What is the maximum number of km listed?". [/INST] SELECT MAX("kilometer") FROM "cobbled_hills";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kinetics" ( "butadiene" text, "10_4_k_min_1_30_c_1_2pct_absolute" text, "10_4_k_min_1_30_c_1_2pct_relative" text, "h_kcal_mol_1" text, "s_cal_mol_1_k_1" text );. Question: "Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane". [/INST] SELECT COUNT("s_cal_mol_1_k_1") FROM "kinetics" WHERE "butadiene"='1,2-dimethylene-cyclohexane';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kinetics" ( "butadiene" text, "10_4_k_min_1_30_c_1_2pct_absolute" text, "10_4_k_min_1_30_c_1_2pct_relative" text, "h_kcal_mol_1" text, "s_cal_mol_1_k_1" text );. Question: "Name the 10 4 k /min −1 (30 °c) (± 1-2%) relative for 17.3". [/INST] SELECT "10_4_k_min_1_30_c_1_2pct_relative" FROM "kinetics" WHERE "10_4_k_min_1_30_c_1_2pct_absolute"='17.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 "kinetics" ( "butadiene" text, "10_4_k_min_1_30_c_1_2pct_absolute" text, "10_4_k_min_1_30_c_1_2pct_relative" text, "h_kcal_mol_1" text, "s_cal_mol_1_k_1" text );. Question: "Name the 10 4 k /min −1 (30 °c) (± 1-2%) absolute for 1.00". [/INST] SELECT "10_4_k_min_1_30_c_1_2pct_absolute" FROM "kinetics" WHERE "10_4_k_min_1_30_c_1_2pct_relative"='1.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 "kinetics" ( "butadiene" text, "10_4_k_min_1_30_c_1_2pct_absolute" text, "10_4_k_min_1_30_c_1_2pct_relative" text, "h_kcal_mol_1" text, "s_cal_mol_1_k_1" text );. Question: "Name the total number of butadiene for 1.93". [/INST] SELECT COUNT("butadiene") FROM "kinetics" WHERE "10_4_k_min_1_30_c_1_2pct_relative"='1.93';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When 17,874 (33.2) is the percentage against what is the percentage for?". [/INST] SELECT "for_pct" FROM "result_by_constituency" WHERE "against_pct"='17,874 (33.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 "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When 27,822 (72.3) is the percentage for how many electorate measurements are there?". [/INST] SELECT COUNT("electorate") FROM "result_by_constituency" WHERE "for_pct"='27,822 (72.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 "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When 13,895 (27.3) is the percentage against what is the toll poll percentage?". [/INST] SELECT "total_poll_pct" FROM "result_by_constituency" WHERE "against_pct"='13,895 (27.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 "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When +18.1 is the ± yes side 2008 percentage what is the percentage of against?". [/INST] SELECT "against_pct" FROM "result_by_constituency" WHERE "yes_side_2008_pct"='+18.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 "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When 60,254 (58.0) is the toll poll percentage what is the for percentage?". [/INST] SELECT "for_pct" FROM "result_by_constituency" WHERE "total_poll_pct"='60,254 (58.0)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "result_by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text, "yes_side_2008_pct" text );. Question: "When +20.3 is the ± yes side 2008 (%) what is the for percentage?". [/INST] SELECT "for_pct" FROM "result_by_constituency" WHERE "yes_side_2008_pct"='+20.3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_20704243_6" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What was the original air date for season 11?". [/INST] SELECT "original_air_date" FROM "table1_20704243_6" WHERE "season_num"=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_20704243_6" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What episode did John Rogers direct?". [/INST] SELECT "title" FROM "table1_20704243_6" WHERE "directed_by"='John 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_20704243_6" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "Who directed the episode that aired on july15,2012?". [/INST] SELECT "directed_by" FROM "table1_20704243_6" WHERE "original_air_date"='July15,2012';</s>