text
stringlengths
369
840
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "texas" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "What district is rub...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "texas" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "What district is nic...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "status" text, "opponent" text ); Write an SQL query that provides the solution to the following question: "What year was incu...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "status" text, "opponent" text ); Write an SQL query that provides the solution to the following question: "What was the resul...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text ); Write an SQL query that provides the solution to the following question: "What districts does in...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text ); Write an...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text ); Write an...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text ); Write an...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text ); Write an...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text ); Write an...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "what's th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "what's th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: " how many...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: " how many...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "what's th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "who is th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1341930_38" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "How many ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "What kind ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "How many i...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the following question: "How many i...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text ); Write an SQL query that provides the solution to the followi...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "current_status" text ); Write an SQL query that provides the solution to the fol...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text ); Write an SQL query that provides the solution to the following question: "Wh...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text ); Write an SQL query that provides the solution to the following question: "Wh...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text ); Write an SQL query that provides the solution to the following question: "Na...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text ); Write an SQL query that provides the solution to the following question: "Wh...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "2008_2009_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, "poi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "2008_2009_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, "poi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "2008_2009_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, "poi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text ); Write an SQL query that provides t...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text ); Write an SQL query that provides t...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text ); Write an SQL query that provides the solution to the following question: "What district i...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text ); Write an SQL query that provides the solution to the following question: "How many times ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text ); Write an SQL query that provides the solution to the following question: "How many electi...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text ); Write an SQL query that provides the solution to the following question: "What was the la...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by 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 ); Write an SQL query that provides the s...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_13636_1" ( "name" text, "first_operational" text, "numeral_system" text, "computing_mechanism" text, "programming" text, "turing_complete" text ); Write an SQL query that provides the solution to the foll...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_13636_1" ( "name" text, "first_operational" text, "numeral_system" text, "computing_mechanism" text, "programming" text, "turing_complete" text ); Write an SQL query that provides the solution to the foll...