text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the manner ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the date of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the date of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003223_4" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "important_trains_passing_from_kanpur_ana" ( "train_no" real, "train_name" text, "arrival" text, "departure" text, "days" text, "platform_no" text ); Question: How many trains depart at 17:30?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "important_trains_passing_from_kanpur_ana" ( "train_no" real, "train_name" text, "arrival" text, "departure" text, "days" text, "platform_no" text ); Question: How many trains arrive at 11:00?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003186_3" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003186_3" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003186_3" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003186_3" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27003186_3" ( "city" text, "population" real, "registered_voters" text, "democratic" text, "republican" text, "d_r_spread" text, "other" text, "no_party_preference" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: What is the district with the incumbent Charlie Norwood? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: What is the year elected for incumbent Cynthia Mckinney? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: How many incumbents were the result of sanford bishop (d) 57% joseph mcco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: What is the status for district georgia's 10th? <|assistant|> SELECT "sta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: What is the result of districk georgia's 1st? <|assistant|> SELECT "resul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "result" text ); Question: What is the district with the result mac collins (r) unopposed? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_2_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_the_world_health_organization_20" ( "overall_rank" real, "country" text, "overall_life_expectancy" real, "male_life_expectancy" real, "male_rank" real, "female_life_expectancy" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_the_world_health_organization_20" ( "overall_rank" real, "country" text, "overall_life_expectancy" real, "male_life_expectancy" real, "male_rank" real, "female_life_expectancy" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_the_world_health_organization_20" ( "overall_rank" real, "country" text, "overall_life_expectancy" real, "male_life_expectancy" real, "male_rank" real, "female_life_expectancy" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_the_world_health_organization_20" ( "overall_rank" real, "country" text, "overall_life_expectancy" real, "male_life_expectancy" real, "male_rank" real, "female_life_expectancy" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_the_world_health_organization_20" ( "overall_rank" real, "country" text, "overall_life_expectancy" real, "male_life_expectancy" real, "male_rank" real, "female_life_expectancy" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_1_episodes" ( "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_1_episodes" ( "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_1_episodes" ( "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_1_episodes" ( "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Who directed t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aaahh_real_monsters_season_4_episodes" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27047554_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text ); Question: How many viewer data were ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27047554_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text ); Question: How many directors directe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27047554_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text ); Question: What was the original air ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: Who represents district 41? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: For delegate is mcdonough, patrick l. pat mcdonough...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: where committee is environmental matters and distri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: For democratic party, countries represented is mont...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: Where delegate is feldman, brian j. brian j. feldma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: For delegate is gaines, tawanna p. tawanna gaines, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "position" real, "building" text, "city" text, "height" text, "number_of_floors" real, "completion" real ); Question: If the number of floors is 70, what is the height? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "position" real, "building" text, "city" text, "height" text, "number_of_floors" real, "completion" real ); Question: if the completed is 2010, what is the number of floors? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "position" real, "building" text, "city" text, "height" text, "number_of_floors" real, "completion" real ); Question: If the building is Costanera Center Torre 1, what is the heig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "position" real, "building" text, "city" text, "height" text, "number_of_floors" real, "completion" real ); Question: How many positions does building Costanera Center Torre 1 hav...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Who is the outgoing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: How many date of ap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the manner ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: What was the overall record for the Pandas in the 2003-04 sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: What was the conference record in the season where the Pandas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: Who was the coach of the Pandas when their overall record was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: What was the conference record for the Pandas when they were ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: What was the overall record for the Pandas when their confere...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "season" text, "coach" text, "conf_record" text, "overall" text, "standings" text, "postseason" text ); Question: In what season was the conference record for the Pandas 15-1-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: how many times is the week # is audition? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27081956_1" ( "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real, "series_no" real, "ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2709_4" ( "frequency" text, "call_sign" text, "name" text, "format" text, "owner" text, "target_city_market" text, "city_of_license" text ); Question: What is the format of 105.5 fm?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2709_4" ( "frequency" text, "call_sign" text, "name" text, "format" text, "owner" text, "target_city_market" text, "city_of_license" text ); Question: What is the market for KLRJ? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2709_4" ( "frequency" text, "call_sign" text, "name" text, "format" text, "owner" text, "target_city_market" text, "city_of_license" text ); Question: What is the format for the stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What team's manager...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What was the date o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Which manager was a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Who replaced the pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What was date of ap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance" ( "team" text, "home_gms" real, "home_total" real, "home_avg" real, "top_home_crowd" text, "road_gms" real, "road_total" real, "road_avg" real, "overall_gms" real, "overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance" ( "team" text, "home_gms" real, "home_total" real, "home_avg" real, "top_home_crowd" text, "road_gms" real, "road_total" real, "road_avg" real, "overall_gms" real, "overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance" ( "team" text, "home_gms" real, "home_total" real, "home_avg" real, "top_home_crowd" text, "road_gms" real, "road_total" real, "road_avg" real, "overall_gms" real, "overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "attendance" ( "team" text, "home_gms" real, "home_total" real, "home_avg" real, "top_home_crowd" text, "road_gms" real, "road_total" real, "road_avg" real, "overall_gms" real, "overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "stage_winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27117365_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27117365_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27117365_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_head_coach" text, "manner_of_departure" text, "date_of_vacancy" text, "position_in_table" text, "incoming_head_coach" text, "date_of_appointment"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_head_coach" text, "manner_of_departure" text, "date_of_vacancy" text, "position_in_table" text, "incoming_head_coach" text, "date_of_appointment"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_head_coach" text, "manner_of_departure" text, "date_of_vacancy" text, "position_in_table" text, "incoming_head_coach" text, "date_of_appointment"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27146868_1" ( "greek_national_account" text, "1970" text, "1980" text, "1990" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001_1" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "pro_team" text, "college" text ); Question: If the NFL team is the Houston Oilers and the position is DT, who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "pro_team" text, "college" text ); Question: How many different players does the Washington Redskins have? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "pro_team" text, "college" text ); Question: If the college is Vanderbilt, what is the position? <|assistant|>...