text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode_number" real, "air_date" text, "guest_host" text, "musical_guest_song_performed" text, "who_knows_the_most_about_the_guest_host_panelists" text, "coat_of_cash_wearing_cele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_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" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_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" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_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" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" text, "sfc_in_g_k_n_s" text, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" text, "sfc_in_g_k_n_s" text, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" text, "sfc_in_g_k_n_s" text, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" text, "sfc_in_g_k_n_s" text, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_159359_2" ( "no" text, "season" text, "start_date_1st_night" text, "end_date_last_night" text, "location" text, "no_of_proms" text ); Question: When are start dates (1st night) for the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_159359_2" ( "no" text, "season" text, "start_date_1st_night" text, "end_date_last_night" text, "location" text, "no_of_proms" text ); Question: When are end dates (last night) for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_poll_summary" ( "party" text, "marplan" text, "gallup" text, "national_opinion_polls_nop" text, "opinion_research_centre_opc" text, "harris" text ); Question: What is the percentage o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_poll_summary" ( "party" text, "marplan" text, "gallup" text, "national_opinion_polls_nop" text, "opinion_research_centre_opc" text, "harris" text ); Question: On all other parties the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_schools_in_kyrene_sd" ( "information" text, "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text, "altade_a" text, "aprende" text, "centennial" text, "kyrene_ms" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_schools_in_kyrene_sd" ( "information" text, "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text, "altade_a" text, "aprende" text, "centennial" text, "kyrene_ms" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_schools_in_kyrene_sd" ( "information" text, "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text, "altade_a" text, "aprende" text, "centennial" text, "kyrene_ms" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_schools_in_kyrene_sd" ( "information" text, "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text, "altade_a" text, "aprende" text, "centennial" text, "kyrene_ms" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1597866_3" ( "country" text, "name" text, "host" text, "channel" text, "first_premiere" text, "regular_judge" text, "seasons" real ); Question: Name the host when first premiere is a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1597866_3" ( "country" text, "name" text, "host" text, "channel" text, "first_premiere" text, "regular_judge" text, "seasons" real ); Question: Name the regular judge when host is an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1597866_3" ( "country" text, "name" text, "host" text, "channel" text, "first_premiere" text, "regular_judge" text, "seasons" real ); Question: Name the number of regular judge when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Name the most number for 74 runs margins <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Name the number of team for 35 runs margin and india winner <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Namethe team for feb 27, 1996 <|assistant|> SELECT "team_a" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Name the numbers for date of feb 27, 1996 <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Name the team for oct 30, 1989 <|assistant|> SELECT "team_b" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_international" ( "s_no" real, "team_a" text, "team_b" text, "winner" text, "margin" text, "match_date" text ); Question: Name the winner for date of nov 5, 1987 <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "oilers_points" real, "opponents" real, "oilers_first_downs" real, "record" text, "attendance" real ); Question: On...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "oilers_points" real, "opponents" real, "oilers_first_downs" real, "record" text, "attendance" real ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_growth" ( "member_state_sorted_by_gdp" text, "gdp_in_s_billion_of_usd_2012" text, "gdp_pct_of_eu_2012" text, "annual_change_pct_of_gdp_2012" text, "gdp_per_capita_in_ppp_us_2012" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_growth" ( "member_state_sorted_by_gdp" text, "gdp_in_s_billion_of_usd_2012" text, "gdp_pct_of_eu_2012" text, "annual_change_pct_of_gdp_2012" text, "gdp_per_capita_in_ppp_us_2012" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_growth" ( "member_state_sorted_by_gdp" text, "gdp_in_s_billion_of_usd_2012" text, "gdp_pct_of_eu_2012" text, "annual_change_pct_of_gdp_2012" text, "gdp_per_capita_in_ppp_us_2012" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" real, "place" text, "couple" text, "perfect_40s" real, "total" real, "number_of_dances" real, "season" real, "average" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" real, "place" text, "couple" text, "perfect_40s" real, "total" real, "number_of_dances" real, "season" real, "average" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" real, "place" text, "couple" text, "perfect_40s" real, "total" real, "number_of_dances" real, "season" real, "average" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: When using a .375 Remington Ultra Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: What type of cartridge is used by a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: What type of cartridge is used by a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: What is the weight of the bullet use...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: What is the weight of the bullet use...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "source" text ); Question: When using a .375 Winchester, what i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_line_of_headphones" ( "headphone_model" text, "headphone_class" text, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "us_msrp" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What type are State Assemblyman <|assistant|> SELECT "type" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What type had a beginning term of December 8, 1980 <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What type had an election day in 1980 <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What year did the term end for those elected in 1990 <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What is the location for the office whose term ended Decembe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1602620_1" ( "office" text, "type" text, "location" text, "elected" real, "term_began" text, "term_ended" text ); Question: What year did the term end for the office elected in 1984 <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real ); Question: What was the record on October 8, 1989? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real ); Question: Where was the game site on October 29, 1989? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real ); Question: What was the minimum attendance against the New Orleans...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real ); Question: What was the result of week 2? <|assistant|> SELECT "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real ); Question: What date did the team play the New York Jets? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text ); Question: What was the minimum crowd on January 24, 1987? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1601935_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text ); Question: How many millions of viewers were there for the episode with ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1601935_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text ); Question: What was the archive for episode with 6.6 million viewers? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "bills_first_downs" real, "record" text ); Question: When is the latest game t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "bills_first_downs" real, "record" text ); Question: How many first downs did ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "bills_first_downs" real, "record" text ); Question: How many points did the b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "bills_first_downs" real, "record" text ); Question: What is the minimum numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: Who was the runner-up in the Mem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the margin of victory w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What is the name of the bowl game that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What city in the Citrus Bowl aired on ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What teams played in the Capital One b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: Which stadium has a payout of $3 milli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: What is the largest popula...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: What is the total number o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: What regions of the USSR h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: What is the most number of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: How many total families ar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16048129_5" ( "region_of_ussr" text, "number_of_families" real, "number_of_people" real, "average_family_size" text, "pct_of_total_deportees" text ); Question: What is the most number of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1603807_2" ( "line" text, "terminals" text, "status" text, "length" text, "total_number_of_stations" real, "operator" text ); Question: Which operator runs the Mamariga shuttle line? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1603807_2" ( "line" text, "terminals" text, "status" text, "length" text, "total_number_of_stations" real, "operator" text ); Question: How many lengths of line 3 are given? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1603807_2" ( "line" text, "terminals" text, "status" text, "length" text, "total_number_of_stations" real, "operator" text ); Question: What are the terminals for line 2? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1603807_2" ( "line" text, "terminals" text, "status" text, "length" text, "total_number_of_stations" real, "operator" text ); Question: What is the status of the airport line? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "iso" text, "area" text, "capital" text, "region" text, "country" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "iso" text, "area" text, "capital" text, "region" text, "country" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "iso" text, "area" text, "capital" text, "region" text, "country" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "iso" text, "area" text, "capital" text, "region" text, "country" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "iso" text, "area" text, "capital" text, "region" text, "country" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "area_and_population" ( "member_state" text, "population_in_millions" text, "population_pct_of_eu" text, "area_km_2" real, "area_pct_of_eu" text, "pop_density_people_km_2" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "area_and_population" ( "member_state" text, "population_in_millions" text, "population_pct_of_eu" text, "area_km_2" real, "area_pct_of_eu" text, "pop_density_people_km_2" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "area_and_population" ( "member_state" text, "population_in_millions" text, "population_pct_of_eu" text, "area_km_2" real, "area_pct_of_eu" text, "pop_density_people_km_2" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "area_and_population" ( "member_state" text, "population_in_millions" text, "population_pct_of_eu" text, "area_km_2" real, "area_pct_of_eu" text, "pop_density_people_km_2" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_160728_4" ( "channel" real, "band" text, "video_frequency" text, "audio_frequency" text, "station" text, "network" text, "transmission" text, "format" text, "status" text ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_160728_4" ( "channel" real, "band" text, "video_frequency" text, "audio_frequency" text, "station" text, "network" text, "transmission" text, "format" text, "status" text ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); Question: What year was the tea...