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 "race_record" ( "race" text, "dist_f" real, "course" text, "class" text, "prize_k" real, "odds" text, "runners" real, "placing" real, "margin" text, "time" text, "jockey" text, "trainer" text );. Question: "Name the runners for longchamp". [/INST] SELECT "runners" FROM "race_record" WHERE "course"='longchamp';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "What is the year with 116 laps?". [/INST] SELECT "year" FROM "indy_500_results" WHERE "laps"=116;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "What year has a finish of 19?". [/INST] SELECT "year" FROM "indy_500_results" WHERE "finish"='19';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 gold?". [/INST] SELECT SUM("silver") FROM "medal_table" WHERE "bronze">3 AND "gold"=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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "Which opponent has a loss of wells (1-3)?". [/INST] SELECT "opponent" FROM "game_log" WHERE "loss"='wells (1-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "Which opponent has an attendance greater than 29,904 and 11-8 as the record?". [/INST] SELECT "opponent" FROM "game_log" WHERE "attendance">'29,904' AND "record"='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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "Which loss has an attendance greater than 49,688 and 11-8 as the record?". [/INST] SELECT "loss" FROM "game_log" WHERE "attendance">'49,688' AND "record"='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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)?". [/INST] SELECT MAX("attendance") FROM "game_log" WHERE "opponent"='tigers' AND "loss"='leiter (0-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" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text );. Question: "Which party has Peter A. Quinn as a representative?". [/INST] SELECT "party" FROM "external_links" WHERE "representative"='peter a. quinn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text );. Question: "Which state does Jimmy Quillen represent?". [/INST] SELECT "state" FROM "external_links" WHERE "representative"='jimmy quillen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text );. Question: "What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?". [/INST] SELECT "lifespan" FROM "external_links" WHERE "party"='democratic' AND "state"='new york' AND "representative"='terence j. quinn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );. Question: "What is terrence ross' nationality". [/INST] SELECT "nationality" FROM "r" WHERE "player"='Terrence Ross';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );. Question: "What clu was in toronto 1995-96". [/INST] SELECT "school_club_team" FROM "r" WHERE "years_in_toronto"='1995-96';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );. Question: "which club was in toronto 2003-06". [/INST] SELECT "school_club_team" FROM "r" WHERE "years_in_toronto"='2003-06';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );. Question: "how many schools or teams had jalen rose". [/INST] SELECT COUNT("school_club_team") FROM "r" WHERE "player"='Jalen Rose';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "Where was Assen held?". [/INST] SELECT "round" FROM "season_calendar" WHERE "circuit"='Assen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "What was the number of race that Kevin Curtain won?". [/INST] SELECT COUNT("no") FROM "season_calendar" WHERE "pole_position"='Kevin Curtain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "What was the date of the race in Misano?". [/INST] SELECT "date" FROM "season_calendar" WHERE "circuit"='Misano';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many different positions did Sherbrooke Faucons (qmjhl) provide in the draft?". [/INST] SELECT COUNT("position") FROM "round_two" WHERE "college_junior_club_team"='Sherbrooke Faucons (QMJHL)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What are the nationalities of the player picked from Thunder Bay Flyers (ushl)". [/INST] SELECT "nationality" FROM "round_two" WHERE "college_junior_club_team"='Thunder Bay Flyers (USHL)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?". [/INST] SELECT COUNT("college_junior_club_team") FROM "round_two" WHERE "nhl_team"='Washington Capitals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many different nationalities do the players of New Jersey Devils come from?". [/INST] SELECT COUNT("nationality") FROM "round_three" WHERE "nhl_team"='New Jersey Devils';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What's Dorain Anneck's pick number?". [/INST] SELECT "pick" FROM "round_three" WHERE "player"='Dorain Anneck';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What is the nationality of the player from Vancouver Canucks?". [/INST] SELECT "nationality" FROM "round_three" WHERE "nhl_team"='Vancouver Canucks';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What's the pick number of the player from Springfield Olympics (Nejhl)?". [/INST] SELECT "pick" FROM "round_three" WHERE "college_junior_club_team"='Springfield Olympics (NEJHL)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "echo_ii_class_significant_dates" ( "num" text, "shipyard" text, "laid_down" text, "launched" text, "commissioned" text, "fleet" text, "status" text );. Question: "When were the ships launched that were laid down on september 1, 1964?". [/INST] SELECT "launched" FROM "echo_ii_class_significant_dates" WHERE "laid_down"='September 1, 1964';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "echo_ii_class_significant_dates" ( "num" text, "shipyard" text, "laid_down" text, "launched" text, "commissioned" text, "fleet" text, "status" text );. Question: "List the # for ships commissioned on december 18, 1965.". [/INST] SELECT "num" FROM "echo_ii_class_significant_dates" WHERE "commissioned"='December 18, 1965';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "echo_ii_class_significant_dates" ( "num" text, "shipyard" text, "laid_down" text, "launched" text, "commissioned" text, "fleet" text, "status" text );. Question: "List the # for ships commissioned on september 30, 1967.". [/INST] SELECT "num" FROM "echo_ii_class_significant_dates" WHERE "commissioned"='September 30, 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 "echo_ii_class_significant_dates" ( "num" text, "shipyard" text, "laid_down" text, "launched" text, "commissioned" text, "fleet" text, "status" text );. Question: "When were ships laid down that were commissioned on october 29, 1965?". [/INST] SELECT "laid_down" FROM "echo_ii_class_significant_dates" WHERE "commissioned"='October 29, 1965';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1015521_2" ( "equivalent_nato_rank_code" text, "rank_in_spanish" text, "rank_in_english" text, "commonwealth_equivalent" text, "us_air_force_equivalent" text );. Question: " What could a spanish coronel be addressed as in the commonwealth military?". [/INST] SELECT "commonwealth_equivalent" FROM "table1_1015521_2" WHERE "rank_in_spanish"='Coronel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1015521_2" ( "equivalent_nato_rank_code" text, "rank_in_spanish" text, "rank_in_english" text, "commonwealth_equivalent" text, "us_air_force_equivalent" text );. Question: "Give me a list of all spanish officer titles that could receive recognition as group captain in english". [/INST] SELECT "rank_in_english" FROM "table1_1015521_2" WHERE "commonwealth_equivalent"='Group Captain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1015521_2" ( "equivalent_nato_rank_code" text, "rank_in_spanish" text, "rank_in_english" text, "commonwealth_equivalent" text, "us_air_force_equivalent" text );. Question: "If you are a pilot officer in the commonwealth then what will you called as in the US air force?". [/INST] SELECT "us_air_force_equivalent" FROM "table1_1015521_2" WHERE "commonwealth_equivalent"='Pilot Officer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1015521_2" ( "equivalent_nato_rank_code" text, "rank_in_spanish" text, "rank_in_english" text, "commonwealth_equivalent" text, "us_air_force_equivalent" text );. Question: "If you're a major general in the US air force then what ranking will you receive in the commonwealth's air force?". [/INST] SELECT "commonwealth_equivalent" FROM "table1_1015521_2" WHERE "us_air_force_equivalent"='Major General';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1015521_2" ( "equivalent_nato_rank_code" text, "rank_in_spanish" text, "rank_in_english" text, "commonwealth_equivalent" text, "us_air_force_equivalent" text );. Question: "If you get a ranking as major in the english military then what would the spanish military address you as? ". [/INST] SELECT "rank_in_spanish" FROM "table1_1015521_2" WHERE "rank_in_english"='Major';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10182508_5" ( "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" real, "wrestler" text, "num_of_reigns" real, "combined_defenses" real, "combined_days" text );. Question: "Which wrestlers have had 2 reigns?". [/INST] SELECT "wrestler" FROM "table1_10182508_5" WHERE "num_of_reigns"=2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_10182508_5" ( "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" real, "wrestler" text, "num_of_reigns" real, "combined_defenses" real, "combined_days" text );. Question: "In terms of reigns, what is the lowest number listed?". [/INST] SELECT MIN("num_of_reigns") FROM "table1_10182508_5";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_10182508_5" ( "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" real, "wrestler" text, "num_of_reigns" real, "combined_defenses" real, "combined_days" text );. Question: "What rank was Bryan Danielson in this chart?". [/INST] SELECT "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" FROM "table1_10182508_5" WHERE "wrestler"='Bryan Danielson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10182508_5" ( "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" real, "wrestler" text, "num_of_reigns" real, "combined_defenses" real, "combined_days" text );. Question: "How many combined days did Go Shiozaki have?". [/INST] SELECT "combined_days" FROM "table1_10182508_5" WHERE "wrestler"='Go Shiozaki';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10182508_5" ( "rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank" real, "wrestler" text, "num_of_reigns" real, "combined_defenses" real, "combined_days" text );. Question: "What was Go Shiozaki's rank?". [/INST] SELECT MIN("rank_each_wrestlers_total_number_of_days_as_champion_are_ranked_highest_to_lowest_wrestlers_with_the_same_number_mean_that_they_are_tied_for_that_certain_rank") FROM "table1_10182508_5" WHERE "wrestler"='Go Shiozaki';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "m_ps_term" text, "election_date" text );. Question: "Which province is grey and bell electorate in". [/INST] SELECT "province" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='Grey and Bell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "m_ps_term" text, "election_date" text );. Question: "Which province is bay of islands in". [/INST] SELECT "province" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='Bay of Islands';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "players" ( "player" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text, "ties_played" real, "debut" real, "years_played" real );. Question: "what is the total number of total w–l where doubles w–l is 11–11". [/INST] SELECT COUNT("total_w_l") FROM "players" WHERE "doubles_w_l"='11–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 "players" ( "player" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text, "ties_played" real, "debut" real, "years_played" real );. Question: "what is the total number of singles w–l where doubles w–l is 11–14". [/INST] SELECT COUNT("singles_w_l") FROM "players" WHERE "doubles_w_l"='11–14';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "players" ( "player" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text, "ties_played" real, "debut" real, "years_played" real );. Question: " what's the total w–l where player is boro jovanović category:articles with hcards". [/INST] SELECT "total_w_l" FROM "players" WHERE "player"='Boro Jovanović Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "players" ( "player" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text, "ties_played" real, "debut" real, "years_played" real );. Question: "what is the maximum ties played where player is josip palada category:articles with hcards". [/INST] SELECT MAX("ties_played") FROM "players" WHERE "player"='Josip Palada Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "players" ( "player" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text, "ties_played" real, "debut" real, "years_played" real );. Question: "what is the total number of ties played where total w–l is 38–24". [/INST] SELECT COUNT("ties_played") FROM "players" WHERE "total_w_l"='38–24';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?". [/INST] SELECT COUNT("frequency") FROM "affiliates" WHERE "market_rank"='Burlington - Plattsburgh , Vermont - New York /143';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "What is the Branding for Group Owner Qantam of Cape Cod, LLC?". [/INST] SELECT "branding" FROM "affiliates" WHERE "group_owner"='Qantam of Cape Cod, LLC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "What Branding does WRKO calls use?". [/INST] SELECT "branding" FROM "affiliates" WHERE "calls"='WRKO';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "What is the Format for Branding of 1290 wkbk w281au 104.1?". [/INST] SELECT "format" FROM "affiliates" WHERE "branding"='1290 WKBK W281AU 104.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 "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "Which Market/Rank is associated with WCRN calls?". [/INST] SELECT "market_rank" FROM "affiliates" WHERE "calls"='WCRN';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "affiliates" ( "calls" text, "frequency" text, "branding" text, "format" text, "market_rank" text, "timeslot" text, "group_owner" text );. Question: "Which Frequency is used for WEGP calls?". [/INST] SELECT "frequency" FROM "affiliates" WHERE "calls"='WEGP';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "What is the regulated retail price for the tariff code ff0 prs?". [/INST] SELECT "b_ts_retail_price_regulated" FROM "table1_10408617_5" WHERE "tariff_code"='ff0 PRS';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "What is the premium associated with tariff code g9?". [/INST] SELECT "approx_premium" FROM "table1_10408617_5" WHERE "tariff_code"='g9';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "How many tariff codes have a bts retail price of 2p/min or inclusive?". [/INST] SELECT COUNT("tariff_code") FROM "table1_10408617_5" WHERE "b_ts_retail_price_regulated"='2p/min or inclusive';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "How many tariff codes have a bts retail price of 2.553p/min?". [/INST] SELECT COUNT("tariff_code") FROM "table1_10408617_5" WHERE "b_ts_retail_price_regulated"='2.553p/min';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "What prefixes are priced at pence per minute, fixed at all times with a premium of 3p/min?". [/INST] SELECT "prefixes" FROM "table1_10408617_5" WHERE "scheme"='Pence per minute, fixed at all times' AND "approx_premium"='3p/min';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10408617_5" ( "scheme" text, "tariff_code" text, "b_ts_retail_price_regulated" text, "approx_premium" text, "prefixes" text );. Question: "What is the bts retail price (regulated) for tariff code g10?". [/INST] SELECT "b_ts_retail_price_regulated" FROM "table1_10408617_5" WHERE "tariff_code"='g10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "history_and_exceptions" ( "nominative" text, "old_orthography" text, "new_orthography" text, "e_or_ipa" text, "tone_latvian_notation_level_broken" text, "translation" text );. Question: "What is the tone for gen.sing. plague?". [/INST] SELECT "tone_latvian_notation_level_broken" FROM "history_and_exceptions" WHERE "translation"='Gen.Sing. plague';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "prominent_stars_in_pismis_24" ( "star_pismis24_num" text, "spectral_type" text, "magnitude_m_bol" text, "temperature_k" real, "radius_r" real, "mass_m" real );. Question: "What is the smallest possible radius?". [/INST] SELECT MIN("radius_r") FROM "prominent_stars_in_pismis_24";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "prominent_stars_in_pismis_24" ( "star_pismis24_num" text, "spectral_type" text, "magnitude_m_bol" text, "temperature_k" real, "radius_r" real, "mass_m" real );. Question: "What are all the spectral types for star mismis24-# is 1sw?". [/INST] SELECT "spectral_type" FROM "prominent_stars_in_pismis_24" WHERE "star_pismis24_num"='1SW';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "prominent_stars_in_pismis_24" ( "star_pismis24_num" text, "spectral_type" text, "magnitude_m_bol" text, "temperature_k" real, "radius_r" real, "mass_m" real );. Question: "If a radius is 10, what is the lowest possible mass?". [/INST] SELECT MIN("mass_m") FROM "prominent_stars_in_pismis_24" WHERE "radius_r"=10;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "financial_and_operational_statistics" ( "year" real, "aircraft_kilometers" real, "departures" real, "flying_hours" real, "passengers" real, "seat_factor" text, "employees" real, "profit_loss" text );. Question: "What percentage of seats were filled in 2006?". [/INST] SELECT "seat_factor" FROM "financial_and_operational_statistics" 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 "financial_and_operational_statistics" ( "year" real, "aircraft_kilometers" real, "departures" real, "flying_hours" real, "passengers" real, "seat_factor" text, "employees" real, "profit_loss" text );. Question: "How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?". [/INST] SELECT "flying_hours" FROM "financial_and_operational_statistics" WHERE "aircraft_kilometers">64379058.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 "financial_and_operational_statistics" ( "year" real, "aircraft_kilometers" real, "departures" real, "flying_hours" real, "passengers" real, "seat_factor" text, "employees" real, "profit_loss" text );. Question: "Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?". [/INST] SELECT MAX("aircraft_kilometers") FROM "financial_and_operational_statistics" WHERE "departures"=17096;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_winners" ( "year" real, "game_or_event" text, "date_contested" text, "league_or_governing_body" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text );. Question: "Which winning team beat the New York Yankees?". [/INST] SELECT "winning_team" FROM "list_of_winners" WHERE "losing_team"='New York Yankees';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_winners" ( "year" real, "game_or_event" text, "date_contested" text, "league_or_governing_body" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text );. Question: "What was the final score for the game that was contested on February 1, 2009?". [/INST] SELECT "final_score" FROM "list_of_winners" WHERE "date_contested"='February 1, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_winners" ( "year" real, "game_or_event" text, "date_contested" text, "league_or_governing_body" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text );. Question: "What sport had a final score of 3-2?". [/INST] SELECT "sport" FROM "list_of_winners" WHERE "final_score"='3-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 "list_of_winners" ( "year" real, "game_or_event" text, "date_contested" text, "league_or_governing_body" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text );. Question: "Who was the winning team of the game that was contested on February 1, 2009?". [/INST] SELECT "winning_team" FROM "list_of_winners" WHERE "date_contested"='February 1, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_winners" ( "year" real, "game_or_event" text, "date_contested" text, "league_or_governing_body" text, "sport" text, "winning_team" text, "losing_team" text, "final_score" text );. Question: "Who was the losing team of the game that was contested on February 1, 2004?". [/INST] SELECT "losing_team" FROM "list_of_winners" WHERE "date_contested"='February 1, 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 "crops" ( "crop_kilotonnes" text, "new_south_wales" real, "victoria" real, "queensland" real, "western_australia" real, "south_australia" real, "tasmania" real, "total" real );. Question: "what's the minimum total with crop (kilotonnes) being s lupin". [/INST] SELECT MIN("total") FROM "crops" WHERE "crop_kilotonnes"='s Lupin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "crops" ( "crop_kilotonnes" text, "new_south_wales" real, "victoria" real, "queensland" real, "western_australia" real, "south_australia" real, "tasmania" real, "total" real );. Question: "what's the new south wales with crop (kilotonnes) being canola". [/INST] SELECT "new_south_wales" FROM "crops" WHERE "crop_kilotonnes"='Canola';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "crops" ( "crop_kilotonnes" text, "new_south_wales" real, "victoria" real, "queensland" real, "western_australia" real, "south_australia" real, "tasmania" real, "total" real );. Question: "what's the total number of south australia with victoria value of 2173". [/INST] SELECT COUNT("south_australia") FROM "crops" WHERE "victoria"=2173;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "crops" ( "crop_kilotonnes" text, "new_south_wales" real, "victoria" real, "queensland" real, "western_australia" real, "south_australia" real, "tasmania" real, "total" real );. Question: "what's the minimum tasmania value". [/INST] SELECT MIN("tasmania") FROM "crops";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "crops" ( "crop_kilotonnes" text, "new_south_wales" real, "victoria" real, "queensland" real, "western_australia" real, "south_australia" real, "tasmania" real, "total" real );. Question: "what's the total number of tasmania with new south wales crop of 190 kilotonnes". [/INST] SELECT COUNT("tasmania") FROM "crops" WHERE "new_south_wales"=190;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );. Question: "How many significant relationships list Will as a virtue?". [/INST] SELECT COUNT("significant_relationship") FROM "the_stages" WHERE "virtues"='Will';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );. Question: "Which examples ask the existential question "Can I Love?"". [/INST] SELECT "examples" FROM "the_stages" WHERE "existential_question_not_in_citation_given"='Can I Love?';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1059743_2" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "How many countries got 796.7 points?". [/INST] SELECT COUNT("rank") FROM "table1_1059743_2" WHERE "points"='796.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 "table1_1059743_2" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "In what group stage were 177.2 points awarded?". [/INST] SELECT COUNT("group_stage") FROM "table1_1059743_2" WHERE "points"='177.2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1059743_2" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "What is the lowest group to earn 886.6 points?". [/INST] SELECT MIN("group_stage") FROM "table1_1059743_2" WHERE "points"='886.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_1059743_2" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real );. Question: "How many countries earned 177.2 points?". [/INST] SELECT COUNT("member_association") FROM "table1_1059743_2" WHERE "points"='177.2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_breakdown" ( "county" text, "precincts" real, "lunsford" real, "pct_lunsford" text, "mc_connell" real, "pct_mc_connell" text, "total" text );. Question: "If % lunsford is 51.82% what is the % mcconnell in Letcher?". [/INST] SELECT "pct_mc_connell" FROM "results_breakdown" WHERE "pct_lunsford"='51.82%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_breakdown" ( "county" text, "precincts" real, "lunsford" real, "pct_lunsford" text, "mc_connell" real, "pct_mc_connell" text, "total" text );. Question: "What country had the total 18,900 (r)?". [/INST] SELECT "county" FROM "results_breakdown" WHERE "total"='18,900 (R)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_breakdown" ( "county" text, "precincts" real, "lunsford" real, "pct_lunsford" text, "mc_connell" real, "pct_mc_connell" text, "total" text );. Question: "When % mcconnell is 44.54% what are the total number of counties?". [/INST] SELECT COUNT("county") FROM "results_breakdown" WHERE "pct_mc_connell"='44.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 "results_breakdown" ( "county" text, "precincts" real, "lunsford" real, "pct_lunsford" text, "mc_connell" real, "pct_mc_connell" text, "total" text );. Question: "If % mcconnell is 47.17% what is the total number of mcconnell ?". [/INST] SELECT COUNT("mc_connell") FROM "results_breakdown" WHERE "pct_mc_connell"='47.17%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results_breakdown" ( "county" text, "precincts" real, "lunsford" real, "pct_lunsford" text, "mc_connell" real, "pct_mc_connell" text, "total" text );. Question: "What is the county of precints 515?". [/INST] SELECT "county" FROM "results_breakdown" WHERE "precincts"=515;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "under_construction" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" real );. Question: "Which city has a capacity of 41903?". [/INST] SELECT "city" FROM "under_construction" WHERE "capacity"=41903;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "under_construction" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" real );. Question: "What is the maximum capacity of the Otkrytie Arena stadium?". [/INST] SELECT MAX("capacity") FROM "under_construction" WHERE "stadium"='Otkrytie Arena';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "under_construction" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" real );. Question: "When did the stadium where Bursaspor is the tenant open?". [/INST] SELECT MIN("opening") FROM "under_construction" WHERE "tenant"='Bursaspor';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "under_construction" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" real );. Question: "How many tenants are there in the city of Samsun?". [/INST] SELECT COUNT("tenant") FROM "under_construction" WHERE "city"='Samsun';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10610087_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "what's the original air date with title  "hell"". [/INST] SELECT "original_air_date" FROM "table1_10610087_5" WHERE "title"='\"Hell\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "particulars_and_characteristics" text, "shivalik_zone" text, "mid_hill_zone" text, "high_hill_zone" text, "trance_n_himalaya_zone" text );. Question: "What is the percentage of the Shivalik Zone where the percentage of the Mid-Hill Zone is 10%?". [/INST] SELECT "shivalik_zone" FROM "references" WHERE "mid_hill_zone"='10%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "particulars_and_characteristics" text, "shivalik_zone" text, "mid_hill_zone" text, "high_hill_zone" text, "trance_n_himalaya_zone" text );. Question: "For mid-hill zone what is the altitude?". [/INST] SELECT "mid_hill_zone" FROM "references" WHERE "particulars_and_characteristics"='Altitude';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "particulars_and_characteristics" text, "shivalik_zone" text, "mid_hill_zone" text, "high_hill_zone" text, "trance_n_himalaya_zone" text );. Question: "What are the climatic conditions for the trance- n himalaya zone?". [/INST] SELECT "trance_n_himalaya_zone" FROM "references" WHERE "particulars_and_characteristics"='Climatic conditions';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "particulars_and_characteristics" text, "shivalik_zone" text, "mid_hill_zone" text, "high_hill_zone" text, "trance_n_himalaya_zone" text );. Question: "What is the percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%?". [/INST] SELECT "trance_n_himalaya_zone" FROM "references" WHERE "high_hill_zone"='25%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senate_time" ( "total_tenure_rank" real, "uninterrupted_rank" real, "name" text, "state_represented" text, "dates_of_service" text, "total_tenure_time" text, "uninterrupted_time" text );. Question: "What is the state of Ted Stevens?". [/INST] SELECT "state_represented" FROM "senate_time" WHERE "name"='Ted Stevens';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10682862_68" ( "country" text, "players" real, "standard" real, "minor" real, "first_title" real, "last_title" real );. Question: "What's the standard of the country who won its first title in 1992?". [/INST] SELECT MAX("standard") FROM "table1_10682862_68" WHERE "first_title"=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 "table1_10682862_68" ( "country" text, "players" real, "standard" real, "minor" real, "first_title" real, "last_title" real );. Question: "What's the smallest number of players?". [/INST] SELECT MIN("players") FROM "table1_10682862_68";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_10682862_68" ( "country" text, "players" real, "standard" real, "minor" real, "first_title" real, "last_title" real );. Question: "In what year was the last last title received, by any of the countries?". [/INST] SELECT MAX("last_title") FROM "table1_10682862_68";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "religious_group" text, "population_pct_1961" text, "population_pct_1971" text, "population_pct_1981" text, "population_pct_1991" text, "population_pct_2001" text );. Question: "What religious groups made up 0.72% of the Indian population in 2001?". [/INST] SELECT "religious_group" FROM "statistics" WHERE "population_pct_2001"='0.72%';</s>