text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_ethnic_russians" ( "children_women_over_15" real, "oblast_age_of_women" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_ethnic_russians" ( "children_women_over_15" real, "oblast_age_of_women" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "executive_committee" ( "season" text, "president" text, "general_sec" text, "treasurer" text, "fixtures_sec" text, "social_sec_bradford" text, "social_sec_leeds" text, "media_officer" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "executive_committee" ( "season" text, "president" text, "general_sec" text, "treasurer" text, "fixtures_sec" text, "social_sec_bradford" text, "social_sec_leeds" text, "media_officer" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real ); Question: What province has the Chinese transl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real ); Question: What is the total administrative pop...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real ); Question: What is the maximum administrative p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real ); Question: What is the total urban population o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What player was on the Grizzlies from 2009-2013? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What nationality is the player who went to school at South...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What position is the player who was on the Grizzlies from ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: How may players played for the Grizzlies from 2000-2002? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: Who was the director for the episode in se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: How many directors were there in total for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What season was the episode titled "Harleq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What are the nationalities of players who attended duke? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: How many nationalities does athlete Casey Jacobsen have? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: Who are the players that have attended Stanford? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: How many athletes play the position of guard? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: During what years did athletes who attended school in Minn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "b" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: How many players went to depaul? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What school did the player who was with the grizzles in 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What players attended missouri? <|assistant|> SELECT "play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What position(s) does the player from seton hall play? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What number does the player who was with the grizzles in 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What players play guard? <|assistant|> SELECT "player" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What position(s) do players from bowling green play? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16512618_1" ( "year_affiliation" text, "wins" real, "losses" real, "winning_pct" text, "gb_division_standing" text, "manager" text ); Question: Name the most losses for leslie mann <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1651764_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: who is the vacator whre the district is new jersey 2nd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: what is the date the successor seated because the pers...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: who was the successor for district ohio 15th? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: what is the total number for reason for change is dist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text ); Question: What day did ARchie Roberts die?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text ); Question: What location had a VFL Game num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text ); Question: How many VFL games were located ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: Name the 3rd stage for parameter of thrust <|assistant|> SELECT "3rd_sta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: Name the parameter for 2.67 m <|assistant|> SELECT "parameter" FROM "spec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: Name the paarameter for 1.0 m 3rd stage <|assistant|> SELECT "parameter" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: Name the 1st stage for parameter being diameter <|assistant|> SELECT "1st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text ); Question: How many episodes have the title "the world of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text ); Question: What episode number is the episode "bringing b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text ); Question: What is the episode number for the episode "a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text ); Question: Which archbishop ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text ); Question: What is the death...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text ); Question: How many appointe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text ); Question: What date was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text ); Question: When was the arch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: How many players Bowled 4/125? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: What number of wickets were there when the average was 22...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: How many wickets were there when average was 22.66? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: What was the best bowling score when the average was 23.3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: How many matches had 11 wickets? <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text ); Question: How many wickets did Alec bedser have? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Who picked dimitri tsoumpas? <|assistant|> SELECT "cfl_team" FROM "round_one" WHERE "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What position did the winnipeg blue bombers draft? <|assistant|> SELECT "position" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Where did Brendon Labatte get picked? <|assistant|> SELECT MIN("pick_num") FROM "round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Who picked a player from Weber State? <|assistant|> SELECT "cfl_team" FROM "round_one"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What position was taken out of Louisiana-Lafayette? <|assistant|> SELECT "position" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Name the college for calgary stampeders <|assistant|> SELECT "college" FROM "round_fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Name the most pick number for cfl team being edmonton eskimos <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real ); Question: How many day...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real ); Question: How many tit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real ); Question: How many sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real ); Question: What title w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: Who directed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real ); Question: How man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real ); Question: How man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real ); Question: What is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real ); Question: How man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What episo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What episo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: In what se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_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_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text ); Question: When did the country that produced 1,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text ); Question: What was the minimum area in square k...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text ); Question: What is the highest poplulation in Ju...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text ); Question: Which regions had a production (bbl/d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text ); Question: Which country had a production (bbl/d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "approval_date" real, "type" text, "target" text, "approved_treatment_s" text ); Question: What are all the app...