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_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 that scores 12.17 (89)?". [/INST] SELECT "home_team" FROM "round_16" WHERE "home_team_score"='12.17 (89)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 highest attendance when the home team scores 10.12 (72)?". [/INST] SELECT MAX("crowd") FROM "round_16" WHERE "home_team_score"='10.12 (72)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" real, "lane" real, "name" text, "nationality" text, "150m" text, "time" text );. Question: "What rank did Poland receive with a time of 1:50.12?". [/INST] SELECT "rank" FROM "heats" WHERE "nationality"='poland' AND "time"='1:50.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 "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "150m" text, "time" text );. Question: "What rank did the time of 1:24.12 receive?". [/INST] SELECT "rank" FROM "heats" WHERE "150m"='1:24.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 "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "What is arizona state overall lowest?". [/INST] SELECT MIN("overall") FROM "nfl_draft" WHERE "school_club_team"='arizona 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 "international_analysis_by_opposition" ( "played" real, "lost" real, "drawn" real, "tries" real, "points" real, "pct_won" real );. Question: "What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points?". [/INST] SELECT MIN("lost") FROM "international_analysis_by_opposition" WHERE "played">3 AND "pct_won"<75 AND "drawn"=0 AND "points"=56;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "international_analysis_by_opposition" ( "played" real, "lost" real, "drawn" real, "tries" real, "points" real, "pct_won" real );. Question: "How many tries for the player whose number is greater than 2 and losses are smaller than 0?". [/INST] SELECT COUNT("tries") FROM "international_analysis_by_opposition" WHERE "played">2 AND "lost"<0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "international_analysis_by_opposition" ( "played" real, "lost" real, "drawn" real, "tries" real, "points" real, "pct_won" real );. Question: "What is the number of tries for the player who is larger than 16?". [/INST] SELECT SUM("tries") FROM "international_analysis_by_opposition" WHERE "played">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 "international_analysis_by_opposition" ( "played" real, "lost" real, "drawn" real, "tries" real, "points" real, "pct_won" real );. Question: "What is the smallest draws for a player larger than 2 with a 100% wins?". [/INST] SELECT MIN("drawn") FROM "international_analysis_by_opposition" WHERE "played">2 AND "pct_won">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 "international_analysis_by_opposition" ( "played" real, "lost" real, "drawn" real, "tries" real, "points" real, "pct_won" real );. Question: "What is the average draws for a player larger than 16 with more than 1 tries and a win percentage smaller than 56.15%?". [/INST] SELECT AVG("drawn") FROM "international_analysis_by_opposition" WHERE "tries">1 AND "pct_won"<56.15 AND "played">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 "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "What was the 2011 Wimbledon result?". [/INST] SELECT "2011" FROM "doubles_performance_timeline" WHERE "tournament"='wimbledon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "What was the result of the 2011 US Open when the 2007 was F?". [/INST] SELECT "2011" FROM "doubles_performance_timeline" WHERE "2007"='f' AND "tournament"='us open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "What was the result in 2007 when the 2011 was F and 2009 was W?". [/INST] SELECT "2007" FROM "doubles_performance_timeline" WHERE "2011"='f' AND "2009"='w';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "Which tournament had the result of a W in 2009?". [/INST] SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2009"='w';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "Which 2009 tournament had Grand Slams?". [/INST] SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2009"='grand slams';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2007" text, "2009" text, "2010" text, "2011" text );. Question: "Which tournament had the result with 2009 was F and 2010 was F?". [/INST] SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2009"='f' AND "2010"='f';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "What Away team scored 7.11 (53)?". [/INST] SELECT "home_team" FROM "round_2" WHERE "away_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_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which Home team scored 6.11 (47)?". [/INST] SELECT "away_team" FROM "round_2" WHERE "home_team_score"='6.11 (47)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the date of the game when Hawthorn was the home team?". [/INST] SELECT "date" FROM "round_18" WHERE "home_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 "trivia_and_statistics" ( "season" real, "premier" text, "runner_up" text, "score" text, "margin" real, "venue" text, "attendance" real );. Question: "Which season had a margin of 10?". [/INST] SELECT "season" FROM "trivia_and_statistics" WHERE "margin"=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 "mixed_doubles" ( "tournament" text, "1943" text, "1944" text, "1945" text, "1948" text, "1949" text, "1951" text, "1954" text, "1956_1968" text, "1969" text, "career_sr" text );. Question: "What did the tournament with an A in 1956-1958, an A in 1954, and an F in 1948 get in 1969?". [/INST] SELECT "1969" FROM "mixed_doubles" WHERE "1956_1968"='a' AND "1954"='a' AND "1948"='f';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_doubles" ( "tournament" text, "1943" text, "1944" text, "1945" text, "1948" text, "1949" text, "1951" text, "1954" text, "1956_1968" text, "1969" text, "career_sr" text );. Question: "What did the Tournament of Australian Championships, with an A in 1969, get in 1954?". [/INST] SELECT "1954" FROM "mixed_doubles" WHERE "1969"='a' AND "tournament"='australian 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 "mixed_doubles" ( "tournament" text, "1943" text, "1944" text, "1945" text, "1948" text, "1949" text, "1951" text, "1954" text, "1956_1968" text, "1969" text, "career_sr" text );. Question: "What did the Tournament of SR get in 1951?". [/INST] SELECT "1951" FROM "mixed_doubles" WHERE "tournament"='sr';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_doubles" ( "tournament" text, "1943" text, "1944" text, "1945" text, "1948" text, "1949" text, "1951" text, "1954" text, "1956_1968" text, "1969" text, "career_sr" text );. Question: "What did the tournament with a QF in 1969 get in 1956-1968?". [/INST] SELECT "1956_1968" FROM "mixed_doubles" WHERE "1969"='qf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_doubles" ( "tournament" text, "1943" text, "1944" text, "1945" text, "1948" text, "1949" text, "1951" text, "1954" text, "1956_1968" text, "1969" text, "career_sr" text );. Question: "What did the tournament that got an A in 1945 get in 1949?". [/INST] SELECT "1949" FROM "mixed_doubles" WHERE "1945"='a';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 did Geelong play as the home team?". [/INST] SELECT "date" FROM "round_3" WHERE "home_team"='geelong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "When North Melbourne played as the away team, what was the crowd numbers?". [/INST] SELECT "crowd" FROM "round_3" 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 "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "How many rounds did Honester Davidson play?". [/INST] SELECT COUNT("round") FROM "nfl_draft" WHERE "player"='honester davidson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 School or Club team has an overall score of 21?". [/INST] SELECT "school_club_team" FROM "nfl_draft" WHERE "overall"=21;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "What total number of Overalls has a round that was smaller than 1?". [/INST] SELECT COUNT("overall") FROM "nfl_draft" WHERE "round"<1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );. Question: "What player is a kicker?". [/INST] SELECT "player" FROM "nfl_draft" WHERE "position"='kicker';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5?". [/INST] SELECT "position" FROM "nfl_draft" WHERE "overall"<410 AND "round"<5 AND "school_club_team"='oklahoma 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 "n" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "What is the average number of players from Duquesne?". [/INST] SELECT AVG("from") FROM "n" WHERE "school_country"='duquesne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "n" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "Who is the player from Kentucky before 1977?". [/INST] SELECT "player" FROM "n" WHERE "from"<1977 AND "school_country"='kentucky';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "n" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "Which player played center, is from the United States, and entered before 2012?". [/INST] SELECT "player" FROM "n" WHERE "from"<2012 AND "position"='center' AND "nationality"='united states';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "n" ( "player" text, "nationality" text, "position" text, "from" real, "school_country" text );. Question: "Which player plays forward and is from Kentucky?". [/INST] SELECT "player" FROM "n" WHERE "position"='forward' AND "school_country"='kentucky';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 team was the away team for the venue punt road oval?". [/INST] SELECT "away_team" FROM "round_5" WHERE "venue"='punt road oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was the home team score when the score for the away team was 7.9 (51)?". [/INST] SELECT "home_team_score" FROM "round_5" WHERE "away_team_score"='7.9 (51)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text );. Question: "What is the highest ranked player who opposed Westmeath?". [/INST] SELECT MAX("rank") FROM "single_game" WHERE "opposition"='westmeath';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text );. Question: "What is Tony O'Sullivan's county?". [/INST] SELECT "county" FROM "single_game" WHERE "player"='tony o''sullivan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What Network has Punjabi as the Language?". [/INST] SELECT "network" FROM "australia" WHERE "language"='punjabi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What Genre has Hindi as the Language and Star Gold as the Network?". [/INST] SELECT "genre" FROM "australia" WHERE "language"='hindi' AND "network"='star gold';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What is the Origin of Programming for the Network NDTV India?". [/INST] SELECT "origin_of_programming" FROM "australia" WHERE "network"='ndtv india';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What is the Origin of Programming for the Network MTV India?". [/INST] SELECT "origin_of_programming" FROM "australia" WHERE "network"='mtv india';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What is the Language for Network PTC Punjabi?". [/INST] SELECT "language" FROM "australia" WHERE "network"='ptc punjabi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "australia" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );. Question: "What Genre has the Network Zee TV?". [/INST] SELECT "genre" FROM "australia" WHERE "network"='zee tv';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 team was the home team at the venue junction oval?". [/INST] SELECT "home_team" FROM "round_9" 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_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 played when the home team was south melbourne?". [/INST] SELECT "away_team" FROM "round_9" 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_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What home team scored 9.7 (61)?". [/INST] SELECT "home_team" FROM "round_9" WHERE "home_team_score"='9.7 (61)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 team was the home team when Richmond was the away team?". [/INST] SELECT "home_team" FROM "round_9" 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_9" ( "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 when geelong was the away team?". [/INST] SELECT "home_team_score" FROM "round_9" WHERE "home_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 "1978_1999" ( "year" real, "bb_hot" text, "bb_cw" text, "bb_ac" text, "cb_cw" text );. Question: "What was the CB CW for the year of 1982?". [/INST] SELECT "cb_cw" FROM "1978_1999" WHERE "year"=1982;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1978_1999" ( "year" real, "bb_hot" text, "bb_cw" text, "bb_ac" text, "cb_cw" text );. Question: "What is the most current year that had a BB CW of 78?". [/INST] SELECT MAX("year") FROM "1978_1999" WHERE "bb_cw"='78';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 North Melbourne's score when they played as the home team?". [/INST] SELECT "home_team_score" FROM "round_3" 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_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 attendance at the St Kilda home game?". [/INST] SELECT AVG("crowd") FROM "round_3" WHERE "home_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_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 attendance when the VFL played Junction Oval?". [/INST] SELECT COUNT("crowd") FROM "round_3" 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_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Where did Melbourne play as the away team?". [/INST] SELECT "venue" FROM "round_3" 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_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 that played against an away team scoring 12.4 (76)?". [/INST] SELECT "home_team" FROM "round_5" WHERE "away_team_score"='12.4 (76)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue featured the away side scoring 16.20 (116)?". [/INST] SELECT "venue" FROM "round_5" WHERE "away_team_score"='16.20 (116)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 tome when the home team scores 11.9 (75)?". [/INST] SELECT "home_team" FROM "round_4" WHERE "home_team_score"='11.9 (75)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 day did the home team score 10.10 (70)?". [/INST] SELECT "date" FROM "round_4" WHERE "home_team_score"='10.10 (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 "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 Fitzroy's home field?". [/INST] SELECT "venue" FROM "round_17" 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_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 at punt road oval?". [/INST] SELECT "away_team" 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 was the away team score when the home team scored 6.11 (47)?". [/INST] SELECT "away_team_score" FROM "round_8" WHERE "home_team_score"='6.11 (47)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 was the away team score at victoria park?". [/INST] SELECT "away_team_score" FROM "round_8" 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_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 scored 20.15 (135)?". [/INST] SELECT "home_team" FROM "round_8" WHERE "home_team_score"='20.15 (135)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 home team in the game played at arden street oval?". [/INST] SELECT "home_team_score" FROM "round_8" 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_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 side that scored 7.12 (54)?". [/INST] SELECT "away_team" FROM "round_8" WHERE "away_team_score"='7.12 (54)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "Which home team has a crowd larger than 18,200 and the St Kilda away team?". [/INST] SELECT "home_team" FROM "round_8" WHERE "crowd">'18,200' AND "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_8" ( "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 crowd larger than 22,000 at the Western Oval venue?". [/INST] SELECT "away_team_score" FROM "round_8" WHERE "crowd">'22,000' AND "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_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What was St Kilda's away team score?". [/INST] SELECT "away_team_score" FROM "round_15" 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_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Who was home team South Melbourne's opponent?". [/INST] SELECT "away_team" FROM "round_15" 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 "week_3" ( "couple" text, "score" text, "dance" text, "music" text, "result" text );. Question: "What was the music for the team who earned a score of 13 (5, 4, 4)?". [/INST] SELECT "music" FROM "week_3" WHERE "score"='13 (5, 4, 4)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "week_3" ( "couple" text, "score" text, "dance" text, "music" text, "result" text );. Question: "What was the music of the team that was eliminated?". [/INST] SELECT "music" FROM "week_3" WHERE "result"='eliminated';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "week_3" ( "couple" text, "score" text, "dance" text, "music" text, "result" text );. Question: "Which couple danced a jive and received a score of 21 (6, 7, 8)?". [/INST] SELECT "couple" FROM "week_3" WHERE "dance"='jive' AND "score"='21 (6, 7, 8)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "week_3" ( "couple" text, "score" text, "dance" text, "music" text, "result" text );. Question: "What was the score of the team that danced a jive and was safe?". [/INST] SELECT "score" FROM "week_3" WHERE "dance"='jive' AND "result"='safe';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 did Dick Simon Racing use?". [/INST] SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='dick simon racing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "Who drove for Arciero Racing?". [/INST] SELECT "drivers" FROM "drivers_and_constructors" WHERE "team"='arciero racing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text );. Question: "What Chassis did Rich Vogler use?". [/INST] SELECT "chassis" FROM "drivers_and_constructors" WHERE "drivers"='rich vogler';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 Johnny Parsons use?". [/INST] SELECT "tires" FROM "drivers_and_constructors" WHERE "drivers"='johnny parsons';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "What race did Bobby Unser win?". [/INST] SELECT "name" FROM "race_results" WHERE "winning_driver"='bobby unser';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "Which driver won the Indianapolis 500 the year the Chaparral team also won it?". [/INST] SELECT "winning_driver" FROM "race_results" WHERE "winning_team"='chaparral' AND "name"='indianapolis 500';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race_results" ( "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "Which report includes Bobby Unser as the Pole Position and Rick Mears as the Winning driver?". [/INST] SELECT "report" FROM "race_results" WHERE "pole_position"='bobby unser' AND "winning_driver"='rick mears';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text );. Question: "Which race has a winning team of Penske Racing, and a winning driver of Bobby Unser?". [/INST] SELECT "name" FROM "race_results" WHERE "winning_team"='penske racing' AND "winning_driver"='bobby unser';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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: "On what day is geelong the home team?". [/INST] SELECT "date" FROM "round_16" WHERE "home_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_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 collingwood as the away side?". [/INST] SELECT "venue" FROM "round_16" 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_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 average crowd size when the home team scored 9.20 (74)?". [/INST] SELECT AVG("crowd") FROM "round_16" WHERE "home_team_score"='9.20 (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_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 windy hill?". [/INST] SELECT "home_team_score" FROM "round_16" 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 "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "position" text );. Question: "What season has races larger than 18 and 36 points?". [/INST] SELECT "season" FROM "career_summary" WHERE "races">18 AND "points"=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_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "The venue of Brunswick Street Oval was used on what date?". [/INST] SELECT "date" FROM "round_14" 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_14" ( "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 5.6 (36)?". [/INST] SELECT "away_team" FROM "round_14" WHERE "away_team_score"='5.6 (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_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "In which venue did the home team have a score of 6.10 (46)?". [/INST] SELECT "venue" FROM "round_14" WHERE "home_team_score"='6.10 (46)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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 with the away team of North Melbourne?". [/INST] SELECT MIN("crowd") FROM "round_14" 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_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "On which date was Essendon the home team?". [/INST] SELECT "date" FROM "round_14" 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 "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the name of the airport with IATA code DAC?". [/INST] SELECT "airport" FROM "see_also" WHERE "iata"='dac';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the IATA code for Delhi?". [/INST] SELECT "iata" FROM "see_also" WHERE "city"='delhi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the IATA code for the city with ICAO code of RCMQ?". [/INST] SELECT "iata" FROM "see_also" WHERE "icao"='rcmq';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the airport with ICAO code of WMKP?". [/INST] SELECT "airport" FROM "see_also" WHERE "icao"='wmkp';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the IATA code for SHahjalal International Airport?". [/INST] SELECT "iata" FROM "see_also" WHERE "airport"='shahjalal international 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 "see_also" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the ICAO for the airport in Ningbo?". [/INST] SELECT "icao" FROM "see_also" WHERE "city"='ningbo';</s>