text
stringlengths
369
840
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "scotland" ( "constituency" text, "candidate" text, "affiliation" text, "votes_cast" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "Who as t...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "scotland" ( "constituency" text, "candidate" text, "affiliation" text, "votes_cast" real, "result_pct" text, "loss_gain" 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 "scotland" ( "constituency" text, "candidate" text, "affiliation" text, "votes_cast" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "Who was ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "scotland" ( "constituency" text, "candidate" text, "affiliation" text, "votes_cast" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "What was...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "W...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "W...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "W...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "W...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "W...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "england_wales" ( "constituency" text, "candidate" text, "affiliation" text, "result_votes" real, "result_pct" text, "loss_gain" text ); Write an SQL query that provides the solution to the following question: "H...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Write an SQL query that provides th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Write an SQL query that provides th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26032940_2" ( "episode_num" real, "airdate" text, "movie_title_and_year" text, "main_cast" text, "network_tv_run_time" text ); Write an SQL query that provides the solution to the following question: "How...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26032940_2" ( "episode_num" real, "airdate" text, "movie_title_and_year" text, "main_cast" text, "network_tv_run_time" text ); Write an SQL query that provides the solution to the following question: "Who...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26032940_2" ( "episode_num" real, "airdate" text, "movie_title_and_year" text, "main_cast" text, "network_tv_run_time" text ); Write an SQL query that provides the solution to the following question: "Wha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "uhf" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" 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 "uhf" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); Write an SQL query that provides the solution to the following question: "Ho...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "uhf" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); Write an SQL query that provides the solution to the following question: "Th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "uhf" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); Write an SQL query that provides the solution to the following question: "Th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "uhf" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" 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 "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to th...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618142_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Write an SQL query that provides the solution to the following quest...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618142_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Write an SQL query that provides the solution to the following quest...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_2618152_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Write an SQL query that provides the solutio...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Write an SQL query that provides the solution to the following question: ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "subdivisions" ( "municipality" text, "no_of_barangays" real, "area_km" text, "population_2010" real, "pop_density_per_km" text, "income_class_2004" text ); Write an SQL query that provides the solution to the fo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "subdivisions" ( "municipality" text, "no_of_barangays" real, "area_km" text, "population_2010" real, "pop_density_per_km" text, "income_class_2004" text ); Write an SQL query that provides the solution to the fo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "subdivisions" ( "municipality" text, "no_of_barangays" real, "area_km" text, "population_2010" real, "pop_density_per_km" text, "income_class_2004" text ); Write an SQL query that provides the solution to the fo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "subdivisions" ( "municipality" text, "no_of_barangays" real, "area_km" text, "population_2010" real, "pop_density_per_km" text, "income_class_2004" text ); Write an SQL query that provides the solution to the fo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location_all_in_ohio" text, "nickname" text, "founded" real, "type" text, "enrollment" text, "joined" real, "left" real, "current_conference" text ); Write an SQL query tha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location_all_in_ohio" text, "nickname" text, "founded" real, "type" text, "enrollment" text, "joined" real, "left" real, "current_conference" text ); Write an SQL query tha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location_all_in_ohio" text, "nickname" text, "founded" real, "type" text, "enrollment" text, "joined" real, "left" real, "current_conference" text ); Write an SQL query tha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location_all_in_ohio" text, "nickname" text, "founded" real, "type" text, "enrollment" text, "joined" real, "left" real, "current_conference" text ); Write an SQL query tha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "singles_12_11_1" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_11_1" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_11_1" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_11_1" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_11_1" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_8_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_8_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_8_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_8_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "singles_12_8_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" 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 "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "The ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "In w...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "Who ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "The ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "In e...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "The ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "What are al...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "What are al...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "What are al...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Write an SQL query that provides the solution to the following question: "what are al...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "delegates" ( "represents" text, "contestant" text, "age" real, "height_cm" text, "height_ft" text, "hometown" text ); Write an SQL query that provides the solution to the following question: "Name the represents...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "delegates" ( "represents" text, "contestant" text, "age" real, "height_cm" text, "height_ft" text, "hometown" text ); Write an SQL query that provides the solution to the following question: "Name the most age"....
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "delegates" ( "represents" text, "contestant" text, "age" real, "height_cm" text, "height_ft" text, "hometown" text ); Write an SQL query that provides the solution to the following question: "Name the total numb...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "delegates" ( "represents" text, "contestant" text, "age" real, "height_cm" text, "height_ft" text, "hometown" text ); Write an SQL query that provides the solution to the following question: "Name the least age ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "delegates" ( "represents" text, "contestant" text, "age" real, "height_cm" text, "height_ft" text, "hometown" text ); Write an SQL query that provides the solution to the following question: "Name the represents...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar" ( "round" real, "race" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to t...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "race_calendar" ( "round" real, "race" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Write an SQL query that provides the solution to t...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wins_7" ( "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Write an SQL query that provides the solution to the following question: "Who was h...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wins_7" ( "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Write an SQL query that provides the solution to the following question: "What was ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wins_7" ( "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Write an SQL query that provides the solution to the following question: "What was ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text ); Write an SQL query that provides the solution to the following question: "What is the nickname o...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text ); Write an SQL query that provides the solution to the following question: "What is the maximum en...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text ); Write an SQL query that provides the solution to the following question: "Ho...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" 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 "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" 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 "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text ); Write an SQL query that provides the solution to the following question: "Ho...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" 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 "table1_26375386_23" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" 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 "wind_farms" ( "name" text, "turbines" text, "capacity_mw" text, "power_mw_hr_yr" text, "location_county" text, "year_operational" real, "status" text ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wind_farms" ( "name" text, "turbines" text, "capacity_mw" text, "power_mw_hr_yr" text, "location_county" text, "year_operational" real, "status" text ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wind_farms" ( "name" text, "turbines" text, "capacity_mw" text, "power_mw_hr_yr" text, "location_county" text, "year_operational" real, "status" text ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wind_farms" ( "name" text, "turbines" text, "capacity_mw" text, "power_mw_hr_yr" text, "location_county" text, "year_operational" real, "status" text ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "wind_farms" ( "name" text, "turbines" text, "capacity_mw" text, "power_mw_hr_yr" text, "location_county" text, "year_operational" real, "status" text ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26400041_2" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_peak" real ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26400041_2" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_peak" real ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26400041_2" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_peak" real ); Write an SQL query that provides the solution to the follo...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26455614_1" ( "year" text, "winner" text, "runner_up" text, "result" text, "venues" text, "attendance" real, "entries" real ); Write an SQL query that provides the solution to the following question: "How...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "table1_26455614_1" ( "year" text, "winner" text, "runner_up" text, "result" text, "venues" text, "attendance" real, "entries" real ); Write an SQL query that provides the solution to the following question: "Wha...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "list_of_heirs_to_the_burmese_thrones" ( "monarch" text, "heir" text, "status" text, "relationship_to_monarch" text, "became_heir_reason" text, "ceased_to_be_heir_reason" text, "next_in_succession" text ); Write ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "list_of_heirs_to_the_burmese_thrones" ( "monarch" text, "heir" text, "status" text, "relationship_to_monarch" text, "became_heir_reason" text, "ceased_to_be_heir_reason" text, "next_in_succession" text ); Write ...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "impact" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text, "languages" text ); Write an SQL query that provides the solution to the following question:...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "impact" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text, "languages" text ); Write an SQL query that provides the solution to the following question:...
<s>[INST] You are given the following SQL table structure described by CREATE TABLE statement: CREATE TABLE "impact" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text, "languages" text ); Write an SQL query that provides the solution to the following question:...