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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What was the total number of votes for Tom Connally". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Tom Connally';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What year was incumbent william f. stevenson first elected?". [/INST] SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William F. Stevenson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the last year on this list someone was first elected?". [/INST] SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What candidate was featured in the election for incumbent samuel j. nicholls' seat?". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Samuel J. Nicholls';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the last year incumbent frederick h. dominick was first elected?". [/INST] SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Frederick H. Dominick';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "Who were the candidates when the winner was first elected in 1910?". [/INST] SELECT "candidates" FROM "south_carolina" WHERE "first_elected"='1910';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "What was the winning party when the incumbent was richard s. whaley?". [/INST] SELECT "party" FROM "south_carolina" WHERE "incumbent"='Richard S. Whaley';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "How many different set of candidates were there when the incumbent was david e. finley?". [/INST] SELECT COUNT("candidates") FROM "south_carolina" WHERE "incumbent"='David E. Finley';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "What was the winning part in the district of South Carolina 3?". [/INST] SELECT "party" FROM "south_carolina" WHERE "district"='South Carolina 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 "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "Who were the candidates in the district of South Carolina 5?". [/INST] SELECT "candidates" FROM "south_carolina" WHERE "district"='South Carolina 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 "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "When was incumbent John N. Tillman first elected?". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John N. Tillman';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the location and attendance when the team's record was 16-44?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "record"='16-44';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What day was the game at chicago?". [/INST] SELECT "date" FROM "game_log" WHERE "team"='Chicago';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who were the high point scorers in game 7?". [/INST] SELECT "high_points" FROM "game_log" WHERE "game"=7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high rebound total against golden state?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "team"='Golden 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, "record" text );. Question: "how many times have there been helps by damon stoudamire (13)". [/INST] SELECT COUNT("record") FROM "game_log" WHERE "high_assists"='Damon Stoudamire (13)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "who made the recovers where the score is 12-30". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "record"='12-30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "tell who made the most scores on new jersey". [/INST] SELECT "high_points" FROM "game_log" WHERE "team"='New Jersey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "how many times was the participation at omni coliseum 7,194?". [/INST] SELECT "game" FROM "game_log" WHERE "location_attendance"='Omni Coliseum 7,194';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "average_chart" ( "rank_by_average" real, "competition_finish" real, "couple" text, "total" real, "number_of_dances" real, "average" text );. Question: "The minimum average number of dancers is 34.1 how many times". [/INST] SELECT MIN("number_of_dances") FROM "average_chart" WHERE "average"='34.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 "average_chart" ( "rank_by_average" real, "competition_finish" real, "couple" text, "total" real, "number_of_dances" real, "average" text );. Question: "What is the Number of dances is 11 and competition finish is larger than 2.0 total". [/INST] SELECT "total" FROM "average_chart" WHERE "number_of_dances"=11 AND "competition_finish">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 "2007_2008_table" ( "club" text, "played" text, "won" 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: "Who is the club that has 30 points?". [/INST] SELECT "club" FROM "2007_2008_table" WHERE "points"='30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" 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 were all the tries for when the try bonus was 8?". [/INST] SELECT "tries_for" FROM "2007_2008_table" WHERE "try_bonus"='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 "2007_2008_table" ( "club" text, "played" text, "won" 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 were the points for when there were 30 tries against?". [/INST] SELECT "points_for" FROM "2007_2008_table" WHERE "tries_against"='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 "2007_2008_table" ( "club" text, "played" text, "won" 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: "How many numbers were recorded points against when the tries were for 43?". [/INST] SELECT COUNT("points_against") FROM "2007_2008_table" WHERE "tries_for"='43';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" 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 are the tries against when points against 287?". [/INST] SELECT "tries_against" FROM "2007_2008_table" WHERE "points_against"='287';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" 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 were all the points for Tonyrefail RFC?". [/INST] SELECT "points_for" FROM "2007_2008_table" WHERE "club"='Tonyrefail 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 "common_laboratory_stains" ( "stain" text, "common_use" text, "nucleus" text, "cytoplasm" text, "red_blood_cell_rbc" text, "collagen_fibers" text, "specifically_stains" text );. Question: "Pink cytoplasm is seen in a test that specifically stains what?". [/INST] SELECT "specifically_stains" FROM "common_laboratory_stains" WHERE "cytoplasm"='Pink';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "common_laboratory_stains" ( "stain" text, "common_use" text, "nucleus" text, "cytoplasm" text, "red_blood_cell_rbc" text, "collagen_fibers" text, "specifically_stains" text );. Question: "How many cytoplasms result in a blue nucleus?". [/INST] SELECT COUNT("cytoplasm") FROM "common_laboratory_stains" WHERE "nucleus"='Blue';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "common_laboratory_stains" ( "stain" text, "common_use" text, "nucleus" text, "cytoplasm" text, "red_blood_cell_rbc" text, "collagen_fibers" text, "specifically_stains" text );. Question: "A nucleus that is blue/black will specifically stain what?". [/INST] SELECT "specifically_stains" FROM "common_laboratory_stains" WHERE "nucleus"='Blue/black';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "common_laboratory_stains" ( "stain" text, "common_use" text, "nucleus" text, "cytoplasm" text, "red_blood_cell_rbc" text, "collagen_fibers" text, "specifically_stains" text );. Question: "The pink cytoplasm will have a nucleus of what color?". [/INST] SELECT "nucleus" FROM "common_laboratory_stains" WHERE "cytoplasm"='Pink';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "common_laboratory_stains" ( "stain" text, "common_use" text, "nucleus" text, "cytoplasm" text, "red_blood_cell_rbc" text, "collagen_fibers" text, "specifically_stains" text );. Question: "What stain is used commonly for elastic fibers?". [/INST] SELECT "stain" FROM "common_laboratory_stains" WHERE "common_use"='Elastic fibers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winning_entries" ( "year" real, "winner" text, "language" text, "artist" text, "song" text, "points" real, "margin" real, "second_place" text, "date" text, "venue" text, "location" text, "participants" real );. Question: "where is hte second place winner from united kingdom?". [/INST] SELECT "winner" FROM "winning_entries" WHERE "second_place"='United Kingdom';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winning_entries" ( "year" real, "winner" text, "language" text, "artist" text, "song" text, "points" real, "margin" real, "second_place" text, "date" text, "venue" text, "location" text, "participants" real );. Question: "how many locations has spain as the winner?". [/INST] SELECT COUNT("location") FROM "winning_entries" WHERE "winner"='Spain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winning_entries" ( "year" real, "winner" text, "language" text, "artist" text, "song" text, "points" real, "margin" real, "second_place" text, "date" text, "venue" text, "location" text, "participants" real );. Question: "who is the artist performing at heineken music hall?". [/INST] SELECT "artist" FROM "winning_entries" WHERE "venue"='Heineken Music Hall';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winning_entries" ( "year" real, "winner" text, "language" text, "artist" text, "song" text, "points" real, "margin" real, "second_place" text, "date" text, "venue" text, "location" text, "participants" real );. Question: "what amount has spain as second place and the language is russian?". [/INST] SELECT COUNT("margin") FROM "winning_entries" WHERE "second_place"='Spain' AND "language"='Russian';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13605170_2" ( "aircraft_type" text, "national_origin" text, "1st_flight" real, "in_service" text, "retired" text, "num_built" text );. Question: "how many Curtiss XBTC aircraft are retired?". [/INST] SELECT COUNT("retired") FROM "table1_13605170_2" WHERE "aircraft_type"='Curtiss XBTC';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13605170_2" ( "aircraft_type" text, "national_origin" text, "1st_flight" real, "in_service" text, "retired" text, "num_built" text );. Question: "How many Airspeed Fleet Shadower aircraft are retired?". [/INST] SELECT "retired" FROM "table1_13605170_2" WHERE "aircraft_type"='Airspeed Fleet Shadower';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13605170_2" ( "aircraft_type" text, "national_origin" text, "1st_flight" real, "in_service" text, "retired" text, "num_built" text );. Question: "What is the origin of aircraft in service in 1943 and retired in 1954?". [/INST] SELECT "national_origin" FROM "table1_13605170_2" WHERE "retired"='1954' AND "in_service"='1943';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "time" text, "jockey" text, "winner_2nd" text );. Question: "Who was the winner when the time was 1:24.00?". [/INST] SELECT "winner_2nd" FROM "2001_02_season_as_a_three_year_old" WHERE "time"='1:24.00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "time" text, "jockey" text, "winner_2nd" text );. Question: "How many results were there for the Stan Fox Stakes race?". [/INST] SELECT COUNT("result") FROM "2001_02_season_as_a_three_year_old" WHERE "race"='Stan Fox Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "time" text, "jockey" text, "winner_2nd" text );. Question: "Was the rosehill venue a win or loss?". [/INST] SELECT "result" FROM "2001_02_season_as_a_three_year_old" WHERE "venue"='Rosehill';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: "what is the minimum total with kerry % being 16.71%". [/INST] SELECT MIN("total") FROM "by_county" WHERE "kerry_pct"='16.71%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: "what is the minimum kerry # with bush % being 78.40%". [/INST] SELECT MIN("kerry_num") FROM "by_county" WHERE "bush_pct"='78.40%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: "what's the kerry # with county being ness county, kansas". [/INST] SELECT "kerry_num" FROM "by_county" WHERE "county"='Ness County, Kansas';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: " how many total with bush # being 1552". [/INST] SELECT COUNT("total") FROM "by_county" WHERE "bush_num"=1552;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: "what is the minimum bush # with kerry # being 3938". [/INST] SELECT MIN("bush_num") FROM "by_county" WHERE "kerry_num"=3938;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "bush_num" real, "bush_pct" text, "kerry_num" real, "kerry_pct" text, "others_num" real, "others_pct" text, "total" real );. Question: " how many total with county being rooks county, kansas". [/INST] SELECT COUNT("total") FROM "by_county" WHERE "county"='Rooks County, Kansas';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "In which district was the incumbent Dick Saslaw? ". [/INST] SELECT "district" FROM "election_results" WHERE "incumbent"='Dick Saslaw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "What was the 2007 result in the district where the incumbent was elected in 1996? ". [/INST] SELECT "2007_result" FROM "election_results" WHERE "elected"=1996;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "What was the 2007 result in the 28th district? ". [/INST] SELECT "2007_result" FROM "election_results" WHERE "district"='28th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "In what district was the incumbent Charles Hawkins? ". [/INST] SELECT "district" FROM "election_results" WHERE "incumbent"='Charles Hawkins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What's the number of the game played on March 26?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "date"='March 26';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many different values if the number is high rebounds can be found for the game on March 13?". [/INST] SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='March 13';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who ihad the highest points and what was the number when the record was 11-40?". [/INST] SELECT "high_points" FROM "game_log" WHERE "record"='11-40';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who did the Raptors play when their record was 45-36? ". [/INST] SELECT "team" FROM "game_log" WHERE "record"='45-36';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What number game of the season was played on April 12? ". [/INST] SELECT MAX("game") FROM "game_log" WHERE "date"='April 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 "by_county" ( "county" text, "kerry_num" real, "kerry_pct" text, "bush_num" real, "bush_pct" text, "other_num" real, "other_pct" text, "total_num" real );. Question: "How many votes were cast in Wayne county?". [/INST] SELECT MAX("total_num") FROM "by_county" WHERE "county"='Wayne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "kerry_num" real, "kerry_pct" text, "bush_num" real, "bush_pct" text, "other_num" real, "other_pct" text, "total_num" real );. Question: "In the county where Bush won 77.76%, how many total votes were cast?". [/INST] SELECT "total_num" FROM "by_county" WHERE "bush_pct"='77.76%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "kerry_num" real, "kerry_pct" text, "bush_num" real, "bush_pct" text, "other_num" real, "other_pct" text, "total_num" real );. Question: "In the country where Bush won 4333 votes, what percentage did other receive?". [/INST] SELECT "other_pct" FROM "by_county" WHERE "bush_num"=4333;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "Who was the TO winning team when the TU winning team was Joe Richardson? ". [/INST] SELECT "to_winning_team" FROM "table1_13642023_2" WHERE "tu_winning_team"='Joe Richardson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? ". [/INST] SELECT "circuit" FROM "table1_13642023_2" WHERE "rnd"=5 AND "gtu_winning_team"='#59 Brumos Porsche - Audi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "Who was the GTU winning team when the TO winning team was #3 Camaro? ". [/INST] SELECT "gtu_winning_team" FROM "table1_13642023_2" WHERE "to_winning_team"='#3 Camaro';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "Who was the GTU winning team when the TO winning team was Steve Ross? ". [/INST] SELECT "gtu_winning_team" FROM "table1_13642023_2" WHERE "to_winning_team"='Steve Ross';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "Who was the GTO winning team in round 5 when the GTU winning team was #59 Brumos Porsche - Audi? ". [/INST] SELECT "gto_winning_team" FROM "table1_13642023_2" WHERE "rnd"=5 AND "gtu_winning_team"='#59 Brumos Porsche - Audi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13642023_2" ( "rnd" real, "circuit" text, "gto_winning_team" text, "gtu_winning_team" text, "to_winning_team" text, "tu_winning_team" text, "results" text );. Question: "Who was the GTO winning team when the TO winning team was #84 Camaro? ". [/INST] SELECT "gto_winning_team" FROM "table1_13642023_2" WHERE "to_winning_team"='#84 Camaro';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643154_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "lights_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "Name the results for steve millen". [/INST] SELECT "results" FROM "table1_13643154_2" WHERE "gto_winning_team"='Steve Millen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643154_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "lights_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "What is the most rnd for watkins glen?". [/INST] SELECT MIN("rnd") FROM "table1_13643154_2" WHERE "circuit"='Watkins Glen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643320_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? ". [/INST] SELECT "gtp_winning_team" FROM "table1_13643320_2" WHERE "circuit"='Portland' AND "gtu_winning_team"='Jack Baldwin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643320_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? ". [/INST] SELECT "rnd" FROM "table1_13643320_2" WHERE "gtp_winning_team"='#56 Blue Thunder Racing' AND "gto_winning_team"='#38 Mandeville Auto Tech';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643320_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "How many different results came out of the round in which #98 All American Racers became the GTU winning team? ". [/INST] SELECT COUNT("results") FROM "table1_13643320_2" WHERE "gtu_winning_team"='#98 All American Racers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13643320_2" ( "rnd" real, "circuit" text, "gtp_winning_team" text, "gto_winning_team" text, "gtu_winning_team" text, "results" text );. Question: "Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner? ". [/INST] SELECT "gto_winning_team" FROM "table1_13643320_2" WHERE "gtu_winning_team"='Chris Cord';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13665809_2" ( "season" real, "winner" text, "byu_uu_score" text, "byu_usu_score" text, "uu_usu_score" text );. Question: "what are all the uu-usu score with winner is #5 brigham young (2–0)". [/INST] SELECT "uu_usu_score" FROM "table1_13665809_2" WHERE "winner"='#5 Brigham Young (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 "table1_13665809_2" ( "season" real, "winner" text, "byu_uu_score" text, "byu_usu_score" text, "uu_usu_score" text );. Question: "what is the maximum season with byu-usu score being 29–7". [/INST] SELECT MAX("season") FROM "table1_13665809_2" WHERE "byu_usu_score"='29–7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13665809_2" ( "season" real, "winner" text, "byu_uu_score" text, "byu_usu_score" text, "uu_usu_score" text );. Question: "what is the maximum season with byu-uu score being 20–17 byu #19". [/INST] SELECT MAX("season") FROM "table1_13665809_2" WHERE "byu_uu_score"='20–17 BYU #19';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13665809_2" ( "season" real, "winner" text, "byu_uu_score" text, "byu_usu_score" text, "uu_usu_score" text );. Question: " how many byu-uu score with winner being utah state (2–1) won over byu by media vote". [/INST] SELECT COUNT("byu_uu_score") FROM "table1_13665809_2" WHERE "winner"='Utah State (2–1) Won over BYU by media vote';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13665809_2" ( "season" real, "winner" text, "byu_uu_score" text, "byu_usu_score" text, "uu_usu_score" text );. Question: "what's the byu-uu score with uu-usu score being 44–16". [/INST] SELECT "byu_uu_score" FROM "table1_13665809_2" WHERE "uu_usu_score"='44–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 "submissions" ( "year_ceremony" text, "film_title" text, "language_s" text, "director" text, "result" text );. Question: "What are all the languages for tsotsi?". [/INST] SELECT "language_s" FROM "submissions" WHERE "film_title"='Tsotsi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title" text, "language_s" text, "director" text, "result" text );. Question: "What year featured the film tsotsi?". [/INST] SELECT "year_ceremony" FROM "submissions" WHERE "film_title"='Tsotsi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title" text, "language_s" text, "director" text, "result" text );. Question: "What was the result for the film life, above all?". [/INST] SELECT "result" FROM "submissions" WHERE "film_title"='Life, Above All';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cowboys_drafted_into_the_nfl" ( "draft_year" real, "player" text, "position" text, "round" real, "overall" real, "nfl_team" text );. Question: "What numer pick in the draft for jerry hill?". [/INST] SELECT COUNT("overall") FROM "cowboys_drafted_into_the_nfl" WHERE "player"='Jerry Hill';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cowboys_drafted_into_the_nfl" ( "draft_year" real, "player" text, "position" text, "round" real, "overall" real, "nfl_team" text );. Question: "What kicker was drafted?". [/INST] SELECT "player" FROM "cowboys_drafted_into_the_nfl" WHERE "position"='Kicker';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cowboys_drafted_into_the_nfl" ( "draft_year" real, "player" text, "position" text, "round" real, "overall" real, "nfl_team" text );. Question: "What team drafted steve scifres?". [/INST] SELECT "nfl_team" FROM "cowboys_drafted_into_the_nfl" WHERE "player"='Steve Scifres';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cowboys_drafted_into_the_nfl" ( "draft_year" real, "player" text, "position" text, "round" real, "overall" real, "nfl_team" text );. Question: "What year was jerry marion drafted?". [/INST] SELECT MAX("draft_year") FROM "cowboys_drafted_into_the_nfl" WHERE "player"='Jerry Marion';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "cowboys_drafted_into_the_nfl" ( "draft_year" real, "player" text, "position" text, "round" real, "overall" real, "nfl_team" text );. Question: "What numer pick in the draft for jerry marion". [/INST] SELECT MAX("overall") FROM "cowboys_drafted_into_the_nfl" WHERE "player"='Jerry Marion';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "what's the record with high points being dwyane wade (27) and location attendance being arco arena". [/INST] SELECT "record" FROM "game_log" WHERE "high_points"='Dwyane Wade (27)' AND "location_attendance"='ARCO Arena';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: " how many high assists with record being 15-11". [/INST] SELECT COUNT("high_assists") FROM "game_log" WHERE "record"='15-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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "who had high points on december 3". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='December 3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "who had high rebounds when score is w 111–92 (ot)". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "score"='W 111–92 (OT)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "who had all the high rebounds when high assists is by dwyane wade (9)". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Dwyane Wade (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 "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "what's the record with date being december 29". [/INST] SELECT "record" FROM "game_log" WHERE "date"='December 29';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "administration" ( "commune" text, "area_km_2" text, "2002_population" real, "density_km_2" text, "government_website" text );. Question: "What is the smallest population recorded back in 2002?". [/INST] SELECT MIN("2002_population") FROM "administration";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13805432_2" ( "position" real, "artist" text, "song_title" text, "highest_position" real, "points" real );. Question: "what's the position with artbeingt being jim reeves". [/INST] SELECT "position" FROM "table1_13805432_2" WHERE "artist"='Jim Reeves';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13805432_2" ( "position" real, "artist" text, "song_title" text, "highest_position" real, "points" real );. Question: "what's the highest position with artbeingt being frankie avalon". [/INST] SELECT "highest_position" FROM "table1_13805432_2" WHERE "artist"='Frankie Avalon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13805432_2" ( "position" real, "artist" text, "song_title" text, "highest_position" real, "points" real );. Question: " how many artbeingt with song title being " save the last dance for me "". [/INST] SELECT COUNT("artist") FROM "table1_13805432_2" WHERE "song_title"='\" Save the Last Dance for Me \"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13805432_2" ( "position" real, "artist" text, "song_title" text, "highest_position" real, "points" real );. Question: "what's the song title with artbeingt being pat boone". [/INST] SELECT "song_title" FROM "table1_13805432_2" WHERE "artist"='Pat Boone';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_13805432_2" ( "position" real, "artist" text, "song_title" text, "highest_position" real, "points" real );. Question: "what is the minimum highest position with artbeingt being paul evans". [/INST] SELECT MIN("highest_position") FROM "table1_13805432_2" WHERE "artist"='Paul Evans';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who was responsible and what was the number for the high rebounds on December 22?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='December 22';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the record where the score is w 102–81 (ot)?". [/INST] SELECT "record" FROM "game_log" WHERE "score"='W 102–81 (OT)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the high points dated march 13?". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='March 13';</s>