question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
how many porphyria have substrate δ-aminolevulinic acid
CREATE TABLE "biosynthesis" ( "enzyme" text, "location" text, "substrate" text, "product" text, "chromosome" text, "ec" text, "omim" real, "porphyria" text );
SELECT COUNT("porphyria") FROM "biosynthesis" WHERE "substrate"='δ-Aminolevulinic acid';
1-182499-1
give the location of subtrate coproporphyrinogen iii
CREATE TABLE "biosynthesis" ( "enzyme" text, "location" text, "substrate" text, "product" text, "chromosome" text, "ec" text, "omim" real, "porphyria" text );
SELECT "location" FROM "biosynthesis" WHERE "substrate"='Coproporphyrinogen III';
1-182499-1
Who were the authors of episode having production code 3t7573?
CREATE TABLE "table1_18274425_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_18274425_1" WHERE "production_code"='3T7573';
1-18274425-1
How many episodes had a viewership of 2.65 million?
CREATE TABLE "table1_18274425_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 COUNT("no_in_season") FROM "table1_18274425_1" WHERE "u_s_viewers_millions"='2.65';
1-18274425-1
Who were the director/s of episodes written by Mike Daniels?
CREATE TABLE "table1_18274425_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_18274425_1" WHERE "written_by"='Mike Daniels';
1-18274425-1
How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Nina Ricci Alagao';
1-1825751-4
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "second_runner_up" FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';
1-1825751-4
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "binibining_pilipinas_international" FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Gionna Cabrera';
1-1825751-4
How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Maria Karla Bautista';
1-1825751-4
Who is the second runner up when Janina San Miguel won binibining pilipinas-world?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT COUNT("second_runner_up") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';
1-1825751-4
When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?
CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT COUNT("miss_universe_philippines") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_international"='Margaret Ann Bayot';
1-1825751-4
What's the minimal number of population served?
CREATE TABLE "plants" ( "location" text, "partner" text, "construction_start" text, "inauguration_date" text, "population_served" real, "design_flow_lpm" real );
SELECT MIN("population_served") FROM "plants";
1-18268930-1
Who's the partner at Tamara, Hon?
CREATE TABLE "plants" ( "location" text, "partner" text, "construction_start" text, "inauguration_date" text, "population_served" real, "design_flow_lpm" real );
SELECT "partner" FROM "plants" WHERE "location"='Tamara, HON';
1-18268930-1
How many votes Khuzestan were there when the percentage was 34.50?
CREATE TABLE "table1_1827900_1" ( "candidates" text, "votes_khuzestan" real, "pct_of_votes_khuzestan" text, "votes_nationally" real, "pct_of_votes_nationally" text );
SELECT MIN("votes_khuzestan") FROM "table1_1827900_1" WHERE "pct_of_votes_khuzestan"='34.50';
1-1827900-1
How many figures for votes Khuzestan were there when the percentage was 34.50?
CREATE TABLE "table1_1827900_1" ( "candidates" text, "votes_khuzestan" real, "pct_of_votes_khuzestan" text, "votes_nationally" real, "pct_of_votes_nationally" text );
SELECT COUNT("votes_khuzestan") FROM "table1_1827900_1" WHERE "pct_of_votes_khuzestan"='34.50';
1-1827900-1
What was the percentage of national votes for Mahmoud Ahmadinejad?
CREATE TABLE "table1_1827900_1" ( "candidates" text, "votes_khuzestan" real, "pct_of_votes_khuzestan" text, "votes_nationally" real, "pct_of_votes_nationally" text );
SELECT "pct_of_votes_nationally" FROM "table1_1827900_1" WHERE "candidates"='Mahmoud Ahmadinejad';
1-1827900-1
Name the revenue for eps being 8.9
CREATE TABLE "senior_plc_financial_results" ( "year_to_april" real, "revenue_million" text, "ebit_m" text, "net_profit_m" text, "earnings_per_share_p" text );
SELECT "revenue_million" FROM "senior_plc_financial_results" WHERE "earnings_per_share_p"='8.9';
1-18304259-1
Name the total number of year to april for ebit being 24.5
CREATE TABLE "senior_plc_financial_results" ( "year_to_april" real, "revenue_million" text, "ebit_m" text, "net_profit_m" text, "earnings_per_share_p" text );
SELECT COUNT("year_to_april") FROM "senior_plc_financial_results" WHERE "ebit_m"='24.5';
1-18304259-1
Name the eps for net profit being 39.2
CREATE TABLE "senior_plc_financial_results" ( "year_to_april" real, "revenue_million" text, "ebit_m" text, "net_profit_m" text, "earnings_per_share_p" text );
SELECT "earnings_per_share_p" FROM "senior_plc_financial_results" WHERE "net_profit_m"='39.2';
1-18304259-1
Name the ebit for eps being 10.6
CREATE TABLE "senior_plc_financial_results" ( "year_to_april" real, "revenue_million" text, "ebit_m" text, "net_profit_m" text, "earnings_per_share_p" text );
SELECT "ebit_m" FROM "senior_plc_financial_results" WHERE "earnings_per_share_p"='10.6';
1-18304259-1
What are the population densities of all communes with an are of 28.3 sq.km.?
CREATE TABLE "communes" ( "commune" text, "area_km_2" text, "2002_population" real, "pop_density_km_2" text, "municipality_website" text );
SELECT "pop_density_km_2" FROM "communes" WHERE "area_km_2"='28.3';
1-1828368-1
What commune has an area of 12.4 sq.km.?
CREATE TABLE "communes" ( "commune" text, "area_km_2" text, "2002_population" real, "pop_density_km_2" text, "municipality_website" text );
SELECT "commune" FROM "communes" WHERE "area_km_2"='12.4';
1-1828368-1
What commune had a 2002 population of 130394?
CREATE TABLE "communes" ( "commune" text, "area_km_2" text, "2002_population" real, "pop_density_km_2" text, "municipality_website" text );
SELECT "commune" FROM "communes" WHERE "2002_population"=130394;
1-1828368-1
Which city has a resolution that is negotiated exile in Austria?
CREATE TABLE "references" ( "name" text, "notability" text, "reason_for_seeking_refuge" text, "country" text, "city" text, "missions_country" text, "start_date" text, "end_date" text, "resolution" text );
SELECT "city" FROM "references" WHERE "resolution"='Negotiated exile in Austria';
1-18299148-1
Which city has the missions city of Australia?
CREATE TABLE "references" ( "name" text, "notability" text, "reason_for_seeking_refuge" text, "country" text, "city" text, "missions_country" text, "start_date" text, "end_date" text, "resolution" text );
SELECT "city" FROM "references" WHERE "missions_country"='Australia';
1-18299148-1
How many missions countries have notability with president of burundi?
CREATE TABLE "references" ( "name" text, "notability" text, "reason_for_seeking_refuge" text, "country" text, "city" text, "missions_country" text, "start_date" text, "end_date" text, "resolution" text );
SELECT COUNT("missions_country") FROM "references" WHERE "notability"='President of Burundi';
1-18299148-1
What is the nickname of the team whose 2013/2014 enrollment is 436?
CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real );
SELECT "nickname_s" FROM "cooperative_programs" WHERE "enrollment_2013_14"=436;
1-18304058-2
What is the name of the team from the Elverado Trico school in football?
CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real );
SELECT "team_name" FROM "cooperative_programs" WHERE "sports"='Football' AND "schools"='Elverado Trico';
1-18304058-2
How many years of kindergarten is provided in Ticino?
CREATE TABLE "cantonal_school_systems" ( "canton" text, "years_of_kindergarten" real, "years_of_kindergarten_provided" text, "years_of_kindergarten_legally_required" text, "length_of_primary_school" real, "length_of_mandatory_secondary_school" real, "separate_secondary_schools" text, "cooperative_secondary_schools" text, "integrated_secondary_schools" text );
SELECT "years_of_kindergarten_provided" FROM "cantonal_school_systems" WHERE "canton"='Ticino';
1-1831309-1
How many years is kindergarten legally requited in Zug?
CREATE TABLE "cantonal_school_systems" ( "canton" text, "years_of_kindergarten" real, "years_of_kindergarten_provided" text, "years_of_kindergarten_legally_required" text, "length_of_primary_school" real, "length_of_mandatory_secondary_school" real, "separate_secondary_schools" text, "cooperative_secondary_schools" text, "integrated_secondary_schools" text );
SELECT "years_of_kindergarten_legally_required" FROM "cantonal_school_systems" WHERE "canton"='Zug';
1-1831309-1
Are there integrated secondary schools in Uri?
CREATE TABLE "cantonal_school_systems" ( "canton" text, "years_of_kindergarten" real, "years_of_kindergarten_provided" text, "years_of_kindergarten_legally_required" text, "length_of_primary_school" real, "length_of_mandatory_secondary_school" real, "separate_secondary_schools" text, "cooperative_secondary_schools" text, "integrated_secondary_schools" text );
SELECT "integrated_secondary_schools" FROM "cantonal_school_systems" WHERE "canton"='Uri';
1-1831309-1
What is the longest length of mandatory secondary school?
CREATE TABLE "cantonal_school_systems" ( "canton" text, "years_of_kindergarten" real, "years_of_kindergarten_provided" text, "years_of_kindergarten_legally_required" text, "length_of_primary_school" real, "length_of_mandatory_secondary_school" real, "separate_secondary_schools" text, "cooperative_secondary_schools" text, "integrated_secondary_schools" text );
SELECT MAX("length_of_mandatory_secondary_school") FROM "cantonal_school_systems";
1-1831309-1
Are there integrated secondary schools in Basel-Stadt?
CREATE TABLE "cantonal_school_systems" ( "canton" text, "years_of_kindergarten" real, "years_of_kindergarten_provided" text, "years_of_kindergarten_legally_required" text, "length_of_primary_school" real, "length_of_mandatory_secondary_school" real, "separate_secondary_schools" text, "cooperative_secondary_schools" text, "integrated_secondary_schools" text );
SELECT "integrated_secondary_schools" FROM "cantonal_school_systems" WHERE "canton"='Basel-Stadt';
1-1831309-1
Who wrote the story that is cover date 19 October 1985?
CREATE TABLE "table1_18305523_2" ( "num" real, "cover_date" text, "story_title" text, "writer_s" text, "artist_s" text, "letterer_s" text, "colourist_s" text, "editor_s" text, "comments" text );
SELECT "writer_s" FROM "table1_18305523_2" WHERE "cover_date"='19 October 1985';
1-18305523-2
How many cover dates does the story "Devastation Derby! (part 1)" have?
CREATE TABLE "table1_18305523_2" ( "num" real, "cover_date" text, "story_title" text, "writer_s" text, "artist_s" text, "letterer_s" text, "colourist_s" text, "editor_s" text, "comments" text );
SELECT COUNT("cover_date") FROM "table1_18305523_2" WHERE "story_title"='DEVASTATION DERBY! (Part 1)';
1-18305523-2
What is the comment on the issue dated 14 March 1987?
CREATE TABLE "table1_18305523_2" ( "num" real, "cover_date" text, "story_title" text, "writer_s" text, "artist_s" text, "letterer_s" text, "colourist_s" text, "editor_s" text, "comments" text );
SELECT "comments" FROM "table1_18305523_2" WHERE "cover_date"='14 March 1987';
1-18305523-2
What is the title of the issue where the art was done by Barry Kitson and Farmer?
CREATE TABLE "table1_18305523_2" ( "num" real, "cover_date" text, "story_title" text, "writer_s" text, "artist_s" text, "letterer_s" text, "colourist_s" text, "editor_s" text, "comments" text );
SELECT "story_title" FROM "table1_18305523_2" WHERE "artist_s"='Barry Kitson and Farmer';
1-18305523-2
What is the minimum number which is for title The Enemy Within part 1?
CREATE TABLE "table1_18305523_1" ( "num" real, "cover_date" text, "story_title" text, "writer_s" text, "artist_s" text, "letterer_s" text, "colourist_s" text, "editor_s" text, "comments" text );
SELECT MIN("num") FROM "table1_18305523_1";
1-18305523-1
what is the number of hydroxymatairesinol where sesamin is 62724?
CREATE TABLE "food_sources" ( "foodstuff" text, "pinoresinol" real, "syringaresinol" real, "sesamin" text, "lariciresinol" real, "secoisolariciresinol" real, "matairesinol" real, "hydroxymatairesinol" real );
SELECT "hydroxymatairesinol" FROM "food_sources" WHERE "sesamin"='62724';
1-1831262-2
what is the total number of sesamin were secoisolariciresinol is 240?
CREATE TABLE "food_sources" ( "foodstuff" text, "pinoresinol" real, "syringaresinol" real, "sesamin" text, "lariciresinol" real, "secoisolariciresinol" real, "matairesinol" real, "hydroxymatairesinol" real );
SELECT "sesamin" FROM "food_sources" WHERE "secoisolariciresinol"=240;
1-1831262-2
what is the maximum number of pinorinol in wheat bran?
CREATE TABLE "food_sources" ( "foodstuff" text, "pinoresinol" real, "syringaresinol" real, "sesamin" text, "lariciresinol" real, "secoisolariciresinol" real, "matairesinol" real, "hydroxymatairesinol" real );
SELECT MAX("pinoresinol") FROM "food_sources" WHERE "foodstuff"='Wheat bran';
1-1831262-2
how much sesamin is in sesame seed?
CREATE TABLE "food_sources" ( "foodstuff" text, "pinoresinol" real, "syringaresinol" real, "sesamin" text, "lariciresinol" real, "secoisolariciresinol" real, "matairesinol" real, "hydroxymatairesinol" real );
SELECT "sesamin" FROM "food_sources" WHERE "foodstuff"='Sesame seed';
1-1831262-2
what is the minimum number is lariciresinol where matairesinol number is 440?
CREATE TABLE "food_sources" ( "foodstuff" text, "pinoresinol" real, "syringaresinol" real, "sesamin" text, "lariciresinol" real, "secoisolariciresinol" real, "matairesinol" real, "hydroxymatairesinol" real );
SELECT MIN("lariciresinol") FROM "food_sources" WHERE "matairesinol"=440;
1-1831262-2
What was the calling for the 18.42 arrival time?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "calling_at" FROM "table1_18332845_2" WHERE "arrival"='18.42';
1-18332845-2
What was the arrival for Wansford, Peterborough East?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "arrival" FROM "table1_18332845_2" WHERE "calling_at"='Wansford, Peterborough East';
1-18332845-2
What was the departure time when the arrival was 14.40?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18332845_2" WHERE "arrival"='14.40';
1-18332845-2
What is the departure for Peterborough East whose arrival time is 12.40?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18332845_2" WHERE "going_to"='Peterborough East' AND "arrival"='12.40';
1-18332845-2
What is the calling at for the 09.50 departure?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "calling_at" FROM "table1_18332845_2" WHERE "departure"='09.50';
1-18332845-2
Where is the train going to when departing at 20.35?
CREATE TABLE "table1_18332845_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "going_to" FROM "table1_18332845_2" WHERE "departure"='20.35';
1-18332845-2
Name the most played for 140 plus is 13
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT MAX("played") FROM "statistics" WHERE "140"=13;
1-18317531-1
Name the 3 dart average for michael van gerwen
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT "3_dart_average" FROM "statistics" WHERE "player"='Michael van Gerwen';
1-18317531-1
how many callings of trains arriving at 09.06
CREATE TABLE "table1_18333678_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT COUNT("calling_at") FROM "table1_18333678_2" WHERE "arrival"='09.06';
1-18333678-2
what is the operator of trains arriving at 13.39
CREATE TABLE "table1_18333678_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "operator" FROM "table1_18333678_2" WHERE "arrival"='13.39';
1-18333678-2
when does the train departuring at 11.35 arrive
CREATE TABLE "table1_18333678_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "arrival" FROM "table1_18333678_2" WHERE "departure"='11.35';
1-18333678-2
when does the train arriving at bourne at 11.45 departure
CREATE TABLE "table1_18333678_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18333678_2" WHERE "going_to"='Bourne' AND "arrival"='11.45';
1-18333678-2
when does the train arriving at stamford east at 11.45 departure
CREATE TABLE "table1_18333678_2" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18333678_2" WHERE "arrival"='11.45' AND "going_to"='Stamford East';
1-18333678-2
How many clubs are remaining when the winners from the previous round totals 4?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "clubs_remaining" FROM "teams" WHERE "winners_from_previous_round"='4';
1-18328569-1
What is the round where winners from the previous round totals 8?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "round" FROM "teams" WHERE "winners_from_previous_round"='8';
1-18328569-1
How many clubs remain in the fourth round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT MIN("clubs_remaining") FROM "teams" WHERE "round"='Fourth round';
1-18328569-1
How many new entries started in the round where winners from the previous round is 32?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "new_entries_this_round" FROM "teams" WHERE "winners_from_previous_round"='32';
1-18328569-1
How many new entries started in the quarter finals?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "new_entries_this_round" FROM "teams" WHERE "round"='Quarter finals';
1-18328569-1
How many new entries started in the round where winners from the previous round is 16?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "new_entries_this_round" FROM "teams" WHERE "winners_from_previous_round"='16';
1-18328569-1
Who wrote "episode 10"?
CREATE TABLE "table1_18335117_4" ( "no_overall" real, "no_in_series" real, "title" text, "director" text, "writer" text, "original_air_date" text, "production_code" real );
SELECT "writer" FROM "table1_18335117_4" WHERE "title"='\"Episode 10\"';
1-18335117-4
Who wrote "episode 4"?
CREATE TABLE "table1_18335117_4" ( "no_overall" real, "no_in_series" real, "title" text, "director" text, "writer" text, "original_air_date" text, "production_code" real );
SELECT "writer" FROM "table1_18335117_4" WHERE "title"='\"Episode 4\"';
1-18335117-4
Who directed "episode 5"?
CREATE TABLE "table1_18335117_4" ( "no_overall" real, "no_in_series" real, "title" text, "director" text, "writer" text, "original_air_date" text, "production_code" real );
SELECT "director" FROM "table1_18335117_4" WHERE "title"='\"Episode 5\"';
1-18335117-4
Who was the train operator when the train departed at 11.02 in 1922?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "operator" FROM "table1_18365784_3" WHERE "departure"='11.02';
1-18365784-3
What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "going_to" FROM "table1_18365784_3" WHERE "calling_at"='Boston, Sleaford, Nottingham Victoria';
1-18365784-3
What was the departure time of the train going to Boston?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18365784_3" WHERE "going_to"='Boston';
1-18365784-3
What was the arrival time of the train that departed at 18.16?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "arrival" FROM "table1_18365784_3" WHERE "departure"='18.16';
1-18365784-3
What was the departure time of the train that arrived at 21.26?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "departure" FROM "table1_18365784_3" WHERE "arrival"='21.26';
1-18365784-3
What was the 'calling at' station of the train that departed on 18.16?
CREATE TABLE "table1_18365784_3" ( "departure" text, "going_to" text, "calling_at" text, "arrival" text, "operator" text );
SELECT "calling_at" FROM "table1_18365784_3" WHERE "departure"='18.16';
1-18365784-3
Name the original air date for barnaby southcomb for charlie martin
CREATE TABLE "table1_18335117_5" ( "no_overall" real, "no_in_series" real, "title" text, "director" text, "writer" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_18335117_5" WHERE "director"='Barnaby Southcomb' AND "writer"='Charlie Martin';
1-18335117-5
Name the number in series for number 38
CREATE TABLE "table1_18335117_5" ( "no_overall" real, "no_in_series" real, "title" text, "director" text, "writer" text, "original_air_date" text, "production_code" real );
SELECT MIN("no_in_series") FROM "table1_18335117_5" WHERE "no_overall"=38;
1-18335117-5
What is the original air date of the episode with the production code 1115?
CREATE TABLE "table1_18367694_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_18367694_2" WHERE "production_code"=1115;
1-18367694-2
who directed the episode with the original air date of November 22, 1989?
CREATE TABLE "table1_18367694_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "directed_by" FROM "table1_18367694_2" WHERE "original_air_date"='November 22, 1989';
1-18367694-2
when deland is the fcsl team and 2008 is the year played who is the mlb team?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT "mlb_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "years_played"='2008' AND "fcsl_team"='DeLand';
1-18373863-2
When toronto blue jays are the mlb team who are the fscl team?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT "fcsl_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "mlb_team"='Toronto Blue Jays';
1-18373863-2
When 2005 is the year played what is the lowest year drafted?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT MIN("year_drafted") FROM "florida_league_alumni_top_5_round_picks_" WHERE "years_played"='2005';
1-18373863-2
When winter pines is the fcsl team how many mlb teams are there?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT COUNT("mlb_team") FROM "florida_league_alumni_top_5_round_picks_" WHERE "fcsl_team"='Winter Pines';
1-18373863-2
When 2006 is the year played and winter park is the fcsl team who is the player?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT "player" FROM "florida_league_alumni_top_5_round_picks_" WHERE "fcsl_team"='Winter Park' AND "years_played"='2006';
1-18373863-2
Which operators offer a genre of music?
CREATE TABLE "table1_1837570_1" ( "frequency_in_kuala_lumpur_selangor_putrajaya_and_environs" text, "station" text, "operator" text, "language" text, "genre" text, "coverage_area" text );
SELECT "operator" FROM "table1_1837570_1" WHERE "genre"='music';
1-1837570-1
Which languages are offered in the coverage area of klang petaling jaya shah alam?
CREATE TABLE "table1_1837570_1" ( "frequency_in_kuala_lumpur_selangor_putrajaya_and_environs" text, "station" text, "operator" text, "language" text, "genre" text, "coverage_area" text );
SELECT "language" FROM "table1_1837570_1" WHERE "coverage_area"='Klang Petaling Jaya Shah Alam';
1-1837570-1
Name the macedonian for il/elle avait entendu
CREATE TABLE "table_of_forms" ( "english" text, "german" text, "dutch" text, "latin" text, "romanian" text, "portuguese" text, "spanish" text, "italian" text, "french" text, "greek_modern" text, "bulgarian" text, "macedonian" text, "polish_extinct" text );
SELECT "macedonian" FROM "table_of_forms" WHERE "french"='il/elle avait entendu';
1-1841901-1
Name the greek modern for słyszałeś był / słyszałaś była
CREATE TABLE "table_of_forms" ( "english" text, "german" text, "dutch" text, "latin" text, "romanian" text, "portuguese" text, "spanish" text, "italian" text, "french" text, "greek_modern" text, "bulgarian" text, "macedonian" text, "polish_extinct" text );
SELECT "greek_modern" FROM "table_of_forms" WHERE "polish_extinct"='słyszałeś był / słyszałaś była';
1-1841901-1
Name the bulgarian for jullie hadden gehoord
CREATE TABLE "table_of_forms" ( "english" text, "german" text, "dutch" text, "latin" text, "romanian" text, "portuguese" text, "spanish" text, "italian" text, "french" text, "greek_modern" text, "bulgarian" text, "macedonian" text, "polish_extinct" text );
SELECT "bulgarian" FROM "table_of_forms" WHERE "dutch"='jullie hadden gehoord';
1-1841901-1
Name the english for j'avais entendu
CREATE TABLE "table_of_forms" ( "english" text, "german" text, "dutch" text, "latin" text, "romanian" text, "portuguese" text, "spanish" text, "italian" text, "french" text, "greek_modern" text, "bulgarian" text, "macedonian" text, "polish_extinct" text );
SELECT "english" FROM "table_of_forms" WHERE "french"='j''avais entendu';
1-1841901-1
What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers?
CREATE TABLE "table1_18424435_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "u_s_air_date" FROM "table1_18424435_4" WHERE "canadian_viewers_million"='1.452';
1-18424435-4
What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern?
CREATE TABLE "table1_18424435_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "no" FROM "table1_18424435_4" WHERE "directed_by"='Kelly Makin' AND "written_by"='Mark Ellis & Stephanie Morgenstern';
1-18424435-4
What is the maximum number of episodes in the series listed?
CREATE TABLE "table1_18424435_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT MAX("no") FROM "table1_18424435_4";
1-18424435-4
What is the total number of episodes listed with a production code of 306?
CREATE TABLE "table1_18424435_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT COUNT("num") FROM "table1_18424435_4" WHERE "production_code"=306;
1-18424435-4
Who directed the episode with a production code of 301?
CREATE TABLE "table1_18424435_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "directed_by" FROM "table1_18424435_4" WHERE "production_code"=301;
1-18424435-4
Who wrote the episodes watched by 1.816 million people in Canada?
CREATE TABLE "table1_18424435_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "written_by" FROM "table1_18424435_3" WHERE "canadian_viewers_million"='1.816';
1-18424435-3
Who wrote the episodes watched by 1.575 million people in Canada?
CREATE TABLE "table1_18424435_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "written_by" FROM "table1_18424435_3" WHERE "canadian_viewers_million"='1.575';
1-18424435-3
Who directed the episode aired on February 27, 2009?
CREATE TABLE "table1_18424435_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "directed_by" FROM "table1_18424435_3" WHERE "u_s_air_date"='February 27, 2009';
1-18424435-3
Which episodes had production code 217?
CREATE TABLE "table1_18424435_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "canadian_air_date" text, "u_s_air_date" text, "production_code" real, "canadian_viewers_million" text );
SELECT "title" FROM "table1_18424435_3" WHERE "production_code"=217;
1-18424435-3
For upper Arlington, what was the median household income?
CREATE TABLE "ohio_locations_ranked_by_per_capita_inco" ( "rank" real, "place" text, "county" text, "per_capita_income" text, "median_house_hold_income" text, "population" real, "number_of_households" real );
SELECT "median_house_hold_income" FROM "ohio_locations_ranked_by_per_capita_inco" WHERE "place"='Upper Arlington';
1-1840495-2
With a per capita income of $30,298, what was the total number of households?
CREATE TABLE "ohio_locations_ranked_by_per_capita_inco" ( "rank" real, "place" text, "county" text, "per_capita_income" text, "median_house_hold_income" text, "population" real, "number_of_households" real );
SELECT COUNT("number_of_households") FROM "ohio_locations_ranked_by_per_capita_inco" WHERE "per_capita_income"='$30,298';
1-1840495-2
If the population is 2188, what was the median household income?
CREATE TABLE "ohio_locations_ranked_by_per_capita_inco" ( "rank" real, "place" text, "county" text, "per_capita_income" text, "median_house_hold_income" text, "population" real, "number_of_households" real );
SELECT "median_house_hold_income" FROM "ohio_locations_ranked_by_per_capita_inco" WHERE "population"=2188;
1-1840495-2
For Pigeon Creek what is the per capita income?
CREATE TABLE "ohio_locations_ranked_by_per_capita_inco" ( "rank" real, "place" text, "county" text, "per_capita_income" text, "median_house_hold_income" text, "population" real, "number_of_households" real );
SELECT "per_capita_income" FROM "ohio_locations_ranked_by_per_capita_inco" WHERE "place"='Pigeon Creek';
1-1840495-2
If the median income is $57,407, what is the per capita income?
CREATE TABLE "ohio_locations_ranked_by_per_capita_inco" ( "rank" real, "place" text, "county" text, "per_capita_income" text, "median_house_hold_income" text, "population" real, "number_of_households" real );
SELECT "per_capita_income" FROM "ohio_locations_ranked_by_per_capita_inco" WHERE "median_house_hold_income"='$57,407';
1-1840495-2