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_1888051_1" ( "province" text, "capital" text, "area_km" text, "population" real, "density" real, "map_region" real );. Question: "Nagua has the area (km²) of?". [/INST] SELECT "area_km" FROM "table1_1888051_1" WHERE "capital"='Nagua';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1889233_2" ( "parliament" text, "name" text, "period_in_office" text, "birth_and_death_years" text, "general_election_contested" real, "constituency_contested" text, "political_party" text );. Question: "During what period were parliament 11th?". [/INST] SELECT "period_in_office" FROM "table1_1889233_2" WHERE "parliament"='11th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1889233_2" ( "parliament" text, "name" text, "period_in_office" text, "birth_and_death_years" text, "general_election_contested" real, "constituency_contested" text, "political_party" text );. Question: "what parliament's name is lina loh woon lee?". [/INST] SELECT "parliament" FROM "table1_1889233_2" WHERE "name"='Lina Loh Woon Lee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1889233_2" ( "parliament" text, "name" text, "period_in_office" text, "birth_and_death_years" text, "general_election_contested" real, "constituency_contested" text, "political_party" text );. Question: "What number parliament held it's election in 1997?". [/INST] SELECT "parliament" FROM "table1_1889233_2" WHERE "general_election_contested"=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 "table1_1889233_2" ( "parliament" text, "name" text, "period_in_office" text, "birth_and_death_years" text, "general_election_contested" real, "constituency_contested" text, "political_party" text );. Question: "What period were conscituency contested is aljunied grc?". [/INST] SELECT "period_in_office" FROM "table1_1889233_2" WHERE "constituency_contested"='Aljunied GRC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1889233_2" ( "parliament" text, "name" text, "period_in_office" text, "birth_and_death_years" text, "general_election_contested" real, "constituency_contested" text, "political_party" text );. Question: "Which parliament is sylvia lim swee lian?". [/INST] SELECT "parliament" FROM "table1_1889233_2" WHERE "name"='Sylvia Lim Swee Lian';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1893276_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "When jim is eliminated what is the finish?". [/INST] SELECT "finish" FROM "table1_1893276_2" WHERE "eliminated"='Jim';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1893276_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "How many rewards are there for air date October 6, 2005?". [/INST] SELECT "reward" FROM "table1_1893276_2" WHERE "air_date"='October 6, 2005';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1893276_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "What was eliminated on the air date of November 3, 2005?". [/INST] SELECT "eliminated" FROM "table1_1893276_2" WHERE "air_date"='November 3, 2005';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1893276_2" ( "episode_title" text, "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );. Question: "How many air dates were there when Morgan was eliminated?". [/INST] SELECT COUNT("air_date") FROM "table1_1893276_2" WHERE "eliminated"='Morgan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18933037_3" ( "date" text, "b_52_model" text, "serial_num" text, "unit" text, "bomb_capacity" text, "mission_target" text, "cause_of_loss" text );. Question: "When same target; linebacker ii offensive is the same target what is the unit?". [/INST] SELECT "unit" FROM "table1_18933037_3" WHERE "mission_target"='Same target; Linebacker II Offensive';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18933037_3" ( "date" text, "b_52_model" text, "serial_num" text, "unit" text, "bomb_capacity" text, "mission_target" text, "cause_of_loss" text );. Question: "When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target?". [/INST] SELECT "mission_target" FROM "table1_18933037_3" WHERE "cause_of_loss"='Hit by SAM at 38,500 feet just after bomb release';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_18933037_3" ( "date" text, "b_52_model" text, "serial_num" text, "unit" text, "bomb_capacity" text, "mission_target" text, "cause_of_loss" text );. Question: "When 7th bw attached to 43rd sw is the unit what is the b-52 model?". [/INST] SELECT "b_52_model" FROM "table1_18933037_3" WHERE "unit"='7th BW attached to 43rd SW';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18933037_3" ( "date" text, "b_52_model" text, "serial_num" text, "unit" text, "bomb_capacity" text, "mission_target" text, "cause_of_loss" text );. Question: "When 441st bs, 7th bw is the unit what is the b-52 model?". [/INST] SELECT "b_52_model" FROM "table1_18933037_3" WHERE "unit"='441st BS, 7th BW';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_18933037_3" ( "date" text, "b_52_model" text, "serial_num" text, "unit" text, "bomb_capacity" text, "mission_target" text, "cause_of_loss" text );. Question: "When 27 gp h-e bombs the capacity of the bomb what is the cause of loss?". [/INST] SELECT "cause_of_loss" FROM "table1_18933037_3" WHERE "bomb_capacity"='27 GP H-E bombs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_this_round" text );. Question: "Name the least clubs involved for leagues being none for semi finals". [/INST] SELECT MIN("clubs_involved") FROM "teams" WHERE "leagues_entering_this_round"='none' AND "round"='Semi finals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_this_round" text );. Question: "Name the new entries this round for third round". [/INST] SELECT "new_entries_this_round" FROM "teams" WHERE "round"='Third round';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_this_round" text );. Question: "Name the leagues entering this round for 4". [/INST] SELECT "leagues_entering_this_round" FROM "teams" WHERE "clubs_involved"=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 "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_this_round" text );. Question: "Name the least clubs remaining". [/INST] SELECT MIN("clubs_remaining") FROM "teams";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When conjunction junction is the episode title and the music is by bob dorough who is the performer?". [/INST] SELECT "performed_by" FROM "grammar_rock" WHERE "music_by"='Bob Dorough' AND "episode_title"='Conjunction Junction';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When interjection is the subject how many performers are there?". [/INST] SELECT COUNT("performed_by") FROM "grammar_rock" WHERE "subject"='interjection';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When pronoun is the subject what is the episode title?". [/INST] SELECT "episode_title" FROM "grammar_rock" WHERE "subject"='pronoun';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When interjection is the subject who are the lyrics by?". [/INST] SELECT "lyrics_by" FROM "grammar_rock" WHERE "subject"='interjection';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When zachary sanders is the performer how many first aired are there?". [/INST] SELECT COUNT("first_aired") FROM "grammar_rock" WHERE "performed_by"='Zachary Sanders';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grammar_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );. Question: "When zachary sanders is the performer how many people is the music by?". [/INST] SELECT COUNT("music_by") FROM "grammar_rock" WHERE "performed_by"='Zachary Sanders';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "external_links" ( "world_rank" real, "company" text, "industry" text, "revenue_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Name the world rank for market value 17.2". [/INST] SELECT "world_rank" FROM "external_links" WHERE "market_value_billion"='17.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 "external_links" ( "world_rank" real, "company" text, "industry" text, "revenue_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Name the market value for rhb capital". [/INST] SELECT "market_value_billion" FROM "external_links" WHERE "company"='RHB Capital';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "external_links" ( "world_rank" real, "company" text, "industry" text, "revenue_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Name the profits for market value of 11.8". [/INST] SELECT "profits_billion" FROM "external_links" WHERE "market_value_billion"='11.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 "external_links" ( "world_rank" real, "company" text, "industry" text, "revenue_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Name the industry for revenue being 2.1". [/INST] SELECT "industry" FROM "external_links" WHERE "revenue_billion"='2.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 "external_links" ( "world_rank" real, "company" text, "industry" text, "revenue_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Name the total number of industry for maxis". [/INST] SELECT COUNT("industry") FROM "external_links" WHERE "company"='Maxis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "how many games with high rebounds where in february 26". [/INST] SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='February 26';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "125_seats_needed_for_a_majority" ( "date_released" text, "institute" text, "socialist" text, "social_democratic" text, "united_people_alliance" text, "democratic_and_social_centre" text, "democratic_renewal" text, "lead" text );. Question: "which institutes gave the democratic renewal 18.0% – 22.0% on a poll from October 6, 1985?". [/INST] SELECT "institute" FROM "125_seats_needed_for_a_majority" WHERE "democratic_renewal"='18.0% – 22.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 "federal_election_results_1962_present" ( "election" real, "leader" text, "num_of_candidates" real, "num_of_seats_to_be_won" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "Name the number of seats to be won being % of popular vote at 6.88%". [/INST] SELECT "num_of_seats_to_be_won" FROM "federal_election_results_1962_present" WHERE "pct_of_popular_vote"='6.88%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "federal_election_results_1962_present" ( "election" real, "leader" text, "num_of_candidates" real, "num_of_seats_to_be_won" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "Name the number of total votes for # of seats won being 30". [/INST] SELECT "num_of_total_votes" FROM "federal_election_results_1962_present" WHERE "num_of_seats_won"=30;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "federal_election_results_1962_present" ( "election" real, "leader" text, "num_of_candidates" real, "num_of_seats_to_be_won" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "Name the number of candidates for # of seats won being 43". [/INST] SELECT "num_of_candidates" FROM "federal_election_results_1962_present" WHERE "num_of_seats_won"=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 "federal_election_results_1962_present" ( "election" real, "leader" text, "num_of_candidates" real, "num_of_seats_to_be_won" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );. Question: "Name the number of leaders for % of popular vote being 11.05%". [/INST] SELECT COUNT("leader") FROM "federal_election_results_1962_present" WHERE "pct_of_popular_vote"='11.05%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "politics" ( "district" text, "location" text, "representative" text, "cook_pvi" text, "2012_election_results" text, "median_household_income_2011" text );. Question: "What is the location that has the 12th district?". [/INST] SELECT "location" FROM "politics" WHERE "district"='12th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "politics" ( "district" text, "location" text, "representative" text, "cook_pvi" text, "2012_election_results" text, "median_household_income_2011" text );. Question: "How many election results in 2012 had a Cook PVI of D+16?". [/INST] SELECT COUNT("2012_election_results") FROM "politics" WHERE "cook_pvi"='D+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 "politics" ( "district" text, "location" text, "representative" text, "cook_pvi" text, "2012_election_results" text, "median_household_income_2011" text );. Question: "What is the Cook PVI for the location that has a representative of Mike Thompson?". [/INST] SELECT "cook_pvi" FROM "politics" WHERE "representative"='Mike Thompson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "politics" ( "district" text, "location" text, "representative" text, "cook_pvi" text, "2012_election_results" text, "median_household_income_2011" text );. Question: "How many locations have a median household income in 2011 of $71,479?". [/INST] SELECT COUNT("location") FROM "politics" WHERE "median_household_income_2011"='$71,479';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "politics" ( "district" text, "location" text, "representative" text, "cook_pvi" text, "2012_election_results" text, "median_household_income_2011" text );. Question: "What is the 2012 election results for locations whose representative is Barbara Lee?". [/INST] SELECT "2012_election_results" FROM "politics" WHERE "representative"='Barbara Lee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19422702_1" ( "no_in_season" real, "no_in_series" real, "title" text, "canadian_airdate" text, "us_airdate" text, "production_code" real );. Question: "What is the latest season number for a show with a production code of 816?". [/INST] SELECT MAX("no_in_season") FROM "table1_19422702_1" WHERE "production_code"=816;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19422702_1" ( "no_in_season" real, "no_in_series" real, "title" text, "canadian_airdate" text, "us_airdate" text, "production_code" real );. Question: "How many U.S. air dates were from an episode in Season 4?". [/INST] SELECT COUNT("us_airdate") FROM "table1_19422702_1" WHERE "no_in_season"=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 "united_states" ( "c_low" text, "c_high" text, "i_low" real, "i_high" real, "category" text );. Question: "How many different C_{high} values are there for the good category?". [/INST] SELECT COUNT("c_high") FROM "united_states" WHERE "category"='Good';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states" ( "c_low" text, "c_high" text, "i_low" real, "i_high" real, "category" text );. Question: "What's the C_{high} when the C_{low} value is 250.5?". [/INST] SELECT "c_high" FROM "united_states" WHERE "c_low"='250.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 "united_states" ( "c_low" text, "c_high" text, "i_low" real, "i_high" real, "category" text );. Question: "What's the i_{high} value when C_{low} is 250.5?". [/INST] SELECT MIN("i_high") FROM "united_states" WHERE "c_low"='250.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 "united_states" ( "c_low" text, "c_high" text, "i_low" real, "i_high" real, "category" text );. Question: "What's the C_{low} value when C_{high} is 12.0?". [/INST] SELECT "c_low" FROM "united_states" WHERE "c_high"='12.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 "united_states" ( "c_low" text, "c_high" text, "i_low" real, "i_high" real, "category" text );. Question: "In how many different categories is the value of C_{low} 35.5?". [/INST] SELECT COUNT("category") FROM "united_states" WHERE "c_low"='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 "best_selling_girl_groups" ( "girl_group" text, "country" text, "sold_albums_and_singles" text, "genre" text, "studio_albums" real, "members" text, "years_active" text );. Question: "How many members were in the group that sold 65 million albums and singles?". [/INST] SELECT "members" FROM "best_selling_girl_groups" WHERE "sold_albums_and_singles"='65 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 "best_selling_girl_groups" ( "girl_group" text, "country" text, "sold_albums_and_singles" text, "genre" text, "studio_albums" real, "members" text, "years_active" text );. Question: "What group had 29 studio albums?". [/INST] SELECT "girl_group" FROM "best_selling_girl_groups" WHERE "studio_albums"=29;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "When bergen is 88, what is the alesund?". [/INST] SELECT MIN("lesund") FROM "jury_votes" WHERE "bergen"=88;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "How many elverum are tehre for et sted i scandinavia?". [/INST] SELECT COUNT("elverum") FROM "jury_votes" WHERE "song"='Et sted i Scandinavia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "What was the total for radio luxembourg?". [/INST] SELECT "total" FROM "jury_votes" WHERE "song"='Radio Luxembourg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "When oslo is 48, what is stavanger?". [/INST] SELECT MIN("stavanger") FROM "jury_votes" WHERE "oslo"=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 "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "What is the lowest total?". [/INST] SELECT MIN("total") FROM "jury_votes";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jury_votes" ( "song" text, "porsgrunn" real, "bergen" real, "bod" real, "stavanger" real, "lesund" real, "elverum" real, "troms" real, "fredrikstad" real, "trondheim" real, "oslo" real, "total" real );. Question: "When the total score is 740, what is tromso?". [/INST] SELECT MIN("troms") FROM "jury_votes" WHERE "total"=740;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "Who played in group 8 when Persinab Nabire played in Group 12?". [/INST] SELECT "group_8" FROM "table1_19523142_5" WHERE "group_12"='Persinab Nabire';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "Who played in group 11 when Persipal Palu played in group 12?". [/INST] SELECT "group_11" FROM "table1_19523142_5" WHERE "group_12"='Persipal Palu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "Who played in group 12 when persikutim east kutai played in group 10?". [/INST] SELECT "group_12" FROM "table1_19523142_5" WHERE "group_10"='Persikutim East Kutai';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "When persikos sorong city played in group 11, who played in group 7?". [/INST] SELECT "group_7" FROM "table1_19523142_5" WHERE "group_11"='Persikos Sorong City';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "Nusa Ina only played once while group 7 played.". [/INST] SELECT COUNT("group_7") FROM "table1_19523142_5" WHERE "group_12"='Nusa Ina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19523142_5" ( "group_7" text, "group_8" text, "group_9" text, "group_10" text, "group_11" text, "group_12" text );. Question: "Who played in group 12 when Group 9 played psid jombang?". [/INST] SELECT "group_12" FROM "table1_19523142_5" WHERE "group_9"='PSID Jombang';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_most_no_1_album_s_in_the_history" ( "number_one_s" real, "artist_s" text, "song_s_weeks" text, "issue_years" real, "whole_weeks" real );. Question: "What is the longest number of weeks any 1 song was at number #1?". [/INST] SELECT MAX("whole_weeks") FROM "the_most_no_1_album_s_in_the_history";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_most_no_1_album_s_in_the_history" ( "number_one_s" real, "artist_s" text, "song_s_weeks" text, "issue_years" real, "whole_weeks" real );. Question: "What is the title of every song, and how many weeks was each song at #1 for One Direction?". [/INST] SELECT "song_s_weeks" FROM "the_most_no_1_album_s_in_the_history" WHERE "artist_s"='One Direction';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_most_no_1_album_s_in_the_history" ( "number_one_s" real, "artist_s" text, "song_s_weeks" text, "issue_years" real, "whole_weeks" real );. Question: "What is the title of every song, and how many weeks was each song at #1 for Rihanna in 2012?". [/INST] SELECT "song_s_weeks" FROM "the_most_no_1_album_s_in_the_history" WHERE "issue_years"=2012 AND "artist_s"='Rihanna';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eleven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What NHL team was the player from Calgary Centennials (WCHL) drafted for?". [/INST] SELECT "nhl_team" FROM "round_eleven" WHERE "college_junior_club_team"='Calgary Centennials (WCHL)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eleven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Who came from the University of Michigan (NCAA) team?". [/INST] SELECT "player" FROM "round_eleven" WHERE "college_junior_club_team"='University of Michigan (NCAA)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eleven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many players have the pick number 166?". [/INST] SELECT COUNT("player") FROM "round_eleven" WHERE "pick_num"=166;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eleven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What is the nationality of the player from the University of Michigan (NCAA)?". [/INST] SELECT "nationality" FROM "round_eleven" WHERE "college_junior_club_team"='University of Michigan (NCAA)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eleven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What team did Russ Wiechnik, on the centre position, come from?". [/INST] SELECT "college_junior_club_team" FROM "round_eleven" WHERE "position"='Centre' AND "player"='Russ Wiechnik';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "number_of_dances" real, "total_points" text, "average" text );. Question: "What place would you be in if your rank by average is less than 2.0?". [/INST] SELECT "place" FROM "average_score_chart" WHERE "rank_by_average"<2.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 "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "number_of_dances" real, "total_points" text, "average" text );. Question: "What is the couples name where the average is 15.9?". [/INST] SELECT "couple" FROM "average_score_chart" WHERE "average"='15.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 "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "number_of_dances" real, "total_points" text, "average" text );. Question: "If the total points is 50.5, what is the total number of dances?". [/INST] SELECT COUNT("number_of_dances") FROM "average_score_chart" WHERE "total_points"='50.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 "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "number_of_dances" real, "total_points" text, "average" text );. Question: "If your rank by average is 9, what is the name of the couple?". [/INST] SELECT "couple" FROM "average_score_chart" WHERE "rank_by_average"=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 "table1_19753079_35" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the number of party for richard l. hanna (r) 53.1% mike arcuri (d) 46.9%". [/INST] SELECT COUNT("party") FROM "table1_19753079_35" WHERE "candidates"='Richard L. Hanna (R) 53.1% Mike Arcuri (D) 46.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 "table1_19753079_35" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the party for new york 4". [/INST] SELECT "party" FROM "table1_19753079_35" WHERE "district"='New York 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_19753079_35" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the first elected for re-elected and brian higgins". [/INST] SELECT "first_elected" FROM "table1_19753079_35" WHERE "result"='Re-elected' AND "incumbent"='Brian Higgins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19753079_35" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%". [/INST] SELECT "party" FROM "table1_19753079_35" WHERE "candidates"='Yvette Clarke (D) 90.6% Hugh Carr (R) 9.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_19753079_35" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the result for new york 8". [/INST] SELECT "result" FROM "table1_19753079_35" WHERE "district"='New York 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 "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the incumbent for lost renomination republican hold". [/INST] SELECT "incumbent" FROM "alabama" WHERE "result"='Lost renomination Republican hold';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the result for first elected being 1992". [/INST] SELECT "result" FROM "alabama" WHERE "first_elected"=1992;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the incumbent for alabama 6". [/INST] SELECT "incumbent" FROM "alabama" WHERE "district"='Alabama 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 "semi_final_3_28_february_2009" ( "draw" real, "artist" text, "song" text, "jury_votes" real, "televotes" real, "total_votes" real, "result" text );. Question: "Name the number of song for julia bermejo". [/INST] SELECT COUNT("song") FROM "semi_final_3_28_february_2009" WHERE "artist"='Julia Bermejo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semi_final_3_28_february_2009" ( "draw" real, "artist" text, "song" text, "jury_votes" real, "televotes" real, "total_votes" real, "result" text );. Question: "Name the number of song for solydo". [/INST] SELECT COUNT("song") FROM "semi_final_3_28_february_2009" WHERE "artist"='Solydo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city" text, "country" text, "court_surface" text, "defending_champion" text );. Question: "What tournament is in katowice?". [/INST] SELECT "tournament" FROM "events" WHERE "city"='Katowice';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city" text, "country" text, "court_surface" text, "defending_champion" text );. Question: "How many tournaments are also currently known as the hp open?". [/INST] SELECT COUNT("country") FROM "events" WHERE "also_currently_known_as"='HP 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 "events" ( "tournament" text, "also_currently_known_as" text, "city" text, "country" text, "court_surface" text, "defending_champion" text );. Question: "How many defending champs from thailand?". [/INST] SELECT COUNT("defending_champion") FROM "events" WHERE "country"='Thailand';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text );. Question: "Name the opponent for june 12". [/INST] SELECT "opponent" FROM "regular_season" WHERE "date"='June 12';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text );. Question: "Name the total number of date for l 63-77". [/INST] SELECT COUNT("date") FROM "regular_season" WHERE "score"='L 63-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 "weekly_ratings" ( "num" real, "episode" text, "uk_air_date" text, "timeslot" text, "viewers_millions" text, "audience_share_in_timeslot" text );. Question: "Name the most number for viewers being 6.95". [/INST] SELECT MAX("num") FROM "weekly_ratings" WHERE "viewers_millions"='6.95';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "weekly_ratings" ( "num" real, "episode" text, "uk_air_date" text, "timeslot" text, "viewers_millions" text, "audience_share_in_timeslot" text );. Question: "Name the total number of viewers for audience share in timeslot for 10.2%". [/INST] SELECT COUNT("viewers_millions") FROM "weekly_ratings" WHERE "audience_share_in_timeslot"='10.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 "weekly_ratings" ( "num" real, "episode" text, "uk_air_date" text, "timeslot" text, "viewers_millions" text, "audience_share_in_timeslot" text );. Question: "Name the timeslot for 6.51 viewers". [/INST] SELECT "timeslot" FROM "weekly_ratings" WHERE "viewers_millions"='6.51';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "weekly_ratings" ( "num" real, "episode" text, "uk_air_date" text, "timeslot" text, "viewers_millions" text, "audience_share_in_timeslot" text );. Question: "Name the uk air date for audience share in timeslot in 7.3%". [/INST] SELECT "uk_air_date" FROM "weekly_ratings" WHERE "audience_share_in_timeslot"='7.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 "weekly_ratings" ( "num" real, "episode" text, "uk_air_date" text, "timeslot" text, "viewers_millions" text, "audience_share_in_timeslot" text );. Question: "name the total number of timeslot for number 1". [/INST] SELECT COUNT("timeslot") FROM "weekly_ratings" WHERE "num"=1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text );. Question: "Where's the school that Mark Fletcher is the principal of?". [/INST] SELECT "city_town" FROM "list_of_high_schools_in_indiana" WHERE "principal"='Mark Fletcher';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text );. Question: "How many websites are there for the school with 1939 students?". [/INST] SELECT COUNT("website") FROM "list_of_high_schools_in_indiana" WHERE "size"=1939;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text );. Question: "Who's the principal of Edgewood High School?/". [/INST] SELECT "principal" FROM "list_of_high_schools_in_indiana" WHERE "school"='Edgewood High School';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text );. Question: "Where is Bloomington High School North?". [/INST] SELECT "city_town" FROM "list_of_high_schools_in_indiana" WHERE "school"='Bloomington High School 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 "race_results" ( "rnd" real, "race_name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "Who was on the pole position in the Texaco/Havoline 200 race?". [/INST] SELECT "pole_position" FROM "race_results" WHERE "race_name"='Texaco/Havoline 200';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "rnd" real, "race_name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "Who did the fastest lap in the race won by Paul Tracy, with Emerson Fittipaldi at the pole position?". [/INST] SELECT "fastest_lap" FROM "race_results" WHERE "pole_position"='Emerson Fittipaldi' AND "winning_driver"='Paul Tracy';</s>