chat_prompt
stringlengths
438
1.53k
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"metropolitan_statistical_areas_of_the_un\" (\n \"rank\" real,\n \"metropolitan_statistical_area\" text,\n \"total_population_2010...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"metropolitan_statistical_areas_of_the_un\" (\n \"rank\" real,\n \"metropolitan_statistical_area\" text,\n \"total_population_2010...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"metropolitan_statistical_areas_of_the_un\" (\n \"rank\" real,\n \"metropolitan_statistical_area\" text,\n \"total_population_2010...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"northern_villages\" (\n \"name\" text,\n \"population_2011\" real,\n \"population_2006\" real,\n \"change_pct\" text,\n \"land_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"prevalence_by_state\" (\n \"state_and_district_of_columbia\" text,\n \"obese_adults\" text,\n \"overweight_incl_obese_adults\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"prevalence_by_state\" (\n \"state_and_district_of_columbia\" text,\n \"obese_adults\" text,\n \"overweight_incl_obese_adults\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"prevalence_by_state\" (\n \"state_and_district_of_columbia\" text,\n \"obese_adults\" text,\n \"overweight_incl_obese_adults\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"prevalence_by_state\" (\n \"state_and_district_of_columbia\" text,\n \"obese_adults\" text,\n \"overweight_incl_obese_adults\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"prevalence_by_state\" (\n \"state_and_district_of_columbia\" text,\n \"obese_adults\" text,\n \"overweight_incl_obese_adults\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_18994724_1\" (\n \"submitting_country\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"la...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_18994724_1\" (\n \"submitting_country\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"la...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_18994724_1\" (\n \"submitting_country\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"la...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_18994724_1\" (\n \"submitting_country\" text,\n \"film_title_used_in_nomination\" text,\n \"original_title\" text,\n \"la...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"mother_tongue_language_2006_and_2011\" (\n \"mother_tongue\" text,\n \"population_2006\" real,\n \"percentage_2006\" text,\n \"p...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"mother_tongue_language_2006_and_2011\" (\n \"mother_tongue\" text,\n \"population_2006\" real,\n \"percentage_2006\" text,\n \"p...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"mother_tongue_language_2006_and_2011\" (\n \"mother_tongue\" text,\n \"population_2006\" real,\n \"percentage_2006\" text,\n \"p...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"mother_tongue_language_2006_and_2011\" (\n \"mother_tongue\" text,\n \"population_2006\" real,\n \"percentage_2006\" text,\n \"p...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"mother_tongue_language_2006_and_2011\" (\n \"mother_tongue\" text,\n \"population_2006\" real,\n \"percentage_2006\" text,\n \"p...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"alumni\" (\n \"name\" text,\n \"nationality\" text,\n \"position\" text,\n \"year_of_birth\" real,\n \"career\" text,\n \"appe...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"cast\" (\n \"player\" text,\n \"original_season\" text,\n \"gender\" text,\n \"eliminated\" text,\n \"placing\" text\n);\n\nQue...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"cast\" (\n \"player\" text,\n \"original_season\" text,\n \"gender\" text,\n \"eliminated\" text,\n \"placing\" text\n);\n\nQue...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"cast\" (\n \"player\" text,\n \"original_season\" text,\n \"gender\" text,\n \"eliminated\" text,\n \"placing\" text\n);\n\nQue...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"cast\" (\n \"player\" text,\n \"original_season\" text,\n \"gender\" text,\n \"eliminated\" text,\n \"placing\" text\n);\n\nQue...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"characters_casts_and_recordings\" (\n \"character\" text,\n \"original_broadway_performer\" text,\n \"original_australian_perform...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"by_name\" (\n \"name\" text,\n \"country\" text,\n \"seasons\" text,\n \"championship_titles\" text,\n \"race_entries_starts\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"squad_stats\" (\n \"player\" text,\n \"nat\" text,\n \"pos\" text,\n \"l_apps\" real,\n \"l_g\" real,\n \"c_apps\" real,\n \"...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"squad_stats\" (\n \"player\" text,\n \"nat\" text,\n \"pos\" text,\n \"l_apps\" real,\n \"l_g\" real,\n \"c_apps\" real,\n \"...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"squad_stats\" (\n \"player\" text,\n \"nat\" text,\n \"pos\" text,\n \"l_apps\" real,\n \"l_g\" real,\n \"c_apps\" real,\n \"...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"squad_stats\" (\n \"player\" text,\n \"nat\" text,\n \"pos\" text,\n \"l_apps\" real,\n \"l_g\" real,\n \"c_apps\" real,\n \"...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"demand\" (\n \"entities\" text,\n \"country\" text,\n \"supply_point\" text,\n \"voltage_k_v\" real,\n \"power_mw\" real\n);\n\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"demand\" (\n \"entities\" text,\n \"country\" text,\n \"supply_point\" text,\n \"voltage_k_v\" real,\n \"power_mw\" real\n);\n\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"demand\" (\n \"entities\" text,\n \"country\" text,\n \"supply_point\" text,\n \"voltage_k_v\" real,\n \"power_mw\" real\n);\n\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"un_2012_estimates_and_medium_variant_pro\" (\n \"year\" real,\n \"world\" real,\n \"asia\" text,\n \"africa\" text,\n \"europe\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"grand_slam_singles_finals\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"opponent_in...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"grand_slam_singles_finals\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"opponent_in...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"grand_slam_singles_finals\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"opponent_in...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"grand_slam_singles_finals\" (\n \"outcome\" text,\n \"year\" real,\n \"championship\" text,\n \"surface\" text,\n \"opponent_in...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"teen_edition_housemates\" (\n \"name\" text,\n \"home_or_representative_town_or_province\" text,\n \"age\" real,\n \"edition\" t...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_19068566_1\" (\n \"no\" real,\n \"num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"u_s_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_19068566_1\" (\n \"no\" real,\n \"num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"u_s_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_19068566_1\" (\n \"no\" real,\n \"num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"u_s_...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_1_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_1_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_1_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_1_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"see_also\" (\n \"expedition\" text,\n \"crew\" text,\n \"launch_date\" text,\n \"flight_up\" text,\n \"landing_date\" text,\n ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"results\" (\n \"year\" real,\n \"host\" text,\n \"1st_place\" text,\n \"2nd_place\" text,\n \"3rd_place\" text,\n \"4th_place\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"results\" (\n \"year\" real,\n \"host\" text,\n \"1st_place\" text,\n \"2nd_place\" text,\n \"3rd_place\" text,\n \"4th_place\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"results\" (\n \"year\" real,\n \"host\" text,\n \"1st_place\" text,\n \"2nd_place\" text,\n \"3rd_place\" text,\n \"4th_place\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"results\" (\n \"year\" real,\n \"host\" text,\n \"1st_place\" text,\n \"2nd_place\" text,\n \"3rd_place\" text,\n \"4th_place\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"results\" (\n \"year\" real,\n \"host\" text,\n \"1st_place\" text,\n \"2nd_place\" text,\n \"3rd_place\" text,\n \"4th_place\...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_2_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_2_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"day_2_evening_session\" (\n \"match_no\" real,\n \"match_type\" text,\n \"team_europe\" text,\n \"score\" text,\n \"team_usa\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" text,\n \"league\" text,\n \"reg_season\" text,\n \"playoffs\" text,\n \"owner_s\" text,\n \"avg_a...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" text,\n \"league\" text,\n \"reg_season\" text,\n \"playoffs\" text,\n \"owner_s\" text,\n \"avg_a...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" text,\n \"league\" text,\n \"reg_season\" text,\n \"playoffs\" text,\n \"owner_s\" text,\n \"avg_a...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" text,\n \"league\" text,\n \"reg_season\" text,\n \"playoffs\" text,\n \"owner_s\" text,\n \"avg_a...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"year_by_year\" (\n \"year\" text,\n \"league\" text,\n \"reg_season\" text,\n \"playoffs\" text,\n \"owner_s\" text,\n \"avg_a...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"2013_14_season\" (\n \"club\" text,\n \"position_in_2012_13\" text,\n \"first_season_in_top_division\" text,\n \"number_of_seaso...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"2013_14_season\" (\n \"club\" text,\n \"position_in_2012_13\" text,\n \"first_season_in_top_division\" text,\n \"number_of_seaso...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_191105_3\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"performed_by\" text,\n \"first_aired...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_191105_3\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"performed_by\" text,\n \"first_aired...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_191105_3\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"performed_by\" text,\n \"first_aired...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"table1_191105_3\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"performed_by\" text,\n \"first_aired...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"nascar_nationwide_series\" (\n \"year\" real,\n \"starts\" real,\n \"wins\" real,\n \"top_5\" real,\n \"top_10\" real,\n \"pol...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"america_rock\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"lyrics_by\" text,\n \"performed_by\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"america_rock\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"lyrics_by\" text,\n \"performed_by\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"america_rock\" (\n \"episode_title\" text,\n \"subject\" text,\n \"music_by\" text,\n \"lyrics_by\" text,\n \"performed_by\" te...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"returning_this_year_after_a_break_of_one\" (\n \"programme\" text,\n \"date_s_of_original_removal\" text,\n \"original_channel\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"returning_this_year_after_a_break_of_one\" (\n \"programme\" text,\n \"date_s_of_original_removal\" text,\n \"original_channel\" ...
[ { "role": "system", "content": "You are an expert SQL query generator. Only output valid SQL." }, { "role": "user", "content": "### Database Schema\nCREATE TABLE \"returning_this_year_after_a_break_of_one\" (\n \"programme\" text,\n \"date_s_of_original_removal\" text,\n \"original_channel\" ...