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 "1968_1977" ( "year" real, "bb_pop" text, "bb_cw" text, "bb_el" text, "cb_cw" text, "riaa" text );. Question: "What is the BB pop of the song with a CB CW of 1, RIAA of P and was released more recently than 1976?". [/INST] SELECT "bb_pop" FROM "1968_1977" WHERE "cb_cw"='1' AND "year">1976 AND "riaa"='p';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1968_1977" ( "year" real, "bb_pop" text, "bb_cw" text, "bb_el" text, "cb_cw" text, "riaa" text );. Question: "What is the CB CW of the song which has a BB Pop of 11?". [/INST] SELECT "cb_cw" FROM "1968_1977" WHERE "bb_pop"='11';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_11" ( "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 numbers when the VFL played Victoria Park?". [/INST] SELECT SUM("crowd") FROM "round_11" 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_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "When the VFL played at Junction Oval what was the away score?". [/INST] SELECT "away_team_score" FROM "round_11" 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 "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Who was the away team for the game played in front of more than 41,402 fans?". [/INST] SELECT "away_team" FROM "round_8" WHERE "crowd">'41,402';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_8" ( "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 Richmond?". [/INST] SELECT "home_team" FROM "round_8" 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_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is Melbourne's home venue?". [/INST] SELECT "venue" FROM "round_8" WHERE "home_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 "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Was the game home or away when the record is 6-12?". [/INST] SELECT "home_away" FROM "2009_season_schedule" WHERE "record"='6-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 "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the date of the away game at the Blue Cross Arena?". [/INST] SELECT "date" FROM "2009_season_schedule" WHERE "home_away"='away' AND "location_attendance"='blue cross arena';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" text );. Question: "What is the week for the stadium that had an attendance of 22,286?". [/INST] SELECT AVG("week") FROM "schedule" WHERE "attendance"='22,286';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "assists" ( "rank" real, "player" text, "years" text, "games" real, "ast_avg" real, "total_assists" real );. Question: "How many assists for player(s) with over 107 games and ranked less than 2?". [/INST] SELECT COUNT("total_assists") FROM "assists" WHERE "games">107 AND "rank"<2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "assists" ( "rank" real, "player" text, "years" text, "games" real, "ast_avg" real, "total_assists" real );. Question: "What is the total number of assists for players with under 55 games and over 6 assists per game average?". [/INST] SELECT SUM("total_assists") FROM "assists" WHERE "ast_avg">6 AND "games"<55;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "assists" ( "rank" real, "player" text, "years" text, "games" real, "ast_avg" real, "total_assists" real );. Question: "What is the average rank for players with less than 2.9 Assists per game?". [/INST] SELECT AVG("rank") FROM "assists" WHERE "ast_avg"<2.9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "What circuit had an ensign n180 as the winning car in round 5?". [/INST] SELECT "circuit" FROM "races" WHERE "winning_car"='ensign n180' AND "round"=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 "races" ( "round" real, "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_car" text );. Question: "How many rounds total were there on may 31?". [/INST] SELECT COUNT("round") FROM "races" WHERE "date"='may 31';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 was the average round for the oulton park circuit?". [/INST] SELECT AVG("round") FROM "races" WHERE "circuit"='oulton 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_6" ( "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 the match that had an away team score of 6.8 (44)?". [/INST] SELECT SUM("crowd") FROM "round_6" WHERE "away_team_score"='6.8 (44)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Who was the opposing team at the match played at the Arden Street Oval?". [/INST] SELECT "away_team" FROM "round_6" 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 "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the opposing team's score at the match that was played at Victoria Park?". [/INST] SELECT "away_team_score" FROM "round_6" 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_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Of the matches that had a home team score of 13.17 (95), which match had the largest crowd?". [/INST] SELECT MAX("crowd") FROM "round_6" WHERE "home_team_score"='13.17 (95)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Which venue did the match where Collingwood was the home team take place?". [/INST] SELECT "venue" FROM "round_6" WHERE "home_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_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many games did the home team score 16.16 (112)?". [/INST] SELECT COUNT("crowd") FROM "round_2" WHERE "home_team_score"='16.16 (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 "round_2" ( "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 side when north melbourne is the home side?". [/INST] SELECT "away_team" FROM "round_2" 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_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many games feature hawthorn as the away squad?". [/INST] SELECT COUNT("crowd") FROM "round_5" 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_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 when the away team scores 9.14 (68)?". [/INST] SELECT "home_team_score" FROM "round_5" WHERE "away_team_score"='9.14 (68)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "What Nationality has a Time of 9:01.70?". [/INST] SELECT "nationality" FROM "heats" WHERE "time"='9:01.70';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "What is sun yang's lowest rank?". [/INST] SELECT MIN("rank") FROM "heats" WHERE "name"='sun yang';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "What is the rank for Heat : Lane of 4 : 1?". [/INST] SELECT "rank" FROM "heats" WHERE "heat_lane"='4 : 1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat_lane" text, "name" text, "nationality" text, "time" text );. Question: "How many ranks have a ationality of canada, and a Time of dns?". [/INST] SELECT COUNT("rank") FROM "heats" WHERE "nationality"='canada' AND "time"='dns';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 was the away team when the home team scored 7.13 (55)?". [/INST] SELECT "away_team" FROM "round_4" WHERE "home_team_score"='7.13 (55)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Who played Fitzroy at their own home?". [/INST] SELECT "home_team_score" FROM "round_4" 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_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What team plays at home at Lake Oval?". [/INST] SELECT "home_team" FROM "round_4" WHERE "venue"='lake 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_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was Melbourne's score as the away team?". [/INST] SELECT "away_team_score" FROM "round_4" 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_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On what date was the match played in Victoria Park?". [/INST] SELECT "date" FROM "round_4" 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_10" ( "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 18.12 (120)?". [/INST] SELECT "away_team" FROM "round_10" 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_10" ( "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 when the away team's score is 10.19 (79)?". [/INST] SELECT COUNT("crowd") FROM "round_10" WHERE "away_team_score"='10.19 (79)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "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 geelong is the away team?". [/INST] SELECT "away_team_score" FROM "round_10" 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_10" ( "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 south melbourne is the away team?". [/INST] SELECT "away_team_score" FROM "round_10" 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 "awards_and_nominations" ( "award" text, "year" real, "category" text, "nominated_work" text, "result" text );. Question: "What was the result of the film made before 2005, winner of the robert award, in the category of best actress?". [/INST] SELECT "result" FROM "awards_and_nominations" WHERE "category"='best actress' AND "year"<2005 AND "award"='robert award';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "awards_and_nominations" ( "award" text, "year" real, "category" text, "nominated_work" text, "result" text );. Question: "What was the result of the bodil award winning film from before 2005 in the best actress category?". [/INST] SELECT "result" FROM "awards_and_nominations" WHERE "award"='bodil award' AND "category"='best actress' AND "year"=2005;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "awards_and_nominations" ( "award" text, "year" real, "category" text, "nominated_work" text, "result" text );. Question: "What category is the nominated work of cecilie, winner of the robert award?". [/INST] SELECT "category" FROM "awards_and_nominations" WHERE "nominated_work"='cecilie' AND "award"='robert award';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Who was the away team at Victoria Park?". [/INST] SELECT "away_team" FROM "round_17" 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_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 date of the game where Footscray was the away team?". [/INST] SELECT "date" FROM "round_17" WHERE "away_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: "Who is the away team that scored 10.13 (73)?". [/INST] SELECT "away_team" FROM "round_17" WHERE "away_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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "What week did they have a bye?". [/INST] SELECT "week" FROM "schedule" WHERE "opponent"='bye';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people watch at Western Oval venue?". [/INST] SELECT COUNT("crowd") FROM "round_15" 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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people are in the crowd in south melbourne?". [/INST] SELECT COUNT("crowd") FROM "round_12" WHERE "home_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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the highest crowd at Windy Hill?". [/INST] SELECT MAX("crowd") FROM "round_12" WHERE "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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people saw the game that had a score of 15.10 (100)?". [/INST] SELECT MIN("crowd") FROM "round_12" WHERE "home_team_score"='15.10 (100)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How many people at Arden Street Oval?". [/INST] SELECT COUNT("crowd") FROM "round_12" 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 "round_12" ( "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 score against an Away team score of 8.15 (63)?". [/INST] SELECT "home_team_score" FROM "round_12" WHERE "away_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 "rifle_cartridges" ( "name" text, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "Which Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)?". [/INST] SELECT "neck" FROM "rifle_cartridges" WHERE "bullet"='10.566 (.416)' AND "base"='14.78 (.582)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "Which Case Length has a Base of 14.96 (.589)?". [/INST] SELECT "case_length" FROM "rifle_cartridges" WHERE "base"='14.96 (.589)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "A .416 barrett has which Case Length?". [/INST] SELECT "case_length" FROM "rifle_cartridges" WHERE "name"='.416 barrett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "Which Name has a Case Length of 73.99 (2.913)?". [/INST] SELECT "name" FROM "rifle_cartridges" WHERE "case_length"='73.99 (2.913)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "Which Base has a Name of .44 wcf?". [/INST] SELECT "base" FROM "rifle_cartridges" WHERE "name"='.44 wcf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "bullet" text, "case_length" text, "base" text, "neck" text );. Question: "Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)?". [/INST] SELECT "name" FROM "rifle_cartridges" WHERE "bullet"='10.57 (.416)' AND "base"='14.96 (.589)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "When Richmond was the home team, what was the home team score?". [/INST] SELECT "home_team_score" FROM "round_3" 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_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "At what venue was the away team score 3.11 (29)?". [/INST] SELECT "venue" FROM "round_3" WHERE "away_team_score"='3.11 (29)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 highest crowd size at Windy Hill?". [/INST] SELECT MAX("crowd") FROM "round_3" WHERE "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_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "When the away team was Geelong, what was the home team score?". [/INST] SELECT "home_team_score" FROM "round_3" 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 "b" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "Who is the player in the center position from 2006 with nationality of the United States?". [/INST] SELECT "player" FROM "b" WHERE "nationality"='united states' AND "position"='center' AND "from"=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 "b" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "When England is the nationality what is the year from?". [/INST] SELECT "from" FROM "b" WHERE "nationality"='england';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "b" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "What is the nationality with a forward position from a year after 2005?". [/INST] SELECT "nationality" FROM "b" WHERE "position"='forward' AND "from">2005;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 had a score of 11.7 (73)?". [/INST] SELECT "away_team" FROM "round_12" WHERE "away_team_score"='11.7 (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_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which crowd totals have away team scores of 16.6 (102)?". [/INST] SELECT COUNT("crowd") FROM "round_12" WHERE "away_team_score"='16.6 (102)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 did the home team of Richmond play?". [/INST] SELECT "date" FROM "round_12" 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 "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "How many golds for Canada (12 total)?". [/INST] SELECT "gold" FROM "medal_table" WHERE "total">12 AND "nation"='canada';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_by_game_results" ( "week" real, "opponent" text, "result" text, "stadium" text, "record" text, "attenmdance" text );. Question: "What was the team's record after week 7 with 28,161 attending?". [/INST] SELECT "record" FROM "game_by_game_results" WHERE "week">7 AND "attenmdance"='28,161';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_by_game_results" ( "week" real, "opponent" text, "result" text, "stadium" text, "record" text, "attenmdance" text );. Question: "What was the attendance at war memorial stadium?". [/INST] SELECT "attenmdance" FROM "game_by_game_results" WHERE "stadium"='war memorial stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games?". [/INST] SELECT SUM("silver") FROM "medal_table" WHERE "gold"=20;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" text );. Question: "What team had 159 laps and a Time/Retired of 6:30:02.3733?". [/INST] SELECT "team" FROM "race_results" WHERE "laps"=159 AND "time_retired"='6:30:02.3733';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" text );. Question: "What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?". [/INST] SELECT "name" FROM "race_results" WHERE "laps"<159 AND "time_retired"='4:00:30.7537 (retired - fire)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What was the score of the Browns game against the San Francisco 49ers?". [/INST] SELECT "result" FROM "exhibition_schedule" WHERE "opponent"='san francisco 49ers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_1" ( "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 teams score at Victoria Park when attendance was more than 12,000?". [/INST] SELECT "home_team_score" FROM "round_1" WHERE "crowd">'12,000' AND "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 "singles_finals" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?". [/INST] SELECT "score" FROM "singles_finals" WHERE "surface"='clay' AND "opponent"='hans podlipnik' AND "outcome"='runner-up';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "What round is highest and has a defensive tackle position and overall lower than 282?". [/INST] SELECT MAX("round") FROM "nfl_draft" WHERE "position"='defensive tackle' AND "overall"<282;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "What position is the round higher than 15 and has an overall of 411.". [/INST] SELECT "position" FROM "nfl_draft" WHERE "round">15 AND "overall"=411;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 name of the away team with glenferrie oval venue?". [/INST] SELECT "away_team" FROM "round_16" 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 "round_6" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );. Question: "What stadium is in penrith?". [/INST] SELECT "stadium" FROM "round_6" WHERE "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_6" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );. Question: "What day did they play in central park stadium?". [/INST] SELECT "date" FROM "round_6" WHERE "stadium"='central 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_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 lowest attendance when footscray is the away team?". [/INST] SELECT MIN("crowd") FROM "round_18" WHERE "away_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_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue featured essendon as home team?". [/INST] SELECT "venue" FROM "round_18" 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_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 sum of crowd(s) at princes park?". [/INST] SELECT SUM("crowd") FROM "round_18" WHERE "venue"='princes 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_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 away team that scored 10.13 (73)?". [/INST] SELECT "away_team" FROM "round_18" WHERE "away_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_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 away team that features a home team of south melbourne?". [/INST] SELECT "away_team_score" FROM "round_18" WHERE "home_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_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 smallest crowd when collingwood is home team?". [/INST] SELECT MIN("crowd") FROM "round_18" WHERE "home_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 "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "During which round was the first defensive end with an overall rank larger than 186 drafted?". [/INST] SELECT MIN("round") FROM "nfl_draft" WHERE "overall">186 AND "position"='defensive end';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification" ( "place" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real );. Question: "What is the highest number of losses with 23 points and 22 plays?". [/INST] SELECT MAX("lost") FROM "classification" WHERE "points"=23 AND "played">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 "classification" ( "place" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real );. Question: "What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays?". [/INST] SELECT SUM("goals_for") FROM "classification" WHERE "drawn"<4 AND "team"='al wahda' AND "played">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 "classification" ( "place" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real );. Question: "How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1?". [/INST] SELECT COUNT("goals_against") FROM "classification" WHERE "lost">7 AND "goals_for"<27 AND "drawn">1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification" ( "place" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real );. Question: "What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team?". [/INST] SELECT MAX("played") FROM "classification" WHERE "drawn">4 AND "goals_for"=37 AND "points">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 "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was Geelong's score when they were the away team?". [/INST] SELECT "away_team_score" FROM "round_11" 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_11" ( "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 Richmond when they were the away team?". [/INST] SELECT "away_team_score" FROM "round_11" 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_8" ( "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 punt road oval in front of over 17,000?". [/INST] SELECT "home_team_score" FROM "round_8" WHERE "crowd">'17,000' AND "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_8" ( "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 at brunswick street oval?". [/INST] SELECT "away_team_score" FROM "round_8" 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_8" ( "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 at punt road oval?". [/INST] SELECT MIN("crowd") FROM "round_8" 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_8" ( "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 away side score 7.16 (58)?". [/INST] SELECT "date" FROM "round_8" WHERE "away_team_score"='7.16 (58)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "financial_and_operational_statistics" ( "year" real, "aircraft_kilometers" text, "departures" real, "flying_hours" real, "passengers" real, "seat_factor" text, "employees" text, "profit_loss" text );. Question: "What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%?". [/INST] SELECT MIN("year") FROM "financial_and_operational_statistics" WHERE "seat_factor"='68%' AND "flying_hours">'105,579';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "player" text, "nationality" text, "position" text, "club" text );. Question: "What player played for the Balmain Tigers?". [/INST] SELECT "player" FROM "winners" WHERE "club"='balmain tigers';</s>