text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23793770_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
);
Question: If the establishment is 4931... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
);
Question: If the annual payroll is 211... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
);
Question: What is the sector is the es... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
);
Question: How many different Leagues had avera... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
);
Question: How many people saw the 3rd, Central... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
);
Question: What League was played in 2007?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
);
Question: When was the average attendance 789?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Name the team number 1 for san lorenzo
<|assistant|>
SELECT "team_num1" FROM "matches" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Name the team #2 for river plate
<|assistant|>
SELECT "team_num2" FROM "matches" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Name the points for zamora
<|assistant|>
SELECT "points" FROM "matches" WHERE "team_num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Name the 2nd leg for boca juniors
<|assistant|>
SELECT "2nd_leg" FROM "matches" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election" (
"2009_general_election" text,
"party" text,
"manhattan" text,
"the_bronx" text,
"brooklyn" text,
"queens" text,
"staten_island" text,
"total" real,
"pct" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: What is every entry in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: What is every value for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: What is the home ground... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: What is the QLD Cup Pre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: What is every team in t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
);
Question: How many values of last... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
);
Question: What are the Wycombe Wanderers when 1 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
);
Question: What are the undisclosed when Adam Hin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
);
Question: What is the df when Adam Hinshelwood i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
);
Question: What is the undisclosed when Aldertown... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
);
Question: What is the undisclosed when Wycombe W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"team" text,
"city_area" text,
"arena" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
);
Question: Who is the head coach for the team that plays at ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_teams" (
"team" text,
"city_area" text,
"arena" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
);
Question: What arena does the team play at that has Michael... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
);
Question: List all themes from the top 9.
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
);
Question: In what week was the original singer Whit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
);
Question: Name the song for safe result #8.
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
);
Question: List the song chose for the British Invas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
);
Question: Name the stops for stations 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
);
Question: Name the number of lines for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
);
Question: Name the travel time for port... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
);
Question: Name the number of stations f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: How big (in km2) is Persarmenia?
<|assistant|>
SELECT "ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: What's the center of the Artsakh province?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: How many different provinces is Baghaberd the center of?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: How big is the province with the Armenian name of փայտակա... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: What's the center of the province that spreads out on 238... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
);
Question: How many different numbers of cantons does the province w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23886181_1" (
"no" text,
"football_club" text,
"continent" text,
"associated_football_club" text,
"seasons" text,
"racing_drivers" text
);
Question: what are the seasons for no 3?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples_of_different_pronunciation" (
"original" text,
"ipa_lisbon" text,
"ipa_rio_de_janeiro" text,
"ipa_s_o_paulo" text,
"ipa_santiago_de_compostela" text,
"translation" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples_of_different_pronunciation" (
"original" text,
"ipa_lisbon" text,
"ipa_rio_de_janeiro" text,
"ipa_s_o_paulo" text,
"ipa_santiago_de_compostela" text,
"translation" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "easy_rock_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
);
Question: Which frequency is DYMY?
<|assistant|>
SELECT "frequency" FROM "easy_roc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the frequency when radio station branding is 106.3 energy fm naga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the callsign when power kw is 25kw?
<|assistant|>
SELECT "callsig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the frequency when callsign is dxru-fm?
<|assistant|>
SELECT "fre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the radio station branding when the power km is 5kw?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the coverage when power kw is 25kw?
<|assistant|>
SELECT "coverag... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: How many power kw have a frequency of 93.7 mhz?
<|assistant|>
SELECT COUN... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who were all t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What was the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who was the writer for the episode origin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: List the title for the season episode num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who directed the "Out with the Old, in wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who was the director for the episode orig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the highest series number of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: Name the original air date for harry hanni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: How many people direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: How many people direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: How many original air... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: What is the producti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: What is the productio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the number of partners ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the surface for cara bl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the score for san diego... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.