text
stringlengths
411
1.74k
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What team does Lee Palmer play for?". [/INST] SELECT "college_junior_club_team" FROM "round_ten" WHERE "player"='Lee Palmer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What country is Alain Labrecque from?". [/INST] SELECT "nationality" FROM "round_ten" WHERE "player"='Alain Labrecque';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What is Boston Bruins minimum pick?". [/INST] SELECT MIN("pick_num") FROM "round_ten" WHERE "nhl_team"='Boston Bruins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Name the position of glenn goldup". [/INST] SELECT "position" FROM "round_two" WHERE "player"='Glenn Goldup';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Name the least pick number for colin campbell". [/INST] SELECT MIN("pick_num") FROM "round_two" WHERE "player"='Colin Campbell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_two" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Name the player for pick number for 30". [/INST] SELECT "player" FROM "round_two" WHERE "pick_num"=30;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Name the college/junior club team for jimmy jones". [/INST] SELECT "college_junior_club_team" FROM "round_two" WHERE "player"='Jimmy Jones';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "Who was the MVP the season Scaligera Verona were Champions?". [/INST] SELECT "mvp" FROM "results" WHERE "champion"='Scaligera Verona';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "Who was the finalist in the season 2007-08?". [/INST] SELECT "finalist" FROM "results" WHERE "season"='2007-08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "Who was the finalist when the final venue was Varese?". [/INST] SELECT "finalist" FROM "results" WHERE "final_venue"='Varese';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "Who was the finalist when the MVP was Romain Sato?". [/INST] SELECT "finalist" FROM "results" WHERE "mvp"='Romain Sato';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "Who was the champion for the 1998-99 season?". [/INST] SELECT "champion" FROM "results" WHERE "season"='1998-99';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "season" text, "final_venue" text, "champion" text, "result" text, "finalist" text, "mvp" text );. Question: "How many final venues were there in the 1997-98 season?". [/INST] SELECT COUNT("final_venue") FROM "results" WHERE "season"='1997-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 "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What player was drafted to the Detroit Red Wings?". [/INST] SELECT "player" FROM "round_seven" WHERE "nhl_team"='Detroit Red Wings';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Who did Dan Follet play for before the draft?". [/INST] SELECT "college_junior_club_team" FROM "round_seven" WHERE "player"='Dan Follet';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "How many teams have a player named Denis Andersen?". [/INST] SELECT COUNT("nhl_team") FROM "round_seven" WHERE "player"='Denis Andersen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Which College did the Buffalo Sabres' pick play for?". [/INST] SELECT "college_junior_club_team" FROM "round_seven" WHERE "nhl_team"='Buffalo Sabres';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eight" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What NHL team does Denis Desgagnes play for?". [/INST] SELECT "nhl_team" FROM "round_eight" WHERE "player"='Denis Desgagnes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eight" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What cub team or college did Bob Law come from?". [/INST] SELECT "college_junior_club_team" FROM "round_eight" WHERE "player"='Bob Law';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_eight" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "What NHL team did jim koleff play on?". [/INST] SELECT "nhl_team" FROM "round_eight" WHERE "player"='Jim Koleff';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "division" text );. Question: "How many teams have skyhawks as a nickname?". [/INST] SELECT COUNT("division") FROM "current_members" WHERE "nickname"='Skyhawks';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "division" text );. Question: "What is the total enrollment for the school in garden city, new york?". [/INST] SELECT "enrollment" FROM "current_members" WHERE "location"='Garden City, New York';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "division" text );. Question: "How many schools with greyhounds as their nickname?". [/INST] SELECT COUNT("institution") FROM "current_members" WHERE "nickname"='Greyhounds';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "division" text );. Question: "How many schools named southern new hampshire university?". [/INST] SELECT COUNT("enrollment") FROM "current_members" WHERE "institution"='Southern New Hampshire University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19722436_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "results" text );. Question: "When no.55 ipb spartak racing is the g1 winning team what are the results?". [/INST] SELECT "results" FROM "table1_19722436_2" WHERE "gt1_winning_team"='No.55 IPB Spartak Racing';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_19722436_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "results" text );. Question: "When peter kox roman rusinov is the gt1 of the winning team how many lmp1 winning teams are there?". [/INST] SELECT COUNT("lmp1_winning_team") FROM "table1_19722436_2" WHERE "gt1_winning_team"='Peter Kox Roman Rusinov';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19722436_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt1_winning_team" text, "gt2_winning_team" text, "results" text );. Question: "When julien jousse patrice goueslard yann clairay is teh gt1 of the winning team how many measurements of rnd. are there?". [/INST] SELECT COUNT("rnd") FROM "table1_19722436_2" WHERE "gt1_winning_team"='Julien Jousse Patrice Goueslard Yann Clairay';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real );. Question: "How many nicknames were associated with Milton, Massachusetts?". [/INST] SELECT COUNT("nickname") FROM "current_members" WHERE "location"='Milton, Massachusetts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real );. Question: "Where is the Eastern Nazarene College located?". [/INST] SELECT "location" FROM "current_members" WHERE "institution"='Eastern Nazarene College';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real );. Question: "How many years are listed under joined for the Nor'easters?". [/INST] SELECT COUNT("joined") FROM "current_members" WHERE "nickname"='Nor''easters';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real );. Question: "What location contains a school that has an enrollment of 2686?". [/INST] SELECT "location" FROM "current_members" WHERE "enrollment"=2686;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real );. Question: "In what year did the Lions join?". [/INST] SELECT MIN("joined") FROM "current_members" WHERE "nickname"='Lions';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text );. Question: "Which conference has the nickname Chargers?". [/INST] SELECT "current_conference" FROM "former_members" WHERE "nickname"='Chargers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text );. Question: "Which conference has the nickname Lions?". [/INST] SELECT "current_conference" FROM "former_members" WHERE "nickname"='Lions';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text );. Question: "What joined year does Dropped Athletics have?". [/INST] SELECT MAX("joined") FROM "former_members" WHERE "current_conference"='Dropped athletics';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text );. Question: "What is the latest founded year?". [/INST] SELECT MAX("founded") FROM "former_members";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "members_before_dissolution" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real, "current_conference" text );. Question: "What institution is located in Watertown, Wisconsin?". [/INST] SELECT "institution" FROM "members_before_dissolution" WHERE "location"='Watertown, Wisconsin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "members_before_dissolution" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real, "current_conference" text );. Question: "What is the smallest enrollment for institutions founded in exactly 1880?". [/INST] SELECT MIN("enrollment") FROM "members_before_dissolution" WHERE "founded"=1880;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "members_before_dissolution" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real, "current_conference" text );. Question: "What is the enrollment for Lakeland College?". [/INST] SELECT "enrollment" FROM "members_before_dissolution" WHERE "institution"='Lakeland College';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "members_before_dissolution" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real, "current_conference" text );. Question: "What is the maximum enrollment for Concordia University?". [/INST] SELECT MAX("enrollment") FROM "members_before_dissolution" WHERE "institution"='Concordia University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_15" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What couple had a total score of 6?". [/INST] SELECT "couple" FROM "table1_19744915_15" WHERE "total"=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 "table1_19744915_15" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is the lowest rank?". [/INST] SELECT MIN("rank") FROM "table1_19744915_15";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_15" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What couple had a vote percentage of 7.691%". [/INST] SELECT "couple" FROM "table1_19744915_15" WHERE "vote_percentage"='7.691%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_15" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "How many results do Ellery and Frankie have?". [/INST] SELECT COUNT("result") FROM "table1_19744915_15" WHERE "couple"='Ellery and Frankie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_15" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is Michael and Melanie's rank?". [/INST] SELECT "rank" FROM "table1_19744915_15" WHERE "couple"='Michael and Melanie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_16" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is Zoe and Matt's rank?". [/INST] SELECT "rank" FROM "table1_19744915_16" WHERE "couple"='Zoe and Matt';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_16" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is the judge's total for Roxanne and Daniel?". [/INST] SELECT "judges" FROM "table1_19744915_16" WHERE "couple"='Roxanne and Daniel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_16" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is Zoe and Matt's result?". [/INST] SELECT "result" FROM "table1_19744915_16" WHERE "couple"='Zoe and Matt';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_16" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What is the result of judge 6?". [/INST] SELECT "result" FROM "table1_19744915_16" WHERE "judges"=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 "table1_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "what is the order when public vote was 18.155%". [/INST] SELECT "order" FROM "table1_19744915_3" WHERE "public_vote"='18.155%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "what is the public vote on graeme & kristina". [/INST] SELECT "public_vote" FROM "table1_19744915_3" WHERE "couple"='Graeme & Kristina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "what is robin's stat when jason was 2.5". [/INST] SELECT "robin" FROM "table1_19744915_3" WHERE "jason"='2.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 "table1_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "state the skating song of graeme & kristina". [/INST] SELECT "skating_song" FROM "table1_19744915_3" WHERE "couple"='Graeme & Kristina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "what is the scoreboard when karen was 4.5". [/INST] SELECT "scoreboard" FROM "table1_19744915_3" WHERE "karen"='4.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 "table1_19744915_3" ( "order" real, "couple" text, "karen" text, "nicky" text, "jason" text, "ruthie" text, "robin" text, "total" text, "skating_song" text, "scoreboard" text, "public_vote" text );. Question: "how many coupless totalled 14.5". [/INST] SELECT COUNT("couple") FROM "table1_19744915_3" WHERE "total"='14.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 "full_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real );. Question: "Name the nickname for enrollment being 9000". [/INST] SELECT "nickname" FROM "full_members" WHERE "enrollment"=9000;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real );. Question: "what type is the institute that enrolled 2102". [/INST] SELECT "type" FROM "current_members" WHERE "enrollment"=2102;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real );. Question: "where is the private/presbyterian institute". [/INST] SELECT "location" FROM "current_members" WHERE "type"='Private/Presbyterian';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real );. Question: "what type of institution is alvernia university". [/INST] SELECT "type" FROM "current_members" WHERE "institution"='Alvernia University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" real );. Question: "state the institution in glenside, pennsylvania". [/INST] SELECT "institution" FROM "current_members" WHERE "location"='Glenside, Pennsylvania';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What was the result when John Barrow was the incumbent first elected in 2004?". [/INST] SELECT "result" FROM "georgia" WHERE "first_elected"=2004 AND "incumbent"='John Barrow';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many incumbents are there in the georgia 8 district when the party is democratic?". [/INST] SELECT COUNT("incumbent") FROM "georgia" WHERE "party"='Democratic' AND "district"='Georgia 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 "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "In what district is the incumbent John Linder?". [/INST] SELECT "district" FROM "georgia" WHERE "incumbent"='John Linder';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What was the result of the Georgia 8 district?". [/INST] SELECT "result" FROM "georgia" WHERE "district"='Georgia 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 "georgia" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "In what district is the incumbent John Linder?". [/INST] SELECT "district" FROM "georgia" WHERE "incumbent"='John Linder';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_world_of_light" ( "shekhina" text, "reason" text, "mind" text, "intelligence" text, "thought" text, "understanding" text );. Question: "What is the mind of the one that has qut reason?". [/INST] SELECT "mind" FROM "the_world_of_light" WHERE "reason"='qut';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_world_of_light" ( "shekhina" text, "reason" text, "mind" text, "intelligence" text, "thought" text, "understanding" text );. Question: "What is the intelligence os the one that has 思 sī, "thought"?". [/INST] SELECT "intelligence" FROM "the_world_of_light" WHERE "thought"='思 sī, \"thought\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_world_of_light" ( "shekhina" text, "reason" text, "mind" text, "intelligence" text, "thought" text, "understanding" text );. Question: "What is the understanding of the one that has νοῦς nous reasoning?". [/INST] SELECT "understanding" FROM "the_world_of_light" WHERE "reason"='νοῦς Nous';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expenditures" ( "country" text, "1948_49_millions" real, "1949_50_millions" real, "1950_51_millions" real, "cumulative_millions" real );. Question: "How much was spent in 1949/50 (in $ millions) in the country where the cumulative expenditure is $376 millions?". [/INST] SELECT MIN("1949_50_millions") FROM "expenditures" WHERE "cumulative_millions"=376;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expenditures" ( "country" text, "1948_49_millions" real, "1949_50_millions" real, "1950_51_millions" real, "cumulative_millions" real );. Question: "How many millions of $ were spent in Iceland in 1948/49?". [/INST] SELECT MAX("1948_49_millions") FROM "expenditures" WHERE "country"='Iceland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expenditures" ( "country" text, "1948_49_millions" real, "1949_50_millions" real, "1950_51_millions" real, "cumulative_millions" real );. Question: "What country spent $59 millions in 1949/50?". [/INST] SELECT "country" FROM "expenditures" WHERE "1949_50_millions"=59;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expenditures" ( "country" text, "1948_49_millions" real, "1949_50_millions" real, "1950_51_millions" real, "cumulative_millions" real );. Question: "What's the 1949/50 expenditure (in $ millions) in the country where the 1948/49 expenditure was 232$ millions?". [/INST] SELECT MAX("1949_50_millions") FROM "expenditures" WHERE "1948_49_millions"=232;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "expenditures" ( "country" text, "1948_49_millions" real, "1949_50_millions" real, "1950_51_millions" real, "cumulative_millions" real );. Question: "What's the 1948/49 expenditure (in $ millions) in the country whose 1949/50 expenditure is $921 millions?". [/INST] SELECT "1948_49_millions" FROM "expenditures" WHERE "1949_50_millions"=921;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "election" text, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text, "result" text );. Question: "Name the total number for % popular vote for # of seats won for 83". [/INST] SELECT COUNT("pct_of_popular_vote") FROM "election_results" WHERE "num_of_seats_won"=83;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "election" text, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text, "result" text );. Question: "Name the % of popular vote for election for 1926". [/INST] SELECT "pct_of_popular_vote" FROM "election_results" WHERE "election"='1926';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "election" text, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text, "result" text );. Question: "Name the most # of seats won". [/INST] SELECT MAX("num_of_seats_won") FROM "election_results";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "election" text, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text, "result" text );. Question: "Name the most number of total votes for election for 1878". [/INST] SELECT MAX("num_of_total_votes") FROM "election_results" WHERE "election"='1878';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women_s_singles" ( "num" real, "player" text, "age" text, "australian_open" real, "french_open" real, "wimbledon" real, "us_open" real );. Question: "What is the number for the french open 1974?". [/INST] SELECT MAX("num") FROM "women_s_singles" WHERE "french_open"=1974;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women_s_singles" ( "num" real, "player" text, "age" text, "australian_open" real, "french_open" real, "wimbledon" real, "us_open" real );. Question: "When was the Australian open?". [/INST] SELECT MAX("australian_open") FROM "women_s_singles";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women_s_singles" ( "num" real, "player" text, "age" text, "australian_open" real, "french_open" real, "wimbledon" real, "us_open" real );. Question: "How many ages have Maureen Connolly Brinker as the player?". [/INST] SELECT COUNT("age") FROM "women_s_singles" WHERE "player"='Maureen Connolly Brinker';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women_s_singles" ( "num" real, "player" text, "age" text, "australian_open" real, "french_open" real, "wimbledon" real, "us_open" real );. Question: "When is the French Open when serena williams is the player?". [/INST] SELECT MIN("french_open") FROM "women_s_singles" WHERE "player"='Serena 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 "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real );. Question: "how many dismissals in a game with 191 innings". [/INST] SELECT COUNT("dismissals") FROM "most_dismissals_in_test_career_wicketkee" WHERE "innings"=191;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_of_finland_1634_2009" ( "map_number" real, "english_name" text, "finnish_name" text, "swedish_name" text, "residence_city" text, "dates_of_existence" text, "notes" text );. Question: "How many residence cities have an English name of Province of Viborg and Nyslott?". [/INST] SELECT COUNT("residence_city") FROM "provinces_of_finland_1634_2009" WHERE "english_name"='Province of Viborg and Nyslott';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_of_finland_1634_2009" ( "map_number" real, "english_name" text, "finnish_name" text, "swedish_name" text, "residence_city" text, "dates_of_existence" text, "notes" text );. Question: "What is the highest value for map number?". [/INST] SELECT MAX("map_number") FROM "provinces_of_finland_1634_2009";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_of_finland_1634_2009" ( "map_number" real, "english_name" text, "finnish_name" text, "swedish_name" text, "residence_city" text, "dates_of_existence" text, "notes" text );. Question: "What is every Swedish name for residence city is Loviisa?". [/INST] SELECT "swedish_name" FROM "provinces_of_finland_1634_2009" WHERE "residence_city"='Loviisa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_of_finland_1634_2009" ( "map_number" real, "english_name" text, "finnish_name" text, "swedish_name" text, "residence_city" text, "dates_of_existence" text, "notes" text );. Question: "What is every Finnish name for the English name of Province of Viborg and Nyslott?". [/INST] SELECT "finnish_name" FROM "provinces_of_finland_1634_2009" WHERE "english_name"='Province of Viborg and Nyslott';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administration" ( "english_name" text, "simplified_chinese" text, "traditional_chinese" text, "pinyin" text, "area" real, "population" real, "density" real );. Question: "What is the traditional Chinese character set for the location that has an area of 181?". [/INST] SELECT "traditional_chinese" FROM "administration" WHERE "area"=181;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administration" ( "english_name" text, "simplified_chinese" text, "traditional_chinese" text, "pinyin" text, "area" real, "population" real, "density" real );. Question: "What is the total number of areas that are called Nanqiao District?". [/INST] SELECT COUNT("area") FROM "administration" WHERE "english_name"='Nanqiao District';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administration" ( "english_name" text, "simplified_chinese" text, "traditional_chinese" text, "pinyin" text, "area" real, "population" real, "density" real );. Question: "What is the number of English names that have a Traditional Chinese name of 全椒縣?". [/INST] SELECT COUNT("english_name") FROM "administration" WHERE "traditional_chinese"='全椒縣';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administration" ( "english_name" text, "simplified_chinese" text, "traditional_chinese" text, "pinyin" text, "area" real, "population" real, "density" real );. Question: "What is the Pinyin name for Dingyuan County?". [/INST] SELECT "pinyin" FROM "administration" WHERE "english_name"='Dingyuan County';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "stats" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "What are Doug Davis' maximum pitching stats?". [/INST] SELECT MAX("stats") FROM "pitchers" WHERE "pitcher"='Doug Davis';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "stats" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "List the pitchers for the 1970 season". [/INST] SELECT "pitcher" FROM "pitchers" WHERE "seasons"='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 "pitchers" ( "pitcher" text, "stats" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "How many wins had a win percentage of 0.667". [/INST] SELECT "wins" FROM "pitchers" WHERE "winning_pct"='0.667';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "stats" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "how many "no decisions" are there with 3 wins and a win percentage of 1.000?". [/INST] SELECT MIN("no_decisions") FROM "pitchers" WHERE "winning_pct"='1.000' AND "wins"=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 "pitchers" ( "pitcher" text, "starts" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "stae the least number of wins in 1986". [/INST] SELECT MIN("wins") FROM "pitchers" WHERE "seasons"='1986';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "starts" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "what is the least number of no decisions for scott feldman category:articles with hcards". [/INST] SELECT MIN("no_decisions") FROM "pitchers" WHERE "pitcher"='Scott Feldman Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "starts" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "what is the number of starts in 1977". [/INST] SELECT "starts" FROM "pitchers" WHERE "seasons"='1977';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "starts" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989". [/INST] SELECT "pitcher" FROM "pitchers" WHERE "seasons"='1982, 1984, 1985, 1987, 1988, 1989';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pitchers" ( "pitcher" text, "starts" real, "wins" real, "losses" real, "no_decisions" real, "winning_pct" text, "seasons" text );. Question: "how many wins did pitcher jon matlack category:articles with hcards achieve". [/INST] SELECT COUNT("wins") FROM "pitchers" WHERE "pitcher"='Jon Matlack Category:Articles with hCards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_19897294_4" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text );. Question: "How many series are there total?". [/INST] SELECT MAX("no_in_series") FROM "table1_19897294_4";</s>