text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When buffalo narrows is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When 1233 is the popula...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When 6.00 is the land a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When beauval is the nam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When 4.5 is the percent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text ); Question: When 14.85 kilometers s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real ); Question: H...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text ); Question: Who directed the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text ); Question: What language was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text ); Question: What is the origi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text ); Question: Who directed the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text ); Question: What is every value for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text ); Question: What is the lowest popu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text ); Question: What is the lowest popu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text ); Question: How many values for pop...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text ); Question: What is every value for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alumni" ( "name" text, "nationality" text, "position" text, "year_of_birth" real, "career" text, "appearances" real, "goals" real, "club" text ); Question: Which team/s have 48 goals tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text ); Question: Who was the contestant eliminated on episode 8 of RW: Key West season? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text ); Question: Who was the female contestant on the Original season of Fresh Meat? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text ); Question: What was the gender of the contestant on RR: South Pacific season? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text ); Question: What was the season where Evelyn Smith was on? <|assistant|> SELECT "original_season...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real ); Question: Name the lg for ermengol <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real ); Question: Name the nat for total apps for 27 <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real ); Question: Name the number of apps for total g is 8 <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real ); Question: Name the player for l apps is 27 <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real ); Question: What are all the countries where the electric company Ebisa has a presence? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real ); Question: In how many countries is Itaipu a supply point for electricity? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real ); Question: What are the electric companies drawing power from Itaipu? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the first year in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the result in the f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the first year that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What tournament did she win...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: When ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: When ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: When ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: What was the score at the end of the matc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: What's the match number where Bill Hoffma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: How many different scores did Team Europe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: What was the score when Tore Torgersen pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "expedition" text, "crew" text, "launch_date" text, "flight_up" text, "landing_date" text, "flight_down" text, "duration_days" text ); Question: Name the launch date for duratio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text ); Question: What is the 1st place when Pennsylvania finished 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text ); Question: What is the 2nd place when Virginia finished in 1s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text ); Question: How many years did Florida finish in 4th place? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text ); Question: What is the total number of 3rd placed teams when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text ); Question: Who was in 4th place when Missouri finished in 3rd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: When tim mack is on team usa what is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: When 14 is the match number how many usa ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text ); Question: When chris barnes is on team usa how many...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real ); Question: in the year 1998/99 what was the league <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real ); Question: in the year 1995/96 what was the reg. season <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real ); Question: in what playoffs the league was in the semifinals <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real ); Question: what was the year where in the playoffs was champions <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real ); Question: what where the playoffs where the avg attendance of the team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_14_season" ( "club" text, "position_in_2012_13" text, "first_season_in_top_division" text, "number_of_seasons_in_top_division" real, "first_season_of_current_spell_in_top_division" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_14_season" ( "club" text, "position_in_2012_13" text, "first_season_in_top_division" text, "number_of_seasons_in_top_division" real, "first_season_of_current_spell_in_top_division" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real ); Question: When interplanet janet is the episode title who is the music by? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real ); Question: WHen jaime aff and christine langner are the performers what is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real ); Question: If skeletal system is the subject when was it first aired? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real ); Question: When zachary sanders is the performer what is the lowerst first ai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_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 "nascar_nationwide_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 "nascar_nationwide_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 "nascar_nationwide_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 "nascar_nationwide_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 "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text ); Question: What is the date for the episode performed by Sue...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text ); Question: Who is the music by for episode the Elbow Room? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text ); Question: What is the name of the episode performed by Essr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text ); Question: When five is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text ); Question: When bbc two i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text ); Question: When bbc two i...