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 "winners_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "How many total show when silver is 0, bronze is 1, and the rank is less than 3?". [/INST] SELECT COUNT("total") FROM "winners_by_country" WHERE "silver"=0 AND "bronze"=1 AND "rank"<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 "winners_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the number for rank when gold is less than 0?". [/INST] SELECT SUM("rank") FROM "winners_by_country" WHERE "gold"<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 "winners_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average for silver when bronze is less than 1, and gold is more than 0?". [/INST] SELECT AVG("silver") FROM "winners_by_country" WHERE "bronze"<1 AND "gold">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 "winners_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average Gold when the rank is less than 3 and the bronze is less than 1?". [/INST] SELECT AVG("gold") FROM "winners_by_country" WHERE "rank"<3 AND "bronze"<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 "winners_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0?". [/INST] SELECT AVG("rank") FROM "winners_by_country" WHERE "bronze"=2 AND "total"=2 AND "gold"<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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the 7th runner-up of the country with a 10th runner-up greater than 0, a 9th runner-up greater than 0, and an 8th runner-up greater than 1?". [/INST] SELECT SUM("7th_runner_up") FROM "semi_finalists" WHERE "10th_runner_up">0 AND "9th_runner_up">0 AND "8th_runner_up">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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the 3rd runner-up of the country with more than 0 9th runner-up, an 11th runner-up of 0, and the 1st runner-up greater than 0?". [/INST] SELECT SUM("3rd_runner_up") FROM "semi_finalists" WHERE "9th_runner_up">0 AND "11th_runner_up"=0 AND "1st_runner_up">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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the average total of the country with a 4th runner-up of 0 and a Nuestra Bellaza Latina less than 0?". [/INST] SELECT AVG("total") FROM "semi_finalists" WHERE "4th_runner_up"=0 AND "nuestra_belleza_latina"<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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the total number of 3rd runners-up of the country ranked lower than 12 with a 10th runner-up of 0, an 8th runner-up less than 1, and a 7th runner-up of 0?". [/INST] SELECT COUNT("3rd_runner_up") FROM "semi_finalists" WHERE "10th_runner_up"=0 AND "8th_runner_up"<1 AND "7th_runner_up"=0 AND "rank">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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the lowest 7th runner-up of the country with a top 18/20/24/30 greater than 5, a 1st runner-up greater than 0, and an 11th runner-up less than 0?". [/INST] SELECT MIN("7th_runner_up") FROM "semi_finalists" WHERE "top_18_20_24_30">5 AND "1st_runner_up">0 AND "11th_runner_up"<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 "semi_finalists" ( "rank" real, "country_territory" text, "nuestra_belleza_latina" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "5th_runner_up" real, "6th_runner_up" real, "7th_runner_up" real, "8th_runner_up" real, "9th_runner_up" real, "10th_runner_up" real, "11th_runner_up" real, "top_18_20_24_30" real, "total" real );. Question: "What is the 9th runner-up with a top 18/20/24/30 greater than 17 and a 5th runner-up of 2?". [/INST] SELECT SUM("9th_runner_up") FROM "semi_finalists" WHERE "5th_runner_up"=2 AND "top_18_20_24_30">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 "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "what player is playing on round 1". [/INST] SELECT "player" FROM "draft_picks" WHERE "round"='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 "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "what is the school that hosts mikael renberg". [/INST] SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='mikael renberg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "fate" text, "freq_currently" text, "purpose" text );. Question: "Which area served has a Callsign of 5ddn?". [/INST] SELECT "area_served" FROM "defunct_callsigns" WHERE "callsign"='5ddn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "fate" text, "freq_currently" text, "purpose" text );. Question: "What is the purpose for Frequency of 102.3?". [/INST] SELECT "purpose" FROM "defunct_callsigns" WHERE "frequency"='102.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 "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "fate" text, "freq_currently" text, "purpose" text );. Question: "What is the current freq for Frequency of 104.7?". [/INST] SELECT "freq_currently" FROM "defunct_callsigns" WHERE "frequency"='104.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 "schedule" ( "venue" text, "home" text, "guest" text, "score" text, "attendance" real );. Question: "What was the score for the game with FK Bratstvo as home team?". [/INST] SELECT "score" FROM "schedule" WHERE "home"='fk bratstvo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "venue" text, "home" text, "guest" text, "score" text, "attendance" real );. Question: "What was the attendance of the game that had an away team of FK Mogren?". [/INST] SELECT "attendance" FROM "schedule" WHERE "guest"='fk mogren';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_11_7_4" ( "outcome" text, "tournament" text, "surface" text, "partnering" text, "score_in_the_final" text );. Question: "What was the final score for the match with a partnering of Tessa Price?". [/INST] SELECT "score_in_the_final" FROM "doubles_11_7_4" WHERE "partnering"='tessa price';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );. Question: "What is the earliest round that Donald Mason had a pick larger than 114?". [/INST] SELECT MIN("round") FROM "draft_picks" WHERE "player"='donald mason' AND "pick">114;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );. Question: "What is the nationality of the player from Drexel who had a pick larger than 183?". [/INST] SELECT "nationality" FROM "draft_picks" WHERE "pick">183 AND "school_club_team"='drexel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wta_tour_venues" ( "rank" text, "stadium" text, "capacity" real, "city" text, "country" text, "tournament_hosted" text );. Question: "What country has grandstand stadium as the stadium?". [/INST] SELECT "country" FROM "wta_tour_venues" WHERE "stadium"='grandstand stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wta_tour_venues" ( "rank" text, "stadium" text, "capacity" real, "city" text, "country" text, "tournament_hosted" text );. Question: "What is the average capacity that has switzerland as the country?". [/INST] SELECT AVG("capacity") FROM "wta_tour_venues" WHERE "country"='switzerland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wta_tour_venues" ( "rank" text, "stadium" text, "capacity" real, "city" text, "country" text, "tournament_hosted" text );. Question: "What is the average capacity that has rod laver arena as the stadium?". [/INST] SELECT AVG("capacity") FROM "wta_tour_venues" WHERE "stadium"='rod laver arena';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "How much January has a Record of 26–12–6, and Points smaller than 58?". [/INST] SELECT SUM("january") FROM "regular_season" WHERE "record"='26–12–6' AND "points"<58;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "Which Points have a Score of 4–1?". [/INST] SELECT MAX("points") FROM "regular_season" WHERE "score"='4–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 "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );. Question: "How many Games have a Score of 2–6, and Points larger than 62?". [/INST] SELECT COUNT("game") FROM "regular_season" WHERE "score"='2–6' AND "points">62;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );. Question: "Tell me the region for catalog of 576 096-2". [/INST] SELECT "region" FROM "release_history" WHERE "catalog"='576 096-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 "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );. Question: "Name the catalog for 26 march 1996". [/INST] SELECT "catalog" FROM "release_history" WHERE "date"='26 march 1996';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );. Question: "Name the region with catalog of 576 097-2". [/INST] SELECT "region" FROM "release_history" WHERE "catalog"='576 097-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "The game that has a save of lynch (4) ended with what score?". [/INST] SELECT "score" FROM "game_log" WHERE "save"='lynch (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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "On which day did the Chicago Cubs have a loss of trout (4-2)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='trout (4-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "What is the loss for the game against @ expos, with a save of parrett (2)?". [/INST] SELECT "loss" FROM "game_log" WHERE "opponent"='@ expos' AND "save"='parrett (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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "The game with a loss of smith (2-4) ended with what score?". [/INST] SELECT "score" FROM "game_log" WHERE "loss"='smith (2-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );. Question: "What is the date for the game that included a loss of sutcliffe (10-4)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='sutcliffe (10-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 "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );. Question: "What is the date of the Greater Greensboro Chrysler Classic?". [/INST] SELECT "date" FROM "tournament_results" WHERE "tournament"='greater greensboro chrysler classic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );. Question: "What is the score of the B.C. Open in New York?". [/INST] SELECT "score" FROM "tournament_results" WHERE "location"='new york' AND "tournament"='b.c. open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );. Question: "Who is the winner of the tournament in Georgia on Oct 3?". [/INST] SELECT "winner" FROM "tournament_results" WHERE "location"='georgia' AND "date"='oct 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 "wales" ( "cap_number" real, "date" text, "position" text, "shirt_number" real, "home_or_away" text, "venue" text, "result" text, "score" text );. Question: "What's the largest shirt number when the cap number is 5?". [/INST] SELECT MAX("shirt_number") FROM "wales" WHERE "cap_number"=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 "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_arena" text );. Question: "Which team is in the Southeast with a home at Philips Arena?". [/INST] SELECT "team" FROM "list_of_professional_sports_teams_in_the" WHERE "division"='southeast' AND "home_arena"='philips arena';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_arena" text );. Question: "Which division do the Toronto Raptors belong in?". [/INST] SELECT "division" FROM "list_of_professional_sports_teams_in_the" WHERE "team"='toronto raptors';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_arena" text );. Question: "Which city includes the Target Center arena?". [/INST] SELECT "city" FROM "list_of_professional_sports_teams_in_the" WHERE "home_arena"='target center';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_arena" text );. Question: "Which conference is in Portland, Oregon?". [/INST] SELECT "conference" FROM "list_of_professional_sports_teams_in_the" WHERE "city"='portland, oregon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_arena" text );. Question: "Which city includes Barclays Center?". [/INST] SELECT "city" FROM "list_of_professional_sports_teams_in_the" WHERE "home_arena"='barclays center';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which WYSIWYG Editor has a User-selectable themes of yes, and an Unread message tracking of session, and an Image attachment of plugin?". [/INST] SELECT "wysiwyg_editor" FROM "features" WHERE "user_selectable_themes"='yes' AND "unread_message_tracking"='session' AND "image_attachment"='plugin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which Calendar has WYSIWYG Editor of yes and an Unread message tracking of yes?". [/INST] SELECT "calendar" FROM "features" WHERE "wysiwyg_editor"='yes' AND "unread_message_tracking"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin?". [/INST] SELECT "wysiwyg_editor" FROM "features" WHERE "image_attachment"='yes' AND "calendar"='plugin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which Calendar has a WYSIWYG Editor of no, and an Unread message tracking of session, and an Image attachment of no?". [/INST] SELECT "calendar" FROM "features" WHERE "wysiwyg_editor"='no' AND "unread_message_tracking"='session' AND "image_attachment"='no';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which Image attachment has a Threaded of yes, and a Calendar of yes?". [/INST] SELECT "image_attachment" FROM "features" WHERE "threaded"='yes' AND "calendar"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "features" ( "flat" text, "threaded" text, "user_selectable_themes" text, "calendar" text, "image_attachment" text, "unread_message_tracking" text, "wysiwyg_editor" text );. Question: "Which Calendar has a User-selectable themes of user-selectable themes?". [/INST] SELECT "calendar" FROM "features" WHERE "user_selectable_themes"='user-selectable themes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the record of the game with a score of 12–6?". [/INST] SELECT "record" FROM "game_log" WHERE "score"='12–6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the date of the game with a loss of Bush (1–5)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='bush (1–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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "Who was the opponent at the game with a score of 7–6?". [/INST] SELECT "opponent" FROM "game_log" WHERE "score"='7–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" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the score of the game with a loss of Maholm (2–4)?". [/INST] SELECT "score" FROM "game_log" WHERE "loss"='maholm (2–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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What is the attendance for the game on May 25?". [/INST] SELECT "attendance" FROM "game_log" WHERE "date"='may 25';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "points" ( "rank" real, "name" text, "team" text, "games" real, "points" real );. Question: "What was the game with a rank higher than 2 and a name of zendon hamilton?". [/INST] SELECT MAX("games") FROM "points" WHERE "name"='zendon hamilton' AND "rank">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 "2007_2008_table" ( "club" text, "played" 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: "If the points were 0, what was the losing bonus?". [/INST] SELECT "losing_bonus" FROM "2007_2008_table" WHERE "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 "2007_2008_table" ( "club" text, "played" 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: "What club had 56 points?". [/INST] SELECT "club" FROM "2007_2008_table" WHERE "points"='56';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" 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: "If the points were 0, what were the tries for?". [/INST] SELECT "tries_for" FROM "2007_2008_table" WHERE "points_for"='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 "2007_2008_table" ( "club" text, "played" 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: "What's the try bonus that had 423 points?". [/INST] SELECT "try_bonus" FROM "2007_2008_table" WHERE "points_for"='423';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" 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 tries when tries against were 41, try bonus was 6, and had 317 points.". [/INST] SELECT "tries_for" FROM "2007_2008_table" WHERE "try_bonus"='6' AND "tries_against"='41' AND "points_against"='317';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" 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: "What was the tries against when they had 32 tries for?". [/INST] SELECT "tries_against" FROM "2007_2008_table" WHERE "tries_for"='32';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "year" real, "chart" text, "track" text, "peak" real, "weeks_on_chart" real );. Question: "Name the least weeks for year less than 2000". [/INST] SELECT MIN("weeks_on_chart") FROM "singles" WHERE "year"<2000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "year" real, "chart" text, "track" text, "peak" real, "weeks_on_chart" real );. Question: "Name the total number of weeks for si te vas and peak less than 7 and year less than 2000". [/INST] SELECT COUNT("weeks_on_chart") FROM "singles" WHERE "track"='si te vas' AND "peak"<7 AND "year"<2000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "original_solo_albums" ( "year_p" real, "original_title" text, "title_in_english" text, "format" text, "label_country" text );. Question: "What is the english title with a lp format and an Original title of то ли ещё будет?". [/INST] SELECT "title_in_english" FROM "original_solo_albums" WHERE "format"='lp' AND "original_title"='то ли ещё будет';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text );. Question: "What was the score when the attendance was 18,545?". [/INST] SELECT "score" FROM "regular_season" WHERE "attendance"='18,545';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text );. Question: "What was the decision when the attendance was 19,592?". [/INST] SELECT "decision" FROM "regular_season" WHERE "attendance"='19,592';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lowest_team_totals" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );. Question: "Which Run has an Opponent of Canterbury?". [/INST] SELECT "runs" FROM "lowest_team_totals" WHERE "opponent"='canterbury';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lowest_team_totals" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );. Question: "Which Runs has a Rank of =5 and an Opponent of south australia?". [/INST] SELECT "runs" FROM "lowest_team_totals" WHERE "rank"='=5' AND "opponent"='south australia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lowest_team_totals" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );. Question: "Which Runs has a Opponent of south australia?". [/INST] SELECT "runs" FROM "lowest_team_totals" WHERE "opponent"='south australia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Skip has a Third of tony angiboust?". [/INST] SELECT "skip" FROM "group_a" WHERE "third"='tony angiboust';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Lead has a Nation of switzerland?". [/INST] SELECT "lead" FROM "group_a" WHERE "nation"='switzerland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Third has a Nation of scotland?". [/INST] SELECT "third" FROM "group_a" WHERE "nation"='scotland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "In which third did angel garcia lead?". [/INST] SELECT "third" FROM "group_a" WHERE "lead"='angel garcia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "When did France come in second?". [/INST] SELECT "second" FROM "group_a" WHERE "nation"='france';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "When did holger höhne come in third?". [/INST] SELECT "third" FROM "group_a" WHERE "lead"='holger höhne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );. Question: "How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have?". [/INST] SELECT COUNT("caps") FROM "2008_six_nations_championship_squads" WHERE "club_province"='munster' AND "position"='lock' AND "player"='mick o''driscoll';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );. Question: "What Club/province have caps less than 2 and Jonathan Sexton as player?". [/INST] SELECT "club_province" FROM "2008_six_nations_championship_squads" WHERE "caps"<2 AND "player"='jonathan sexton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );. Question: "Paddy Wallace who plays the position of fly-half has how many Caps?". [/INST] SELECT "caps" FROM "2008_six_nations_championship_squads" WHERE "position"='fly-half' AND "player"='paddy wallace';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );. Question: "What is the total of Caps when player born 13 December 1977?". [/INST] SELECT SUM("caps") FROM "2008_six_nations_championship_squads" WHERE "date_of_birth_age"='13 december 1977';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "helix_titles" ( "book_title" text, "issues" real, "writer" text, "artist_s" text, "publication_dates" text );. Question: "what artist has a book called cyberella". [/INST] SELECT "artist_s" FROM "helix_titles" WHERE "book_title"='cyberella';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "inegi_code" real, "municipality" text, "municipal_seat" text, "area_km_2" real, "population_2005" real, "population_density_km_2" real, "human_development_index_2000" real );. Question: "WHat is the amount of Human Development Index (2000) that has a Population (2005) of 54,929, and an Area (km 2 ) larger than 343.6?". [/INST] SELECT COUNT("human_development_index_2000") FROM "references" WHERE "population_2005"='54,929' AND "area_km_2">343.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 "references" ( "inegi_code" real, "municipality" text, "municipal_seat" text, "area_km_2" real, "population_2005" real, "population_density_km_2" real, "human_development_index_2000" real );. Question: "WHich INEGI code has a Population density (/km 2 ) smaller than 81.4 and 0.6593 Human Development Index (2000)?". [/INST] SELECT AVG("inegi_code") FROM "references" WHERE "population_density_km_2"<81.4 AND "human_development_index_2000"=0.6593;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "inegi_code" real, "municipality" text, "municipal_seat" text, "area_km_2" real, "population_2005" real, "population_density_km_2" real, "human_development_index_2000" real );. Question: "Which Area (km 2 )has a Population (2005) of 57,204, and a Human Development Index (2000) smaller than 0.7074?". [/INST] SELECT COUNT("area_km_2") FROM "references" WHERE "population_2005"='57,204' AND "human_development_index_2000"<0.7074;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_76_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the lowest number of field goals for a player with 3 touchdowns?". [/INST] SELECT MIN("field_goals") FROM "michigan_76_albion_0" WHERE "touchdowns"=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 "michigan_76_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "How many extra points did right halfback Roswell Wendell have?". [/INST] SELECT "extra_points" FROM "michigan_76_albion_0" WHERE "position"='right halfback' AND "player"='roswell wendell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "michigan_76_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );. Question: "What is the lowest number of touchdowns for left halfback WIllie Heston who has more than 15 points?". [/INST] SELECT MIN("touchdowns") FROM "michigan_76_albion_0" WHERE "position"='left halfback' AND "player"='willie heston' AND "points">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 "1964" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What was the result for the 1964 summer olympics on october 18?". [/INST] SELECT "results" FROM "1964" WHERE "type_of_game"='1964 summer olympics' AND "date"='october 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 "1964" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What was the opponent on october 28?". [/INST] SELECT "opponent" FROM "1964" WHERE "date"='october 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 "1964" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "Wjich city had a date of october 13?". [/INST] SELECT "city" FROM "1964" WHERE "date"='october 13';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1964" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What day were the results 3:2?". [/INST] SELECT "date" FROM "1964" WHERE "results"='3:2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_family" ( "family" text, "country" text, "launches" real, "successes" real, "failures" real, "partial_failures" real );. Question: "What is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0?". [/INST] SELECT COUNT("failures") FROM "by_family" WHERE "country"='russia' AND "family"='r14 r-14' AND "partial_failures"<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 "by_family" ( "family" text, "country" text, "launches" real, "successes" real, "failures" real, "partial_failures" real );. Question: "What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1?". [/INST] SELECT AVG("partial_failures") FROM "by_family" WHERE "country"='russia' AND "failures">0 AND "family"='angara' AND "launches">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 "proposed_regions" ( "region" real, "group_a" text, "group_b" text, "group_c" text, "group_d" text, "group_e" text, "group_f" text );. Question: "What is the group B region with a Group E region of Georgia?". [/INST] SELECT "group_b" FROM "proposed_regions" WHERE "group_e"='georgia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "proposed_regions" ( "region" real, "group_a" text, "group_b" text, "group_c" text, "group_d" text, "group_e" text, "group_f" text );. Question: "What is the group A region with a region number of 2?". [/INST] SELECT "group_a" FROM "proposed_regions" WHERE "region"=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 "proposed_regions" ( "region" real, "group_a" text, "group_b" text, "group_c" text, "group_d" text, "group_e" text, "group_f" text );. Question: "What is the group C region with Illinois as group B?". [/INST] SELECT "group_c" FROM "proposed_regions" WHERE "group_b"='illinois';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What opponnent has a record of 82-68?". [/INST] SELECT "opponent" FROM "game_log" WHERE "record"='82-68';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "what date has the record of 77-62?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='77-62';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "what opponent has the record of 78-63?". [/INST] SELECT "opponent" FROM "game_log" WHERE "record"='78-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "what score has the opponent of tigers and a record of 78-64?". [/INST] SELECT "score" FROM "game_log" WHERE "opponent"='tigers' AND "record"='78-64';</s>