question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What was the average speed (mph) for the racer who finished in 1:45:00?
|
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "average_speed_mph" FROM "table1_17802778_1" WHERE "race_time"='1:45:00';
|
1-17802778-1
|
How many total miles recorded for the racer who finished in 1:05:33?
|
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "miles_km" FROM "table1_17802778_1" WHERE "race_time"='1:05:33';
|
1-17802778-1
|
what episode # was titled "SWAT Kats Unplugged"?
|
CREATE TABLE "table1_17810099_3" (
"episode_num" text,
"season_num" real,
"title" text,
"writer_s" text,
"director" text,
"originalairdate" text
);
|
SELECT "episode_num" FROM "table1_17810099_3" WHERE "title"='\"SWAT Kats Unplugged\"';
|
1-17810099-3
|
what was the title of the episode 21a?
|
CREATE TABLE "table1_17810099_3" (
"episode_num" text,
"season_num" real,
"title" text,
"writer_s" text,
"director" text,
"originalairdate" text
);
|
SELECT "title" FROM "table1_17810099_3" WHERE "episode_num"='21a';
|
1-17810099-3
|
who wrote episode 14?
|
CREATE TABLE "table1_17810099_3" (
"episode_num" text,
"season_num" real,
"title" text,
"writer_s" text,
"director" text,
"originalairdate" text
);
|
SELECT "writer_s" FROM "table1_17810099_3" WHERE "episode_num"='14';
|
1-17810099-3
|
on what date did the episode titled "A Bright and Shiny Future" originally air?
|
CREATE TABLE "table1_17810099_3" (
"episode_num" text,
"season_num" real,
"title" text,
"writer_s" text,
"director" text,
"originalairdate" text
);
|
SELECT "originalairdate" FROM "table1_17810099_3" WHERE "title"='\"A Bright and Shiny Future\"';
|
1-17810099-3
|
Who many votes did E. Greenberg receive in Morris County?
|
CREATE TABLE "u_s_house_district_11" (
"county" text,
"precincts" text,
"e_greenberg" text,
"g_hager" text,
"t_wyka" text
);
|
SELECT COUNT("e_greenberg") FROM "u_s_house_district_11" WHERE "county"='Morris';
|
1-17820556-4
|
How many precincts are in the county where G. Hager received 19 (20%) votes?
|
CREATE TABLE "u_s_house_district_11" (
"county" text,
"precincts" text,
"e_greenberg" text,
"g_hager" text,
"t_wyka" text
);
|
SELECT "precincts" FROM "u_s_house_district_11" WHERE "g_hager"='19 (20%)';
|
1-17820556-4
|
Name the slope length for 1966 groundstation
|
CREATE TABLE "skilift_system" (
"name_or_route" text,
"type" text,
"elevation_groundstation" real,
"elevation_mountainstation" real,
"slope_length" real,
"capacity_in_persons_hour" real,
"construction_year_s" text
);
|
SELECT COUNT("slope_length") FROM "skilift_system" WHERE "elevation_groundstation"=1966;
|
1-17814458-1
|
Name the name or route for slope length being 336
|
CREATE TABLE "skilift_system" (
"name_or_route" text,
"type" text,
"elevation_groundstation" real,
"elevation_mountainstation" real,
"slope_length" real,
"capacity_in_persons_hour" real,
"construction_year_s" text
);
|
SELECT "name_or_route" FROM "skilift_system" WHERE "slope_length"=336;
|
1-17814458-1
|
Name the slope length for gondola
|
CREATE TABLE "skilift_system" (
"name_or_route" text,
"type" text,
"elevation_groundstation" real,
"elevation_mountainstation" real,
"slope_length" real,
"capacity_in_persons_hour" real,
"construction_year_s" text
);
|
SELECT MIN("slope_length") FROM "skilift_system" WHERE "type"='gondola';
|
1-17814458-1
|
Name the least capacity for persons hour for 1983
|
CREATE TABLE "skilift_system" (
"name_or_route" text,
"type" text,
"elevation_groundstation" real,
"elevation_mountainstation" real,
"slope_length" real,
"capacity_in_persons_hour" real,
"construction_year_s" text
);
|
SELECT MIN("capacity_in_persons_hour") FROM "skilift_system" WHERE "construction_year_s"='1983';
|
1-17814458-1
|
Who is the player of the round with 80 fixtures?
|
CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
);
|
SELECT "player_of_the_round" FROM "calendar" WHERE "number_of_fixtures"=80;
|
1-17814838-1
|
How many categories of new entries this round are there for the fourth round proper?
|
CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
);
|
SELECT COUNT("new_entries_this_round") FROM "calendar" WHERE "round"='Fourth Round Proper';
|
1-17814838-1
|
How many runner-ups were there when the show went to Japan?
|
CREATE TABLE "table1_178242_7" (
"season" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"international_destination" text
);
|
SELECT COUNT("runner_up") FROM "table1_178242_7" WHERE "international_destination"='Japan';
|
1-178242-7
|
How many won the prize when Regina was the runner-up?
|
CREATE TABLE "table1_178242_7" (
"season" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"international_destination" text
);
|
SELECT COUNT("winner") FROM "table1_178242_7" WHERE "runner_up"='Regina';
|
1-178242-7
|
Which season is it when Milouska was the show's mole ?
|
CREATE TABLE "table1_178242_7" (
"season" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"international_destination" text
);
|
SELECT "season" FROM "table1_178242_7" WHERE "the_mole"='Milouska';
|
1-178242-7
|
What were the requirements for the role played by Robert Austin in the original production?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT "actor_required" FROM "characters" WHERE "actor_in_original_production"='Robert Austin';
|
1-17827271-1
|
What actor played the "female, older" role in the original production?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT "actor_in_original_production" FROM "characters" WHERE "actor_required"='Female, older';
|
1-17827271-1
|
What FlatSpin actor played the same role as Robert Austin?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT "flat_spin" FROM "characters" WHERE "actor_in_original_production"='Robert Austin';
|
1-17827271-1
|
How many RolePlay actors played the role requiring a "male, younger" actor?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT COUNT("role_play") FROM "characters" WHERE "actor_required"='Male, younger';
|
1-17827271-1
|
How many RolePlay actors played the same role as FlatSpin's Tracy Taylor?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT COUNT("role_play") FROM "characters" WHERE "flat_spin"='Tracy Taylor';
|
1-17827271-1
|
What RolePlay actor played the same role Alison Pargeter played in the original production?
|
CREATE TABLE "characters" (
"actor_in_original_production" text,
"actor_required" text,
"game_plan" text,
"flat_spin" text,
"role_play" text
);
|
SELECT "role_play" FROM "characters" WHERE "actor_in_original_production"='Alison Pargeter';
|
1-17827271-1
|
What's the name of the church in Stavang?
|
CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
);
|
SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='Stavang';
|
1-178381-1
|
What's the name of the church in Stavang?
|
CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
);
|
SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='Stavang';
|
1-178381-1
|
What's the sub-parish (sokn) of Eikefjord?
|
CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
);
|
SELECT "sub_parish_sokn" FROM "churches_in_flora" WHERE "location_of_the_church"='Eikefjord';
|
1-178381-1
|
On how many locations is there a church named Askrova Bedehuskapell, built in 1957?
|
CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
);
|
SELECT COUNT("location_of_the_church") FROM "churches_in_flora" WHERE "year_built"='1957' AND "church_name"='Askrova bedehuskapell';
|
1-178381-1
|
In what parish is the Askrova Bedehuskapell church?
|
CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
);
|
SELECT "parish_prestegjeld" FROM "churches_in_flora" WHERE "church_name"='Askrova bedehuskapell';
|
1-178381-1
|
Which channel has the host Art Rooijakkers?
|
CREATE TABLE "table1_178242_1" (
"country_region" text,
"name" text,
"host_s" text,
"channel" text,
"premiere_aired" text,
"seasons" text
);
|
SELECT "channel" FROM "table1_178242_1" WHERE "host_s"='Art Rooijakkers';
|
1-178242-1
|
When did the program air on Vier?
|
CREATE TABLE "table1_178242_1" (
"country_region" text,
"name" text,
"host_s" text,
"channel" text,
"premiere_aired" text,
"seasons" text
);
|
SELECT "premiere_aired" FROM "table1_178242_1" WHERE "channel"='VIER';
|
1-178242-1
|
What is the title that aired from 17 may 2008 – 21 june 2008 on Nederland 3?
|
CREATE TABLE "table1_178242_1" (
"country_region" text,
"name" text,
"host_s" text,
"channel" text,
"premiere_aired" text,
"seasons" text
);
|
SELECT "name" FROM "table1_178242_1" WHERE "channel"='Nederland 3' AND "premiere_aired"='17 May 2008 – 21 June 2008';
|
1-178242-1
|
How many seasons did the show run in Poland?
|
CREATE TABLE "table1_178242_1" (
"country_region" text,
"name" text,
"host_s" text,
"channel" text,
"premiere_aired" text,
"seasons" text
);
|
SELECT "seasons" FROM "table1_178242_1" WHERE "country_region"='Poland';
|
1-178242-1
|
When 4744 is the avg. trips per mile (x1000) what is the current stock?
|
CREATE TABLE "table1_17839_1" (
"name" text,
"map_colour" text,
"first_operated" real,
"type" text,
"length" text,
"no_sta" real,
"current_stock" text,
"future_stock" text,
"trips_per_annum_1000" real,
"avg_trips_per_mile_1000" real
);
|
SELECT "current_stock" FROM "table1_17839_1" WHERE "avg_trips_per_mile_1000"=4744;
|
1-17839-1
|
When green is the map colour what is the future stock?
|
CREATE TABLE "table1_17839_1" (
"name" text,
"map_colour" text,
"first_operated" real,
"type" text,
"length" text,
"no_sta" real,
"current_stock" text,
"future_stock" text,
"trips_per_annum_1000" real,
"avg_trips_per_mile_1000" real
);
|
SELECT "future_stock" FROM "table1_17839_1" WHERE "map_colour"='Green';
|
1-17839-1
|
When turquoise is the map colour how many avg. trips per mile (×1000) are there?
|
CREATE TABLE "table1_17839_1" (
"name" text,
"map_colour" text,
"first_operated" real,
"type" text,
"length" text,
"no_sta" real,
"current_stock" text,
"future_stock" text,
"trips_per_annum_1000" real,
"avg_trips_per_mile_1000" real
);
|
SELECT COUNT("avg_trips_per_mile_1000") FROM "table1_17839_1" WHERE "map_colour"='Turquoise';
|
1-17839-1
|
When turquoise is the map colour what is the length?
|
CREATE TABLE "table1_17839_1" (
"name" text,
"map_colour" text,
"first_operated" real,
"type" text,
"length" text,
"no_sta" real,
"current_stock" text,
"future_stock" text,
"trips_per_annum_1000" real,
"avg_trips_per_mile_1000" real
);
|
SELECT "length" FROM "table1_17839_1" WHERE "map_colour"='Turquoise';
|
1-17839-1
|
What is the latest year a division was established?
|
CREATE TABLE "table1_1784514_1" (
"voivodeship_after_1569" text,
"capital" text,
"year_established" real,
"number_of_powiats" text,
"area_km_in_1590_lithuanian_category_articles_with_lithuanian_language_external_links" real
);
|
SELECT MAX("year_established") FROM "table1_1784514_1";
|
1-1784514-1
|
How many powiats have mstsislaw as a capital?
|
CREATE TABLE "table1_1784514_1" (
"voivodeship_after_1569" text,
"capital" text,
"year_established" real,
"number_of_powiats" text,
"area_km_in_1590_lithuanian_category_articles_with_lithuanian_language_external_links" real
);
|
SELECT "number_of_powiats" FROM "table1_1784514_1" WHERE "capital"='Mstsislaw';
|
1-1784514-1
|
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
|
CREATE TABLE "table1_1784514_1" (
"voivodeship_after_1569" text,
"capital" text,
"year_established" real,
"number_of_powiats" text,
"area_km_in_1590_lithuanian_category_articles_with_lithuanian_language_external_links" real
);
|
SELECT COUNT("capital") FROM "table1_1784514_1" WHERE "voivodeship_after_1569"='Brest Litovsk Voivodeship';
|
1-1784514-1
|
What is the latest year established that had 5 powiats?
|
CREATE TABLE "table1_1784514_1" (
"voivodeship_after_1569" text,
"capital" text,
"year_established" real,
"number_of_powiats" text,
"area_km_in_1590_lithuanian_category_articles_with_lithuanian_language_external_links" real
);
|
SELECT MAX("year_established") FROM "table1_1784514_1" WHERE "number_of_powiats"='5 powiats';
|
1-1784514-1
|
In what parish is the sub-parish fortun?
|
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT "parish_prestegjeld" FROM "churches_in_luster" WHERE "sub_parish_sogn"='Fortun';
|
1-178398-1
|
What is the sub-parish of the church located in Fortun?
|
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT "sub_parish_sogn" FROM "churches_in_luster" WHERE "location_of_the_church"='Fortun';
|
1-178398-1
|
What is the year that the oldest church was built in Jostedal?
|
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT MIN("year_built") FROM "churches_in_luster" WHERE "location_of_the_church"='Jostedal';
|
1-178398-1
|
What parishes are in Solvorn?
|
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT "parish_prestegjeld" FROM "churches_in_luster" WHERE "location_of_the_church"='Solvorn';
|
1-178398-1
|
Name the number of parish for vilnes kyrkje
|
CREATE TABLE "table1_178399_1" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT COUNT("parish_prestegjeld") FROM "table1_178399_1" WHERE "church_name"='Vilnes kyrkje';
|
1-178399-1
|
Name the parish for 1908
|
CREATE TABLE "table1_178399_1" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT "parish_prestegjeld" FROM "table1_178399_1" WHERE "year_built"=1908;
|
1-178399-1
|
Name the maximum year built for holmedal kyrkje
|
CREATE TABLE "table1_178399_1" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
|
SELECT MAX("year_built") FROM "table1_178399_1" WHERE "church_name"='Holmedal kyrkje';
|
1-178399-1
|
What is the week where the game site is Shea Stadium?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT MIN("week") FROM "schedule" WHERE "game_site"='Shea Stadium';
|
1-17861179-1
|
For week 6, what were the results?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "result" FROM "schedule" WHERE "week"=6;
|
1-17861179-1
|
In how many weeks was the game played on November 3 played?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT COUNT("week") FROM "schedule" WHERE "date"='November 3';
|
1-17869717-1
|
What is the broadcast date when 8.3 million viewers watched?
|
CREATE TABLE "serial_details_by_episode" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "broadcast_date" FROM "serial_details_by_episode" WHERE "viewers_in_millions"='8.3';
|
1-1785117-1
|
What is the broadcast date of the episode with run time 25:12?
|
CREATE TABLE "serial_details_by_episode" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "broadcast_date" FROM "serial_details_by_episode" WHERE "run_time"='25:12';
|
1-1785117-1
|
How many million viewers watched the episode that runs 25:55 minutes?
|
CREATE TABLE "serial_details_by_episode" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "viewers_in_millions" FROM "serial_details_by_episode" WHERE "run_time"='25:55';
|
1-1785117-1
|
How many dances did Warren & Kym have?
|
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" real,
"number_of_dances" real,
"average" text
);
|
SELECT "number_of_dances" FROM "average_score_chart" WHERE "couple"='Warren & Kym';
|
1-17862135-3
|
What are the total points for the team that averages 17.8?
|
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" real,
"number_of_dances" real,
"average" text
);
|
SELECT "total_points" FROM "average_score_chart" WHERE "average"='17.8';
|
1-17862135-3
|
What is average for Cody & Julianne?
|
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" real,
"number_of_dances" real,
"average" text
);
|
SELECT "average" FROM "average_score_chart" WHERE "couple"='Cody & Julianne';
|
1-17862135-3
|
what is the division southwest when division south was kožuf and division east was osogovo
|
CREATE TABLE "winners" (
"season" text,
"division_north" text,
"division_south" text,
"division_east" text,
"division_west" text,
"division_southwest" text
);
|
SELECT "division_southwest" FROM "winners" WHERE "division_south"='Kožuf' AND "division_east"='Osogovo';
|
1-17881033-1
|
what is the division north in 2007–08
|
CREATE TABLE "winners" (
"season" text,
"division_north" text,
"division_south" text,
"division_east" text,
"division_west" text,
"division_southwest" text
);
|
SELECT "division_north" FROM "winners" WHERE "season"='2007–08';
|
1-17881033-1
|
what is the division north when division south was kožuf and division southwest was ilinden velmej
|
CREATE TABLE "winners" (
"season" text,
"division_north" text,
"division_south" text,
"division_east" text,
"division_west" text,
"division_southwest" text
);
|
SELECT "division_north" FROM "winners" WHERE "division_south"='Kožuf' AND "division_southwest"='Ilinden Velmej';
|
1-17881033-1
|
how many division southwest was there when division east was babi
|
CREATE TABLE "winners" (
"season" text,
"division_north" text,
"division_south" text,
"division_east" text,
"division_west" text,
"division_southwest" text
);
|
SELECT COUNT("division_southwest") FROM "winners" WHERE "division_east"='Babi';
|
1-17881033-1
|
what is the division east when division north was milano
|
CREATE TABLE "winners" (
"season" text,
"division_north" text,
"division_south" text,
"division_east" text,
"division_west" text,
"division_southwest" text
);
|
SELECT "division_east" FROM "winners" WHERE "division_north"='Milano';
|
1-17881033-1
|
who co-wrote Season 2, Episode 3?
|
CREATE TABLE "table1_17901155_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_u_s_air_date" text,
"prod_code" text,
"viewers_millions" text
);
|
SELECT "written_by" FROM "table1_17901155_3" WHERE "no_in_season"=3;
|
1-17901155-3
|
what is the series # for the episode directed by Kelly Sandefur?
|
CREATE TABLE "table1_17901155_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_u_s_air_date" text,
"prod_code" text,
"viewers_millions" text
);
|
SELECT MAX("no_in_series") FROM "table1_17901155_3" WHERE "directed_by"='Kelly Sandefur';
|
1-17901155-3
|
how many production codes were there for the episode that was 32 in the series?
|
CREATE TABLE "table1_17901155_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_u_s_air_date" text,
"prod_code" text,
"viewers_millions" text
);
|
SELECT COUNT("prod_code") FROM "table1_17901155_3" WHERE "no_in_series"=32;
|
1-17901155-3
|
What year was the film Milagros submitted?
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Milagros';
|
1-17919342-1
|
How many years was the film The Blossoming of Maximo Oliveros entered?
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("year_ceremony") FROM "submissions" WHERE "film_title_used_in_nomination"='The Blossoming of Maximo Oliveros';
|
1-17919342-1
|
How many directors were there for the film with the original title of The Moises Padilla Story?
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("director") FROM "submissions" WHERE "original_title"='The Moises Padilla Story';
|
1-17919342-1
|
What spacecraft was launched from the LC34 launch complex?
|
CREATE TABLE "spaceports_with_achieved_vertical_launch" (
"spaceport" text,
"launch_complex" text,
"launcher" text,
"spacecraft" text,
"flights" text,
"years" text
);
|
SELECT "spacecraft" FROM "spaceports_with_achieved_vertical_launch" WHERE "launch_complex"='LC34';
|
1-179174-2
|
What spacecrafts had 22 orbital flights?
|
CREATE TABLE "spaceports_with_achieved_vertical_launch" (
"spaceport" text,
"launch_complex" text,
"launcher" text,
"spacecraft" text,
"flights" text,
"years" text
);
|
SELECT "spacecraft" FROM "spaceports_with_achieved_vertical_launch" WHERE "flights"='22 Orbital';
|
1-179174-2
|
What launcher had spacecrafts that did 37 orbital flights?
|
CREATE TABLE "spaceports_with_achieved_vertical_launch" (
"spaceport" text,
"launch_complex" text,
"launcher" text,
"spacecraft" text,
"flights" text,
"years" text
);
|
SELECT "launcher" FROM "spaceports_with_achieved_vertical_launch" WHERE "flights"='37 Orbital';
|
1-179174-2
|
What launcher had spacecrafts that did 37 orbital flights?
|
CREATE TABLE "spaceports_with_achieved_vertical_launch" (
"spaceport" text,
"launch_complex" text,
"launcher" text,
"spacecraft" text,
"flights" text,
"years" text
);
|
SELECT "launcher" FROM "spaceports_with_achieved_vertical_launch" WHERE "flights"='37 Orbital';
|
1-179174-2
|
What years had 134 orbital flights?
|
CREATE TABLE "spaceports_with_achieved_vertical_launch" (
"spaceport" text,
"launch_complex" text,
"launcher" text,
"spacecraft" text,
"flights" text,
"years" text
);
|
SELECT "years" FROM "spaceports_with_achieved_vertical_launch" WHERE "flights"='134 Orbital';
|
1-179174-2
|
In what country did the "amsterdam's futuristic floating city" project take place?
|
CREATE TABLE "table1_1792122_11" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"country" text,
"project" text,
"status_at_production" text,
"original_air_date" text
);
|
SELECT "country" FROM "table1_1792122_11" WHERE "title"='\"Amsterdam''s Futuristic Floating City\"';
|
1-1792122-11
|
What is the status of the London Aquatics Centre project at the time of production?
|
CREATE TABLE "table1_1792122_11" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"country" text,
"project" text,
"status_at_production" text,
"original_air_date" text
);
|
SELECT "status_at_production" FROM "table1_1792122_11" WHERE "project"='London Aquatics Centre';
|
1-1792122-11
|
What was the original are date of series number 71?
|
CREATE TABLE "table1_1792122_11" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"country" text,
"project" text,
"status_at_production" text,
"original_air_date" text
);
|
SELECT "original_air_date" FROM "table1_1792122_11" WHERE "no_in_series"=71;
|
1-1792122-11
|
What series number was the "rebuilding new york city's subway" project?
|
CREATE TABLE "table1_1792122_11" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"country" text,
"project" text,
"status_at_production" text,
"original_air_date" text
);
|
SELECT MIN("no_in_series") FROM "table1_1792122_11" WHERE "title"='\"Rebuilding New York City''s Subway\"';
|
1-1792122-11
|
What is the status of the "azerbaijan's amazing transformation" project at the time of production?
|
CREATE TABLE "table1_1792122_11" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"country" text,
"project" text,
"status_at_production" text,
"original_air_date" text
);
|
SELECT "status_at_production" FROM "table1_1792122_11" WHERE "title"='\"Azerbaijan''s Amazing Transformation\"';
|
1-1792122-11
|
What is the length for a diameter totaling 450 mm?
|
CREATE TABLE "onshore_pipelines" (
"name_year_commissioned" text,
"owner_operator" text,
"length" text,
"maximum_diameter" text,
"from_to" text,
"licence_number" text
);
|
SELECT "length" FROM "onshore_pipelines" WHERE "maximum_diameter"='450 mm';
|
1-17918238-1
|
What is Esperance pipeline co total diameter?
|
CREATE TABLE "onshore_pipelines" (
"name_year_commissioned" text,
"owner_operator" text,
"length" text,
"maximum_diameter" text,
"from_to" text,
"licence_number" text
);
|
SELECT "maximum_diameter" FROM "onshore_pipelines" WHERE "owner_operator"='Esperance Pipeline Co';
|
1-17918238-1
|
Name the opponent for december 8
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "date"='December 8';
|
1-17924362-1
|
Name the number of weeks for october 26
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT COUNT("week") FROM "schedule" WHERE "date"='October 26';
|
1-17924362-1
|
What is the attendance record for week 6?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" real,
"record" text
);
|
SELECT COUNT("attendance") FROM "schedule" WHERE "week"=6;
|
1-17928023-1
|
For game site Schaefer Stadium, what were the results?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" real,
"record" text
);
|
SELECT "result" FROM "schedule" WHERE "game_site"='Schaefer Stadium';
|
1-17928023-1
|
Who was the outgoing manager when the incoming manager was joão pereira?
|
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manage" text,
"manner" text,
"date_of_vacancy" text,
"incoming_manager" text,
"date_of_appointment" text
);
|
SELECT "outgoing_manage" FROM "managerial_changes" WHERE "incoming_manager"='João Pereira';
|
1-17933600-2
|
What team(s) had an outgoing manager of joão alves?
|
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manage" text,
"manner" text,
"date_of_vacancy" text,
"incoming_manager" text,
"date_of_appointment" text
);
|
SELECT "team" FROM "managerial_changes" WHERE "outgoing_manage"='João Alves';
|
1-17933600-2
|
What day did the job open up when bogićević was outgoing?
|
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manage" text,
"manner" text,
"date_of_vacancy" text,
"incoming_manager" text,
"date_of_appointment" text
);
|
SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manage"='Bogićević';
|
1-17933600-2
|
Name the 0-100 km/hs for name of 2.0 8v
|
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" text,
"top_speed" text,
"co_2" text,
"years" text
);
|
SELECT "0_100km_h_s" FROM "engines" WHERE "name"='2.0 8v';
|
1-17941111-2
|
Name the top speed for 0-100 km/hs for 12.7
|
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" text,
"top_speed" text,
"co_2" text,
"years" text
);
|
SELECT "top_speed" FROM "engines" WHERE "0_100km_h_s"='12.7';
|
1-17941111-2
|
Name the total number for co 2 for atd/axr
|
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" text,
"top_speed" text,
"co_2" text,
"years" text
);
|
SELECT COUNT("co_2") FROM "engines" WHERE "engine_id_code_s"='ATD/AXR';
|
1-17941111-2
|
Name the volume for co 2 for 168 g/km
|
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" text,
"top_speed" text,
"co_2" text,
"years" text
);
|
SELECT "volume" FROM "engines" WHERE "co_2"='168 g/km';
|
1-17941111-2
|
When 60 is the tries against what is the tries for?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "tries_for" FROM "league_table" WHERE "tries_against"='60';
|
1-17941032-1
|
When 22 is the tries for what is the lost?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "lost" FROM "league_table" WHERE "tries_for"='22';
|
1-17941032-1
|
When 98 is the points what is the club?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "club" FROM "league_table" WHERE "points"='98';
|
1-17941032-1
|
When 80 is the tries for what is the try bonus?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "try_bonus" FROM "league_table" WHERE "tries_for"='80';
|
1-17941032-1
|
When 55 is the tries for what is the lost?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "lost" FROM "league_table" WHERE "tries_for"='55';
|
1-17941032-1
|
When 17 is the tries for what is the points against?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "league_table" WHERE "tries_for"='17';
|
1-17941032-1
|
How many draws were there in played games?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "league_table" WHERE "played"='Played';
|
1-17941032-2
|
Which club had 2 wins and 1 draw?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "club" FROM "league_table" WHERE "drawn"='1' AND "won"='2';
|
1-17941032-2
|
How many times were there plays with a try of 56?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "played" FROM "league_table" WHERE "tries_for"='56';
|
1-17941032-2
|
How many tries against were there with points of 150?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "tries_against" FROM "league_table" WHERE "points_for"='150';
|
1-17941032-2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.