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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On what date is there an Away team score of 10.14 (74)?". [/INST] SELECT "date" FROM "round_12" WHERE "away_team_score"='10.14 (74)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "When the Home team score was 8.15 (63), what is the total Crowd?". [/INST] SELECT COUNT("crowd") FROM "round_12" WHERE "home_team_score"='8.15 (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 "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which Away team has a score fo 4.12 (36)?". [/INST] SELECT "away_team" FROM "round_12" 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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On what Date is there a Home team score of 8.15 (63)?". [/INST] SELECT "date" FROM "round_12" WHERE "home_team_score"='8.15 (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 "25in_6_5mm" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );. Question: "Which name is 51.89 (2.043) long?". [/INST] SELECT "name" FROM "25in_6_5mm" WHERE "length"='51.89 (2.043)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "25in_6_5mm" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );. Question: "Which bullet has a Shoulder of 10.92 (.430)?". [/INST] SELECT "bullet" FROM "25in_6_5mm" WHERE "shoulder"='10.92 (.430)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "25in_6_5mm" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );. Question: "Which shoulder has a Neck of 7.3 (.288)?". [/INST] SELECT "shoulder" FROM "25in_6_5mm" WHERE "neck"='7.3 (.288)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "25in_6_5mm" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );. Question: "Which bullet has a Length of 33.78 (1.33)?". [/INST] SELECT "bullet" FROM "25in_6_5mm" WHERE "length"='33.78 (1.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 "25in_6_5mm" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );. Question: "Which length has a Bullet of 6.5 (.257)?". [/INST] SELECT "length" FROM "25in_6_5mm" WHERE "bullet"='6.5 (.257)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1996_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );. Question: "What is the lowest overall pick for a player from Washington?". [/INST] SELECT MIN("overall") FROM "1996_new_england_patriots_draft_selectio" WHERE "college"='washington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1996_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );. Question: "What position does the player from Oklahoma who was drafted in round 7 play?". [/INST] SELECT "position" FROM "1996_new_england_patriots_draft_selectio" WHERE "round"=7 AND "college"='oklahoma';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1996_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );. Question: "What is the highest overall number for a player from Kentucky State?". [/INST] SELECT MAX("overall") FROM "1996_new_england_patriots_draft_selectio" WHERE "college"='kentucky state';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1996_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );. Question: "In what round was a defensive tackle drafted with an overall pick smaller than 149?". [/INST] SELECT COUNT("round") FROM "1996_new_england_patriots_draft_selectio" WHERE "position"='defensive tackle' AND "overall"<149;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "How many attended the game with north melbourne as the away side?". [/INST] SELECT COUNT("crowd") FROM "round_11" 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_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On what day did the home team score 18.12 (120)?". [/INST] SELECT "date" FROM "round_11" WHERE "home_team_score"='18.12 (120)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 venue featured north melbourne as the away side?". [/INST] SELECT "venue" FROM "round_11" 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_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many attended the game with north melbourne as the away side?". [/INST] SELECT "crowd" 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 "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: "How many teams from the Atlantic 10 conference made it to the Elite Eight?". [/INST] SELECT "elite_eight" FROM "record_by_conference" WHERE "conference"='atlantic 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 "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: "How many Big 12 teams made it to the Final Four?". [/INST] SELECT "final_four" FROM "record_by_conference" WHERE "conference"='big 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 "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What chassis did Gordon Johncock use with his cosworth engine?". [/INST] SELECT "chassis" FROM "drivers_and_constructors" WHERE "engine"='cosworth' AND "drivers"='gordon johncock';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "Who drove the Chevrolet with the Eagle chassis?". [/INST] SELECT "drivers" FROM "drivers_and_constructors" WHERE "engine"='chevrolet' AND "chassis"='eagle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What tires did BFM Enterprises run on their Offy engine and manta chassis?". [/INST] SELECT "tires" FROM "drivers_and_constructors" WHERE "engine"='offy' AND "chassis"='manta' AND "team"='bfm enterprises';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What chassis does Gary Bettenhausen use?". [/INST] SELECT "chassis" FROM "drivers_and_constructors" WHERE "drivers"='gary bettenhausen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What chassis doe Ross Davis use?". [/INST] SELECT "chassis" FROM "drivers_and_constructors" WHERE "drivers"='ross davis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What engine does Chip Mead of Parts Washer Service use?". [/INST] SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='parts washer service' AND "drivers"='chip mead';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "preliminaries" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "Which heat and lane was in rank of 22?". [/INST] SELECT "heat_lane" FROM "preliminaries" WHERE "rank"=22;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "preliminaries" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "Who has a rank below 125 and time of 00: 56.30?". [/INST] SELECT "name" FROM "preliminaries" WHERE "rank"<125 AND "time"='00: 56.30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lines" ( "line" text, "color" text, "terminus" text, "length" text, "stations" text, "daily_ridership" real );. Question: "Which Terminus is on line 10?". [/INST] SELECT "terminus" FROM "lines" WHERE "line"='line 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 "lines" ( "line" text, "color" text, "terminus" text, "length" text, "stations" text, "daily_ridership" real );. Question: "The color diamond is assigned to which Terminus?". [/INST] SELECT "terminus" FROM "lines" WHERE "color"='diamond';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lines" ( "line" text, "color" text, "terminus" text, "length" text, "stations" text, "daily_ridership" real );. Question: "Stations of 16 is assigned what length?". [/INST] SELECT "length" FROM "lines" WHERE "stations"='16';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lines" ( "line" text, "color" text, "terminus" text, "length" text, "stations" text, "daily_ridership" real );. Question: "The color sapphire is assigned to which Terminus?". [/INST] SELECT "terminus" FROM "lines" WHERE "color"='sapphire';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lines" ( "line" text, "color" text, "terminus" text, "length" text, "stations" text, "daily_ridership" real );. Question: "Daily ridership greater that 414 is associated with which length?". [/INST] SELECT "length" FROM "lines" WHERE "daily_ridership">414;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4" ( "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 had a score of 15.9 (99)?". [/INST] SELECT "away_team" FROM "round_4" WHERE "away_team_score"='15.9 (99)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4" ( "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 that scored 10.13 (73)?". [/INST] SELECT "home_team" FROM "round_4" WHERE "home_team_score"='10.13 (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 "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What day did the home team score 10.13 (73)?". [/INST] SELECT "date" FROM "round_4" WHERE "home_team_score"='10.13 (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 "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary?". [/INST] SELECT "competition" FROM "achievements" WHERE "position"='4th' AND "year">2003 AND "venue"='budapest, hungary';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event?". [/INST] SELECT "competition" FROM "achievements" WHERE "notes"='400 m hurdles' AND "year"<2004 AND "venue"='johannesburg, south africa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What events did the competition that took place in 1997 have?". [/INST] SELECT "notes" FROM "achievements" WHERE "year"=1997;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What was the earliest year that Târlea took 7th place?". [/INST] SELECT MIN("year") FROM "achievements" WHERE "position"='7th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What place did Târlea come in at the European Indoor Championships?". [/INST] SELECT "position" FROM "achievements" WHERE "competition"='european indoor championships';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What venue did the European Championships' 400 m Hurdles take place?". [/INST] SELECT "venue" FROM "achievements" WHERE "notes"='400 m hurdles' AND "competition"='european championships';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );. Question: "what year has the highest marcel granollers champions?". [/INST] SELECT MAX("year") FROM "singles" WHERE "champion"='marcel granollers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "religious_group" text, "population_pct" text, "growth_1991_2001" text, "sex_ratio_total" real, "literacy_pct" text, "work_participation_pct" text, "sex_ratio_rural" real, "sex_ratio_urban" real, "sex_ratio_child" real );. Question: "What is the child sex ration for the population with 37.7% work participation?". [/INST] SELECT MAX("sex_ratio_child") FROM "statistics" WHERE "work_participation_pct"='37.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 "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 the home side scores 9.8 (62)?". [/INST] SELECT AVG("crowd") FROM "round_6" WHERE "home_team_score"='9.8 (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 "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What day did the home side score 14.13 (97)?". [/INST] SELECT "date" FROM "round_6" WHERE "home_team_score"='14.13 (97)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What day does the team play at punt road oval?". [/INST] SELECT "date" FROM "round_6" 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_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue features geelong as the away side?". [/INST] SELECT "venue" FROM "round_6" 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 "sequels_to_barks_stories" ( "date" text, "pages" text, "hero" text, "story" text, "story_code" text );. Question: "How many pages does the story from 1987-08 have?". [/INST] SELECT "pages" FROM "sequels_to_barks_stories" WHERE "date"='1987-08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sequels_to_barks_stories" ( "date" text, "pages" text, "hero" text, "story" text, "story_code" text );. Question: "How many pages does the story h 87112 have?". [/INST] SELECT "pages" FROM "sequels_to_barks_stories" WHERE "story_code"='h 87112';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sequels_to_barks_stories" ( "date" text, "pages" text, "hero" text, "story" text, "story_code" text );. Question: "What is the story code of the story published on 2002-12?". [/INST] SELECT "story_code" FROM "sequels_to_barks_stories" WHERE "date"='2002-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 "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "Which driver drove car Wolf WR3?". [/INST] SELECT "winning_driver" FROM "races" WHERE "winning_car"='wolf wr3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "Which driver drove car McLaren M23 at the Snetterton Circuit?". [/INST] SELECT "winning_driver" FROM "races" WHERE "winning_car"='mclaren m23' AND "circuit"='snetterton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "What car did Tony Trimmer drive at the Oulton Park Circuit?". [/INST] SELECT "winning_car" FROM "races" WHERE "circuit"='oulton park' AND "winning_driver"='tony trimmer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "What date did the International Gold Cup take place?". [/INST] SELECT "date" FROM "races" WHERE "name"='international gold cup';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "big_brother_2000_2011" ( "series" text, "theme" text, "start" text, "finale" text, "days" real, "housemates" real, "winner" text, "prize_money" text, "presenter" text, "co_presenter" text );. Question: "What's the theme for a series of season 3 with smaller than 148 days?". [/INST] SELECT "theme" FROM "big_brother_2000_2011" WHERE "days"<148 AND "series"='season 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 "round_9" ( "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 Collingwood?". [/INST] SELECT "home_team_score" FROM "round_9" WHERE "away_team"='collingwood';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_9" ( "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 when Geelong is the away team?". [/INST] SELECT "crowd" FROM "round_9" 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_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the highest crowd population when the away team is Geelong?". [/INST] SELECT MAX("crowd") FROM "round_9" 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_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What away team plays at Arden Street Oval?". [/INST] SELECT "away_team" FROM "round_9" WHERE "venue"='arden street 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 "season_effects" ( "name" text, "dates_active" text, "windspeeds" text, "pressure" text, "deaths" text );. Question: "Which name has a pressure of 985hpa (29.09inhg)?". [/INST] SELECT "name" FROM "season_effects" WHERE "pressure"='985hpa (29.09inhg)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "windspeeds" text, "pressure" text, "deaths" text );. Question: "What dates was the storm called 07 active?". [/INST] SELECT "dates_active" FROM "season_effects" WHERE "name"='07';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "buildings_under_construction" ( "name" text, "city" text, "metres" real, "feet" real, "floors" real, "finalized" text );. Question: "Which building was built in 2015, has less than 40 floors and is larger than 509 feet?". [/INST] SELECT MAX("metres") FROM "buildings_under_construction" WHERE "finalized"='2015' AND "floors"<40 AND "feet">509;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "buildings_under_construction" ( "name" text, "city" text, "metres" real, "feet" real, "floors" real, "finalized" text );. Question: "What is the highest floor for the building measuring 220 meters?". [/INST] SELECT MAX("floors") FROM "buildings_under_construction" WHERE "metres">220;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_roster" ( "total" real, "builder" text, "model" text, "year_built" real, "numbers" text );. Question: "How many entries feature a year built of 2010?". [/INST] SELECT COUNT("total") FROM "current_roster" WHERE "year_built"=2010;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_roster" ( "total" real, "builder" text, "model" text, "year_built" real, "numbers" text );. Question: "What are the numbers for lc models built in 2009?". [/INST] SELECT "numbers" FROM "current_roster" WHERE "model"='lc' AND "year_built"=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 "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "location" text );. Question: "Who has a Record of 5-2?". [/INST] SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='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 "races" ( "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "For the race Champion Spark Plug 300, what is the report?". [/INST] SELECT "report" FROM "races" WHERE "race_name"='champion spark plug 300';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "races" ( "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?". [/INST] SELECT "winning_team" FROM "races" WHERE "winning_driver"='emerson fittipaldi' AND "pole_position"='michael andretti' AND "circuit"='cleveland burke lakefront airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "other" ( "date" text, "epicenter" text, "magnitude" text, "fatalities" real, "name" text );. Question: "What is the average number of deaths for earthquakes centered in Damghan?". [/INST] SELECT AVG("fatalities") FROM "other" WHERE "epicenter"='damghan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 away team when the home team scored 7.11 (53)?". [/INST] SELECT "away_team" FROM "round_14" WHERE "home_team_score"='7.11 (53)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 away team scored 14.7 (91)?". [/INST] SELECT "away_team" FROM "round_14" WHERE "away_team_score"='14.7 (91)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 score of the home team when Richmond was the away team?". [/INST] SELECT "home_team_score" FROM "round_14" WHERE "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_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 smallest crowd when the home team scored 7.11 (53)?". [/INST] SELECT MIN("crowd") FROM "round_14" WHERE "home_team_score"='7.11 (53)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );. Question: "What was the result of the match that took place in Perth, featuring a score of 48-12?". [/INST] SELECT "result" FROM "round_4" WHERE "score"='48-12' AND "city"='perth';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );. Question: "What was the result of the match in Penrith that featured a score of 48-12?". [/INST] SELECT "result" FROM "round_4" WHERE "score"='48-12' AND "city"='penrith';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_16" ( "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 st kilda is the away team?". [/INST] SELECT "home_team_score" FROM "round_16" 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_16" ( "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 st kilda is the away team?". [/INST] SELECT "home_team_score" FROM "round_16" 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_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue featured fitzroy as the home squad?". [/INST] SELECT "venue" FROM "round_16" 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_16" ( "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 at brunswick street oval?". [/INST] SELECT "home_team_score" FROM "round_16" WHERE "venue"='brunswick street 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 "f" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );. Question: "What nationality is the guard from ucla?". [/INST] SELECT "nationality" FROM "f" WHERE "position"='guard' AND "school_country"='ucla';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "f" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );. Question: "What player is from the united states and started playing in 1965?". [/INST] SELECT "player" FROM "f" WHERE "nationality"='united states' AND "from"='1965';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "f" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );. Question: "What guard/forward started in 1957?". [/INST] SELECT "player" FROM "f" WHERE "from"='1957' AND "position"='guard/forward';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "f" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );. Question: "What position is played by farmar, jordan jordan farmar?". [/INST] SELECT "position" FROM "f" WHERE "player"='farmar, jordan jordan farmar';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What region is William R. Johnson Coliseum in?". [/INST] SELECT "region" FROM "first_and_second_rounds" WHERE "venue"='william r. johnson coliseum';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What was the host for the round in Nashville?". [/INST] SELECT "host" FROM "first_and_second_rounds" WHERE "city"='nashville';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What was the host of the round at Hammons Student Center?". [/INST] SELECT "host" FROM "first_and_second_rounds" WHERE "venue"='hammons student 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 "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What city is University Gym (Gold Mine) in?". [/INST] SELECT "city" FROM "first_and_second_rounds" WHERE "venue"='university gym (gold mine)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What city in the east region in North Carolina was the round where the University of Richmond was the host?". [/INST] SELECT "city" FROM "first_and_second_rounds" WHERE "region"='east' AND "state"='north carolina' AND "host"='university of 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 "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );. Question: "What was the host of the round in the Montagne Center in Texas?". [/INST] SELECT "host" FROM "first_and_second_rounds" WHERE "state"='texas' AND "venue"='montagne 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 "goals_for_senior_national_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Which venue had a match played on August 16, 2006?". [/INST] SELECT "venue" FROM "goals_for_senior_national_team" WHERE "date"='august 16, 2006';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "goals_for_senior_national_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Which match was played on April 2, 2006?". [/INST] SELECT "competition" FROM "goals_for_senior_national_team" WHERE "date"='april 2, 2006';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entry_list" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text );. Question: "Who is the Constructor for round 5?". [/INST] SELECT "constructor" FROM "entry_list" WHERE "rounds"='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 "entry_list" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text );. Question: "Which round has the mv agusta f4 1000 mt?". [/INST] SELECT "rounds" FROM "entry_list" WHERE "motorcycle"='mv agusta f4 1000 mt';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entry_list" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text );. Question: "Who does Yamaha Construct for?". [/INST] SELECT "team" FROM "entry_list" WHERE "constructor"='yamaha';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entry_list" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text );. Question: "Who is riding the Ducati 999 RS in Round 7?". [/INST] SELECT "rider" FROM "entry_list" WHERE "rounds"='7' AND "motorcycle"='ducati 999 rs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entry_list" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text );. Question: "Who is the Constructor for the Trac Racing Team?". [/INST] SELECT "constructor" FROM "entry_list" WHERE "team"='trac racing team';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13" ( "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 score when Richmond was the home team?". [/INST] SELECT "away_team_score" FROM "round_13" WHERE "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 "round_13" ( "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 score for the game played at the Brunswick Street Oval?". [/INST] SELECT "away_team_score" FROM "round_13" WHERE "venue"='brunswick street 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_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Where did Hawthorn play as the away team?". [/INST] SELECT "venue" FROM "round_13" 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_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Who is the away team when the home team scores 12.20 (92)?". [/INST] SELECT "away_team" FROM "round_16" WHERE "home_team_score"='12.20 (92)';</s>