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 "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text );. Question: "How many years of NBA experience does the player who plays position g for the Portland Trail Blazers?". [/INST] SELECT "years_of_nba_experience_a" FROM "selections" WHERE "pos"='g' AND "team"='portland trail blazers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text );. Question: "Who is the player from the Buffalo Braves with the previous team Los Angeles Lakers and a career with the franchase in 1970?". [/INST] SELECT "player" FROM "selections" WHERE "team"='buffalo braves' AND "previous_team"='los angeles lakers' AND "career_with_the_franchise_b"='1970';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text );. Question: "Who is the player with 7 years of NBA experience?". [/INST] SELECT "player" FROM "selections" WHERE "years_of_nba_experience_a"=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 "appearances" ( "name" text, "years" text, "regular_season" real, "playoffs" real, "total" real );. Question: "how may times is regular season 1063 and playoffs more than 119?". [/INST] SELECT COUNT("total") FROM "appearances" WHERE "regular_season"=1063 AND "playoffs">119;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "appearances" ( "name" text, "years" text, "regular_season" real, "playoffs" real, "total" real );. Question: "what is the years when playoffs is 115?". [/INST] SELECT "years" FROM "appearances" WHERE "playoffs"=115;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What Competition had a Score of 2–0?". [/INST] SELECT "competition" FROM "senior_team" WHERE "score"='2–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 "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What was the Score in Gelora Sriwijaya Stadium?". [/INST] SELECT "score" FROM "senior_team" WHERE "venue"='gelora sriwijaya stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is the Venue of the Competition with a Result of 2–2 (d)?". [/INST] SELECT "venue" FROM "senior_team" WHERE "result"='2–2 (d)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?". [/INST] SELECT "result" FROM "senior_team" WHERE "score"='4–0' AND "venue"='mbpj stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What is the Venue of the Competition with a Result of 2–2 (d)?". [/INST] SELECT "venue" FROM "senior_team" WHERE "result"='2–2 (d)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "senior_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What Competition in Shah Alam Stadium have a Result of 2–0 (w)?". [/INST] SELECT "competition" FROM "senior_team" WHERE "result"='2–0 (w)' AND "venue"='shah alam stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "Which Avg/G has a Long of 93, and a Loss smaller than 249?". [/INST] SELECT SUM("avg_g") FROM "rushing" WHERE "long"=93 AND "loss"<249;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "Which Avg/G has a Gain of 1,839?". [/INST] SELECT SUM("avg_g") FROM "rushing" WHERE "gain"='1,839';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?". [/INST] SELECT SUM("avg_g") FROM "rushing" WHERE "name"='josh freeman' AND "loss"<134;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "How much Gain has a Long of 29, and an Avg/G smaller than 33.7?". [/INST] SELECT COUNT("gain") FROM "rushing" WHERE "long"=29 AND "avg_g"<33.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 "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894?". [/INST] SELECT MAX("long") FROM "rushing" WHERE "loss">3 AND "gain">'2,894';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "college_junior_team" text );. Question: "What is the average round of the rw position player from the United States?". [/INST] SELECT AVG("round") FROM "draft_picks" WHERE "nationality"='united states' AND "position"='rw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "college_junior_team" text );. Question: "What is the college/junior team of player tyler myers, who has a pick less than 44?". [/INST] SELECT "college_junior_team" FROM "draft_picks" WHERE "pick"<44 AND "player"='tyler myers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "college_junior_team" text );. Question: "What is the nationality of player corey fienhage, who has a pick less than 104?". [/INST] SELECT "nationality" FROM "draft_picks" WHERE "pick"<104 AND "player"='corey fienhage';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "college_junior_team" text );. Question: "What is the sum of the pick of the lw position player?". [/INST] SELECT SUM("pick") FROM "draft_picks" WHERE "position"='lw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "What is the Record in Week 2?". [/INST] SELECT "record" FROM "schedule" WHERE "week"=2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "WHEN has a Result of w 23–17?". [/INST] SELECT "date" FROM "schedule" WHERE "result"='w 23–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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );. Question: "WHEN has a Opponent of miami dolphins?". [/INST] SELECT "date" FROM "schedule" WHERE "opponent"='miami dolphins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "reputation" ( "ranking" text, "2007" text, "2008" text, "2009" text, "2010" text );. Question: "What was the 2009 ranking for Webometrics?". [/INST] SELECT "2009" FROM "reputation" WHERE "ranking"='webometrics';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "amusement_park_corporations_in_terms_of_" ( "rank" real, "amusement_park_corporations" text, "country" text, "2008" text, "2009" text, "2010" text, "2011" real, "2012" text );. Question: "What is the Rank listed for the attendance of 2010 of 9,000,000 and 2011 larger than 9,210,000?". [/INST] SELECT SUM("rank") FROM "amusement_park_corporations_in_terms_of_" WHERE "2010"='9,000,000' AND "2011">'9,210,000';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "amusement_park_corporations_in_terms_of_" ( "rank" real, "amusement_park_corporations" text, "country" text, "2008" text, "2009" text, "2010" text, "2011" real, "2012" text );. Question: "In the United States the 2011 attendance at this amusement park corporation was larger than 30,800,000 but lists what as its 2008 attendance?". [/INST] SELECT "2008" FROM "amusement_park_corporations_in_terms_of_" WHERE "2011">'30,800,000' AND "country"='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 "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );. Question: "What rank is Partizan Igokea that has less than 130 rebounds?". [/INST] SELECT MIN("rank") FROM "rebounds" WHERE "rebounds"<130 AND "team"='partizan igokea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "Which College has a Pick # larger than 30, and a Position of ol?". [/INST] SELECT "college" FROM "round_four" WHERE "pick_num">30 AND "position"='ol';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "Which Pick # has a College of concordia?". [/INST] SELECT MAX("pick_num") FROM "round_four" WHERE "college"='concordia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "Which CFL Team has a Pick # larger than 31?". [/INST] SELECT "cfl_team" FROM "round_four" WHERE "pick_num">31;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "What is buffalo's pick #?". [/INST] SELECT MAX("pick_num") FROM "round_four" WHERE "college"='buffalo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_num" real, "cfl_team" text, "player" text, "position" text, "college" text );. Question: "Which College has a Position of ol, and a Pick # smaller than 32?". [/INST] SELECT "college" FROM "round_four" WHERE "position"='ol' AND "pick_num"<32;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick" real, "pos" text, "nationality" text, "team" text, "previous_team" text, "nba_years_a" text, "career_with_the_franchise_b" text );. Question: "What is the team of the player who was previously on the indiana pacers?". [/INST] SELECT "team" FROM "selections" WHERE "previous_team"='indiana pacers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick" real, "pos" text, "nationality" text, "team" text, "previous_team" text, "nba_years_a" text, "career_with_the_franchise_b" text );. Question: "What is the previous team of the player with 4 NBA years and a pick less than 16?". [/INST] SELECT "previous_team" FROM "selections" WHERE "nba_years_a"='4' AND "pick"<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 "selections" ( "pick" real, "pos" text, "nationality" text, "team" text, "previous_team" text, "nba_years_a" text, "career_with_the_franchise_b" text );. Question: "How many NBA years did the player from the United States who was previously on the los angeles lakers have?". [/INST] SELECT "nba_years_a" FROM "selections" WHERE "nationality"='united states' AND "previous_team"='los angeles lakers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "year" real, "tournament" text, "surface" text, "round" text, "winner" text, "score" text, "length_h_mm" text, "sets" text, "federer" real, "nadal" real );. Question: "What tournament did Nadal win and had a nadal of 16?". [/INST] SELECT "tournament" FROM "singles" WHERE "winner"='nadal' AND "nadal"=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 "singles" ( "year" real, "tournament" text, "surface" text, "round" text, "winner" text, "score" text, "length_h_mm" text, "sets" text, "federer" real, "nadal" real );. Question: "What was the nadal in Miami in the final round?". [/INST] SELECT MAX("nadal") FROM "singles" WHERE "round"='final' AND "tournament"='miami';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "year" real, "tournament" text, "surface" text, "round" text, "winner" text, "score" text, "length_h_mm" text, "sets" text, "federer" real, "nadal" real );. Question: "What were the sets when Federer had 6 and a nadal of 13?". [/INST] SELECT "sets" FROM "singles" WHERE "nadal"=13 AND "federer"=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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "Which college had an overall pick of 9?". [/INST] SELECT "college" FROM "washington_redskins_draft_history" WHERE "overall"=9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_12_fortunes" ( "rank" real, "value" text, "name" text, "source_of_wealth" text, "2007_rank" text );. Question: "What source of wealth has a value of Β£5726m?". [/INST] SELECT "source_of_wealth" FROM "top_12_fortunes" WHERE "value"='Β£5726m';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "heat_points" real, "opponents" real, "record" text, "streak" text );. Question: "What is the highest Game, when Opponents is less than 80, and when Record is "1-0"?". [/INST] SELECT MAX("game") FROM "schedule" WHERE "opponents"<80 AND "record"='1-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 "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "heat_points" real, "opponents" real, "record" text, "streak" text );. Question: "What is Result, when Date is "December 12"?". [/INST] SELECT "result" FROM "schedule" 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 "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "heat_points" real, "opponents" real, "record" text, "streak" text );. Question: "What is Streak, when Heat Points is "101", and when Game is "16"?". [/INST] SELECT "streak" FROM "schedule" WHERE "heat_points"=101 AND "game"=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 "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "heat_points" real, "opponents" real, "record" text, "streak" text );. Question: "What is Heat Points, when Game is less than 80, and when Date is "April 26 (First Round)"?". [/INST] SELECT "heat_points" FROM "schedule" WHERE "game"<80 AND "date"='april 26 (first round)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "heat_points" real, "opponents" real, "record" text, "streak" text );. Question: "What is the average Heat Points, when Result is "Loss", when Game is greater than 72, and when Date is "April 21"?". [/INST] SELECT AVG("heat_points") FROM "schedule" WHERE "result"='loss' AND "game">72 AND "date"='april 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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "What was the attendance for week 2?". [/INST] SELECT "attendance" FROM "schedule" WHERE "week"=2;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "What was the attendance when the Cincinnati Bengals were the opponents?". [/INST] SELECT "attendance" FROM "schedule" WHERE "opponent"='cincinnati bengals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );. Question: "What country had a paste publication in 2009?". [/INST] SELECT "country" FROM "accolades" WHERE "year"=2009 AND "publication"='paste';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );. Question: "What was the lowest rank after 2009 with an accolade of 125 best albums of the past 25 years?". [/INST] SELECT MIN("rank") FROM "accolades" WHERE "year">2009 AND "accolade"='125 best albums of the past 25 years';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is Tom Gillis' score?". [/INST] SELECT "score" FROM "first_round" WHERE "player"='tom gillis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "Which player is T3?". [/INST] SELECT "player" FROM "first_round" WHERE "place"='t3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "Which country has is Len Mattiace in T10 place?". [/INST] SELECT "country" FROM "first_round" WHERE "place"='t10' AND "player"='len mattiace';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is the average score for the player who is T5 in the United States?". [/INST] SELECT AVG("score") FROM "first_round" WHERE "place"='t5' AND "country"='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 "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1976 when 1980 is 2.0?". [/INST] SELECT "1976" FROM "military_imbalance" WHERE "1980"='2.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 "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1980 when 1979 is 951?". [/INST] SELECT "1980" FROM "military_imbalance" WHERE "1979"='951';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1977 when 1980 is chile?". [/INST] SELECT "1977" FROM "military_imbalance" WHERE "1980"='chile';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1976 when 1977 is 3.5?". [/INST] SELECT "1976" FROM "military_imbalance" WHERE "1977"='3.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 "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1977 when 1978 is 4.1?". [/INST] SELECT "1977" FROM "military_imbalance" WHERE "1978"='4.1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "military_imbalance" ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text );. Question: "what is 1980 when 1978 is 2.3?". [/INST] SELECT "1980" FROM "military_imbalance" WHERE "1978"='2.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 "90_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text, "release_date" text );. Question: "What is the Frequency for Model Number c7 1.0?". [/INST] SELECT "frequency" FROM "90_nm" WHERE "model_number"='c7 1.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 "90_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text, "release_date" text );. Question: "What is the Release Date for Model Number c7 1.8?". [/INST] SELECT "release_date" FROM "90_nm" WHERE "model_number"='c7 1.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 "90_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text, "release_date" text );. Question: "What is the Front Side Bus for Model Number c7 1.5?". [/INST] SELECT "front_side_bus" FROM "90_nm" WHERE "model_number"='c7 1.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 "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What to par is located in the united states and has the player by the name of hale irwin?". [/INST] SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "player"='hale irwin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What country has the score og 66-70-69-71=276?". [/INST] SELECT "country" FROM "final_round" WHERE "score"='66-70-69-71=276';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What player has money larger than 11,950 and is placed in t8 and has the score of 73-68-69-72=282?". [/INST] SELECT "player" FROM "final_round" WHERE "money">'11,950' AND "place"='t8' AND "score"='73-68-69-72=282';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT IS THE HOME TEAM ON APRIL 25?". [/INST] SELECT "home_team" FROM "nba_finals" WHERE "date"='april 25';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT?". [/INST] SELECT "date" FROM "nba_finals" WHERE "road_team"='boston' AND "result"='126-105';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT GAME HAD A SCORE OF 99-112?". [/INST] SELECT "game" FROM "nba_finals" WHERE "result"='99-112';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT IS THE RESULT OF THE GAME ON APRIL 23?". [/INST] SELECT "result" FROM "nba_finals" WHERE "date"='april 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 "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23?". [/INST] SELECT "result" FROM "nba_finals" WHERE "road_team"='boston' AND "date"='april 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 "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );. Question: "WHAT IS THE HOME TEAM, RESULT 99-112?". [/INST] SELECT "home_team" FROM "nba_finals" WHERE "result"='99-112';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text );. Question: "What is Brown's transfer window?". [/INST] SELECT "transfer_window" FROM "out" WHERE "name"='brown';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text );. Question: "What is the transfer window with a status of transfer from the country of Wal?". [/INST] SELECT "transfer_window" FROM "out" WHERE "status"='transfer' AND "country"='wal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text );. Question: "What is the status of the Eng Country from the Maynard name?". [/INST] SELECT "status" FROM "out" WHERE "country"='eng' AND "name"='maynard';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text );. Question: "What is the name of the free transfer fee with a transfer status and an ENG country?". [/INST] SELECT "name" FROM "out" WHERE "transfer_fee"='free' AND "status"='transfer' AND "country"='eng';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text );. Question: "What is the status of the ENG Country with the name of Farquharson?". [/INST] SELECT "status" FROM "out" WHERE "country"='eng' AND "name"='farquharson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Left Office, when Took Office is 2006?". [/INST] SELECT "left_office" FROM "references" WHERE "took_office"='2006';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Left Office, when Party is Vacant (1999-2001)?". [/INST] SELECT "left_office" FROM "references" WHERE "party"='vacant (1999-2001)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Name, when President is Khamtai Siphandon, and when Left Office is 1999?". [/INST] SELECT "name" FROM "references" WHERE "president"='khamtai siphandon' AND "left_office"='1999';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Party, when Name is Oudom Khattigna?". [/INST] SELECT "party" FROM "references" WHERE "name"='oudom khattigna';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Party, when Took Office is 1998?". [/INST] SELECT "party" FROM "references" WHERE "took_office"='1998';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "name" text, "took_office" text, "left_office" text, "president" text, "party" text );. Question: "What is Left Office, when Took Office is 1998?". [/INST] SELECT "left_office" FROM "references" WHERE "took_office"='1998';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "ground" text, "crowd" real, "date" text );. Question: "Who is the away team when the home team scored 17.6 (108)?". [/INST] SELECT "away_team" FROM "round_3" WHERE "home_team_score"='17.6 (108)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "When was the away team geelong?". [/INST] SELECT "date" FROM "round_3" WHERE "away_team"='geelong';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "What was the ground for away team essendon?". [/INST] SELECT "ground" FROM "round_3" WHERE "away_team"='essendon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );. Question: "What was the ground for away team sydney?". [/INST] SELECT "ground" FROM "round_3" WHERE "away_team"='sydney';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1968_cincinnati_bengals_regular_season_s" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real, "record" text );. Question: "What date was the week 6 game played on?". [/INST] SELECT "date" FROM "1968_cincinnati_bengals_regular_season_s" WHERE "week"=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 "1968_cincinnati_bengals_regular_season_s" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real, "record" text );. Question: "What week was the game played at Mile High Stadium?". [/INST] SELECT "week" FROM "1968_cincinnati_bengals_regular_season_s" WHERE "venue"='mile high stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the losing bonus when drawn was 0, and there were 101 points?". [/INST] SELECT "losing_bonus" FROM "league_table" WHERE "drawn"='0' AND "points"='101';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the points when the lost was 11?". [/INST] SELECT "points_for" FROM "league_table" WHERE "lost"='11';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the lost when the club was Barry RFC?". [/INST] SELECT "lost" FROM "league_table" WHERE "club"='barry rfc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the played number when tries against is 84, and drawn is 2?". [/INST] SELECT "played" FROM "league_table" WHERE "tries_against"='84' AND "drawn"='2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the name of the club with 22 points?". [/INST] SELECT "club" FROM "league_table" WHERE "points"='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 "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the name of the club when the played number is 22, and the try bonus was 0?". [/INST] SELECT "club" FROM "league_table" WHERE "played"='22' AND "try_bonus"='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 "d" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );. Question: "What was the nationality of the players with a position of g?". [/INST] SELECT "nationality" FROM "d" WHERE "position"='g';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "d" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );. Question: "What college was the player with the jersey number of 34 from?". [/INST] SELECT "from" FROM "d" WHERE "jersey_number_s"=34;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "d" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );. Question: "What is the lowest jersey number of a player from louisiana state?". [/INST] SELECT MIN("jersey_number_s") FROM "d" WHERE "from"='louisiana 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 "d" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );. Question: "What years did the united states player with a jersey number 25 who attended delaware state play?". [/INST] SELECT "years" FROM "d" WHERE "nationality"='united states' AND "jersey_number_s"<25 AND "from"='delaware 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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );. Question: "What is Team, when High Assists is "Rashard Lewis (4)"?". [/INST] SELECT "team" FROM "game_log" WHERE "high_assists"='rashard lewis (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, "series" text );. Question: "What is High Points, when High Rebounds is "Dwight Howard (16)"?". [/INST] SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='dwight howard (16)';</s>