text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real ); Question: Name the league for strikeouts being 451 <|assistant|> SELECT "leagu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real ); Question: Name the most overall rank for nl/ua league <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real ); Question: Name the total number of pitcher for 9 overall rank <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real ); Question: Name the most season for old hoss radbourn <|assistant|> SELECT MAX(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24278858_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: What week did they...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24278858_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: What date did the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text ); Question: What country h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text ); Question: What are the h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text ); Question: What is the ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text ); Question: In what countr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: how many times was third place held by drnovice? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: Who is the top goalscorer for the season 2010-11? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: Who had third place when the champions is baník ostrava ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: Who was the top goalscorer for season 2001-02? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: Who is the runner-up for the season 2008-09? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text ); Question: Who is the top goalscorer for season 1998-99? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_18" ( "year" text, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: In what tournament was the difference only 1 stroke and 54 h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2430014_6" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text ); Question: Name the tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2430014_6" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text ); Question: Name the wri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text ); Question: How many dir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text ); Question: Who wrote th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "welsh_boroughs" ( "borough" text, "county" text, "franchise_type" text, "members" real, "voters_in_1800" real, "times_contested" real, "fate_in_1832" text ); Question: Name the most times c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "welsh_boroughs" ( "borough" text, "county" text, "franchise_type" text, "members" real, "voters_in_1800" real, "times_contested" real, "fate_in_1832" text ); Question: Name the fate in 1832...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: what i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real ); Question: What is the population of Mogilev? <|assistant|> SELECT MIN("total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real ); Question: What are the polish population where guberniya is vitebsk? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real ); Question: What is the population of polish where guberniya is grodno? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text ); Question: Name the real life for eventu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text ); Question: Name the real life years of o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text ); Question: Name the game coast for chica...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text ); Question: Name the game cost for merge...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: How many times did...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: Was the sounddock ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: How many connectio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: how many video out...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: Does the sounddock...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text ); Question: What type of dock ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24396664_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: Where was the game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: how many varsity ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: what is the masco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: where are dragons...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: when was lawrence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: name the school l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real ); Question: how many places h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: Which episode had bbc ranking and canle ranking of n/a? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: List the number of bbc rankings with cable rankings of 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: List the number of viewers when the cable rank for Russe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: How many individuals watched the show that had a bbc ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" real, "cable_rank" real ); Question: How many times did episode number 8 air? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" real, "cable_rank" real ); Question: When did episode number 6 air? <|assistant|> SELECT "airdate" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: How many items are listed under viewers column when the bbd three ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: What episode number had a cable ranking of 8? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: What date did the episode air that had n/a for it's bbc three week...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: What date did the episode air that had a ranking of 17 for cable? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_6" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: When 3 is the bbc three weekly ranking what is the airdate? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_6" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text ); Question: When 656000 is the amount of viewers and n/a is the cable rank wha...