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 "s" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "List all years in Orlando where Jeryl Sasser was a player.". [/INST] SELECT "years_in_orlando" FROM "s" WHERE "player"='Jeryl Sasser';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "t" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "WHAT WAS THE NUMBER OF THE ONLY FORWARD-CENTER TO MAKE THE ROSTER?". [/INST] SELECT MIN("no") FROM "t" WHERE "position"='Forward-Center';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "t" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD?". [/INST] SELECT "no" FROM "t" WHERE "position"='Guard' AND "school_club_team"='Oklahoma State';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "t" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "WHO IS THE PLAYER(S) ON THE ROSTER FROM SCHOOL/CLUB TEAM ARIZONA?". [/INST] SELECT "player" FROM "t" WHERE "school_club_team"='Arizona';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "commercial_airlines" ( "airline" text, "icao" text, "iata" text, "callsign" text, "commenced_operations" real, "fleet_size" real, "headquarters" text );. Question: "What is the fleet size of the airline which has a callsign of cool red?". [/INST] SELECT MIN("fleet_size") FROM "commercial_airlines" WHERE "callsign"='COOL RED';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "commercial_airlines" ( "airline" text, "icao" text, "iata" text, "callsign" text, "commenced_operations" real, "fleet_size" real, "headquarters" text );. Question: "How large is the fleet size of the airline with the IATA code of 5j?". [/INST] SELECT COUNT("fleet_size") FROM "commercial_airlines" WHERE "iata"='5J';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "commercial_airlines" ( "airline" text, "icao" text, "iata" text, "callsign" text, "commenced_operations" real, "fleet_size" real, "headquarters" text );. Question: "Which year did the Angeles City based airline begin operations?". [/INST] SELECT "commenced_operations" FROM "commercial_airlines" WHERE "headquarters"='Angeles City';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "commercial_airlines" ( "airline" text, "icao" text, "iata" text, "callsign" text, "commenced_operations" real, "fleet_size" real, "headquarters" text );. Question: "When did the oldest airline start operations?". [/INST] SELECT MIN("commenced_operations") FROM "commercial_airlines";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "commercial_airlines" ( "airline" text, "icao" text, "iata" text, "callsign" text, "commenced_operations" real, "fleet_size" real, "headquarters" text );. Question: "Where is the headquarters of the airline which has the ICAO code of AAU?". [/INST] SELECT "headquarters" FROM "commercial_airlines" WHERE "icao"='AAU';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "uranium_demand_mining_production_and_def" ( "country" text, "uranium_required_2006_08" text, "pct_of_world_demand" text, "indigenous_mining_production_2006" text, "deficit_surplus" text );. Question: "How much uranium did Russia use in 2006 to 2008?". [/INST] SELECT "uranium_required_2006_08" FROM "uranium_demand_mining_production_and_def" WHERE "country"='Russia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "uranium_demand_mining_production_and_def" ( "country" text, "uranium_required_2006_08" text, "pct_of_world_demand" text, "indigenous_mining_production_2006" text, "deficit_surplus" text );. Question: "Which country mines 24.0% of the world demand of uranium?". [/INST] SELECT "indigenous_mining_production_2006" FROM "uranium_demand_mining_production_and_def" WHERE "pct_of_world_demand"='24.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 "uranium_demand_mining_production_and_def" ( "country" text, "uranium_required_2006_08" text, "pct_of_world_demand" text, "indigenous_mining_production_2006" text, "deficit_surplus" text );. Question: "What is the deficit (-surplus) of the country who use 5.2% of the world demand of uranium?". [/INST] SELECT "deficit_surplus" FROM "uranium_demand_mining_production_and_def" WHERE "pct_of_world_demand"='5.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 "uranium_demand_mining_production_and_def" ( "country" text, "uranium_required_2006_08" text, "pct_of_world_demand" text, "indigenous_mining_production_2006" text, "deficit_surplus" text );. Question: "What is the indigenous mining production of the country that uses 3.4% of the world demand?". [/INST] SELECT "indigenous_mining_production_2006" FROM "uranium_demand_mining_production_and_def" WHERE "pct_of_world_demand"='3.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 "uranium_demand_mining_production_and_def" ( "country" text, "uranium_required_2006_08" text, "pct_of_world_demand" text, "indigenous_mining_production_2006" text, "deficit_surplus" text );. Question: "What is the deficit (-surplus) of France?". [/INST] SELECT "deficit_surplus" FROM "uranium_demand_mining_production_and_def" WHERE "country"='France';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566848_6" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Name the pictorials when the interview subject is steve jobs". [/INST] SELECT "pictorials" FROM "table1_1566848_6" WHERE "interview_subject"='Steve Jobs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566848_6" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Name the 20 questions when centerfold model is cherie witter". [/INST] SELECT "20_questions" FROM "table1_1566848_6" WHERE "centerfold_model"='Cherie Witter';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566848_6" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Name the number of pictorials for 5-85". [/INST] SELECT COUNT("pictorials") FROM "table1_1566848_6" WHERE "date"='5-85';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566848_6" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Name the centerfold model when interview subject is steve jobs". [/INST] SELECT "centerfold_model" FROM "table1_1566848_6" WHERE "interview_subject"='Steve Jobs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566852_10" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Which date contained Aubrey O'Day as the cover model?". [/INST] SELECT "date" FROM "table1_1566852_10" WHERE "cover_model"='Aubrey O''Day';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566852_10" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "Who were the cover models in the edition that included Benicio Del Toro as the interview subject?". [/INST] SELECT "cover_model" FROM "table1_1566852_10" WHERE "interview_subject"='Benicio del Toro';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1566852_10" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text );. Question: "How many cover models were on the edition that featured Jennifer Pershing as the centerfold?". [/INST] SELECT COUNT("cover_model") FROM "table1_1566852_10" WHERE "centerfold_model"='Jennifer Pershing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15717093_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What season number corresponds to series number 102?". [/INST] SELECT MAX("season_num") FROM "table1_15717093_1" WHERE "series_num"=102;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15717093_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What was the title when there were 14.39 million viewers?". [/INST] SELECT "title" FROM "table1_15717093_1" WHERE "u_s_viewers_millions"='14.39';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15717093_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "Who was the writer when there were 15.85 million US viewers?". [/INST] SELECT "written_by" FROM "table1_15717093_1" WHERE "u_s_viewers_millions"='15.85';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_records" ( "team" text, "titles" real, "runner_up" real, "third_place" real, "fourth_place" real, "years_participated" real );. Question: "How many years did notre dame participate? ". [/INST] SELECT MAX("years_participated") FROM "team_records" WHERE "team"='Notre Dame';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_records" ( "team" text, "titles" real, "runner_up" real, "third_place" real, "fourth_place" real, "years_participated" real );. Question: "When colgate is the team how many times did they place fourth?". [/INST] SELECT COUNT("fourth_place") FROM "team_records" WHERE "team"='Colgate';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_records" ( "team" text, "titles" real, "runner_up" real, "third_place" real, "fourth_place" real, "years_participated" real );. Question: "When the team is lake superior state how many times did they place fourth?". [/INST] SELECT MIN("fourth_place") FROM "team_records" WHERE "team"='Lake Superior State';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_records" ( "team" text, "titles" real, "runner_up" real, "third_place" real, "fourth_place" real, "years_participated" real );. Question: "When the team is yale what is max amount of times they placed fourth?". [/INST] SELECT MAX("fourth_place") FROM "team_records" WHERE "team"='Yale';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_records" ( "team" text, "titles" real, "runner_up" real, "third_place" real, "fourth_place" real, "years_participated" real );. Question: "When the team is Toronto how many times did they place third?". [/INST] SELECT COUNT("third_place") FROM "team_records" WHERE "team"='Toronto';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_vs_big_12_opponents" ( "kansas_state_vs" text, "overall_record" text, "at_manhattan" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "big_12_games" text );. Question: "What is the current streak against TCU?". [/INST] SELECT "current_streak" FROM "record_vs_big_12_opponents" WHERE "kansas_state_vs"='TCU';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_vs_big_12_opponents" ( "kansas_state_vs" text, "overall_record" text, "at_manhattan" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "big_12_games" text );. Question: "What is the at Manhattan record against TCU?". [/INST] SELECT "at_manhattan" FROM "record_vs_big_12_opponents" WHERE "kansas_state_vs"='TCU';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_1" ( "episode" real, "title" text, "story" text, "adapted_by" text, "director" text, "airdate" text, "exists" text );. Question: "What is the airdate when the director is george spenton-foster". [/INST] SELECT "airdate" FROM "series_1" WHERE "director"='George Spenton-Foster';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_1" ( "episode" real, "title" text, "story" text, "adapted_by" text, "director" text, "airdate" text, "exists" text );. Question: "Name the msot episode that was adapted by leon griffiths". [/INST] SELECT MAX("episode") FROM "series_1" WHERE "adapted_by"='Leon Griffiths';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_1" ( "episode" real, "title" text, "story" text, "adapted_by" text, "director" text, "airdate" text, "exists" text );. Question: "Name the number of episodes for alan nourse". [/INST] SELECT COUNT("episode") FROM "series_1" WHERE "story"='Alan Nourse';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1574968_1" ( "language" text, "creator" text, "first_public_release_date" text, "editor" text, "viewer" text );. Question: "Which viewers have the language of troff (typesetter runoff) , groff (gnu runoff)?". [/INST] SELECT "viewer" FROM "table1_1574968_1" WHERE "language"='troff (typesetter runoff) , groff (GNU runoff)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1574968_1" ( "language" text, "creator" text, "first_public_release_date" text, "editor" text, "viewer" text );. Question: "Who is the creator when the view happens to gddm, afp viewer?". [/INST] SELECT "creator" FROM "table1_1574968_1" WHERE "viewer"='GDDM, AFP viewer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" real, "result" text );. Question: "WHERE THE THEME WAS "YEAR THEY WERE BORN," WHAT THE TOTAL NUMBER OF RESULTS?". [/INST] SELECT COUNT("result") FROM "performances" WHERE "theme"='Year They Were Born';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" real, "result" text );. Question: "WHAT IS THE RESULT FOR THE SONG WHERE THE ORIGINAL ARTIST IS BETTY EVERETT?". [/INST] SELECT "result" FROM "performances" WHERE "original_artist"='Betty Everett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" real, "result" text );. Question: "WHAT WAS HER SONG CHOICE WHEN THE WEEK WAS TOP 10?". [/INST] SELECT "song_choice" FROM "performances" WHERE "week_num"='Top 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 "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" real, "result" text );. Question: "WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?". [/INST] SELECT "theme" FROM "performances" WHERE "week_num"='Top 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" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the location and what is the attendance of game 38?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "game"=38;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "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 games score on January 11?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='January 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 "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 is the score of game 33?". [/INST] SELECT "score" FROM "game_log" WHERE "game"=33;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 most assist when the opponent was Cleveland?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "team"='Cleveland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 score of the game played on January 19?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='January 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 "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 is the Raptors' record against New Jersey?". [/INST] SELECT "record" FROM "game_log" WHERE "team"='New Jersey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Name for the high rebounds when score is w 105–91 (ot)". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "score"='W 105–91 (OT)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the order number for the theme of Mariah Carey?". [/INST] SELECT "order_num" FROM "performances" WHERE "theme"='Mariah Carey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "Who is the original artist for the theme "Year they were born?"". [/INST] SELECT "original_artist" FROM "performances" WHERE "theme"='Year They Were Born';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What theme name has the original artist of Dolly Parton?". [/INST] SELECT "theme" FROM "performances" WHERE "original_artist"='Dolly Parton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "How many themes have the original artist of Judy Garland?". [/INST] SELECT COUNT("theme") FROM "performances" WHERE "original_artist"='Judy Garland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15824796_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "Who wrote the episode where the series number is 74?". [/INST] SELECT "written_by" FROM "table1_15824796_5" WHERE "series_num"=74;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15824796_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "What is the original airdate when the season number is 4?". [/INST] SELECT "original_air_date" FROM "table1_15824796_5" WHERE "season_num"=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_15824796_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "When the season number is listed as 4 what is the original airdate?". [/INST] SELECT "original_air_date" FROM "table1_15824796_5" WHERE "season_num"=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_15824796_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "What is the airdate when the title is "topsy turvy"?". [/INST] SELECT COUNT("original_air_date") FROM "table1_15824796_5" WHERE "title"='\"Topsy Turvy\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parliamentary_parties" ( "name" text, "abbr" text, "political_leader" text, "international_affiliation" text, "votes_2012" real, "house_of_rep_seats" real, "senate_seats" real, "european_parliament_seats" real );. Question: "What is the smallest number of European Parliament sets when the international affiliation is global greens, egp? ". [/INST] SELECT MIN("european_parliament_seats") FROM "parliamentary_parties" WHERE "international_affiliation"='Global Greens, EGP';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parliamentary_parties" ( "name" text, "abbr" text, "political_leader" text, "international_affiliation" text, "votes_2012" real, "house_of_rep_seats" real, "senate_seats" real, "european_parliament_seats" real );. Question: "How many categories of Senate Seats does Emile Roemer have? ". [/INST] SELECT COUNT("senate_seats") FROM "parliamentary_parties" WHERE "political_leader"='Emile Roemer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" real, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "Name the least road wins". [/INST] SELECT MIN("road_wins") FROM "nfc_championship_game_appearances_1970_p";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" real, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "Name the pct for green bay packers". [/INST] SELECT "pct" FROM "nfc_championship_game_appearances_1970_p" WHERE "team"='Green Bay Packers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" real, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "Name the road wins". [/INST] SELECT MIN("road_wins") FROM "nfc_championship_game_appearances_1970_p";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" real, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "Name the maximum mum l is less than 6.0". [/INST] SELECT MAX("num") FROM "nfc_championship_game_appearances_1970_p" WHERE "l"<6.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 "nfc_championship_game_appearances_1970_p" ( "num" real, "team" text, "w" real, "l" real, "pct" text, "pf" real, "pa" real, "last_appearance" real, "last_championship" real, "home_games" real, "home_wins" real, "home_losses" real, "home_win_pct" text, "road_games" real, "road_wins" real, "road_losses" real, "road_win_pct" text );. Question: "Name the number of last appearance where team is san francisco 49ers". [/INST] SELECT COUNT("last_appearance") FROM "nfc_championship_game_appearances_1970_p" WHERE "team"='San Francisco 49ers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "podiums" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "What is the highest value for race?". [/INST] SELECT MAX("races") FROM "career_summary";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "podiums" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "Which podiums have a final placing of 10th?". [/INST] SELECT "podiums" FROM "career_summary" WHERE "final_placing"='10th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "podiums" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "What is the total number of poles values in the Formula Renault 2.0 Eurocup with a 10th final placing?". [/INST] SELECT COUNT("poles") FROM "career_summary" WHERE "series"='Formula Renault 2.0 Eurocup' AND "final_placing"='10th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Name the total number of record for 27". [/INST] SELECT COUNT("record") FROM "game_log" WHERE "game"=27;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "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: "Name the high assists for december 14". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='December 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 "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: "Name the high assists for delta center 19,639". [/INST] SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='Delta Center 19,639';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Name the score for washington". [/INST] SELECT "score" FROM "game_log" WHERE "team"='Washington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Name the team for november 9". [/INST] SELECT "team" FROM "game_log" WHERE "date"='November 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 "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: "Name the most game for december 22". [/INST] SELECT MAX("game") FROM "game_log" WHERE "date"='December 22';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Name the score for december 28". [/INST] SELECT "score" FROM "game_log" WHERE "date"='December 28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "football_wrestling" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "What country has the Sky Calcio 2 tv service?". [/INST] SELECT "country" FROM "football_wrestling" WHERE "television_service"='Sky Calcio 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 "football_wrestling" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Does the sky calcio 6 hd have PPV?". [/INST] SELECT "ppv" FROM "football_wrestling" WHERE "television_service"='Sky Calcio 6 HD';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "football_wrestling" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Do the Sky Calcio 5 channels have PPV?". [/INST] SELECT "ppv" FROM "football_wrestling" WHERE "television_service"='Sky Calcio 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 "primafila" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Name the country for sky primafila 7 hd". [/INST] SELECT "country" FROM "primafila" WHERE "television_service"='Sky Primafila 7 HD';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "primafila" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Name the number of package/option for sky primafila 24". [/INST] SELECT COUNT("package_option") FROM "primafila" WHERE "television_service"='Sky Primafila 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 "primafila" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Name the hdtv when number is 378". [/INST] SELECT "hdtv" FROM "primafila" WHERE "n"=378;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "primafila" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Name the hdtv for sky primafila 17". [/INST] SELECT "hdtv" FROM "primafila" WHERE "television_service"='Sky Primafila 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 "primafila" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "ppv" text, "package_option" text );. Question: "Name the television service when primafila hot club". [/INST] SELECT "television_service" FROM "primafila" WHERE "content"='Primafila Hot Club';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "news" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "package_option" text );. Question: "Name the number for fox news channel". [/INST] SELECT "n" FROM "news" WHERE "television_service"='Fox News Channel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "news" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "package_option" text );. Question: "Name the dar for cinese". [/INST] SELECT "dar" FROM "news" WHERE "language"='cinese';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "news" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "package_option" text );. Question: "Name the language for fox business network". [/INST] SELECT "language" FROM "news" WHERE "television_service"='Fox Business Network';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "news" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "package_option" text );. Question: "Name the package/option for giappone". [/INST] SELECT "package_option" FROM "news" WHERE "country"='Giappone';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "news" ( "n" real, "television_service" text, "country" text, "language" text, "content" text, "dar" text, "hdtv" text, "package_option" text );. Question: "Name the package/option for number being 543". [/INST] SELECT "package_option" FROM "news" WHERE "n"=543;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15928363_1" ( "vertical" real, "horizontal" real, "aspect_ratio" text, "pixel_aspect_ratio" text, "form_of_scanning" text, "framerate_hz" text );. Question: "Name the aspect ratio for 720". [/INST] SELECT "aspect_ratio" FROM "table1_15928363_1" WHERE "horizontal"=720;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15928363_1" ( "vertical" real, "horizontal" real, "aspect_ratio" text, "pixel_aspect_ratio" text, "form_of_scanning" text, "framerate_hz" text );. Question: "Name the number of horizontal when framerate hz is 25". [/INST] SELECT COUNT("horizontal") FROM "table1_15928363_1" WHERE "framerate_hz"='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 "by_county" ( "county" text, "mc_cain_pct" text, "mc_cain_votes" real, "obama_pct" text, "obama_votes" real, "others_pct" text, "others_votes" real );. Question: "Name the mccain % for dukes". [/INST] SELECT "mc_cain_pct" FROM "by_county" WHERE "county"='Dukes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "mc_cain_pct" text, "mc_cain_votes" real, "obama_pct" text, "obama_votes" real, "others_pct" text, "others_votes" real );. Question: "Name the number of counties for obama votes for 49558". [/INST] SELECT COUNT("county") FROM "by_county" WHERE "obama_votes"=49558;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "mc_cain_pct" text, "mc_cain_votes" real, "obama_pct" text, "obama_votes" real, "others_pct" text, "others_votes" real );. Question: "Name the number of others votes for when others % is 2.0%". [/INST] SELECT COUNT("others_votes") FROM "by_county" WHERE "others_pct"='2.0%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_15938543_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );. Question: "Which series number had the production code of 116". [/INST] SELECT "no_in_series" FROM "table1_15938543_1" WHERE "production_code"=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 "table1_15938543_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );. Question: "Whats the title of the episode with production code 109". [/INST] SELECT "title" FROM "table1_15938543_1" WHERE "production_code"=109;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15938543_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );. Question: "How many episodes were written by Jack Burditt & Robert Carlock". [/INST] SELECT COUNT("production_code") FROM "table1_15938543_1" WHERE "written_by"='Jack Burditt & Robert Carlock';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15938543_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );. Question: "How many episodes had an original air date with 5.1 million viewers". [/INST] SELECT COUNT("original_air_date") FROM "table1_15938543_1" WHERE "u_s_viewers_million"='5.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 "table1_15938543_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );. Question: "Who wrote the episode that was directed by Dennie Gordon". [/INST] SELECT "written_by" FROM "table1_15938543_1" WHERE "directed_by"='Dennie Gordon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text, "annual_additions_in_millions" text, "average_monthly_additions_in_millions" text );. Question: "What septembers are 17.1 in December? ". [/INST] SELECT "december" FROM "monthly_mobile_subscriber_additions" WHERE "september"='17.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 "monthly_mobile_subscriber_additions" ( "year" real, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text, "annual_additions_in_millions" text, "average_monthly_additions_in_millions" text );. Question: "March 0.41 in July? ". [/INST] SELECT "july" FROM "monthly_mobile_subscriber_additions" WHERE "march"='0.41';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text, "annual_additions_in_millions" text, "average_monthly_additions_in_millions" text );. Question: "What september has 10.35 in November? ". [/INST] SELECT "september" FROM "monthly_mobile_subscriber_additions" WHERE "november"='10.35';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text, "annual_additions_in_millions" text, "average_monthly_additions_in_millions" text );. Question: "January 7.34 where is June ?". [/INST] SELECT "january" FROM "monthly_mobile_subscriber_additions" WHERE "june"='7.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 "monthly_mobile_subscriber_additions" ( "year" real, "january" text, "february" text, "march" text, "april" text, "may" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text, "annual_additions_in_millions" text, "average_monthly_additions_in_millions" text );. Question: "What December is 8.77 in January ". [/INST] SELECT "december" FROM "monthly_mobile_subscriber_additions" WHERE "january"='8.77';</s>