question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
The episode titled "Epiphany" received what scripted show ranking? | CREATE TABLE "new_zealand_tv2" (
"episode_number" real,
"title" text,
"original_airing" text,
"timeslot" text,
"viewers" real,
"top_50_ranking" real,
"scripted_show_ranking" real
); | SELECT MIN("scripted_show_ranking") FROM "new_zealand_tv2" WHERE "title"='Epiphany'; | 1-22170495-7 |
How many of the episodes in the top 50 rankings were originally aired on June 28, 2010? | CREATE TABLE "new_zealand_tv2" (
"episode_number" real,
"title" text,
"original_airing" text,
"timeslot" text,
"viewers" real,
"top_50_ranking" real,
"scripted_show_ranking" real
); | SELECT COUNT("top_50_ranking") FROM "new_zealand_tv2" WHERE "original_airing"='June 28, 2010'; | 1-22170495-7 |
For the location of quezon city , metro manila what is the athletic nickname? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT "athletic_nickname" FROM "tertiary_institutions" WHERE "location"='Quezon City , Metro Manila'; | 1-22171978-1 |
How many locations are there for the athletic nickname is blue crusaders? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT COUNT("location") FROM "tertiary_institutions" WHERE "athletic_nickname"='Blue Crusaders'; | 1-22171978-1 |
How many entries are shown for school colors for the location of naga , camarines sur? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT COUNT("school_colors") FROM "tertiary_institutions" WHERE "location"='Naga , Camarines Sur'; | 1-22171978-1 |
For the athletic nickname of golden knights how many entries are shown for enrollment? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT COUNT("enrollment") FROM "tertiary_institutions" WHERE "athletic_nickname"='Golden Knights'; | 1-22171978-1 |
What year was the ateneo de manila university founded? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT "founded" FROM "tertiary_institutions" WHERE "institution"='Ateneo de Manila University'; | 1-22171978-1 |
What year was the athletic nickname blue crusaders founded? | CREATE TABLE "tertiary_institutions" (
"institution" text,
"location" text,
"enrollment" text,
"athletic_nickname" text,
"school_colors" text,
"founded" real
); | SELECT "founded" FROM "tertiary_institutions" WHERE "athletic_nickname"='Blue Crusaders'; | 1-22171978-1 |
How many original airdates did season 20 have? | CREATE TABLE "table1_22181917_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("original_air_date") FROM "table1_22181917_2" WHERE "season_num"=20; | 1-22181917-2 |
Who directed the episode that was watched by 6.62 million U.S. viewers? | CREATE TABLE "table1_22181917_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='6.62'; | 1-22181917-2 |
What is the production code for the episode with 8.56 million U.S. viewers? | CREATE TABLE "table1_22181917_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "production_code" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='8.56'; | 1-22181917-2 |
What is the title of the episode that had 9.76 million U.S. viewers? | CREATE TABLE "table1_22181917_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='9.76'; | 1-22181917-2 |
What is the title of the original airing on e4 May 2, 2010? | CREATE TABLE "united_kingdom_channel_4" (
"episode_number" real,
"title" text,
"original_airing_on_channel_4" text,
"time_of_airing_on_channel_4" text,
"original_airing_on_e4" text,
"time_of_airing_on_e4" text,
"position_in_channel_4s_ratings_a" text,
"position_in_e4s_ratings_b" text,
"total_viewers" ... | SELECT "title" FROM "united_kingdom_channel_4" WHERE "original_airing_on_e4"='May 2, 2010'; | 1-22170495-6 |
How many total viewers have April 21, 2010 as the original airing on channel 4? | CREATE TABLE "united_kingdom_channel_4" (
"episode_number" real,
"title" text,
"original_airing_on_channel_4" text,
"time_of_airing_on_channel_4" text,
"original_airing_on_e4" text,
"time_of_airing_on_e4" text,
"position_in_channel_4s_ratings_a" text,
"position_in_e4s_ratings_b" text,
"total_viewers" ... | SELECT COUNT("total_viewers") FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='April 21, 2010'; | 1-22170495-6 |
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4? | CREATE TABLE "united_kingdom_channel_4" (
"episode_number" real,
"title" text,
"original_airing_on_channel_4" text,
"time_of_airing_on_channel_4" text,
"original_airing_on_e4" text,
"time_of_airing_on_e4" text,
"position_in_channel_4s_ratings_a" text,
"position_in_e4s_ratings_b" text,
"total_viewers" ... | SELECT "position_in_e4s_ratings_b" FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='June 30, 2010'; | 1-22170495-6 |
When is the original airing on channel 4 with being alive as the title? | CREATE TABLE "united_kingdom_channel_4" (
"episode_number" real,
"title" text,
"original_airing_on_channel_4" text,
"time_of_airing_on_channel_4" text,
"original_airing_on_e4" text,
"time_of_airing_on_e4" text,
"position_in_channel_4s_ratings_a" text,
"position_in_e4s_ratings_b" text,
"total_viewers" ... | SELECT "original_airing_on_channel_4" FROM "united_kingdom_channel_4" WHERE "title"='Being Alive'; | 1-22170495-6 |
How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4? | CREATE TABLE "united_kingdom_channel_4" (
"episode_number" real,
"title" text,
"original_airing_on_channel_4" text,
"time_of_airing_on_channel_4" text,
"original_airing_on_e4" text,
"time_of_airing_on_e4" text,
"position_in_channel_4s_ratings_a" text,
"position_in_e4s_ratings_b" text,
"total_viewers" ... | SELECT COUNT("position_in_channel_4s_ratings_a") FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='February 24, 2010'; | 1-22170495-6 |
What are all types where registration is HB-OPU? | CREATE TABLE "references" (
"type" text,
"registration" text,
"design" text,
"construction" text,
"service" text,
"construction_date" text,
"conformity_to_original_design" text,
"interest" text,
"number_existing_in_switzerland" text,
"number_existing_worldwide" text,
"status" text
); | SELECT "type" FROM "references" WHERE "registration"='HB-OPU'; | 1-22180353-1 |
What is every registration for the type of T 6 G? | CREATE TABLE "references" (
"type" text,
"registration" text,
"design" text,
"construction" text,
"service" text,
"construction_date" text,
"conformity_to_original_design" text,
"interest" text,
"number_existing_in_switzerland" text,
"number_existing_worldwide" text,
"status" text
); | SELECT "registration" FROM "references" WHERE "type"='T 6 G'; | 1-22180353-1 |
What is every construction date for the registration of HB-HOS? | CREATE TABLE "references" (
"type" text,
"registration" text,
"design" text,
"construction" text,
"service" text,
"construction_date" text,
"conformity_to_original_design" text,
"interest" text,
"number_existing_in_switzerland" text,
"number_existing_worldwide" text,
"status" text
); | SELECT "construction_date" FROM "references" WHERE "registration"='HB-HOS'; | 1-22180353-1 |
What is every conformity to original design if the construction date is after 1945 and registration is HB-SAE? | CREATE TABLE "references" (
"type" text,
"registration" text,
"design" text,
"construction" text,
"service" text,
"construction_date" text,
"conformity_to_original_design" text,
"interest" text,
"number_existing_in_switzerland" text,
"number_existing_worldwide" text,
"status" text
); | SELECT "conformity_to_original_design" FROM "references" WHERE "construction_date"='After 1945' AND "registration"='HB-SAE'; | 1-22180353-1 |
What is every conformity to original design if registration is HB-DAI? | CREATE TABLE "references" (
"type" text,
"registration" text,
"design" text,
"construction" text,
"service" text,
"construction_date" text,
"conformity_to_original_design" text,
"interest" text,
"number_existing_in_switzerland" text,
"number_existing_worldwide" text,
"status" text
); | SELECT "conformity_to_original_design" FROM "references" WHERE "registration"='HB-DAI'; | 1-22180353-1 |
What is the latest season number that Eric Tuchman directed? | CREATE TABLE "episode_list" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"nbc_airdate" text,
"code" real
); | SELECT MAX("season_num") FROM "episode_list" WHERE "director"='Eric Tuchman'; | 1-2219961-2 |
How man seasons have the air date of October 2, 2001? | CREATE TABLE "episode_list" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"nbc_airdate" text,
"code" real
); | SELECT COUNT("season_num") FROM "episode_list" WHERE "nbc_airdate"='October 2, 2001'; | 1-2219961-2 |
Who wrote, "The Last Dance"? | CREATE TABLE "episode_list" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"nbc_airdate" text,
"code" real
); | SELECT "writer_s" FROM "episode_list" WHERE "title"='\"The Last Dance\"'; | 1-2219961-2 |
What was the report in the race where the winning team was Roush Fenway Racing? | CREATE TABLE "table1_2220432_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
); | SELECT "report" FROM "table1_2220432_1" WHERE "team"='Roush Fenway Racing'; | 1-2220432-1 |
What was the miles (km) for the race that had an average speed of 136.117 MPH? | CREATE TABLE "table1_2220432_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
); | SELECT "miles_km" FROM "table1_2220432_1" WHERE "average_speed_mph"='136.117'; | 1-2220432-1 |
What are the miles when February 25 is the date? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "miles_km" FROM "table1_2226343_1" WHERE "date"='February 25'; | 1-2226343-1 |
How many laps have an average speed of 141.911? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "laps" FROM "table1_2226343_1" WHERE "average_speed_mph"='141.911'; | 1-2226343-1 |
Who is the manufacturer when 150.088 is the average speed (mph)? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "manufacturer" FROM "table1_2226343_1" WHERE "average_speed_mph"='150.088'; | 1-2226343-1 |
Who is the manufacturer for the date of June 22? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "manufacturer" FROM "table1_2226343_1" WHERE "date"='June 22'; | 1-2226343-1 |
How many laps have a race time of 3:31:24? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "laps" FROM "table1_2226343_1" WHERE "race_time"='3:31:24'; | 1-2226343-1 |
How many laps have an average speed (mph) of 140.22? | CREATE TABLE "table1_2226343_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
); | SELECT "laps" FROM "table1_2226343_1" WHERE "average_speed_mph"='140.22'; | 1-2226343-1 |
Who directed the film with the original title of три летња дана? | CREATE TABLE "fr_yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "fr_yugoslavia" WHERE "original_title"='Три летња дана'; | 1-22265716-1 |
Who directed the film with the title three summer days? | CREATE TABLE "fr_yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "fr_yugoslavia" WHERE "film_title_used_in_nomination"='Three Summer Days'; | 1-22265716-1 |
Who is the director of the film with the title лепа села лепо горе? | CREATE TABLE "fr_yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "fr_yugoslavia" WHERE "original_title"='Лепа села лепо горе'; | 1-22265716-1 |
How many viewers in millions watched the episode with the production code 6acx16? | CREATE TABLE "table1_22261877_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_22261877_1" WHERE "production_code"='6ACX16'; | 1-22261877-1 |
What is the air date of the episode with the production code 6acx19? | CREATE TABLE "table1_22261877_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "original_air_date" FROM "table1_22261877_1" WHERE "production_code"='6ACX19'; | 1-22261877-1 |
What is the original air date for the production code of 1.12? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_2226817_2" WHERE "production_code"='1.12'; | 1-2226817-2 |
How many number of series have a production code of 1.11? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "no_in_series" FROM "table1_2226817_2" WHERE "production_code"='1.11'; | 1-2226817-2 |
How many number of series have the production code of 1.11? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MAX("no_in_series") FROM "table1_2226817_2" WHERE "production_code"='1.11'; | 1-2226817-2 |
Who wrote when the original airdate is April 5, 1987? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_2226817_2" WHERE "original_air_date"='April 5, 1987'; | 1-2226817-2 |
Who directed the title "peggy sue got work"? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_2226817_2" WHERE "title"='\"Peggy Sue Got Work\"'; | 1-2226817-2 |
Who directed when the production code is 1.02? | CREATE TABLE "table1_2226817_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_2226817_2" WHERE "production_code"='1.02'; | 1-2226817-2 |
Name the production code for november 27, 1988 | CREATE TABLE "table1_2226817_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "production_code" FROM "table1_2226817_4" WHERE "original_air_date"='November 27, 1988'; | 1-2226817-4 |
Name the original air date for 3.04 production code | CREATE TABLE "table1_2226817_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_2226817_4" WHERE "production_code"='3.04'; | 1-2226817-4 |
Name who wrote the episode that aired april 9, 1989 | CREATE TABLE "table1_2226817_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_2226817_4" WHERE "original_air_date"='April 9, 1989'; | 1-2226817-4 |
Name the number of number in season for 3.09 | CREATE TABLE "table1_2226817_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("no_in_season") FROM "table1_2226817_4" WHERE "production_code"='3.09'; | 1-2226817-4 |
when was the episode premiere if the production code is 11.19? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("original_air_date") FROM "table1_2226817_12" WHERE "production_code"='11.19'; | 1-2226817-12 |
what is the name of the episode whose premiere was in march 2, 1997? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_2226817_12" WHERE "original_air_date"='March 2, 1997'; | 1-2226817-12 |
what is the name of the episode when the production code is 11.01? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_2226817_12" WHERE "production_code"='11.01'; | 1-2226817-12 |
what is the name of the episode if the production code is 11.12? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_2226817_12" WHERE "production_code"='11.12'; | 1-2226817-12 |
how many episodes has been directed by Mark K. Samuels ? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("no_in_series") FROM "table1_2226817_12" WHERE "directed_by"='Mark K. Samuels'; | 1-2226817-12 |
what is the number of the episode in series that is called "breaking up is easy to do (part 1)"? | CREATE TABLE "table1_2226817_12" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "no_in_series" FROM "table1_2226817_12" WHERE "title"='\"Breaking Up Is Easy to Do (Part 1)\"'; | 1-2226817-12 |
Who directed the title "the razor's edge"? | CREATE TABLE "table1_2226817_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_2226817_3" WHERE "title"='\"The Razor''s Edge\"'; | 1-2226817-3 |
Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker? | CREATE TABLE "table1_2226817_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_2226817_3" WHERE "written_by"='Michael G. Moye & Ron Leavitt & J. Stanford Parker'; | 1-2226817-3 |
What are all the production codes of episodes written by Michael G. Moye? | CREATE TABLE "table1_2226817_8" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "production_code" FROM "table1_2226817_8" WHERE "written_by"='Michael G. Moye'; | 1-2226817-8 |
Who is the writer of episode 13? | CREATE TABLE "table1_2226817_8" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("written_by") FROM "table1_2226817_8" WHERE "no_in_season"=13; | 1-2226817-8 |
Which series number has the production code 7.07? | CREATE TABLE "table1_2226817_8" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("no_in_series") FROM "table1_2226817_8" WHERE "production_code"='7.07'; | 1-2226817-8 |
How many seasons have the production code 7.01 for an episode? | CREATE TABLE "table1_2226817_8" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MAX("no_in_season") FROM "table1_2226817_8" WHERE "production_code"='7.01'; | 1-2226817-8 |
How many episodes in the series are from season 12? | CREATE TABLE "table1_2226817_8" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "no_in_series" FROM "table1_2226817_8" WHERE "no_in_season"=12; | 1-2226817-8 |
How many seasons had episode 158? | CREATE TABLE "table1_2226817_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MIN("no_in_season") FROM "table1_2226817_9" WHERE "no_in_series"=158; | 1-2226817-9 |
What is the production code of the episode directed by Stacie Lipp? | CREATE TABLE "table1_2226817_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "production_code" FROM "table1_2226817_9" WHERE "written_by"='Stacie Lipp'; | 1-2226817-9 |
What is the name of episode 165? | CREATE TABLE "table1_2226817_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_2226817_9" WHERE "no_in_series"=165; | 1-2226817-9 |
How many episodes have the production code 8.04 | CREATE TABLE "table1_2226817_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("directed_by") FROM "table1_2226817_9" WHERE "production_code"='8.04'; | 1-2226817-9 |
What is the Alpha 2 code for the area also known as TCA? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "alpha_2_code" FROM "officially_assigned_code_elements" WHERE "alpha_3_code"='TCA'; | 1-222771-1 |
What is the Alpha 3 code for the area also known as FO? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "alpha_3_code" FROM "officially_assigned_code_elements" WHERE "alpha_2_code"='FO'; | 1-222771-1 |
What is the alpha 2 code for the area also known as NZL? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "alpha_2_code" FROM "officially_assigned_code_elements" WHERE "alpha_3_code"='NZL'; | 1-222771-1 |
What is the ISO for South Sudan? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "iso_3166_2_codes" FROM "officially_assigned_code_elements" WHERE "english_short_name_upper_lower_case"='South Sudan'; | 1-222771-1 |
What is the Alpha 2 code for Papua New Guinea? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "alpha_2_code" FROM "officially_assigned_code_elements" WHERE "english_short_name_upper_lower_case"='Papua New Guinea'; | 1-222771-1 |
What is the number reference for LIE? | CREATE TABLE "officially_assigned_code_elements" (
"english_short_name_upper_lower_case" text,
"alpha_2_code" text,
"alpha_3_code" text,
"numeric_code" real,
"iso_3166_2_codes" text
); | SELECT "numeric_code" FROM "officially_assigned_code_elements" WHERE "alpha_3_code"='LIE'; | 1-222771-1 |
How many launch dates are there for digital transmission? | CREATE TABLE "free_to_air_television" (
"ch" text,
"channel" text,
"channel_content" text,
"transmission" text,
"format" text,
"launch_date" text,
"licence" text
); | SELECT COUNT("launch_date") FROM "free_to_air_television" WHERE "transmission"='Digital'; | 1-22274142-1 |
Who wrote the title with production code 7acx14? | CREATE TABLE "table1_22269839_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
); | SELECT "written_by" FROM "table1_22269839_1" WHERE "production_code"='7ACX14'; | 1-22269839-1 |
Who directed the title written by cherry chevapravatdumrong? | CREATE TABLE "table1_22269839_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
); | SELECT "directed_by" FROM "table1_22269839_1" WHERE "written_by"='Cherry Chevapravatdumrong'; | 1-22269839-1 |
Who wrote the title with the production code is 7acx08? | CREATE TABLE "table1_22269839_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
); | SELECT "written_by" FROM "table1_22269839_1" WHERE "production_code"='7ACX08'; | 1-22269839-1 |
Who directed the episode written by patrick meighan? | CREATE TABLE "table1_22269839_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
); | SELECT "directed_by" FROM "table1_22269839_1" WHERE "written_by"='Patrick Meighan'; | 1-22269839-1 |
When is every date that control site condition or owner is machine shop on Martin Dr.? | CREATE TABLE "wisconsin" (
"code_location" text,
"missile_type" text,
"defense_area" text,
"dates" text,
"control_site_condition_owner" text,
"launch_site_condition_owner" text
); | SELECT "dates" FROM "wisconsin" WHERE "control_site_condition_owner"='machine shop on Martin Dr.'; | 1-22282917-26 |
What is every missile type with a code and location of M-20 Harbor Drive? | CREATE TABLE "wisconsin" (
"code_location" text,
"missile_type" text,
"defense_area" text,
"dates" text,
"control_site_condition_owner" text,
"launch_site_condition_owner" text
); | SELECT "missile_type" FROM "wisconsin" WHERE "code_location"='M-20 Harbor Drive'; | 1-22282917-26 |
What is every code and location where the launch site condition and owner is obliterated? | CREATE TABLE "wisconsin" (
"code_location" text,
"missile_type" text,
"defense_area" text,
"dates" text,
"control_site_condition_owner" text,
"launch_site_condition_owner" text
); | SELECT "code_location" FROM "wisconsin" WHERE "launch_site_condition_owner"='Obliterated'; | 1-22282917-26 |
What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings? | CREATE TABLE "wisconsin" (
"code_location" text,
"missile_type" text,
"defense_area" text,
"dates" text,
"control_site_condition_owner" text,
"launch_site_condition_owner" text
); | SELECT "control_site_condition_owner" FROM "wisconsin" WHERE "launch_site_condition_owner"='lakefront office buildings'; | 1-22282917-26 |
Which team had an outgoing manager of Behtash Fariba? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "team" FROM "managerial_changes" WHERE "outgoing_manager"='Behtash Fariba'; | 1-22297140-3 |
Which team had a manager who was replaced by Faraz Kamalvand? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='Faraz Kamalvand'; | 1-22297140-3 |
Which outgoing manager was replaced by Jafar Fatahi? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='Jafar Fatahi'; | 1-22297140-3 |
Which team had a manager replaced by Ebrahim Talebi? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='Ebrahim Talebi'; | 1-22297140-3 |
What was the date in which Behtash Fariba left his team? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Behtash Fariba'; | 1-22297140-3 |
What was the manner of leaving the team for the manager of Gostaresh Foolad? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Gostaresh Foolad'; | 1-22297140-3 |
How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009? | CREATE TABLE "comparison_of_county_community_colleges_" (
"college" text,
"2007_headcount" real,
"2007_2008_credit_hours" real,
"county_population_18_yrs" real,
"penetration_in_terms_of_enrollment_per_1000_adults" real,
"in_county_tuition_per_credit_hour_fall_2009" text
); | SELECT "in_county_tuition_per_credit_hour_fall_2009" FROM "comparison_of_county_community_colleges_" WHERE "college"='Gloucester'; | 1-22308881-2 |
How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009? | CREATE TABLE "comparison_of_county_community_colleges_" (
"college" text,
"2007_headcount" real,
"2007_2008_credit_hours" real,
"county_population_18_yrs" real,
"penetration_in_terms_of_enrollment_per_1000_adults" real,
"in_county_tuition_per_credit_hour_fall_2009" text
); | SELECT "in_county_tuition_per_credit_hour_fall_2009" FROM "comparison_of_county_community_colleges_" WHERE "college"='Mercer'; | 1-22308881-2 |
What is the biggest number for county population 18 years+? | CREATE TABLE "comparison_of_county_community_colleges_" (
"college" text,
"2007_headcount" real,
"2007_2008_credit_hours" real,
"county_population_18_yrs" real,
"penetration_in_terms_of_enrollment_per_1000_adults" real,
"in_county_tuition_per_credit_hour_fall_2009" text
); | SELECT MAX("county_population_18_yrs") FROM "comparison_of_county_community_colleges_"; | 1-22308881-2 |
Who was the replacement manager for the vacancy of 12 Dec 2009? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009'; | 1-22297198-3 |
Who was the replacement manager for the vacancy of 12 Dec 2009? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009'; | 1-22297198-3 |
What team did Alireza mansourian leave? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "team" FROM "managerial_changes" WHERE "outgoing_manager"='Alireza Mansourian'; | 1-22297198-3 |
Why did Majid bagherinia leave? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Majid Bagherinia'; | 1-22297198-3 |
What team did a manager leave on 12 Dec 2009 | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "team" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009'; | 1-22297198-3 |
How many teams did Farhad Kazemi leave? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT COUNT("team") FROM "managerial_changes" WHERE "outgoing_manager"='Farhad Kazemi'; | 1-22297198-3 |
If the school is Rend Lake College, what is the team name? | CREATE TABLE "current_schools_in_the_grac_and_general_" (
"school" text,
"location" text,
"team_name" text,
"colors" text,
"varsity_teams" real,
"njcaa_championships" real
); | SELECT "team_name" FROM "current_schools_in_the_grac_and_general_" WHERE "school"='Rend Lake College'; | 1-22319599-1 |
What is the minimum possible for the NJCAA championships? | CREATE TABLE "current_schools_in_the_grac_and_general_" (
"school" text,
"location" text,
"team_name" text,
"colors" text,
"varsity_teams" real,
"njcaa_championships" real
); | SELECT MIN("njcaa_championships") FROM "current_schools_in_the_grac_and_general_"; | 1-22319599-1 |
If the varsity team is 6, what is the location? | CREATE TABLE "current_schools_in_the_grac_and_general_" (
"school" text,
"location" text,
"team_name" text,
"colors" text,
"varsity_teams" real,
"njcaa_championships" real
); | SELECT "location" FROM "current_schools_in_the_grac_and_general_" WHERE "varsity_teams"=6; | 1-22319599-1 |
If the school is John A. Logan College, what are the colors? | CREATE TABLE "current_schools_in_the_grac_and_general_" (
"school" text,
"location" text,
"team_name" text,
"colors" text,
"varsity_teams" real,
"njcaa_championships" real
); | SELECT "colors" FROM "current_schools_in_the_grac_and_general_" WHERE "school"='John A. Logan College'; | 1-22319599-1 |
What is the minimum possible NJCAA championships? | CREATE TABLE "current_schools_in_the_grac_and_general_" (
"school" text,
"location" text,
"team_name" text,
"colors" text,
"varsity_teams" real,
"njcaa_championships" real
); | SELECT MIN("njcaa_championships") FROM "current_schools_in_the_grac_and_general_"; | 1-22319599-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.