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 "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "Name the most poles". [/INST] SELECT MIN("poles") FROM "nascar_nationwide_series";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the indanapolis concerts for dr. alexandre manette". [/INST] SELECT "indianapolis_concerts" FROM "casts" WHERE "character"='Dr. Alexandre Manette';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the brighton cast for jerry cruncher". [/INST] SELECT "brighton_cast" FROM "casts" WHERE "character"='Jerry Cruncher';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the sarasota samantha sharpe". [/INST] SELECT "sarasota" FROM "casts" WHERE "indianapolis_concerts"='Samantha Sharpe';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the indianapolis concerts for les minski". [/INST] SELECT "indianapolis_concerts" FROM "casts" WHERE "sarasota"='Les Minski';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the brighton cast for andrew verala". [/INST] SELECT "brighton_cast" FROM "casts" WHERE "indianapolis_concerts"='Andrew Verala';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "casts" ( "character" text, "indianapolis_concerts" text, "sarasota" text, "broadway" text, "brighton_cast" text );. Question: "Name the indianapolis concerts for paul baker". [/INST] SELECT "indianapolis_concerts" FROM "casts" WHERE "brighton_cast"='Paul Baker';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "when the population was 1599, what was the census ranking?". [/INST] SELECT "census_ranking" FROM "parishes" WHERE "population"=1599;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the name of the parish where the area is 508.30?". [/INST] SELECT COUNT("official_name") FROM "parishes" WHERE "area_km_2"='508.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 "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "at area 191.43 what is the total number of census ranking?". [/INST] SELECT COUNT("census_ranking") FROM "parishes" WHERE "area_km_2"='191.43';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "At census ranking 1,184 of 5,008, what was the minimum population?". [/INST] SELECT MIN("population") FROM "parishes" WHERE "census_ranking"='1,184 of 5,008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "at the area of 113.12, what was the population?". [/INST] SELECT "population" FROM "parishes" WHERE "area_km_2"='113.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 "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the status for Saint George? ". [/INST] SELECT "status" FROM "parishes" WHERE "official_name"='Saint George';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the area in km2 for Dufferin? ". [/INST] SELECT "area_km_2" FROM "parishes" WHERE "official_name"='Dufferin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "How many areas are named West Isles? ". [/INST] SELECT COUNT("area_km_2") FROM "parishes" WHERE "official_name"='West Isles';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "How many areas of 375.06 km 2 have a census ranking? ". [/INST] SELECT COUNT("census_ranking") FROM "parishes" WHERE "area_km_2"='375.06';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the census ranking when the area is 78.67 ?". [/INST] SELECT "census_ranking" FROM "parishes" WHERE "area_km_2"='78.67';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 high assists on March 15? ". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='March 15';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 team played on March 20? ". [/INST] SELECT "team" FROM "game_log" WHERE "date"='March 20';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17115950_2" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "How many times did Viorel Moldovan replaced a manager?". [/INST] SELECT COUNT("date_of_vacancy") FROM "table1_17115950_2" WHERE "replaced_by"='Viorel Moldovan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17115950_2" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "What was the date of vacancy when Viorel Moldovan replaced a manager?". [/INST] SELECT "date_of_vacancy" FROM "table1_17115950_2" WHERE "replaced_by"='Viorel Moldovan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17115950_2" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Who replaced the manager on Team Cfr Cluj?". [/INST] SELECT "replaced_by" FROM "table1_17115950_2" WHERE "team"='CFR Cluj';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17115950_2" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Who was the outgoing manager replaced by Marian Bucurescu?". [/INST] SELECT "outgoing_manager" FROM "table1_17115950_2" WHERE "replaced_by"='Marian Bucurescu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17115950_2" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "What was the manner of departure of Nicolae Manea?". [/INST] SELECT "manner_of_departure" FROM "table1_17115950_2" WHERE "outgoing_manager"='Nicolae Manea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the score on game number 12?". [/INST] SELECT "score" FROM "regular_season" WHERE "game"=12;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the record when Canty (5) was the high assists?". [/INST] SELECT "record" FROM "regular_season" WHERE "high_assists"='Canty (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 "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many players received high points where location/attendance was UIC Pavilion 6,304 respectively?". [/INST] SELECT COUNT("high_points") FROM "regular_season" WHERE "location_attendance"='UIC Pavilion 6,304';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "On what date did Canty (6) receive high assists?". [/INST] SELECT "date" FROM "regular_season" WHERE "high_assists"='Canty (6)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Which game number had a location/attendance of US Airways Center 7,311 respectively?". [/INST] SELECT MAX("game") FROM "regular_season" WHERE "location_attendance"='US Airways Center 7,311';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "On which date was the record 1-4?". [/INST] SELECT "date" FROM "regular_season" WHERE "record"='1-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 "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the population in Westfield?". [/INST] SELECT COUNT("population") FROM "parishes" WHERE "official_name"='Westfield';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?". [/INST] SELECT "area_km_2" FROM "parishes" WHERE "census_ranking"='1,016 of 5,008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008?". [/INST] SELECT "area_km_2" FROM "parishes" WHERE "census_ranking"='1,608 of 5,008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the Area KM 2 of Rothesay?". [/INST] SELECT COUNT("area_km_2") FROM "parishes" WHERE "official_name"='Rothesay';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What's the official name of the place with an Area KM 2 of 295.07". [/INST] SELECT "official_name" FROM "parishes" WHERE "area_km_2"='295.07';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "What is the population of Cardwell?". [/INST] SELECT MIN("population") FROM "parishes" WHERE "official_name"='Cardwell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "Name the total number of status for eldon". [/INST] SELECT COUNT("status") FROM "parishes" WHERE "official_name"='Eldon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" text, "population" real, "census_ranking" text );. Question: "Name the area km 2 for balmoral". [/INST] SELECT "area_km_2" FROM "parishes" WHERE "official_name"='Balmoral';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 team(s) did they play on april 23?". [/INST] SELECT "team" FROM "game_log" WHERE "date"='April 23';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 score(s) were recorded on april 28?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='April 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 "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );. Question: "When galaxy angel aa is the title what was the series?". [/INST] SELECT "series" FROM "anime" WHERE "title"='Galaxy Angel AA';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );. Question: "When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there?". [/INST] SELECT COUNT("title") FROM "anime" WHERE "aired_in_japan_3"='7 April 2001 to 29 September 2001';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );. Question: "When galaxy angel aa was the title was the us release date?". [/INST] SELECT "us_release_date" FROM "anime" WHERE "title"='Galaxy Angel AA';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "notes" ( "rank" real, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" text, "comparable_country" text );. Question: "What comparable country has a national share of 1.08?". [/INST] SELECT "comparable_country" FROM "notes" WHERE "national_share_pct"='1.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 "notes" ( "rank" real, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" text, "comparable_country" text );. Question: "What is the national share of the country whose area is 148064 km^2?". [/INST] SELECT "national_share_pct" FROM "notes" WHERE "area_km"=148064;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "notes" ( "rank" real, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" text, "comparable_country" text );. Question: "What is the administrative division that has an area of 30 km^2?". [/INST] SELECT "administrative_division" FROM "notes" WHERE "area_km"=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 "notes" ( "rank" real, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" text, "comparable_country" text );. Question: "What is the national share of Guizhou's administrative division?". [/INST] SELECT "national_share_pct" FROM "notes" WHERE "administrative_division"='Guizhou';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "notes" ( "rank" real, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" text, "comparable_country" text );. Question: "What is the rank of the division with an area of 456800 sq mi?". [/INST] SELECT "rank" FROM "notes" WHERE "area_sq_mi"=456800;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_171748_3" ( "period" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_over_three_months" text, "change_over_same_quarter_the_previous_year" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average_maa" text, "change_over_previous_year_as_a_whole" text );. Question: "What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%?". [/INST] SELECT "change_over_previous_year_as_a_whole" FROM "table1_171748_3" WHERE "change_over_same_quarter_the_previous_year"='Up 2.8%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_171748_3" ( "period" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_over_three_months" text, "change_over_same_quarter_the_previous_year" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average_maa" text, "change_over_previous_year_as_a_whole" text );. Question: "When was the percentage of trains arriving within 5 minutes of scheduled time 89.6%?". [/INST] SELECT "period" FROM "table1_171748_3" WHERE "pct_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average_maa"='89.6%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_171748_3" ( "period" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_over_three_months" text, "change_over_same_quarter_the_previous_year" text, "pct_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average_maa" text, "change_over_previous_year_as_a_whole" text );. Question: "What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?". [/INST] SELECT "change_over_same_quarter_the_previous_year" FROM "table1_171748_3" WHERE "pct_trains_arriving_within_5_mins_of_scheduled_time_over_three_months"='89.6%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_17251764_1" ( "municipality" text, "shire" text, "population" real, "area_in_km_2" text, "density_in_inhab_km_2" text, "distance_to_san_sebastians_city_centre_in_km" text );. Question: "how many shire in the land of area in km 2 is 27.17". [/INST] SELECT COUNT("shire") FROM "table1_17251764_1" WHERE "area_in_km_2"='27.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 "champions_by_country" ( "country" text, "amateur_era" real, "open_era" real, "all_time" real, "first_title" real, "last_title" real );. Question: "How many open era titles does the team with their first title in 1925 have?". [/INST] SELECT "open_era" FROM "champions_by_country" WHERE "first_title"=1925;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the replacced by with ascoli". [/INST] SELECT "replaced_by" FROM "table1_17275810_7" WHERE "team"='Ascoli';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the team for mario somma". [/INST] SELECT "team" FROM "table1_17275810_7" WHERE "replaced_by"='Mario Somma';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the date of appointment for ascoli". [/INST] SELECT "date_of_appointment" FROM "table1_17275810_7" WHERE "team"='Ascoli';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the manner of departure for elvio selighini". [/INST] SELECT "manner_of_departure" FROM "table1_17275810_7" WHERE "replaced_by"='Elvio Selighini';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the date of vacancy for fabio brini". [/INST] SELECT "date_of_vacancy" FROM "table1_17275810_7" WHERE "replaced_by"='Fabio Brini';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17275810_7" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );. Question: "Name the outgoing manager for mantova". [/INST] SELECT "outgoing_manager" FROM "table1_17275810_7" WHERE "team"='Mantova';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 San Antonio's team score?". [/INST] SELECT "score" FROM "game_log" WHERE "team"='San Antonio';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 game 66". [/INST] SELECT "score" FROM "game_log" WHERE "game"=66;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 record for score of l 77–80 (ot)". [/INST] SELECT "record" FROM "game_log" WHERE "score"='L 77–80 (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 "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 houston". [/INST] SELECT "high_assists" FROM "game_log" WHERE "team"='Houston';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 game 63". [/INST] SELECT "score" FROM "game_log" WHERE "game"=63;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "How many poles did David Price Racing win?". [/INST] SELECT MAX("poles") FROM "career_summary" WHERE "team_name"='David Price Racing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "Who started in 2008 with 0 points?". [/INST] SELECT "team_name" FROM "career_summary" WHERE "season"='2008' AND "points"=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 "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "Which team started 2010?". [/INST] SELECT "team_name" FROM "career_summary" WHERE "season"='2010';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "What was the max points you when when you place 9th?". [/INST] SELECT MAX("points") FROM "career_summary" WHERE "final_placing"='9th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );. Question: "When the wins is 3, what is the maximum races?". [/INST] SELECT MAX("races") FROM "career_summary" WHERE "wins"=3;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expansion_draft_selections" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text );. Question: "Name the number of former wnba team for 2". [/INST] SELECT COUNT("former_wnba_team") FROM "expansion_draft_selections" WHERE "pick"=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 "expansion_draft_selections" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text );. Question: "Name the player for mercer". [/INST] SELECT "player" FROM "expansion_draft_selections" WHERE "college_country_team"='Mercer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 record of wins and losses for Denver's ball club?". [/INST] SELECT "record" FROM "game_log" WHERE "team"='Denver';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location and the crowd attendance on December 9?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "date"='December 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: "Who scored the most rebounds in game 64?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "game"=64;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "How many numbers were recorded for high points when the team played against Oklahoma City?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "team"='Oklahoma 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 "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 yi jianlian , brook lopez (7)". [/INST] SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='Yi Jianlian , Brook Lopez (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 "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 location attendance for 20". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "game"=20;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 date for l 92–103 (ot)". [/INST] SELECT "date" FROM "game_log" WHERE "score"='L 92–103 (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 "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 record when the team played Boston?". [/INST] SELECT "record" FROM "game_log" WHERE "team"='Boston';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 number game had a high assist of lebron james (7) and high point of lebron james (21)?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "high_assists"='LeBron James (7)' AND "high_points"='LeBron James (21)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "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 lowest game number when the team is Houston? ". [/INST] SELECT MIN("game") FROM "game_log" WHERE "team"='Houston';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 date when Troy Murphy (15), got high rebounds? ". [/INST] SELECT "date" FROM "game_log" WHERE "high_rebounds"='Troy Murphy (15)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 did the High Assists when Kevin Durant (28) took the High Points?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "high_points"='Kevin Durant (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 "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 when the game took place on January 18?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='January 18';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many games were played by team @ New Jersey?". [/INST] SELECT COUNT("score") 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: "how many times were high rebounds mehmet okur , paul millsap (6)". [/INST] SELECT COUNT("score") FROM "game_log" WHERE "high_rebounds"='Mehmet Okur , Paul Millsap (6)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "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 the match with high points carlos boozer (20)". [/INST] SELECT "score" FROM "game_log" WHERE "high_points"='Carlos Boozer (20)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 high rebounds stat on april 11". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 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: "who made highest rebounds on april 11". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 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 "table1_17355743_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "Who wrote season 10". [/INST] SELECT "written_by" FROM "table1_17355743_1" WHERE "season_num"=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_17355743_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );. Question: "Name who directed the episode by joe sachs and david zabel". [/INST] SELECT "directed_by" FROM "table1_17355743_1" WHERE "written_by"='Joe Sachs and David Zabel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "won" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" text, "points_2" real );. Question: "What is every value for Points 2 when the value of won is 30?". [/INST] SELECT "points_2" FROM "final_table" WHERE "won"=30;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "won" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" text, "points_2" real );. Question: "What is the lowest value of Points 2 when the goal average is 1.50?". [/INST] SELECT MIN("points_2") FROM "final_table" WHERE "goal_average_1"='1.50';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "won" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" text, "points_2" real );. Question: "How many values of goal average 1 occur when the value of goals against is 92?". [/INST] SELECT COUNT("goal_average_1") FROM "final_table" WHERE "goals_against"=92;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "won" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" text, "points_2" real );. Question: "What is the highest value for Points 2 when the goal average 1 is 0.65?". [/INST] SELECT MAX("points_2") FROM "final_table" WHERE "goal_average_1"='0.65';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "How many dates had a final score of w 118-112?". [/INST] SELECT COUNT("date") FROM "game_log" WHERE "score"='W 118-112';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location and attendance at the game where the final score is w 118-112?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "score"='W 118-112';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high rebounds in the game with a final score of w 140-108?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "score"='W 140-108';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "first_broadcast" text, "graemes_guest" text, "jeremys_guest" text, "votes_pct" text );. Question: "in what date was aired the first broacast of the episode 1x02". [/INST] SELECT "first_broadcast" FROM "series_1" WHERE "episode"='1x02';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "first_broadcast" text, "graemes_guest" text, "jeremys_guest" text, "votes_pct" text );. Question: "what is the name of the jeremy guest for the episode 1x01". [/INST] SELECT "jeremys_guest" FROM "series_1" WHERE "episode"='1x01';</s>