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 "warriors" ( "warrior" text, "close_ranged_weapons" text, "mid_ranged_weapons" text, "long_ranged_weapons" text, "armor" text, "special_weapon" text );. Question: "If the special weapon is the Grenado, what is the armor?". [/INST] SELECT "armor" FROM "warriors" WHERE "special_weapon"='Grenado';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "warriors" ( "warrior" text, "close_ranged_weapons" text, "mid_ranged_weapons" text, "long_ranged_weapons" text, "armor" text, "special_weapon" text );. Question: "If the armor is bronze cuirass , linothorax, what are the close ranged weapons?". [/INST] SELECT "close_ranged_weapons" FROM "warriors" WHERE "armor"='Bronze cuirass , Linothorax';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "warriors" ( "warrior" text, "close_ranged_weapons" text, "mid_ranged_weapons" text, "long_ranged_weapons" text, "armor" text, "special_weapon" text );. Question: "If the special weapon is glass egg, what is the close ranged weapon?". [/INST] SELECT "close_ranged_weapons" FROM "warriors" WHERE "special_weapon"='Glass egg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high rebounds record on December 12?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='December 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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the record on December 27?". [/INST] SELECT "record" FROM "game_log" WHERE "date"='December 27';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What game number is the Washington team.". [/INST] SELECT COUNT("game") FROM "game_log" WHERE "team"='Washington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the location attendance april 5". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "date"='April 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the high assists for madison square garden 19,763 and record is 39–38". [/INST] SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='Madison Square Garden 19,763' AND "record"='39–38';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the date for cleveland". [/INST] SELECT "date" FROM "game_log" WHERE "team"='Cleveland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27720737_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );. Question: "What is the original air date when the u.s. viewers in millions was 5.39?". [/INST] SELECT "original_air_date" FROM "table1_27720737_1" WHERE "u_s_viewers_million"='5.39';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27720737_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );. Question: "What is the title of the series # 8?". [/INST] SELECT "title" FROM "table1_27720737_1" WHERE "series_num"=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 "table1_27720737_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );. Question: "What is the highest series # directed by ken whittingham?". [/INST] SELECT MAX("series_num") FROM "table1_27720737_1" WHERE "directed_by"='Ken Whittingham';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27720737_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );. Question: "How many episodes had a production code 120?". [/INST] SELECT COUNT("series_num") FROM "table1_27720737_1" WHERE "production_code"=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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the most rebounds and how many did they have on October 16?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='October 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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the most assists and how many did they have on October 7? ". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='October 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What team did the Hornets play in game 4?". [/INST] SELECT "team" FROM "game_log" WHERE "game"=4;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the high assists for l 103–104 (ot)". [/INST] SELECT "high_assists" FROM "game_log" WHERE "score"='L 103–104 (OT)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the high points for march 30". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='March 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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the score for josé juan barea (8)". [/INST] SELECT "score" FROM "game_log" WHERE "high_assists"='José Juan Barea (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the game number played on April 3?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "date"='April 3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the record after the Phoenix game?". [/INST] SELECT "record" FROM "game_log" WHERE "team"='Phoenix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many games had Robin Lopez (10) for the most rebounds?". [/INST] SELECT COUNT("game") FROM "game_log" WHERE "high_rebounds"='Robin Lopez (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What two players had the highest rebounds for the October 14 game?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='October 14';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the team for january 17". [/INST] SELECT "team" FROM "game_log" WHERE "date"='January 17';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the team for score l 102–122 (ot)". [/INST] SELECT "team" FROM "game_log" WHERE "score"='L 102–122 (OT)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Name the number of high rebounds for january 5". [/INST] SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='January 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 "winners" ( "tour" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who is the mixed doubled on the tour korea super series?". [/INST] SELECT "mixed_doubles" FROM "winners" WHERE "tour"='Korea Super Series';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "tour" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who is the women's doubles when the mixed doubles are sudket prapakamol saralee thungthongkam?". [/INST] SELECT "womens_doubles" FROM "winners" WHERE "mixed_doubles"='Sudket Prapakamol Saralee Thungthongkam';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "tour" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series?". [/INST] SELECT "womens_doubles" FROM "winners" WHERE "mixed_doubles"='Zhang Nan Zhao Yunlei' AND "tour"='All England Super Series';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "tour" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text );. Question: "Who is the womens doubles on the tour french super series?". [/INST] SELECT "womens_doubles" FROM "winners" WHERE "tour"='French Super Series';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the score in the game in which Michael Beasley (26) did the high points?". [/INST] SELECT "score" FROM "game_log" WHERE "high_points"='Michael Beasley (26)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who did the most high rebounds on April 6?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many different results for high rebounds were there for game number 76?". [/INST] SELECT COUNT("high_rebounds") FROM "game_log" WHERE "game"=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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "In how many different games did Luke Ridnour (5) did the most high assists?". [/INST] SELECT COUNT("game") FROM "game_log" WHERE "high_assists"='Luke Ridnour (5)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high points when the team was charlotte?". [/INST] SELECT "high_points" FROM "game_log" WHERE "team"='Charlotte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the highest game with team @ l.a. clippers?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "team"='@ L.A. Clippers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the date for the game with team orlando?". [/INST] SELECT "date" FROM "game_log" WHERE "team"='Orlando';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many times did kevin love (22) have the high points?". [/INST] SELECT COUNT("date") FROM "game_log" WHERE "high_points"='Kevin Love (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the date for the game 35?". [/INST] SELECT "date" FROM "game_log" WHERE "game"=35;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27811555_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_millions" text );. Question: "who directed the episode that 6.3 million u.s. viewers saw?". [/INST] SELECT "directed_by" FROM "table1_27811555_1" WHERE "u_s_viewers_millions"='6.3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27811555_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_millions" text );. Question: "how man episodes in the season were titled "that's so sonny"?". [/INST] SELECT COUNT("no_in_season") FROM "table1_27811555_1" WHERE "title"='\"That''s So Sonny\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_one" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What is the college/junior/club team name of player Mats Lindgren?". [/INST] SELECT "college_junior_club_team" FROM "round_one" WHERE "player"='Mats Lindgren';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_one" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many NHL teams is Denis Pederson a draft pick for?". [/INST] SELECT COUNT("nhl_team") FROM "round_one" WHERE "player"='Denis Pederson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27823359_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "Who wrote episode 23 in the season?". [/INST] SELECT "written_by" FROM "table1_27823359_1" WHERE "season_num"='23';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27823359_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "Who wrote the episode titled "An Old-fashioned Piano Party"?". [/INST] SELECT "written_by" FROM "table1_27823359_1" WHERE "title"='\"An Old-Fashioned Piano Party\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Where was the location and attendance when they played milwaukee?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "team"='Milwaukee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the date of the game when g. rivers (5) had the high assists?". [/INST] SELECT "date" FROM "game_log" WHERE "high_assists"='G. Rivers (5)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many people had the high points when a. webb (7) had the high assists?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "high_assists"='A. Webb (7)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What date was the game score w 104-98?". [/INST] SELECT "date" FROM "game_log" WHERE "score"='W 104-98';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high assists when the opponent was Indiana?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "team"='Indiana';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location and attendance when d. wilkins (29) had the high points?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_points"='D. Wilkins (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the location and attendance for the game where b. benjamin (10) had the high rebounds?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_rebounds"='B. Benjamin (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What dated was the game played at the location delta center 19,911?". [/INST] SELECT "date" FROM "game_log" WHERE "location_attendance"='Delta Center 19,911';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Which game had a score of w 95-85?". [/INST] SELECT MIN("game") FROM "game_log" WHERE "score"='W 95-85';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high points when the score was w 112-110?". [/INST] SELECT "high_points" FROM "game_log" WHERE "score"='W 112-110';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What date was the game played in seattle center coliseum 12,126?". [/INST] SELECT "date" FROM "game_log" WHERE "location_attendance"='Seattle Center Coliseum 12,126';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27988382_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "How many production codes had a total number in the season of 8?". [/INST] SELECT COUNT("production_code") FROM "table1_27988382_1" WHERE "no_in_season"=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 "new_zealand_ratings" ( "episode_number" text, "episode_name" text, "airdate" text, "viewers_millions" text, "rank_timeslot" text, "rank_18_49_night" text );. Question: "what is the total rank on airdate march 30, 2011?". [/INST] SELECT COUNT("rank_timeslot") FROM "new_zealand_ratings" WHERE "airdate"='March 30, 2011';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_info" ( "no" real, "name" text, "place_of_birth" text, "date_of_birth" text, "previous_club" text, "date_joined" text, "fee" text, "contract_expiry" text );. Question: "for the ben williams name what was the previous club". [/INST] SELECT "previous_club" FROM "player_info" WHERE "name"='Ben Williams';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_info" ( "no" real, "name" text, "place_of_birth" text, "date_of_birth" text, "previous_club" text, "date_joined" text, "fee" text, "contract_expiry" text );. Question: "what is the fee for ankaragücü previous club". [/INST] SELECT "fee" FROM "player_info" WHERE "previous_club"='Ankaragücü';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_info" ( "no" real, "name" text, "place_of_birth" text, "date_of_birth" text, "previous_club" text, "date_joined" text, "fee" text, "contract_expiry" text );. Question: "how many date of birts are if the previous club is chelsea". [/INST] SELECT COUNT("date_of_birth") FROM "player_info" WHERE "previous_club"='Chelsea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_info" ( "no" real, "name" text, "place_of_birth" text, "date_of_birth" text, "previous_club" text, "date_joined" text, "fee" text, "contract_expiry" text );. Question: "for the no. 7 what is the date of birth". [/INST] SELECT "date_of_birth" FROM "player_info" WHERE "no"=7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_28026156_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text );. Question: "How many episodes were written by seth hoffman, russel friend & garrett lerner?". [/INST] SELECT COUNT("rank_week") FROM "table1_28026156_1" WHERE "written_by"='Seth Hoffman, Russel Friend & Garrett Lerner';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_28026156_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text );. Question: "Where did the episode rank that was written by thomas l. moran?". [/INST] SELECT "rank_week" FROM "table1_28026156_1" WHERE "written_by"='Thomas L. Moran';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_28081876_5" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "at most what number in the series was the episode "chet episode"?". [/INST] SELECT MAX("series_no") FROM "table1_28081876_5" WHERE "title"='\"Chet Episode\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_28081876_5" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "the episode entitled "ward 8" was what number in the series?". [/INST] SELECT "series_no" FROM "table1_28081876_5" WHERE "title"='\"Ward 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 "table1_28081876_5" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "who directed the episode entitled "home is where the hospital is"?". [/INST] SELECT "directed_by" FROM "table1_28081876_5" WHERE "title"='\"Home Is Where the Hospital Is\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "german_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );. Question: "Who won Womens Singles in the year that Ma Lin won Mens Singles?". [/INST] SELECT "womens_singles" FROM "german_open" WHERE "mens_singles"='Ma Lin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "swedish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );. Question: "What is the place and when was the year when the women's doubles womens were Bai yang Niu Jianfeng?". [/INST] SELECT "year_location" FROM "swedish_open" WHERE "womens_doubles"='Bai Yang Niu Jianfeng';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "swedish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );. Question: "How many times has Ma Long won the men's singles?". [/INST] SELECT COUNT("mens_doubles") FROM "swedish_open" WHERE "mens_singles"='Ma Long';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "swedish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );. Question: "How many times has Sun Jin won the women's doubles?". [/INST] SELECT COUNT("mens_doubles") FROM "swedish_open" WHERE "womens_singles"='Sun Jin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "song_list" ( "song_title" text, "artist" text, "show" text, "difficulty" real, "effort" real, "year" real, "dancers" text );. Question: "What show featured the song "little shop of horrors"?". [/INST] SELECT "show" FROM "song_list" WHERE "song_title"='\"Little Shop of Horrors\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "song_list" ( "song_title" text, "artist" text, "show" text, "difficulty" real, "effort" real, "year" real, "dancers" text );. Question: "How many artists were there for the show thoroughly modern millie?". [/INST] SELECT COUNT("artist") FROM "song_list" WHERE "show"='Thoroughly Modern Millie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "song_list" ( "song_title" text, "artist" text, "show" text, "difficulty" real, "effort" real, "year" real, "dancers" text );. Question: "How many shows were in 1994?". [/INST] SELECT COUNT("difficulty") FROM "song_list" WHERE "year"=1994;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );. Question: "Name the engine for ecurie lutetia". [/INST] SELECT "engine" FROM "entries" WHERE "entrant"='Ecurie Lutetia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );. Question: "Name the chassis for sfacs ecurie france". [/INST] SELECT "chassis" FROM "entries" WHERE "entrant"='SFACS Ecurie France';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );. Question: "Name the constructor for b. bira". [/INST] SELECT "constructor" FROM "entries" WHERE "driver"='B. Bira';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );. Question: "Name the constructor for number 10". [/INST] SELECT "constructor" FROM "entries" WHERE "no"=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 "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );. Question: "Name the chassis for b. bira". [/INST] SELECT "chassis" FROM "entries" WHERE "driver"='B. Bira';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2818164_8" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "the episode directed by art dielhenn was what number in the series? ". [/INST] SELECT "no_in_series" FROM "table1_2818164_8" WHERE "directed_by"='Art Dielhenn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2818164_8" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "who directed the episode entitled "it's your move"?". [/INST] SELECT "directed_by" FROM "table1_2818164_8" WHERE "title"='\"It''s Your Move\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2818164_8" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );. Question: "the episode "adventures in babysitting" had what number in the season?". [/INST] SELECT "no_in_season" FROM "table1_2818164_8" WHERE "title"='\"Adventures in Babysitting\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner? ". [/INST] SELECT "u21_mens" FROM "2009_10" WHERE "mixed_restricted"='Mike Marsden' AND "u21_womens"='Claire Nelson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran?". [/INST] SELECT "mixed_veteran" FROM "2009_10" WHERE "womens_singles"='Naomi Owen' AND "mens_singles"='Ricardo Walther';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U21 womens?". [/INST] SELECT "mixed_restricted" FROM "2009_10" WHERE "mixed_veteran"='Tomasz Rzeszotko' AND "u21_womens"='Karina Le Fevre';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "When and where did Eddie Smith win the mixed veteran?". [/INST] SELECT COUNT("date_location") FROM "2009_10" WHERE "mixed_veteran"='Eddie Smith';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "When Matt Ware won the mens singles, who won the mixed restricted?". [/INST] SELECT "mixed_restricted" FROM "2009_10" WHERE "mens_singles"='Matt Ware';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_10" ( "date_location" text, "mens_singles" text, "womens_singles" text, "u21_mens" text, "u21_womens" text, "mixed_restricted" text, "mixed_veteran" text );. Question: "When Paul Whiting won the mixed veteran, who won the mixed restricted?". [/INST] SELECT "mixed_restricted" FROM "2009_10" WHERE "mixed_veteran"='Paul Whiting';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "How many winners have st kilda score at 14.11.95?". [/INST] SELECT COUNT("winner") FROM "results" WHERE "st_kilda_score"='14.11.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 "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "What the listed in round when the hawthorn score is 17.7.109?". [/INST] SELECT MAX("round") FROM "results" WHERE "hawthorn_score"='17.7.109';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "What is the attendance when the hawthorn score is 18.15.123?". [/INST] SELECT "attendance" FROM "results" WHERE "hawthorn_score"='18.15.123';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "What is the hawthorn score at the year 2000?". [/INST] SELECT "hawthorn_score" FROM "results" WHERE "year"=2000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "Who is the winner when the st kilda score is 13.10.88?". [/INST] SELECT "winner" FROM "results" WHERE "st_kilda_score"='13.10.88';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "year" real, "round" real, "winner" text, "hawthorn_score" text, "st_kilda_score" text, "attendance" real, "venue" text, "silk_miller_medallist" text );. Question: "What is the attendance when the st kilda score is 13.10.88?". [/INST] SELECT "attendance" FROM "results" WHERE "st_kilda_score"='13.10.88';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "northern_ireland" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );. Question: "How many caps figures for the Doncaster Rovers?". [/INST] SELECT COUNT("cap_s") FROM "northern_ireland" WHERE "club_s"='Doncaster Rovers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "northern_ireland" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );. Question: "How many caps figures are there for Norwich City, Coventry City?". [/INST] SELECT COUNT("cap_s") FROM "northern_ireland" WHERE "club_s"='Norwich City, Coventry City';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "northern_ireland" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );. Question: "How many players had 8 goals?". [/INST] SELECT COUNT("player") FROM "northern_ireland" WHERE "goal_s"=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 "round_one" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many positions does the draft pick whose nationality is Czech Republic play?". [/INST] SELECT COUNT("position") FROM "round_one" WHERE "nationality"='Czech Republic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_one" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What draft pick number was Ric Jackman?". [/INST] SELECT MIN("pick") FROM "round_one" WHERE "player"='Ric Jackman';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many draft pick positions did Matt Bradley have?". [/INST] SELECT COUNT("position") FROM "round_four" WHERE "player"='Matt Bradley';</s>