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_15128839_22" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "qbh" real, "no_yds" text, "avg" text, "td" real, "rcv_yds" text, "ff" real, "blkd_kick" real );. Question: "Name the solo when name is briggs, diyral". [/INST] SELECT "solo" FROM "table1_15128839_22" WHERE "name"='Briggs, Diyral';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15128839_22" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "qbh" real, "no_yds" text, "avg" text, "td" real, "rcv_yds" text, "ff" real, "blkd_kick" real );. Question: "Name the gp for ff being 0 and qbh being 1". [/INST] SELECT "gp" FROM "table1_15128839_22" WHERE "ff"=0 AND "qbh"=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 "2009_finals_weekend" ( "division" text, "champion_score" text, "runner_up_score" text, "final_mvp_team" text, "defensive_player_of_the_final_team" text );. Question: "When the division is Division 2 men what is the champion score?". [/INST] SELECT "champion_score" FROM "2009_finals_weekend" WHERE "division"='Division 2 Men';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15163938_1" ( "title_pages" text, "spirou" real, "writer_artist" text, "1st_publication_belgium" text, "integrale" text );. Question: "Name the least spirou". [/INST] SELECT MIN("spirou") FROM "table1_15163938_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 "second_round" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "report" text, "attendance" real );. Question: "Name the home team when away team is kilmarnock". [/INST] SELECT "home_team" FROM "second_round" WHERE "away_team"='Kilmarnock';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "report" text, "attendance" real );. Question: "Name the least attendance". [/INST] SELECT MIN("attendance") FROM "second_round";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Kitchen knives is segment a of what episode? ". [/INST] SELECT "episode" FROM "season_5_2005" WHERE "segment_a"='Kitchen Knives';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "When segment b is dining room tables what is segment d?". [/INST] SELECT "segment_d" FROM "season_5_2005" WHERE "segment_b"='Dining Room Tables';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "When marshmallow cookies is segment b what episode is it on netflix?". [/INST] SELECT "netflix" FROM "season_5_2005" WHERE "segment_b"='Marshmallow Cookies';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_5_2005" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "When cardboard boxes is segment c what is segment a?". [/INST] SELECT "segment_a" FROM "season_5_2005" WHERE "segment_c"='Cardboard Boxes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Name the number of episodes for s hacksaw". [/INST] SELECT COUNT("episode") FROM "season_8_2006_2007" WHERE "segment_b"='s Hacksaw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Name the number of series episode for s piston". [/INST] SELECT COUNT("series_ep") FROM "season_8_2006_2007" WHERE "segment_a"='s Piston';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Name the segment c for paint rollers". [/INST] SELECT "segment_c" FROM "season_8_2006_2007" WHERE "segment_b"='Paint Rollers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Name the segment a for 8-08". [/INST] SELECT "segment_a" FROM "season_8_2006_2007" WHERE "series_ep"='8-08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_8_2006_2007" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Name the segment b for graphite s fly rod". [/INST] SELECT "segment_b" FROM "season_8_2006_2007" WHERE "segment_c"='Graphite s Fly Rod';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "Who won the race at Magny-Cours". [/INST] SELECT "race_winner" FROM "season_calendar" WHERE "circuit"='Magny-Cours';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "Which round was the circuit Assen". [/INST] SELECT "round" FROM "season_calendar" WHERE "circuit"='Assen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_calendar" ( "no" real, "date" text, "round" text, "circuit" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "report" text );. Question: "How many people won in No. 12". [/INST] SELECT COUNT("race_winner") FROM "season_calendar" WHERE "no"=12;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_major_championship" ( "year" real, "dates" text, "venue" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "purse" real, "winners_share" real );. Question: "Which countries won by 9 strokes?". [/INST] SELECT "country" FROM "lpga_major_championship" WHERE "margin_of_victory"='9 strokes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_major_championship" ( "year" real, "dates" text, "venue" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "purse" real, "winners_share" real );. Question: "What purses had a winners share equal to $428650?". [/INST] SELECT "purse" FROM "lpga_major_championship" WHERE "winners_share"=428650;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_major_championship" ( "year" real, "dates" text, "venue" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "purse" real, "winners_share" real );. Question: "At what venues did Lorena Ochoa win the championship?". [/INST] SELECT "venue" FROM "lpga_major_championship" WHERE "champion"='Lorena Ochoa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3_1996" ( "episode_no" text, "episode_title" text, "uk_broadcast_date" text, "presenter" text, "countries_visited" text );. Question: "What episode number is presented by Ben Okri ?". [/INST] SELECT "episode_no" FROM "series_3_1996" WHERE "presenter"='Ben Okri';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series_3_1996" ( "episode_no" text, "episode_title" text, "uk_broadcast_date" text, "presenter" text, "countries_visited" text );. Question: "What was the UK broadcast date for the episode presented by Buck Henry?". [/INST] SELECT "uk_broadcast_date" FROM "series_3_1996" WHERE "presenter"='Buck Henry';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_specs" ( "processor_speed_m_hz" real, "input_clock_m_hz" text, "voltage_center_v" text, "voltage_range_v" text, "part_number" text, "clock_multiplier" text, "s_spec_number" text );. Question: "What is the input clock (mhz) for s-spec number sk096?". [/INST] SELECT "input_clock_m_hz" FROM "s_specs" WHERE "s_spec_number"='SK096';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_specs" ( "processor_speed_m_hz" real, "input_clock_m_hz" text, "voltage_center_v" text, "voltage_range_v" text, "part_number" text, "clock_multiplier" text, "s_spec_number" text );. Question: "What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100?". [/INST] SELECT COUNT("voltage_range_v") FROM "s_specs" WHERE "clock_multiplier"='3X or 2X mode' AND "part_number"='A80486DX4WB-100';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_specs" ( "processor_speed_m_hz" real, "input_clock_m_hz" text, "voltage_center_v" text, "voltage_range_v" text, "part_number" text, "clock_multiplier" text, "s_spec_number" text );. Question: "What is the part number for s-spec number sk096?". [/INST] SELECT "part_number" FROM "s_specs" WHERE "s_spec_number"='SK096';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_specs" ( "processor_speed_m_hz" real, "input_clock_m_hz" text, "voltage_center_v" text, "voltage_range_v" text, "part_number" text, "clock_multiplier" text, "s_spec_number" text );. Question: "What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?". [/INST] SELECT "clock_multiplier" FROM "s_specs" WHERE "voltage_range_v"='3.3 - 3.6' AND "input_clock_m_hz"='33 X 3 / 50 X 2' AND "part_number"='A80486DX4-100';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_specs" ( "processor_speed_m_hz" real, "input_clock_m_hz" text, "voltage_center_v" text, "voltage_range_v" text, "part_number" text, "clock_multiplier" text, "s_spec_number" text );. Question: "What is the processor speed (mhz) for part number a80486dx4-75?". [/INST] SELECT COUNT("processor_speed_m_hz") FROM "s_specs" WHERE "part_number"='A80486DX4-75';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15306124_1" ( "municipality" text, "league_of_communists" real, "peoples_party" real, "union_of_reform_forces" real, "democratic_coalition" real, "dssp" real, "total_seats" real );. Question: "Tell me the least amount of democratic colation". [/INST] SELECT MIN("democratic_coalition") FROM "table1_15306124_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_15306124_1" ( "municipality" text, "league_of_communists" real, "peoples_party" real, "union_of_reform_forces" real, "democratic_coalition" real, "dssp" real, "total_seats" real );. Question: "What is the least amount of league of communists where municipality is mojkovac". [/INST] SELECT MIN("league_of_communists") FROM "table1_15306124_1" WHERE "municipality"='Mojkovac';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15306124_1" ( "municipality" text, "league_of_communists" real, "peoples_party" real, "union_of_reform_forces" real, "democratic_coalition" real, "dssp" real, "total_seats" real );. Question: "How many league of communists have the municipality of bar?". [/INST] SELECT COUNT("league_of_communists") FROM "table1_15306124_1" WHERE "municipality"='Bar';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15306124_1" ( "municipality" text, "league_of_communists" real, "peoples_party" real, "union_of_reform_forces" real, "democratic_coalition" real, "dssp" real, "total_seats" real );. Question: "How many league of communists have the people's party at 7?". [/INST] SELECT COUNT("league_of_communists") FROM "table1_15306124_1" WHERE "peoples_party"=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 "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );. Question: "Name the poles for 2011". [/INST] SELECT "poles" FROM "summary" WHERE "year"=2011;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );. Question: "Name the rdiers for jir team scot motogp". [/INST] SELECT "riders" FROM "summary" WHERE "team_name"='JiR Team Scot MotoGP';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );. Question: "Name the class for makoto tamada and races is 17". [/INST] SELECT "class" FROM "summary" WHERE "riders"='Makoto Tamada' AND "races"='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 "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );. Question: "Name the most wins". [/INST] SELECT MIN("wins") FROM "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 "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text );. Question: "Which college did Dean Kirkland go to". [/INST] SELECT "college" FROM "nfl_draft" WHERE "player"='Dean Kirkland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text );. Question: "Which player went to Pittsburg State". [/INST] SELECT "player" FROM "nfl_draft" WHERE "college"='Pittsburg 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 "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text );. Question: "Who was the highest pick". [/INST] SELECT MIN("pick_num") FROM "nfl_draft";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text );. Question: "Who was the highest picked defensive end". [/INST] SELECT MAX("pick_num") FROM "nfl_draft" WHERE "position"='Defensive end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text );. Question: "How many players named Dean Kirkland were picked". [/INST] SELECT COUNT("pick_num") FROM "nfl_draft" WHERE "player"='Dean Kirkland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "stations" ( "station" text, "year_opened" text, "metropolitan_borough_c" text, "zone" real, "servedby_route_maps_dead_link_dead_link" text, "station_users_2006_07" real, "station_users_2007_08" real );. Question: "How many metropolitan boroughs have dorridge as a station?". [/INST] SELECT COUNT("metropolitan_borough_c") FROM "stations" WHERE "station"='Dorridge';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "stations" ( "station" text, "year_opened" text, "metropolitan_borough_c" text, "zone" real, "servedby_route_maps_dead_link_dead_link" text, "station_users_2006_07" real, "station_users_2007_08" real );. Question: "How many people used Bloxwich North station in 2006-2007?". [/INST] SELECT "station_users_2006_07" FROM "stations" WHERE "station"='Bloxwich North';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "stations" ( "station" text, "year_opened" text, "metropolitan_borough_c" text, "zone" real, "servedby_route_maps_dead_link_dead_link" text, "station_users_2006_07" real, "station_users_2007_08" real );. Question: "Name all the stations in 2006-2007 who had 109200 users.". [/INST] SELECT "station" FROM "stations" WHERE "station_users_2006_07"=109200;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "stations" ( "station" text, "year_opened" text, "metropolitan_borough_c" text, "zone" real, "servedby_route_maps_dead_link_dead_link" text, "station_users_2006_07" real, "station_users_2007_08" real );. Question: "What's the biggest zone?". [/INST] SELECT MAX("zone") FROM "stations";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "stations" ( "station" text, "year_opened" text, "metropolitan_borough_c" text, "zone" real, "servedby_route_maps_dead_link_dead_link" text, "station_users_2006_07" real, "station_users_2007_08" real );. Question: "What stations had 183000 users in 2006-2007?". [/INST] SELECT "station" FROM "stations" WHERE "station_users_2006_07"=183000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text );. Question: "What is the mass of the element with a nuclide that is 169 tm?". [/INST] SELECT "isotopic_mass_u" FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "nuclide"='169 Tm';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text );. Question: "What is the total number of N for the element with nuclide of 141 pr?". [/INST] SELECT COUNT("n_n") FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "nuclide"='141 Pr';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text );. Question: "What is the name of the element with isotopic mass of 158.925 34(2)?". [/INST] SELECT "element" FROM "complete_list_of_the_22_mononuclidic_ele" WHERE "isotopic_mass_u"='158.925 34(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 "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "The theme year they were born belongs to what artist?". [/INST] SELECT "original_artist" FROM "performances_results" 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_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "How many songs were sung by queen?". [/INST] SELECT COUNT("result") FROM "performances_results" WHERE "original_artist"='Queen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "operation" ( "maximum_ceiling_temperature" text, "temperature_rating" text, "temperature_classification" text, "color_code_with_fusible_link" text, "glass_bulb_color" text );. Question: "Name the glass bulb color for ordinary". [/INST] SELECT "glass_bulb_color" FROM "operation" WHERE "temperature_classification"='Ordinary';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "operation" ( "maximum_ceiling_temperature" text, "temperature_rating" text, "temperature_classification" text, "color_code_with_fusible_link" text, "glass_bulb_color" text );. Question: "Name the most ceiling temperature for intermediate". [/INST] SELECT "maximum_ceiling_temperature" FROM "operation" WHERE "temperature_classification"='Intermediate';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "operation" ( "maximum_ceiling_temperature" text, "temperature_rating" text, "temperature_classification" text, "color_code_with_fusible_link" text, "glass_bulb_color" text );. Question: "Name the most ceiling temperature for very extra high". [/INST] SELECT "maximum_ceiling_temperature" FROM "operation" WHERE "temperature_classification"='Very Extra High';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "When did the playoffs reached Conference Finals?". [/INST] SELECT "year" FROM "year_by_year" WHERE "playoffs"='Conference Finals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );. Question: "What was the regular season from year 2012?". [/INST] SELECT "regular_season" FROM "year_by_year" WHERE "year"=2012;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );. Question: "Which teams had a difference of 8 between goals scored and goals conceeded". [/INST] SELECT "team" FROM "campeonato_paulista" WHERE "difference"='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 "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" text );. Question: "Which teams had 10 goals scored against them". [/INST] SELECT "team" FROM "campeonato_paulista" WHERE "against"=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 "table1_15431251_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "What is the original air date for episode 17 in the season?". [/INST] SELECT "original_air_date" FROM "table1_15431251_1" WHERE "no_in_season"=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 "table1_15431251_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "What is the original air date for the episode directed by Peter Woeste?". [/INST] SELECT "original_air_date" FROM "table1_15431251_1" WHERE "directed_by"='Peter Woeste';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15431251_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "What is the title for episode number 7 in the season?". [/INST] SELECT COUNT("title") FROM "table1_15431251_1" WHERE "no_in_season"=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_15431251_1" ( "no_in_season" real, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "Who wrote the episode "Forever In A Day"?". [/INST] SELECT "written_by" FROM "table1_15431251_1" WHERE "title"='\"Forever in a 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_15430606_1" ( "no_in_series" text, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "length_minutes" real );. Question: "Name the total number of number disc for jimmy kaufman". [/INST] SELECT COUNT("no_disc") FROM "table1_15430606_1" WHERE "directed_by"='Jimmy Kaufman';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15430606_1" ( "no_in_series" text, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "length_minutes" real );. Question: "Name the minimum number disc for number in series for 14". [/INST] SELECT MIN("no_disc") FROM "table1_15430606_1" WHERE "no_in_series"='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 "table1_15430606_1" ( "no_in_series" text, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "length_minutes" real );. Question: "Name the maximum number of disc for bill gereghty". [/INST] SELECT MAX("no_disc") FROM "table1_15430606_1" WHERE "directed_by"='Bill Gereghty';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15430606_1" ( "no_in_series" text, "no_disc" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "length_minutes" real );. Question: "Name the total number of length minutes for number in series for 17". [/INST] SELECT COUNT("length_minutes") FROM "table1_15430606_1" WHERE "no_in_series"='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 "lpga_tour_record" ( "year" real, "events_played" real, "cuts_made" real, "wins" real, "2nds" real, "top_10s" real, "best_finish" text, "earnings" real, "rank" text, "scoring_average" text, "scoring_rank" text );. Question: "What is the best finish where the scoring rank is 97?". [/INST] SELECT "best_finish" FROM "lpga_tour_record" WHERE "scoring_rank"='97';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_record" ( "year" real, "events_played" real, "cuts_made" real, "wins" real, "2nds" real, "top_10s" real, "best_finish" text, "earnings" real, "rank" text, "scoring_average" text, "scoring_rank" text );. Question: "What is the minimum number of wins?". [/INST] SELECT MIN("wins") FROM "lpga_tour_record";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15451122_2" ( "elected" real, "assembled" text, "dissolved" text, "first_member" text, "second_member" text );. Question: "How many different second members were there when John rudhale was first member?". [/INST] SELECT COUNT("second_member") FROM "table1_15451122_2" WHERE "first_member"='John Rudhale';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15451122_2" ( "elected" real, "assembled" text, "dissolved" text, "first_member" text, "second_member" text );. Question: "What date was parliament assembled when John rudhale was first member?". [/INST] SELECT "assembled" FROM "table1_15451122_2" WHERE "first_member"='John Rudhale';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the school/club team when season is 2009-2011". [/INST] SELECT "school_club_team" FROM "g" WHERE "season"='2009-2011';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the name for san beda". [/INST] SELECT "name" FROM "g" WHERE "school_club_team"='San Beda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the position for san beda". [/INST] SELECT "position" FROM "g" WHERE "school_club_team"='San Beda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the name of the state". [/INST] SELECT "name" FROM "g" WHERE "school_club_team"='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 "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Namethe school team for season 2008". [/INST] SELECT "school_club_team" FROM "g" WHERE "season"='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 "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Nametheh school team for norman gonzales". [/INST] SELECT "school_club_team" FROM "g" WHERE "name"='Norman Gonzales';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "Name the points for pontrhydyfen rfc". [/INST] SELECT "points" FROM "league_table" WHERE "club"='Pontrhydyfen RFC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "Name the try bonus and tries for 30". [/INST] SELECT "try_bonus" FROM "league_table" WHERE "tries_for"='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 "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "Name the points for where lost is 4". [/INST] SELECT COUNT("points_for") FROM "league_table" WHERE "lost"='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 "r" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the number when acquisition via far eastern". [/INST] SELECT "number" FROM "r" WHERE "acquisition_via"='Far Eastern';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the season when the number is 9". [/INST] SELECT "season" FROM "r" WHERE "number"='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 "r" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the name for visayas". [/INST] SELECT "name" FROM "r" WHERE "school_club_team"='Visayas';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "r" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );. Question: "Name the school/club team for 9". [/INST] SELECT "school_club_team" FROM "r" WHERE "number"='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 "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league" text, "class" text, "division" text );. Question: "What are all the schools that use the colors maroon and white". [/INST] SELECT "school" FROM "delaware_ice_hockey_teams" WHERE "colors"='Maroon and White';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league" text, "class" text, "division" text );. Question: "Middletown High School uses which colors". [/INST] SELECT "colors" FROM "delaware_ice_hockey_teams" WHERE "school"='Middletown High School';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league" text, "class" text, "division" text );. Question: "What league does the team with the nickname Cavaliers belong to". [/INST] SELECT "league" FROM "delaware_ice_hockey_teams" WHERE "nickname"='Cavaliers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league" text, "class" text, "division" text );. Question: "In what division will you find the team nicknamed the Silver Eagles". [/INST] SELECT "division" FROM "delaware_ice_hockey_teams" WHERE "nickname"='Silver Eagles';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delaware_ice_hockey_teams" ( "school" text, "nickname" text, "colors" text, "league" text, "class" text, "division" text );. Question: "What league does Delaware Military Academy belong to". [/INST] SELECT "league" FROM "delaware_ice_hockey_teams" WHERE "school"='Delaware Military Academy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "con_gress" text, "district" text, "vacator" text, "election_date" text, "successor" text, "took_seat" text );. Question: "Name the number of districts for december 1799". [/INST] SELECT COUNT("district") FROM "list" WHERE "election_date"='December 1799';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list" ( "con_gress" text, "district" text, "vacator" text, "election_date" text, "successor" text, "took_seat" text );. Question: "Name the vacator for took seat being january 29, 1813". [/INST] SELECT "vacator" FROM "list" WHERE "took_seat"='January 29, 1813';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the most number of s eva". [/INST] SELECT MAX("number_of_s_eva") FROM "manned_moon_landings";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the total number of luna blastoff date for apollo 11". [/INST] SELECT COUNT("lunar_blastoff_date") FROM "manned_moon_landings" WHERE "mission_name"='Apollo 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 "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the mission name for 21 november 1969". [/INST] SELECT "mission_name" FROM "manned_moon_landings" WHERE "lunar_blastoff_date"='21 November 1969';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the lunar landing site for 19 november 1969". [/INST] SELECT "lunar_landing_site" FROM "manned_moon_landings" WHERE "lunar_landing_date"='19 November 1969';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the most number of s eva". [/INST] SELECT MAX("number_of_s_eva") FROM "manned_moon_landings";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "manned_moon_landings" ( "mission_name" text, "lunar_lander" text, "lunar_landing_date" text, "lunar_blastoff_date" text, "lunar_landing_site" text, "duration_on_lunar_surface" text, "crew" text, "number_of_s_eva" real, "total_eva_time_hh_mm" text );. Question: "Name the mission name for ocean of storms". [/INST] SELECT "mission_name" FROM "manned_moon_landings" WHERE "lunar_landing_site"='Ocean of Storms';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "recent_winners" ( "year_theme" text, "award_name" text, "team_name" text, "team_number" real, "city_state_country" text );. Question: "What award did team 679 win?". [/INST] SELECT "award_name" FROM "recent_winners" WHERE "team_number"=679;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "recent_winners" ( "year_theme" text, "award_name" text, "team_name" text, "team_number" real, "city_state_country" text );. Question: "How many teams are in Bridgewater, NJ, USA?". [/INST] SELECT COUNT("team_name") FROM "recent_winners" WHERE "city_state_country"='Bridgewater, NJ, USA';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Which number belonged to the school team from Arizona?". [/INST] SELECT "no" FROM "s" 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 "s" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "What is the latest number of the guard position from the Wake Forest school team?". [/INST] SELECT MAX("no") FROM "s" WHERE "position"='Guard' AND "school_club_team"='Wake Forest';</s>