text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25703_1" ( "january_september_2013" text, "birth_2013" real, "birth_2012" real, "death_2013" real, "death_2012" text ); Question: What are the death/2012 number when death/2013 is 140 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25703_1" ( "january_september_2013" text, "birth_2013" real, "birth_2012" real, "death_2013" real, "death_2012" text ); Question: How many figures for birth/2013 when January-September i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_65_ohio_wesleyan_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many touchdowns did...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_65_ohio_wesleyan_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many maximum points...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_65_ohio_wesleyan_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many touchdowns did...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_65_ohio_wesleyan_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many numbers were r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_65_ohio_wesleyan_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What was the minimum to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_70_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many touchdowns did the fu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_70_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many figures are provided ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_70_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What is the most points record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_70_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Was Magoffin a starting player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_70_albion_0" ( "player" text, "position" text, "starter" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which player was at position l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Who was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Who wrote...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716399_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: what seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716397_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text ); Question: How many episodes were written by Tom Sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716397_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text ); Question: How many people directed the episode tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716397_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text ); Question: How many titles does the episode written...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716397_1" ( "series_no" real, "no_in_season" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text ); Question: How many directors of episode 55? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25716401_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "red_dwarf_x" ( "episode_no" real, "airdate" text, "dave_viewers" real, "dave_rank" real, "rank_cable" real, "dave_ja_vu_viewers" real, "total_viewers" real ); Question: Which episode number...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "red_dwarf_x" ( "episode_no" real, "airdate" text, "dave_viewers" real, "dave_rank" real, "rank_cable" real, "dave_ja_vu_viewers" real, "total_viewers" real ); Question: What is the lowest c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "red_dwarf_x" ( "episode_no" real, "airdate" text, "dave_viewers" real, "dave_rank" real, "rank_cable" real, "dave_ja_vu_viewers" real, "total_viewers" real ); Question: What is the highest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "red_dwarf_x" ( "episode_no" real, "airdate" text, "dave_viewers" real, "dave_rank" real, "rank_cable" real, "dave_ja_vu_viewers" real, "total_viewers" real ); Question: How many episodes ai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "red_dwarf_x" ( "episode_no" real, "airdate" text, "dave_viewers" real, "dave_rank" real, "rank_cable" real, "dave_ja_vu_viewers" real, "total_viewers" real ); Question: What was the airdate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25721_4" ( "release" text, "num_of_discs" real, "region_1" text, "region_2" text, "region_4" text ); Question: How many DVDs where were in the complete collection series 1-8 with extras?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25721_4" ( "release" text, "num_of_discs" real, "region_1" text, "region_2" text, "region_4" text ); Question: Which release had 6 DVDs? <|assistant|> SELECT "release" FROM "table1_25721...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25721_4" ( "release" text, "num_of_discs" real, "region_1" text, "region_2" text, "region_4" text ); Question: How many region 1's did back to earth have? <|assistant|> SELECT COUNT("reg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many field goals did Walter Rheinschild have? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Jack Loell had how many extra points? <|assistant|> SELECT "extra_point...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many points did Donald Green score? <|assistant|> SELECT COUNT("poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many field goals did Donald Green score? <|assistant|> SELECT COUNT(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What was the least amount of points scored? <|assistant|> SELECT MIN("ex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many extra points did Stanfield Wells make? <|assistant|> SELECT COU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What are the most points listed? <|assistant|> SELECT MAX("points") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many touchdowns were the when there was more than 1.0 extra point? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Name the player/s when there were 20 points with less than 1.0 extra poi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What were the least amount of field goals when Frederick L. Conklin play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What is the least number of extra points? <|assistant|> SELECT MIN("ext...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many points did William Wasmund have? <|assistant|> SELECT "points" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many touchdowns did the player with 10 points have? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many points does George M. Lawton have? <|assistant|> SELECT MAX("po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Name the player for 1 touchdowns <|assistant|> SELECT "player" FROM "sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Name the least extra points <|assistant|> SELECT MIN("extra_points") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Name the least extra points <|assistant|> SELECT MIN("extra_points") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2009" ( "no" real, "num" real, "episode" text, "writer" text, "director" text, "original_air_date" text, "viewing_figure" real ); Question: Who directed episode number 2? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2009" ( "no" real, "num" real, "episode" text, "writer" text, "director" text, "original_air_date" text, "viewing_figure" real ); Question: What was the episode number that had 797...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2009" ( "no" real, "num" real, "episode" text, "writer" text, "director" text, "original_air_date" text, "viewing_figure" real ); Question: Who directed the episode directed by col...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: Who wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25740548_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_ratings" ( "episode_number" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_singles" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_number_1" real ); Question: What is the song released...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_singles" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_number_1" real ); Question: error (see notes) <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_singles" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_number_1" real ); Question: What is the song by the m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25764073_3" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: Name the directors for peter gawler <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25764073_3" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: Name the least episode number for anne bro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25764073_3" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: Name the title for season number 35 <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "conference_player_of_the_month_selection" ( "selection" real, "month" text, "season" text, "team_record" text, "points_per_game" text, "field_goal_percentage" text, "rebounds_per_game" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "conference_player_of_the_month_selection" ( "selection" real, "month" text, "season" text, "team_record" text, "points_per_game" text, "field_goal_percentage" text, "rebounds_per_game" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formation_of_the_1st_arkansas_state_troo" ( "company" text, "name" text, "county" text, "militia_regiment" text, "commander" text, "organization_date" text ); Question: Name the name for comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formation_of_the_1st_arkansas_state_troo" ( "company" text, "name" text, "county" text, "militia_regiment" text, "commander" text, "organization_date" text ); Question: Name the name for orga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formation_of_the_1st_arkansas_state_troo" ( "company" text, "name" text, "county" text, "militia_regiment" text, "commander" text, "organization_date" text ); Question: Name the name for desh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formation_of_the_1st_arkansas_state_troo" ( "company" text, "name" text, "county" text, "militia_regiment" text, "commander" text, "organization_date" text ); Question: Name the company for d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1956_57" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who wrote the episode with series number 56? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1956_57" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: What is largest series number for the episode that aired ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1956_57" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who directed the episodes that aired December 15, 1956? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1956_57" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who wrote the episode that aired December 1, 1956? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_14_1968_69" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who was the writer of the episode that originally aired ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_15_1969_70" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: What is the season # for the episode with air date febru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_18_1972_73" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who was the writer who wrote the episode that was aired ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_20_1974_75" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who directed episode number 626 in the series? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1957_58" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who are all the writers of episodes in season 24? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1957_58" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: What is the title of the episode that aired on May 10, 19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_1959_60" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who was the writer of episode 15? <|assistant|> SELECT "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_1959_60" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: What is the title of #33? <|assistant|> SELECT "title" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_1959_60" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: How many directors worked on #158? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4_1958_59" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: How many writers were for season #1? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4_1958_59" ( "series_num" real, "season_num" real, "title" text, "director" text, "writer_s" text, "airdate" text ); Question: Who was the director for the episode on May 2, 1959? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25810656_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name the nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25810656_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name the nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_riders_classification" text, "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_25815180_1" ( "sec" real, "offence" text, "definition_example_or_notes" text, "civilian" text, "summary_hearing" text, "max_sentence_at_court_martial" text ); Question: What is the sum...