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_16275828_4" ( "track_name" text, "location" text, "length" text, "sanction" text, "program" text );. Question: "What programs were held in charleston, illinois?". [/INST] SELECT "program" FROM "table1_16275828_4" WHERE "location"='Charleston, Illinois';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16295365_2" ( "school" text, "record" text, "conference" text, "conf_record" text, "seed" text, "round_eliminated" text, "lost_to_seed" text );. Question: "Name the round eliminated where conference record is 12-6". [/INST] SELECT "round_eliminated" FROM "table1_16295365_2" WHERE "conf_record"='12-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_16295365_2" ( "school" text, "record" text, "conference" text, "conf_record" text, "seed" text, "round_eliminated" text, "lost_to_seed" text );. Question: "Name the school where conference record is 12-6". [/INST] SELECT "school" FROM "table1_16295365_2" WHERE "conf_record"='12-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_16295365_2" ( "school" text, "record" text, "conference" text, "conf_record" text, "seed" text, "round_eliminated" text, "lost_to_seed" text );. Question: "Name the conference record where seed is 3 and record is 24-9". [/INST] SELECT "conf_record" FROM "table1_16295365_2" WHERE "seed"='3' AND "record"='24-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_16295365_1" ( "school" text, "record" text, "conference" text, "conf_record" text, "regular_season_finish" text, "regular_season_second_place" text );. Question: "For teams in the Sun Belt conference, what is the conference record?". [/INST] SELECT "conf_record" FROM "table1_16295365_1" WHERE "conference"='Sun Belt';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16295365_1" ( "school" text, "record" text, "conference" text, "conf_record" text, "regular_season_finish" text, "regular_season_second_place" text );. Question: "What was the overall record of Oral Roberts college?". [/INST] SELECT "record" FROM "table1_16295365_1" WHERE "school"='Oral Roberts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16295365_1" ( "school" text, "record" text, "conference" text, "conf_record" text, "regular_season_finish" text, "regular_season_second_place" text );. Question: "Which qualifying schools were in the Patriot conference?". [/INST] SELECT "school" FROM "table1_16295365_1" WHERE "conference"='Patriot';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16295365_1" ( "school" text, "record" text, "conference" text, "conf_record" text, "regular_season_finish" text, "regular_season_second_place" text );. Question: "What was the overall record of UMBC?". [/INST] SELECT "record" FROM "table1_16295365_1" WHERE "school"='UMBC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16295365_1" ( "school" text, "record" text, "conference" text, "conf_record" text, "regular_season_finish" text, "regular_season_second_place" text );. Question: "Which conference is Belmont in?". [/INST] SELECT "conference" FROM "table1_16295365_1" WHERE "school"='Belmont';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delta_iii_class_significant_dates" ( "num" text, "shipyard" text, "name" text, "laid_down" text, "launched" text, "commissioned" text, "fleet" text, "status" text );. Question: "What is the status of vessel number K-223?". [/INST] SELECT "status" FROM "delta_iii_class_significant_dates" WHERE "num"='K-223';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16331144_1" ( "season" text, "air_date" real, "winner" text, "runner_up" text, "third_place" text, "host_s" text, "judges" text, "winning_mentor" text );. Question: "Who won third place in season four?". [/INST] SELECT "third_place" FROM "table1_16331144_1" WHERE "season"='Four';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16331144_1" ( "season" text, "air_date" real, "winner" text, "runner_up" text, "third_place" text, "host_s" text, "judges" text, "winning_mentor" text );. Question: "Who was the runner-up in season five?". [/INST] SELECT "runner_up" FROM "table1_16331144_1" WHERE "season"='Five';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16331144_1" ( "season" text, "air_date" real, "winner" text, "runner_up" text, "third_place" text, "host_s" text, "judges" text, "winning_mentor" text );. Question: "Which season did Ida Corr win?". [/INST] SELECT "season" FROM "table1_16331144_1" WHERE "winning_mentor"='Ida Corr';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16331144_1" ( "season" text, "air_date" real, "winner" text, "runner_up" text, "third_place" text, "host_s" text, "judges" text, "winning_mentor" text );. Question: "Who was the winning mentor in season two?". [/INST] SELECT "winning_mentor" FROM "table1_16331144_1" WHERE "season"='Two';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16331144_1" ( "season" text, "air_date" real, "winner" text, "runner_up" text, "third_place" text, "host_s" text, "judges" text, "winning_mentor" text );. Question: "Who was the runner-up when Mohamed Ali got third?". [/INST] SELECT "runner_up" FROM "table1_16331144_1" WHERE "third_place"='Mohamed Ali';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "What affiliation is Erie, Pennsylvania?". [/INST] SELECT "affiliation" FROM "former_teams" WHERE "location"='Erie, Pennsylvania';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "What was the enrollment of the school founded in 1846?". [/INST] SELECT "enrollment" FROM "former_teams" WHERE "founded"=1846;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "What kind of school is Canton, New York?". [/INST] SELECT "affiliation" FROM "former_teams" WHERE "location"='Canton, New York';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text );. Question: "Name the ground for essendon". [/INST] SELECT "ground" FROM "round_of_16" WHERE "home_team"='Essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text );. Question: "Name the total number of grounds for essendon". [/INST] SELECT COUNT("ground") FROM "round_of_16" WHERE "home_team"='Essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text );. Question: "Name the time for saturday 4 march 1995". [/INST] SELECT "time" FROM "round_of_16" WHERE "date"='Saturday 4 March 1995';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "Where the home team scored 13.10 (88), what was the size of the crowd?". [/INST] SELECT MAX("crowd") FROM "round_2" WHERE "home_team_score"='13.10 (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 "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "On what date did the away team Fremantle play?". [/INST] SELECT "date" FROM "round_2" WHERE "away_team"='Fremantle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "What score did the away team receive against home team Port Adelaide?". [/INST] SELECT "away_team_score" FROM "round_2" WHERE "home_team"='Port Adelaide';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "morse_taper_dimensions_mm" ( "morse_taper_number" real, "taper" text, "a" text, "b_max" text, "c_max" text, "d_max" text, "e_max" text, "f" real, "g" text, "h" text, "j" text, "k" text );. Question: "Name the h when c max is 99". [/INST] SELECT "h" FROM "morse_taper_dimensions_mm" WHERE "c_max"='99';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "morse_taper_dimensions_mm" ( "morse_taper_number" real, "taper" text, "a" text, "b_max" text, "c_max" text, "d_max" text, "e_max" text, "f" real, "g" text, "h" text, "j" text, "k" text );. Question: "Name the least morse taper number when taper is 1:20.047". [/INST] SELECT MIN("morse_taper_number") FROM "morse_taper_dimensions_mm" WHERE "taper"='1:20.047';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "e" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "when was the school/club team for grizzles was maryland". [/INST] SELECT "years_for_grizzlies" FROM "e" WHERE "school_club_team"='Maryland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "e" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "Which position did kevin edwards play for". [/INST] SELECT "position" FROM "e" WHERE "player"='Kevin Edwards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "e" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "when did no. 32 play for grizzles". [/INST] SELECT "years_for_grizzlies" FROM "e" WHERE "no"=32;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "e" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "what's the highest player number from the list from 2000-2001". [/INST] SELECT MAX("no") FROM "e" WHERE "years_for_grizzlies"='2000-2001';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "e" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "Which school/club team did blue edwards play for". [/INST] SELECT "school_club_team" FROM "e" WHERE "player"='Blue Edwards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16575609_3" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "What position is Justin Shaw in?". [/INST] SELECT "position" FROM "table1_16575609_3" WHERE "player"='Justin Shaw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16575609_3" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "What pick # did Western Illinois have?". [/INST] SELECT "pick_num" FROM "table1_16575609_3" WHERE "college"='Western Illinois';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16575609_3" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "How many cfl teams had pick # 21?". [/INST] SELECT COUNT("cfl_team") FROM "table1_16575609_3" WHERE "pick_num"=21;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_16575609_3" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "How many pick numbers did Michael Giffin have?". [/INST] SELECT COUNT("pick_num") FROM "table1_16575609_3" WHERE "player"='Michael Giffin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16575609_3" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "What college does Jean-Nicolas Carriere play for?". [/INST] SELECT "college" FROM "table1_16575609_3" WHERE "player"='Jean-Nicolas Carriere';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2013_season" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );. Question: "What are the points for ktm-vmc equipment? ". [/INST] SELECT "points" FROM "the_2013_season" WHERE "equipment"='KTM-VMC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1672976_7" ( "date" text, "time" text, "acc_team" text, "big_ten_team" text, "location" text, "television" text, "attendance" real, "winner" text, "challenge_leader" text );. Question: "Name the location for illinois". [/INST] SELECT "location" FROM "table1_1672976_7" WHERE "big_ten_team"='Illinois';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_john_kerry" text, "republican_jeff_beatty" text, "lead_margin" real );. Question: "what is the maximum lead margin on august 5, 2008?". [/INST] SELECT MAX("lead_margin") FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='August 5, 2008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_john_kerry" text, "republican_jeff_beatty" text, "lead_margin" real );. Question: "what is hte date where republican jeaff beatty is 34%?". [/INST] SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "republican_jeff_beatty"='34%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_john_kerry" text, "republican_jeff_beatty" text, "lead_margin" real );. Question: "what are the dates where democrat john kerry is 63% and poll source is rasmussen reports?". [/INST] SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_john_kerry"='63%' AND "poll_source"='Rasmussen Reports';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_john_kerry" text, "republican_jeff_beatty" text, "lead_margin" real );. Question: "what is the percentage for john kerry and dates administered is april 22, 2008?". [/INST] SELECT "democrat_john_kerry" FROM "opinion_polling_for_the_united_states_se" WHERE "dates_administered"='April 22, 2008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What was the diameter of the feature found in 1997?". [/INST] SELECT "diameter_km" FROM "rupes" WHERE "year_named"=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 "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "At a latitude of 67.5n, what is the diameter?". [/INST] SELECT "diameter_km" FROM "rupes" WHERE "latitude"='67.5N';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What is the latitude of vaidilute rupes?". [/INST] SELECT "latitude" FROM "rupes" WHERE "name"='Vaidilute Rupes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "At a latitude of 71.1e, what is the feature's name origin?". [/INST] SELECT "name_origin" FROM "rupes" WHERE "longitude"='71.1E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "At a longitude of 109.9e, how many features were found?". [/INST] SELECT COUNT("diameter_km") FROM "rupes" WHERE "longitude"='109.9E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rupes" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "At a longitude of 321.9e, what is the latitude of the features found?". [/INST] SELECT "latitude" FROM "rupes" WHERE "longitude"='321.9E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "paterae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "In what year was the feature at a 33.3S latitude named? ". [/INST] SELECT MAX("year_named") FROM "paterae" WHERE "latitude"='33.3S';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "paterae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What is the diameter in km of the feature named Colette Patera? ". [/INST] SELECT "diameter_km" FROM "paterae" WHERE "name"='Colette Patera';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "paterae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What is the longitude of the feature named Razia Patera? ". [/INST] SELECT "longitude" FROM "paterae" WHERE "name"='Razia Patera';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "paterae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What is the origin of the name of Keller Patera? ". [/INST] SELECT "name_origin" FROM "paterae" WHERE "name"='Keller Patera';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "paterae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "What is the diameter in km of the feature with a longitude of 40.2E? ". [/INST] SELECT "diameter_km" FROM "paterae" WHERE "longitude"='40.2E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "planitia" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "what's the name origin of feature of diameter (km) 2,155.0". [/INST] SELECT "name_origin" FROM "planitia" WHERE "diameter_km"='2,155.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 "planitia" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "what is the diameter (km) of the feature of latitude 23.0s". [/INST] SELECT "diameter_km" FROM "planitia" WHERE "latitude"='23.0S';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "planitia" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "what is the latitude of the feature of longitude 80.0e". [/INST] SELECT "latitude" FROM "planitia" WHERE "longitude"='80.0E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "planitia" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "what is the diameter (km) of feature of latitude 40.5s". [/INST] SELECT "diameter_km" FROM "planitia" WHERE "latitude"='40.5S';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "planitia" ( "name" text, "latitude" text, "longitude" text, "diameter_km" text, "year_named" real, "name_origin" text );. Question: "what is the diameter (km) of longitude 170.1e". [/INST] SELECT "diameter_km" FROM "planitia" WHERE "longitude"='170.1E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "What is the market value of a company in billions that has 172.7 billion in sales? ". [/INST] SELECT "market_value_billion" FROM "2008_list" WHERE "sales_billion"='172.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 "2008_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "What are the profits in billions for Berkshire Hathaway? ". [/INST] SELECT "profits_billion" FROM "2008_list" WHERE "company"='Berkshire Hathaway';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "Which industry has a company with a market value of 80.3 billion? ". [/INST] SELECT "industry" FROM "2008_list" WHERE "market_value_billion"='80.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 "2008_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "What is the highest rank of a company that has 1,715.8 billion in assets? ". [/INST] SELECT MAX("rank") FROM "2008_list" WHERE "assets_billion"='1,715.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 "2008_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" text, "profits_billion" text, "assets_billion" text, "market_value_billion" text );. Question: "what is the amount of profits in billions for companies with a market value of 204.9 billion? ". [/INST] SELECT "profits_billion" FROM "2008_list" WHERE "market_value_billion"='204.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_16857_2" ( "season" real, "mls_reg_season" text, "mls_cup_playoffs" text, "u_s_open_cup" text, "concacaf_champions_cup_champions_league" text );. Question: "What were the placements of the team in regular season when they reached quarterfinals in the U.S. Open Cup but did not qualify for the Concaf Champions Cup?". [/INST] SELECT "mls_reg_season" FROM "table1_16857_2" WHERE "u_s_open_cup"='Quarterfinals' AND "concacaf_champions_cup_champions_league"='Did not qualify';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16857_2" ( "season" real, "mls_reg_season" text, "mls_cup_playoffs" text, "u_s_open_cup" text, "concacaf_champions_cup_champions_league" text );. Question: "How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup?". [/INST] SELECT "mls_cup_playoffs" FROM "table1_16857_2" WHERE "concacaf_champions_cup_champions_league"='Did not qualify' AND "u_s_open_cup"='Round of 16';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_16857_2" ( "season" real, "mls_reg_season" text, "mls_cup_playoffs" text, "u_s_open_cup" text, "concacaf_champions_cup_champions_league" text );. Question: "When was the first season?". [/INST] SELECT MIN("season") FROM "table1_16857_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_16907214_1" ( "num" real, "title" text, "publisher" text, "release" text, "length" text, "hardcover" text, "paperback" text );. Question: "What is the ISBN of "Dead as a Doornail?". [/INST] SELECT "paperback" FROM "table1_16907214_1" WHERE "title"='Dead as a Doornail';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16907214_1" ( "num" real, "title" text, "publisher" text, "release" text, "length" text, "hardcover" text, "paperback" text );. Question: "How many publishers put out isbn 193700788x?". [/INST] SELECT COUNT("publisher") FROM "table1_16907214_1" WHERE "hardcover"='ISBN 193700788X';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16907214_1" ( "num" real, "title" text, "publisher" text, "release" text, "length" text, "hardcover" text, "paperback" text );. Question: "isbn 0-441-01400-3 is book number?". [/INST] SELECT "num" FROM "table1_16907214_1" WHERE "hardcover"='ISBN 0-441-01400-3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_16907214_1" ( "num" real, "title" text, "publisher" text, "release" text, "length" text, "hardcover" text, "paperback" text );. Question: "Who pubilshed isbn 1-937007-44-8?". [/INST] SELECT "publisher" FROM "table1_16907214_1" WHERE "hardcover"='ISBN 1-937007-44-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 "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is the minimum Wins a team has?". [/INST] SELECT MIN("w") FROM "standings";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "When the country was Scotland, how many ends were won?". [/INST] SELECT COUNT("ends_won") FROM "standings" WHERE "country"='Scotland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is Norway's least ends lost?". [/INST] SELECT MIN("ends_lost") FROM "standings" WHERE "country"='Norway';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "Andrea Schöpp is the skip of which country?". [/INST] SELECT "country" FROM "standings" WHERE "skip"='Andrea Schöpp';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "Name the poles for 25th position". [/INST] SELECT "poles" FROM "nascar_sprint_cup_series" WHERE "position"='25th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "Name the starts when position is 16th". [/INST] SELECT "starts" FROM "nascar_sprint_cup_series" WHERE "position"='16th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_attendance" text, "record" text );. Question: "What stadium hosted the June 7 game and how many visitors were there?". [/INST] SELECT "location_attendance" FROM "regular_season" WHERE "date"='June 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 "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who made the highest assist in the game that scored 79-88?". [/INST] SELECT "high_assists" FROM "regular_season" WHERE "score"='79-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 "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "When the 8th is Marcos Hernandez who was the 6th?". [/INST] SELECT "sixth" FROM "2003_2009" WHERE "eighth"='Marcos Hernandez';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "Who was in 4th when in 6th is Air Traffic?". [/INST] SELECT "fourth" FROM "2003_2009" WHERE "sixth"='Air Traffic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "When Kubb is in 9th, who is in 10th?". [/INST] SELECT "tenth" FROM "2003_2009" WHERE "ninth"='Kubb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "When Interpol is in 6th, who is in 7th?". [/INST] SELECT COUNT("seventh") FROM "2003_2009" WHERE "sixth"='Interpol';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "How many times was Plan B 4th place?". [/INST] SELECT COUNT("winner") FROM "2003_2009" WHERE "fourth"='Plan B';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );. Question: "When dizzee rascal is 5th, who was the winner?". [/INST] SELECT "winner" FROM "2003_2009" WHERE "fifth"='Dizzee Rascal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location and attendance for game 60?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "game"=60;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the highest assists on March 18?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='March 18';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high rebound total on january 6?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='January 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 "other_results" ( "position" text, "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );. Question: "How many positions correspond to a 1-3 1st leg?". [/INST] SELECT COUNT("position") FROM "other_results" WHERE "1st_leg"='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 "regular_season" ( "game" real, "date" text, "opponent" text, "score_time" text, "high_points" text, "high_rebounds" text, "high_assists" text, "arena_attendance" text, "record" text );. Question: "Name the total number of opponent of record 9-2". [/INST] SELECT COUNT("opponent") FROM "regular_season" WHERE "record"='9-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 "regular_season" ( "game" real, "date" text, "opponent" text, "score_time" text, "high_points" text, "high_rebounds" text, "high_assists" text, "arena_attendance" text, "record" text );. Question: "name the date where score time is w 74-63". [/INST] SELECT "date" FROM "regular_season" WHERE "score_time"='W 74-63';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1723080_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );. Question: "What episode aired on 11july1964?". [/INST] SELECT "episode" FROM "table1_1723080_1" WHERE "broadcast_date"='11July1964';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1723080_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );. Question: "How many viewers were there on 1august1964?". [/INST] SELECT "viewers_in_millions" FROM "table1_1723080_1" WHERE "broadcast_date"='1August1964';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1723080_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );. Question: "What is run time when there were 7.4 million viewers?". [/INST] SELECT "run_time" FROM "table1_1723080_1" WHERE "viewers_in_millions"='7.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_17265535_6" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" text, "equation" text, "result" real );. Question: "What is the equation where the 3rd throw is 7?". [/INST] SELECT "equation" FROM "table1_17265535_6" WHERE "3rd_throw"='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_17265535_6" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" text, "equation" text, "result" real );. Question: "If the equation is (10 times 8) + 4, what would be the 2nd throw?". [/INST] SELECT MAX("2nd_throw") FROM "table1_17265535_6" WHERE "equation"='(10 times 8) + 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_17265535_6" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" text, "equation" text, "result" real );. Question: "What is the result when the 3rd throw is not 8?". [/INST] SELECT MIN("result") FROM "table1_17265535_6" WHERE "3rd_throw"='not 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 "table1_17265535_6" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" text, "equation" text, "result" real );. Question: "If the equation is all equal, what is the 3rd throw?". [/INST] SELECT "3rd_throw" FROM "table1_17265535_6" WHERE "equation"='all equal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17265535_6" ( "1st_throw" real, "2nd_throw" real, "3rd_throw" text, "equation" text, "result" real );. Question: "If the equation is (10 times 1) + 3, what is the 2nd throw?". [/INST] SELECT MAX("2nd_throw") FROM "table1_17265535_6" WHERE "equation"='(10 times 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 "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "laps_led" real, "points" text );. Question: "Name the total number of grid for 30". [/INST] SELECT COUNT("grid") FROM "classification" WHERE "points"='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 "classification" ( "fin_pos" real, "car_no" real, "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "laps_led" real, "points" text );. Question: "Name the laps for 18 pointss". [/INST] SELECT "laps" FROM "classification" WHERE "points"='18';</s>