text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: How many times was the catalog number cal04 / 0091037553546?
<|assistant|>
SELECT COUNT("title") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL04 / 0091037553546';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: how many times was the catalog number cal04 / 0091037553546?
<|assistant|>
SELECT COUNT("copyright_information") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL04 / 0091037553546';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: how many times was the catalog number cal01 / 0091037137319?
<|assistant|>
SELECT COUNT("copyright_information") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL01 / 0091037137319';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: how many times was the catalog number cal05 / 0091037137357?
<|assistant|>
SELECT COUNT("title") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL05 / 0091037137357';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27332038_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_millions" text
);
Question: who directed the episode that elaine ko wrote?
<|assistant|>
SELECT "directed_by" FROM "table1_27332038_1" WHERE "written_by"='Elaine Ko';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27332038_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_millions" text
);
Question: when was the episode with production code "2arg01" originally aired?
<|assistant|>
SELECT "original_air_date" FROM "table1_27332038_1" WHERE "production_code"='2ARG01';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27332038_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_millions" text
);
Question: what is the title of the episode with production code "2arg09"?
<|assistant|>
SELECT "title" FROM "table1_27332038_1" WHERE "production_code"='2ARG09';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27332038_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_millions" text
);
Question: when was the episode with production code "2arg24" originally aired?
<|assistant|>
SELECT "original_air_date" FROM "table1_27332038_1" WHERE "production_code"='2ARG24';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: What episode had a share percentage of 41.5%?
<|assistant|>
SELECT "episode" FROM "series_7_2013" WHERE "share_pct"='41.5';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: What date was the show's weekly ranking 12?
<|assistant|>
SELECT "date" FROM "series_7_2013" WHERE "weekly_rank"=12;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: How many total itv viewers were there for the episode with official itv ratings of 10.24 million?
<|assistant|>
SELECT "total_itv_viewers_millions" FROM "series_7_2013" WHERE "official_itv_rating_millions"='10.24';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: How many total itv viewers were there for the episode with official itv hd ratings of 1.12 million?
<|assistant|>
SELECT "total_itv_viewers_millions" FROM "series_7_2013" WHERE "official_itv_hd_rating_millions"='1.12';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers
<|assistant|>
SELECT "official_itv_rating_millions" FROM "series_7_2013" WHERE "total_itv_viewers_millions"='8.53';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7_2013" (
"episode" text,
"date" text,
"official_itv_rating_millions" text,
"weekly_rank" real,
"share_pct" text,
"official_itv_hd_rating_millions" text,
"total_itv_viewers_millions" text
);
Question: What were the official itv ratings in millions for semi-final 5?
<|assistant|>
SELECT "official_itv_rating_millions" FROM "series_7_2013" WHERE "episode"='Semi-final 5';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"club" text,
"chairman" text,
"current_manager" text,
"team_captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: What is the club when the chairman is roger lambrecht?
<|assistant|>
SELECT "club" FROM "personnel_and_sponsoring" WHERE "chairman"='Roger Lambrecht';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"club" text,
"chairman" text,
"current_manager" text,
"team_captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: What is the team captain when the shirt sponser is quick?
<|assistant|>
SELECT "team_captain" FROM "personnel_and_sponsoring" WHERE "shirt_sponsor"='Quick';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"club" text,
"chairman" text,
"current_manager" text,
"team_captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Who is the chairman when the current manager is bob peeters?
<|assistant|>
SELECT "chairman" FROM "personnel_and_sponsoring" WHERE "current_manager"='Bob Peeters';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"club" text,
"chairman" text,
"current_manager" text,
"team_captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: What is the club when the shirt sponsor is e-lotto.be?
<|assistant|>
SELECT "club" FROM "personnel_and_sponsoring" WHERE "shirt_sponsor"='e-lotto.be';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"club" text,
"chairman" text,
"current_manager" text,
"team_captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Who is the team captain when the club is k.f.c. germinal beerschot?
<|assistant|>
SELECT "team_captain" FROM "personnel_and_sponsoring" WHERE "club"='K.F.C. Germinal Beerschot';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "r_seau_du_sport_tudiant_du_qu_bec" (
"university" text,
"varsity_name" text,
"city" text,
"province" text,
"founded" real,
"soccer_stadium" text,
"stadium_capacity" real
);
Question: What is the varsity name of the university of mcgill university?
<|assistant|>
SELECT "varsity_name" FROM "r_seau_du_sport_tudiant_du_qu_bec" WHERE "university"='McGill University';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "r_seau_du_sport_tudiant_du_qu_bec" (
"university" text,
"varsity_name" text,
"city" text,
"province" text,
"founded" real,
"soccer_stadium" text,
"stadium_capacity" real
);
Question: What is the soccer stadium with the varsity name is citadins?
<|assistant|>
SELECT "soccer_stadium" FROM "r_seau_du_sport_tudiant_du_qu_bec" WHERE "varsity_name"='Citadins';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "r_seau_du_sport_tudiant_du_qu_bec" (
"university" text,
"varsity_name" text,
"city" text,
"province" text,
"founded" real,
"soccer_stadium" text,
"stadium_capacity" real
);
Question: What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard?
<|assistant|>
SELECT "province" FROM "r_seau_du_sport_tudiant_du_qu_bec" WHERE "soccer_stadium"='terrain #2 of Complexe sportif Claude-Robillard';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "r_seau_du_sport_tudiant_du_qu_bec" (
"university" text,
"varsity_name" text,
"city" text,
"province" text,
"founded" real,
"soccer_stadium" text,
"stadium_capacity" real
);
Question: What is the province for with the stadium capacity of 5100?
<|assistant|>
SELECT "province" FROM "r_seau_du_sport_tudiant_du_qu_bec" WHERE "stadium_capacity"=5100;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "r_seau_du_sport_tudiant_du_qu_bec" (
"university" text,
"varsity_name" text,
"city" text,
"province" text,
"founded" real,
"soccer_stadium" text,
"stadium_capacity" real
);
Question: What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard?
<|assistant|>
SELECT "university" FROM "r_seau_du_sport_tudiant_du_qu_bec" WHERE "soccer_stadium"='terrain #2 of Complexe sportif Claude-Robillard';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_regular_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: When was the date of appointment by Hugo Broos?
<|assistant|>
SELECT "date_of_appointment" FROM "during_regular_season" WHERE "replaced_by"='Hugo Broos';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_regular_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: How many times did outgoing manager Bart de Roover vacated a position?
<|assistant|>
SELECT COUNT("date_of_vacancy") FROM "during_regular_season" WHERE "outgoing_manager"='Bart De Roover';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_regular_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: Who was the outgoing manager of the team in 15th position that was sacked?
<|assistant|>
SELECT "outgoing_manager" FROM "during_regular_season" WHERE "manner_of_departure"='Sacked' AND "position_in_table"='15th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_regular_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: What was the team's position in table when Danny OST was the outgoing manager?
<|assistant|>
SELECT "position_in_table" FROM "during_regular_season" WHERE "outgoing_manager"='Danny Ost';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" text,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: how many maximum # when viewers (m) is 8.01
<|assistant|>
SELECT MAX("num") FROM "ratings" WHERE "viewers_m"='8.01';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" text,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: how many number 18-49 (rating/share) when viewers (m) is 7.35
<|assistant|>
SELECT "18_49_rating_share" FROM "ratings" WHERE "viewers_m"='7.35';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" text,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: what is episode "take two" air date
<|assistant|>
SELECT "air_date" FROM "ratings" WHERE "episode"='\"Take Two\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" text,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: when air date is october 14, 2010 what are all 18-49 (rating/share date.
<|assistant|>
SELECT "18_49_rating_share" FROM "ratings" WHERE "air_date"='October 14, 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_summer_break" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
);
Question: How many outgoing managers were replaced by Bob Peeters?
<|assistant|>
SELECT COUNT("outgoing_manager") FROM "during_summer_break" WHERE "replaced_by"='Bob Peeters';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_summer_break" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
);
Question: Who replaced Michel Preud'homme?
<|assistant|>
SELECT "replaced_by" FROM "during_summer_break" WHERE "outgoing_manager"='Michel Preud''homme';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_summer_break" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
);
Question: What was the manner of departure for the manager of Cercle Brugge?
<|assistant|>
SELECT "manner_of_departure" FROM "during_summer_break" WHERE "team"='Cercle Brugge';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_summer_break" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
);
Question: Who was the outgoing manager of Charleroi?
<|assistant|>
SELECT "outgoing_manager" FROM "during_summer_break" WHERE "team"='Charleroi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"team" text,
"head_coach" text,
"team_captain" text,
"kit_maker" text,
"shirt_sponsor" text,
"past_season" text
);
Question: What sponsor has the head coach Samad Marfavi?
<|assistant|>
SELECT "shirt_sponsor" FROM "personnel_and_sponsoring" WHERE "head_coach"='Samad Marfavi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"team" text,
"head_coach" text,
"team_captain" text,
"kit_maker" text,
"shirt_sponsor" text,
"past_season" text
);
Question: What sponsor has merooj kit maker and captain Pejman Nouri?
<|assistant|>
SELECT "shirt_sponsor" FROM "personnel_and_sponsoring" WHERE "kit_maker"='Merooj' AND "team_captain"='Pejman Nouri';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"team" text,
"head_coach" text,
"team_captain" text,
"kit_maker" text,
"shirt_sponsor" text,
"past_season" text
);
Question: Which team has Ali Daei as head coach?
<|assistant|>
SELECT "team" FROM "personnel_and_sponsoring" WHERE "head_coach"='Ali Daei';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"team" text,
"head_coach" text,
"team_captain" text,
"kit_maker" text,
"shirt_sponsor" text,
"past_season" text
);
Question: What is the kit maker for team foolad?
<|assistant|>
SELECT "kit_maker" FROM "personnel_and_sponsoring" WHERE "team"='Foolad';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsoring" (
"team" text,
"head_coach" text,
"team_captain" text,
"kit_maker" text,
"shirt_sponsor" text,
"past_season" text
);
Question: How many head coaches named Darius Mikaeili?
<|assistant|>
SELECT COUNT("head_coach") FROM "personnel_and_sponsoring" WHERE "team_captain"='Darius Mikaeili';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_season" (
"team" text,
"outgoing_head_coach" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" real,
"incoming_head_coach" text,
"date_of_appointment" text
);
Question: Who is the outgoing head coach when the incoming head coach is abdollah veysi?
<|assistant|>
SELECT "outgoing_head_coach" FROM "in_season" WHERE "incoming_head_coach"='Abdollah Veysi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_season" (
"team" text,
"outgoing_head_coach" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" real,
"incoming_head_coach" text,
"date_of_appointment" text
);
Question: When is the date of appointment when the position in table is 16?
<|assistant|>
SELECT "date_of_appointment" FROM "in_season" WHERE "position_in_table"=16;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_season" (
"team" text,
"outgoing_head_coach" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" real,
"incoming_head_coach" text,
"date_of_appointment" text
);
Question: How many times is the incoming head coach abdollah veysi?
<|assistant|>
SELECT COUNT("team") FROM "in_season" WHERE "incoming_head_coach"='Abdollah Veysi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_season" (
"team" text,
"outgoing_head_coach" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" real,
"incoming_head_coach" text,
"date_of_appointment" text
);
Question: What is the team with the date of vacancy 8 dec 2010?
<|assistant|>
SELECT "team" FROM "in_season" WHERE "date_of_vacancy"='8 Dec 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_season" (
"team" text,
"outgoing_head_coach" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"position_in_table" real,
"incoming_head_coach" text,
"date_of_appointment" text
);
Question: What is the manner of departure when the incoming head coach is mohammad khakpour?
<|assistant|>
SELECT "manner_of_departure" FROM "in_season" WHERE "incoming_head_coach"='Mohammad Khakpour';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27389024_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many millions of U.S viewers watched the episode titled "Mended Hearts"?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_27389024_2" WHERE "title"='\"Mended Hearts\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27389024_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many millions of U.S. viewers watched the episode titled "Lost Boys"?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_27389024_2" WHERE "title"='\"Lost Boys\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27389024_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the original air date of the episode that was written by Rama Stagner?
<|assistant|>
SELECT "original_air_date" FROM "table1_27389024_2" WHERE "written_by"='Rama Stagner';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"pos" real,
"grid" real,
"car" real,
"driver" text,
"constructor" text,
"manufacturer" text,
"laps" real,
"laps_led" real,
"points" real
);
Question: For the #19 car, what was their finish position?
<|assistant|>
SELECT MAX("pos") FROM "race_results" WHERE "car"=19;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"pos" real,
"grid" real,
"car" real,
"driver" text,
"constructor" text,
"manufacturer" text,
"laps" real,
"laps_led" real,
"points" real
);
Question: How many constructors had a grid of 13?
<|assistant|>
SELECT COUNT("constructor") FROM "race_results" WHERE "grid"=13;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"pos" real,
"grid" real,
"car" real,
"driver" text,
"constructor" text,
"manufacturer" text,
"laps" real,
"laps_led" real,
"points" real
);
Question: What was the maximum finish position of the car whose constructor was Joe Gibbs Racing, driven by Denny Hamlin?
<|assistant|>
SELECT MAX("pos") FROM "race_results" WHERE "constructor"='Joe Gibbs Racing' AND "driver"='Denny Hamlin';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27397948_2" (
"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: List all titles with a 57 series number.
<|assistant|>
SELECT "title" FROM "table1_27397948_2" WHERE "no_in_series"=57;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27397948_2" (
"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: What's the highest season number with a series number of 47?
<|assistant|>
SELECT MAX("no_in_season") FROM "table1_27397948_2" WHERE "no_in_series"=47;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27397948_2" (
"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: Who was the writer for season episode 7?
<|assistant|>
SELECT "written_by" FROM "table1_27397948_2" WHERE "no_in_season"=7;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27397948_2" (
"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 many millions of US viewers were there for the episode "No Safe Place"?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_27397948_2" WHERE "title"='\"No Safe Place\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27401228_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Name who directed when the viewers is 5.86
<|assistant|>
SELECT "directed_by" FROM "table1_27401228_1" WHERE "u_s_viewers_million"='5.86';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: Where is lootos põlva from?
<|assistant|>
SELECT "location" FROM "2013_naiste_meistriliiga" WHERE "club"='Lootos Põlva';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: Who is the manager for lootos põlva?
<|assistant|>
SELECT "manager" FROM "2013_naiste_meistriliiga" WHERE "club"='Lootos Põlva';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: Where is lootospark from?
<|assistant|>
SELECT "location" FROM "2013_naiste_meistriliiga" WHERE "ground"='Lootospark';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: Who is the pärnu manager?
<|assistant|>
SELECT "manager" FROM "2013_naiste_meistriliiga" WHERE "club"='Pärnu';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: Where is the team that is managed by richard barnwell from?
<|assistant|>
SELECT "location" FROM "2013_naiste_meistriliiga" WHERE "manager"='Richard Barnwell';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_naiste_meistriliiga" (
"club" text,
"location" text,
"ground" text,
"manager" text,
"titles" real,
"last_title" text
);
Question: What is the home location for team flora tallinn?
<|assistant|>
SELECT "ground" FROM "2013_naiste_meistriliiga" WHERE "club"='Flora Tallinn';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27403436_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many viewers watched the episode written by shana goldberg-meehan & greg malins?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_27403436_1" WHERE "written_by"='Shana Goldberg-Meehan & Greg Malins';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27403436_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: which number lists the production code as 2j5809
<|assistant|>
SELECT "no" FROM "table1_27403436_1" WHERE "production_code"='2J5809';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_274117_5" (
"number" real,
"player" text,
"position" text,
"seasons_by_team" text,
"year_of_induction_into_pro_football_hall_of_fame" text
);
Question: What position was Bob Lilly?
<|assistant|>
SELECT "position" FROM "table1_274117_5" WHERE "player"='Bob Lilly';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_274117_5" (
"number" real,
"player" text,
"position" text,
"seasons_by_team" text,
"year_of_induction_into_pro_football_hall_of_fame" text
);
Question: What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances?
<|assistant|>
SELECT "seasons_by_team" FROM "table1_274117_5" WHERE "position"='OL' AND "number"=11;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_274117_5" (
"number" real,
"player" text,
"position" text,
"seasons_by_team" text,
"year_of_induction_into_pro_football_hall_of_fame" text
);
Question: What position was the player who was inducted into the Pro Football Hall of Fame in 1980?
<|assistant|>
SELECT "position" FROM "table1_274117_5" WHERE "year_of_induction_into_pro_football_hall_of_fame"='1980';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_274117_5" (
"number" real,
"player" text,
"position" text,
"seasons_by_team" text,
"year_of_induction_into_pro_football_hall_of_fame" text
);
Question: When was Will Shields inducted into the Pro Football Hall of Fame?
<|assistant|>
SELECT "year_of_induction_into_pro_football_hall_of_fame" FROM "table1_274117_5" WHERE "player"='Will Shields';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_274117_5" (
"number" real,
"player" text,
"position" text,
"seasons_by_team" text,
"year_of_induction_into_pro_football_hall_of_fame" text
);
Question: What is the fewest amount of Pro Bowl appearances any of the players had?
<|assistant|>
SELECT MIN("number") FROM "table1_274117_5";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27412213_3" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" text
);
Question: Who directed the episode titled "Not Without My Jacket"?
<|assistant|>
SELECT "directed_by" FROM "table1_27412213_3" WHERE "title"='\"Not Without My Jacket\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27412213_3" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" text
);
Question: How many U.S. viewers in millions watched the episode titled "The Truth About Dads and Moms"?
<|assistant|>
SELECT COUNT("u_s_viewers_million") FROM "table1_27412213_3" WHERE "title"='\"The Truth About Dads and Moms\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What is the life expectancy of men with an IMR of 64?
<|assistant|>
SELECT "life_expectancy_males" FROM "table1_27434_2" WHERE "imr"=64;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: How many live births per year do people with a life expectancy of 65.1 have?
<|assistant|>
SELECT "live_births_per_year" FROM "table1_27434_2" WHERE "life_expectancy_total"='65.1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What period was there a 22.7 NC?
<|assistant|>
SELECT "period" FROM "table1_27434_2" WHERE "nc"='22.7';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What is the natural change per year for the 7.2 CDR group?
<|assistant|>
SELECT "natural_change_per_year" FROM "table1_27434_2" WHERE "cdr"='7.2';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What is the natural change per year for the 34 IMR group?
<|assistant|>
SELECT "natural_change_per_year" FROM "table1_27434_2" WHERE "imr"=34;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27434_2" (
"period" text,
"live_births_per_year" text,
"deaths_per_year" text,
"natural_change_per_year" text,
"cbr" text,
"cdr" text,
"nc" text,
"tfr" text,
"imr" real,
"life_expectancy_total" text,
"life_expectancy_males" text,
"life_expectancy_females" text
);
Question: What period was the life expectancy at 62.4?
<|assistant|>
SELECT "period" FROM "table1_27434_2" WHERE "life_expectancy_total"='62.4';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "m" (
"artist" text,
"country" text,
"number_one_single_s" text,
"year" real,
"weeks_at_num1" real,
"straight_to_num1" text
);
Question: Who is the artiest when the number one single is "elle"?
<|assistant|>
SELECT "artist" FROM "m" WHERE "number_one_single_s"='\"Elle\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: In what year is australia/oceania listed?
<|assistant|>
SELECT COUNT("year") FROM "table1_27435931_1" WHERE "continent"='Australia/Oceania';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: what was the elevation in september 2009?
<|assistant|>
SELECT "elevation_m" FROM "table1_27435931_1" WHERE "year"='September 2009';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: what is the continent in which the country russia is listed?
<|assistant|>
SELECT "continent" FROM "table1_27435931_1" WHERE "country"='Russia';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: what was the lowest elevation in april 2006?
<|assistant|>
SELECT MIN("elevation_ft") FROM "table1_27435931_1" WHERE "year"='April 2006';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: what is elevation of tanzania?
<|assistant|>
SELECT COUNT("elevation_ft") FROM "table1_27435931_1" WHERE "country"='Tanzania';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27435931_1" (
"year" text,
"summits" text,
"country" text,
"continent" text,
"elevation_ft" real,
"elevation_m" real
);
Question: what is the elevation of south america?
<|assistant|>
SELECT "elevation_ft" FROM "table1_27435931_1" WHERE "continent"='South America';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27437601_2" (
"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: List the season above 241.0 that was handled by brad tanenbaum.
<|assistant|>
SELECT "no_in_season" FROM "table1_27437601_2" WHERE "directed_by"='Brad Tanenbaum' AND "no_in_series">241.0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27437601_2" (
"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: List the series number with the espide called "shock waves".
<|assistant|>
SELECT "no_in_series" FROM "table1_27437601_2" WHERE "title"='\"Shock Waves\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27437601_2" (
"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: List the 1st air date for season 12.
<|assistant|>
SELECT "original_air_date" FROM "table1_27437601_2" WHERE "no_in_season"=12;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27437601_2" (
"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: List the series number for season 12.
<|assistant|>
SELECT COUNT("no_in_series") FROM "table1_27437601_2" WHERE "no_in_season"=12;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "l" (
"artist" text,
"country" text,
"number_one_single_s" text,
"year" real,
"weeks_at_num1" real,
"straight_to_num1" text
);
Question: How many years was the country Belgium?
<|assistant|>
SELECT COUNT("year") FROM "l" WHERE "country"='Belgium';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "p" (
"artist" text,
"country" text,
"number_one_single_s" text,
"year" real,
"weeks_at_num1" real,
"straight_to_num1" text
);
Question: What number-one single is performed by artist Pep's?
<|assistant|>
SELECT "number_one_single_s" FROM "p" WHERE "artist"='Pep''s';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: Where were the auditions held in the episode that aired on january 27, 2011?
<|assistant|>
SELECT "audition_city" FROM "regional_auditions" WHERE "episode_air_date"='January 27, 2011';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: In how many different audition cities were the Bridgestone arena auditions held?
<|assistant|>
SELECT COUNT("audition_city") FROM "regional_auditions" WHERE "audition_venue"='Bridgestone Arena';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: When was the callback audition date for the audition city from the episode aired on February 2, 2011?
<|assistant|>
SELECT "callback_audition_date" FROM "regional_auditions" WHERE "episode_air_date"='February 2, 2011';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: When were the callback auditions at Hilton Riverside Hotel held?
<|assistant|>
SELECT "callback_audition_date" FROM "regional_auditions" WHERE "callback_venue"='Hilton Riverside Hotel';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: What was the callback venue for the audition city in the episode aired on January 20, 2011?
<|assistant|>
SELECT "callback_venue" FROM "regional_auditions" WHERE "episode_air_date"='January 20, 2011';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"first_audition_date" text,
"audition_venue" text,
"callback_audition_date" text,
"callback_venue" text,
"golden_tickets" text
);
Question: When were the callback auditions for the audition city in the episode aired on February 9, 2011?
<|assistant|>
SELECT "callback_audition_date" FROM "regional_auditions" WHERE "episode_air_date"='February 9, 2011';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27462177_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: How many episodes did Eve Weston write?
<|assistant|>
SELECT COUNT("no_in_series") FROM "table1_27462177_1" WHERE "written_by"='Eve Weston';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27462177_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: How many millions of US viewers watched the episode written by Jack Sanderson?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_27462177_1" WHERE "written_by"='Jack Sanderson';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27462199_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: What is the series episode number of "Taxi Dance"?
<|assistant|>
SELECT MIN("no_in_series") FROM "table1_27462199_1" WHERE "title"='\"Taxi Dance\"';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.