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 "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the home team score when the away team is St Kilda?". [/INST] SELECT "home_team_score" FROM "round_11" WHERE "away_team"='st kilda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the home team score when the away team is Melbourne?". [/INST] SELECT "home_team_score" FROM "round_11" WHERE "away_team"='melbourne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What away team has a home team score of 15.18 (108)?". [/INST] SELECT "away_team" FROM "round_11" WHERE "home_team_score"='15.18 (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 "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the home team for punt road oval?". [/INST] SELECT "home_team" FROM "round_11" WHERE "venue"='punt road oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "literacy_rates" ( "country" text, "year_most_recent" real, "adult_15_literacy_rate_total" text, "adult_men" text, "adult_women" text, "youth_15_24_literacy_rate_total" text, "youth_men" text, "youth_women" text );. Question: "Which country has a Youth (15-24) Literacy Rate Total of 100% and has an Adult Women Literacy rate of 92%?". [/INST] SELECT "country" FROM "literacy_rates" WHERE "youth_15_24_literacy_rate_total"='100%' AND "adult_women"='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 "literacy_rates" ( "country" text, "year_most_recent" real, "adult_15_literacy_rate_total" text, "adult_men" text, "adult_women" text, "youth_15_24_literacy_rate_total" text, "youth_men" text, "youth_women" text );. Question: "Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%?". [/INST] SELECT "country" FROM "literacy_rates" WHERE "year_most_recent"=2005 AND "adult_men"='96%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "literacy_rates" ( "country" text, "year_most_recent" real, "adult_15_literacy_rate_total" text, "adult_men" text, "adult_women" text, "youth_15_24_literacy_rate_total" text, "youth_men" text, "youth_women" text );. Question: "What country has a Youth (15-24) Literacy Rate Total of 99%, and a Youth Men of 98%?". [/INST] SELECT "country" FROM "literacy_rates" WHERE "youth_15_24_literacy_rate_total"='99%' AND "youth_men"='98%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real );. Question: "Which public college has a nickname of The Grenadiers?". [/INST] SELECT "institution" FROM "current_members" WHERE "type"='public' AND "nickname"='grenadiers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real );. Question: "Which of the private colleges is the oldest, and whose nickname is the Mountaineers?". [/INST] SELECT MIN("founded") FROM "current_members" WHERE "type"='private' AND "nickname"='mountaineers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real );. Question: "Which college's enrollment is less than 1,000?". [/INST] SELECT "institution" FROM "current_members" WHERE "enrollment"<'1,000';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How much is the sum of every crowd in attendance when the away score was 7.13 (55) for Richmond?". [/INST] SELECT SUM("crowd") FROM "round_3" WHERE "away_team_score"='7.13 (55)' AND "away_team"='richmond';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which away team had a score of 4.12 (36)?". [/INST] SELECT "away_team" FROM "round_3" WHERE "away_team_score"='4.12 (36)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On what date does Essendon play as the away team?". [/INST] SELECT "date" FROM "round_3" WHERE "away_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the home team when the Geelong away team had a score of 7.13 (55)?". [/INST] SELECT "home_team" FROM "round_3" WHERE "away_team_score"='7.13 (55)' AND "away_team"='geelong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which away team had a score of 7.13 (55) against the home team North Melbourne?". [/INST] SELECT "away_team" FROM "round_3" WHERE "away_team_score"='7.13 (55)' AND "home_team"='north melbourne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which venue hosted a home team with a score of 13.15 (93)?". [/INST] SELECT "venue" FROM "round_3" WHERE "home_team_score"='13.15 (93)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "finalised_league_table" ( "team" text, "game" real, "draw" real, "loss" real, "goal_gain" real, "goal_loss" real, "goal_diff" real, "point" real );. Question: "What team with a Game smaller than 18 has the lowest Goal Gain?". [/INST] SELECT MIN("goal_gain") FROM "finalised_league_table" WHERE "game"<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 "t" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "What was the nationality of all players from the year 1976?". [/INST] SELECT "nationality" FROM "t" WHERE "from"=1976;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "t" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "What was the nationality of every player that attended Baylor?". [/INST] SELECT "nationality" FROM "t" WHERE "school_country"='baylor';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the largest crowd to view a game where the away team scored 17.8 (110)?". [/INST] SELECT MAX("crowd") FROM "round_5" WHERE "away_team_score"='17.8 (110)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which team was the away team when the game was at punt road oval?". [/INST] SELECT "away_team" FROM "round_5" WHERE "venue"='punt road oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the score for the away team when the home team was Fitzroy?". [/INST] SELECT "away_team_score" FROM "round_5" WHERE "home_team"='fitzroy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the venue when the away team scored 14.9 (93)?". [/INST] SELECT "venue" FROM "round_5" WHERE "away_team_score"='14.9 (93)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the date of the game when the away team was south melbourne?". [/INST] SELECT "date" FROM "round_5" WHERE "away_team"='south melbourne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the score for the away team that played against Richmond and has a crowd over 12,500?". [/INST] SELECT "away_team_score" FROM "round_5" WHERE "crowd">'12,500' AND "home_team"='richmond';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the percentage of Glendale when Pasadena is 14%?". [/INST] SELECT "glendale" FROM "mapping_l_a" WHERE "pasadena"='14%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the percentage of Tujunja when Pasadena is 33%?". [/INST] SELECT "tujunga" FROM "mapping_l_a" WHERE "pasadena"='33%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the percentage of Tukunga when La Crescenta-Montrose is 28%?". [/INST] SELECT "tujunga" FROM "mapping_l_a" WHERE "la_crescenta_montrose"='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 "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the figure for Pasadena when Tujunga is 36?". [/INST] SELECT "pasadena" FROM "mapping_l_a" WHERE "tujunga"='36';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the percentage of Glendale when La Canada Flintridge is 5%?". [/INST] SELECT "glendale" FROM "mapping_l_a" WHERE "la_ca_ada_flintridge"='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 "mapping_l_a" ( "tujunga" text, "la_crescenta_montrose" text, "glendale" text, "la_ca_ada_flintridge" text, "pasadena" text );. Question: "What is the figure for La Crescenta-Montrose when Gelndale is $57,112?". [/INST] SELECT "la_crescenta_montrose" FROM "mapping_l_a" WHERE "glendale"='$57,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 "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );. Question: "How many drops did Nicky Little have in Hong Kong?". [/INST] SELECT "drop" FROM "most_points_in_a_match" WHERE "player"='nicky little' AND "venue"='hong kong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );. Question: "How many conversions had 0 pens and 0 tries?". [/INST] SELECT "conv" FROM "most_points_in_a_match" WHERE "pens"='0' AND "tries"='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 "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );. Question: "How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?". [/INST] SELECT "conv" FROM "most_points_in_a_match" WHERE "pens"='0' AND "player"='severo koroduadua waqanibau';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the away team's score when the home team scores 16.8 (104)?". [/INST] SELECT "away_team_score" FROM "round_5" WHERE "home_team_score"='16.8 (104)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the home team's score at mcg?". [/INST] SELECT "home_team_score" FROM "round_5" WHERE "venue"='mcg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What day is the venue the western oval?". [/INST] SELECT "date" FROM "round_5" WHERE "venue"='western oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Bullet diameter has a Name of 11.4mm werndl m/73?". [/INST] SELECT "bullet_diameter" FROM "rifle_cartridges" WHERE "name"='11.4mm werndl m/73';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Case length has a Rim diameter of 13.20 (.518)?". [/INST] SELECT "case_length" FROM "rifle_cartridges" WHERE "rim_diameter"='13.20 (.518)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Bullet diameter has a Neck diameter of 12.17 (.479)?". [/INST] SELECT "bullet_diameter" FROM "rifle_cartridges" WHERE "neck_diameter"='12.17 (.479)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Rim diameter has a Neck diameter of 11.84 (.466)?". [/INST] SELECT "rim_diameter" FROM "rifle_cartridges" WHERE "neck_diameter"='11.84 (.466)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Case type has a Cartridge length of 64.77 (2.550)?". [/INST] SELECT "case_type" FROM "rifle_cartridges" WHERE "cartridge_length"='64.77 (2.550)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rifle_cartridges" ( "name" text, "case_type" text, "bullet_diameter" text, "neck_diameter" text, "base_diameter" text, "rim_diameter" text, "case_length" text, "cartridge_length" text );. Question: "Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?". [/INST] SELECT "case_type" FROM "rifle_cartridges" WHERE "base_diameter"='13.03 (.513)' AND "case_length"='63.5 (2.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" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );. Question: "What day had 37,500 attending?". [/INST] SELECT "date" FROM "regular_season" WHERE "attendance"='37,500';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );. Question: "What day did they play at candlestick park?". [/INST] SELECT "date" FROM "regular_season" WHERE "game_site"='candlestick park';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What day had over 51,319 attending week 4?". [/INST] SELECT "date" FROM "regular_season_schedule" WHERE "attendance">'51,319' AND "week"=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 "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the crowd size of the game when Fitzroy is the away team?". [/INST] SELECT COUNT("crowd") FROM "round_17" WHERE "away_team"='fitzroy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the venue when Geelong is the away team?". [/INST] SELECT "venue" FROM "round_17" WHERE "away_team"='geelong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "demographics" ( "neighbourhood" text, "population_2012" real, "population_2009" real, "change_pct" real, "dwellings" real, "area_km_2" real, "density_people_km_2" real );. Question: "How many Dwellings does Beverly Heights have that have a change percent larger than -5.2?". [/INST] SELECT SUM("dwellings") FROM "demographics" WHERE "neighbourhood"='beverly heights' AND "change_pct">-5.2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "demographics" ( "neighbourhood" text, "population_2012" real, "population_2009" real, "change_pct" real, "dwellings" real, "area_km_2" real, "density_people_km_2" real );. Question: "What is the density of an area that is 1.38km and has a population more than 12924?". [/INST] SELECT COUNT("density_people_km_2") FROM "demographics" WHERE "area_km_2">1.38 AND "population_2012">12924;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the average week number of all the matches where less than 22,604 people attended?". [/INST] SELECT AVG("week") FROM "regular_season_schedule" WHERE "attendance"<'22,604';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season?". [/INST] SELECT MAX("attendance") FROM "regular_season_schedule" WHERE "opponent"='chicago cardinals' AND "week">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 "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the average crowd size when North Melbourne is the away team?". [/INST] SELECT AVG("crowd") FROM "round_6" WHERE "away_team"='north melbourne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the smallest crowd to see the away team score 10.7 (67)?". [/INST] SELECT MIN("crowd") FROM "round_6" WHERE "away_team_score"='10.7 (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 "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the away team that scored 9.12 (66) at Windy Hill?". [/INST] SELECT "away_team" FROM "round_6" WHERE "away_team_score"='9.12 (66)' AND "venue"='windy hill';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Where did the away team score 8.9 (57)?". [/INST] SELECT "venue" FROM "round_6" WHERE "away_team_score"='8.9 (57)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the average crowd to watch Hawthorn as the away team?". [/INST] SELECT AVG("crowd") FROM "round_6" WHERE "away_team"='hawthorn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What away team played Footscray?". [/INST] SELECT "away_team" FROM "round_6" WHERE "home_team"='footscray';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the size of the largest crowd that Essendon played in front of as the away team?". [/INST] SELECT MAX("crowd") FROM "round_14" WHERE "away_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the average crowd at Western Oval?". [/INST] SELECT AVG("crowd") FROM "round_14" WHERE "venue"='western oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the sum of all the crowds that watched North Melbourne at home?". [/INST] SELECT SUM("crowd") FROM "round_14" WHERE "home_team"='north melbourne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the crowd size at Victoria Park?". [/INST] SELECT "crowd" FROM "round_14" WHERE "venue"='victoria park';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the smallest crowd that watched an away team score 3.10 (28)?". [/INST] SELECT MIN("crowd") FROM "round_14" WHERE "away_team_score"='3.10 (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 "lpga_tour_wins_88" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the winning score when there were 9 strokes advantage?". [/INST] SELECT "winning_score" FROM "lpga_tour_wins_88" WHERE "margin_of_victory"='9 strokes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpga_tour_wins_88" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the margin of victory on Apr 23, 1967?". [/INST] SELECT "margin_of_victory" FROM "lpga_tour_wins_88" WHERE "date"='apr 23, 1967';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" text, "laps" real, "winnings" text );. Question: "What make of car did Brian Vickers drive?". [/INST] SELECT "make" FROM "race_results" WHERE "driver"='brian vickers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" text, "laps" real, "winnings" text );. Question: "What is the average car number of all the drivers with 109 points?". [/INST] SELECT AVG("car_num") FROM "race_results" WHERE "points"='109';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" text, "laps" real, "winnings" text );. Question: "What is the average car number of all the drivers who have won $111,683?". [/INST] SELECT AVG("car_num") FROM "race_results" WHERE "winnings"='$111,683';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people were in the crowd when Essendon was the home team?". [/INST] SELECT COUNT("crowd") FROM "round_7" WHERE "home_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which home team competed against the away team Geelong?". [/INST] SELECT "home_team" FROM "round_7" WHERE "away_team"='geelong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people were present in a total of every crowd at the MCG venue?". [/INST] SELECT SUM("crowd") FROM "round_7" WHERE "venue"='mcg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the score for the home team of Essendon?". [/INST] SELECT "home_team_score" FROM "round_7" WHERE "home_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the sum of all crowds present at the Glenferrie Oval venue?". [/INST] SELECT SUM("crowd") FROM "round_7" WHERE "venue"='glenferrie oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "municipalities" ( "municipality" text, "inhabitants" real, "mayor" text, "party" text, "election" real );. Question: "How many elections had more than 36,599 inhabitants when Mayor was giovanni manildo?". [/INST] SELECT COUNT("election") FROM "municipalities" WHERE "inhabitants">'36,599' AND "mayor"='giovanni manildo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "municipalities" ( "municipality" text, "inhabitants" real, "mayor" text, "party" text, "election" real );. Question: "What party was achille variati afilliated with?". [/INST] SELECT "party" FROM "municipalities" WHERE "mayor"='achille variati';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "municipalities" ( "municipality" text, "inhabitants" real, "mayor" text, "party" text, "election" real );. Question: "In the election earlier than 2012 how many Inhabitants had a Party of five star movement?". [/INST] SELECT SUM("inhabitants") FROM "municipalities" WHERE "party"='five star movement' AND "election"<2012;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "municipalities" ( "municipality" text, "inhabitants" real, "mayor" text, "party" text, "election" real );. Question: "How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti?". [/INST] SELECT COUNT("inhabitants") FROM "municipalities" WHERE "party"='democratic party' AND "mayor"='stefano cimatti' AND "election"<2009;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1971_isle_of_man_formula_1_750_cc_tt_fin" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );. Question: "At 96.76mph speed, what is the Time?". [/INST] SELECT "time" FROM "1971_isle_of_man_formula_1_750_cc_tt_fin" WHERE "speed"='96.76mph';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1971_isle_of_man_formula_1_750_cc_tt_fin" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );. Question: "Which Rider has a 1:06.02.0 Time?". [/INST] SELECT "rider" FROM "1971_isle_of_man_formula_1_750_cc_tt_fin" WHERE "time"='1:06.02.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 "1971_isle_of_man_formula_1_750_cc_tt_fin" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );. Question: "How many Ranks have ray pickrell as a Rider?". [/INST] SELECT COUNT("rank") FROM "1971_isle_of_man_formula_1_750_cc_tt_fin" WHERE "rider"='ray pickrell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the largest crowd when the away team is Hawthorn?". [/INST] SELECT MAX("crowd") FROM "round_18" WHERE "away_team"='hawthorn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What date was the game when the away team was carlton?". [/INST] SELECT "date" FROM "round_18" WHERE "away_team"='carlton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the score of the home team when the away team scored 14.12 (96)?". [/INST] SELECT "home_team_score" FROM "round_18" WHERE "away_team_score"='14.12 (96)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the score of the away team when the crowd was larger than 8,000?". [/INST] SELECT "away_team_score" FROM "round_18" WHERE "crowd">'8,000';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the away team when the game was at corio oval?". [/INST] SELECT "away_team" FROM "round_18" WHERE "venue"='corio oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "editions" ( "year" real, "date" text, "location" text, "theme" text, "anthem" text );. Question: "What is the location in 2007?". [/INST] SELECT "location" FROM "editions" WHERE "year"=2007;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "editions" ( "year" real, "date" text, "location" text, "theme" text, "anthem" text );. Question: "What date has a theme of fate or fortune?". [/INST] SELECT "date" FROM "editions" WHERE "theme"='fate or fortune';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "editions" ( "year" real, "date" text, "location" text, "theme" text, "anthem" text );. Question: "What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world?". [/INST] SELECT MIN("year") FROM "editions" WHERE "location"='gelredome, arnhem' AND "anthem"='technoboy - next dimensional world';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_by_conference" ( "conference" text, "num_of_bids" real, "record" text, "win_pct" text, "round_of_32" text, "sweet_sixteen" text, "elite_eight" text, "final_four" text, "championship_game" text );. Question: "What Sweet Sixteen team is in the Colonial conference?". [/INST] SELECT "sweet_sixteen" FROM "record_by_conference" WHERE "conference"='colonial';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What date is associated with the Spunk label?". [/INST] SELECT "date" FROM "release_history" WHERE "label"='spunk';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What label has a catalog of chem036cd?". [/INST] SELECT "label" FROM "release_history" WHERE "catalog"='chem036cd';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What label is associated with the United Kingdom and the chem036 catalog?". [/INST] SELECT "label" FROM "release_history" WHERE "region"='united kingdom' AND "catalog"='chem036';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the listed crowd when essendon is the away squad?". [/INST] SELECT COUNT("crowd") FROM "round_5" WHERE "away_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue featured a crowd of over 30,000?". [/INST] SELECT "venue" FROM "round_5" WHERE "crowd">'30,000';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the listed crowd at junction oval?". [/INST] SELECT "crowd" FROM "round_5" WHERE "venue"='junction oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "What date was the 1500 m freestyle competition?". [/INST] SELECT "date" FROM "men" WHERE "event"='1500 m freestyle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "Where were the 2008 championships with a time of 7:56.90 held?". [/INST] SELECT "location" FROM "men" WHERE "meet"='2008 championships' AND "time"='7:56.90';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the home team score for Footscray?". [/INST] SELECT "home_team_score" FROM "round_17" WHERE "home_team"='footscray';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What home team has a score of 16.18 (114)?". [/INST] SELECT "home_team" FROM "round_17" WHERE "home_team_score"='16.18 (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 "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What home team played at western oval?". [/INST] SELECT "home_team" FROM "round_17" WHERE "venue"='western oval';</s>