question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Where was the season that ended on June 25 located?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "country" FROM "table1_1949994_7" WHERE "end_date"='June 25';
1-1949994-7
When did the season that end in July ? start?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "start_date" FROM "table1_1949994_7" WHERE "end_date"='July ?';
1-1949994-7
When did the season with 1 team format premiere?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "format"='1 Team';
1-1949994-7
What's the format of the season that ended on June 25?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "format" FROM "table1_1949994_7" WHERE "end_date"='June 25';
1-1949994-7
What's season 3's premiere date?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "no"=3;
1-1949994-7
When did the season located in the Netherlands premier?
CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text );
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "country"='The Netherlands';
1-1949994-7
Name the viewers for the episode directed by tony phelan
CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_19501664_1" WHERE "directed_by"='Tony Phelan';
1-19501664-1
Name the original air date for 15.74 viewers
CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_19501664_1" WHERE "u_s_viewers_millions"='15.74';
1-19501664-1
Name the title for us viewers being 18.29
CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_19501664_1" WHERE "u_s_viewers_millions"='18.29';
1-19501664-1
Name the platforms for cityengine
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT "platforms" FROM "table1_19495707_1" WHERE "application"='CityEngine';
1-19495707-1
Name the license for e-on vue
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT "license" FROM "table1_19495707_1" WHERE "application"='E-on Vue';
1-19495707-1
Name the number of developed by for solid edge
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT COUNT("developed_by") FROM "table1_19495707_1" WHERE "application"='Solid Edge';
1-19495707-1
Name the license for 2009-05-25 v 7.61
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT "license" FROM "table1_19495707_1" WHERE "latest_release_date_and_version"='2009-05-25 v 7.61';
1-19495707-1
Name the number of application for modeling, computer aided design, animation
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT COUNT("application") FROM "table1_19495707_1" WHERE "mainly_used_for"='Modeling, Computer Aided Design, Animation';
1-19495707-1
Name the application for caligari corporation
CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text );
SELECT "application" FROM "table1_19495707_1" WHERE "developed_by"='Caligari Corporation';
1-19495707-1
What series number started production on June 6?
CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text );
SELECT MIN("no") FROM "table1_1949994_8" WHERE "start_date"='June 6';
1-1949994-8
What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?
CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text );
SELECT "format" FROM "table1_1949994_8" WHERE "local_title"='Fort Boyard: Ultimate Challenge';
1-1949994-8
What were the television air dates for the series that had a production start date of June 16?
CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text );
SELECT "premiere_air_dates" FROM "table1_1949994_8" WHERE "start_date"='June 16';
1-1949994-8
What series number had the local title of Fort Boyard?
CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text );
SELECT MAX("no") FROM "table1_1949994_8" WHERE "local_title"='Fort Boyard';
1-1949994-8
What was the minimum number of episodes in any of the series?
CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text );
SELECT MIN("episodes") FROM "table1_1949994_8";
1-1949994-8
Name the week number for the beatles
CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "week_num" FROM "table1_19508635_1" WHERE "theme"='The Beatles';
1-19508635-1
Name the result for 1980s
CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "table1_19508635_1" WHERE "theme"='1980s';
1-19508635-1
Name the order number for 1960s
CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "table1_19508635_1" WHERE "theme"='1960s';
1-19508635-1
Name the result for dolly parton
CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "table1_19508635_1" WHERE "original_artist"='Dolly Parton';
1-19508635-1
Name the song choice for michael jackson
CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "song_choice" FROM "table1_19508635_1" WHERE "original_artist"='Michael Jackson';
1-19508635-1
What is the largest series number?
CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT MAX("series_num") FROM "season_three_2011";
1-19517621-4
What is the latest episode number with the title of Jerusalem?
CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT MAX("episode_num") FROM "season_three_2011" WHERE "title"='Jerusalem';
1-19517621-4
What was the original air date of the episode written by Michelle Offen?
CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT "original_airdate" FROM "season_three_2011" WHERE "written_by"='Michelle Offen';
1-19517621-4
What is the title of the episode written by Vanessa Bates?
CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT "title" FROM "season_three_2011" WHERE "written_by"='Vanessa Bates';
1-19517621-4
What was the original air date for the episode Calle, The Transit of Venus?
CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT "original_airdate" FROM "season_three_2011" WHERE "title"='The Transit of Venus';
1-19517621-4
What is the completion percentage when yards per attempt was done by Steve McNair : 2003?
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text );
SELECT "completion_percentage" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "yards_per_attempt"='Steve McNair : 2003';
1-19517448-3
What rank has a rating of 146.8?
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text );
SELECT "rank" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "rating"='146.8';
1-19517448-3
How many yards per attempt were there when total yards were 513?
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text );
SELECT "yards_per_attempt" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "total_yards"='513';
1-19517448-3
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT MAX("series_num") FROM "season_two_2009" WHERE "written_by"='Kristen Dunphy and David Ogilvy';
1-19517621-3
If the title if the Lost Boy, how many directors were there?
CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT COUNT("directed_by") FROM "season_two_2009" WHERE "title"='The Lost Boy';
1-19517621-3
What is the title for the episode that written by Michael Miller?
CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text );
SELECT "title" FROM "season_two_2009" WHERE "written_by"='Michael Miller';
1-19517621-3
If the playoff berth is 17, what is the AFC championship number?
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real );
SELECT "afc_championships" FROM "total_playoff_berths_while_in_the_afl_af" WHERE "playoff_berths"=17;
1-1952057-5
If the team in the New England Patriots, what is the super bowl championship minimum number?
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real );
SELECT MIN("super_bowl_championships") FROM "total_playoff_berths_while_in_the_afl_af" WHERE "team"='New England Patriots';
1-1952057-5
What is the maximum number of AFC championships?
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real );
SELECT MAX("afc_championships") FROM "total_playoff_berths_while_in_the_afl_af";
1-1952057-5
How many authors are present when the original was Carry On?
CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text );
SELECT COUNT("authors") FROM "table1_19523708_1" WHERE "original"='Carry On';
1-19523708-1
What was the draw for the english meaning Eyes that Never Lie?
CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text );
SELECT "draw" FROM "table1_19523708_1" WHERE "language"='English' AND "english_meaning"='Eyes That Never Lie';
1-19523708-1
What is the highest draw represented?
CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text );
SELECT MAX("draw") FROM "table1_19523708_1";
1-19523708-1
Who was the artist for the origin Shake it, Europe?
CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text );
SELECT "artist" FROM "table1_19523708_1" WHERE "original"='Shake It, Europe';
1-19523708-1
What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?
CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text );
SELECT COUNT("arena_capacity") FROM "teams" WHERE "head_coach"='Yuriy Korotkevich';
1-19526911-1
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text );
SELECT "arena_capacity" FROM "teams" WHERE "head_coach"='Roberto Serniotti';
1-19526911-1
Who are the foreign players on team/s that play in Moscow?
CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text );
SELECT "foreign_players_max_2" FROM "teams" WHERE "town"='Moscow';
1-19526911-1
What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text );
SELECT "previous_season_2007_2008" FROM "teams" WHERE "website"='www.novavolley.narod.ru';
1-19526911-1
What are the minimum indoor results that have a 5 for inspection?
CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" real, "points" real, "overall" text );
SELECT MIN("indoor") FROM "2013_national_color_guard_competition_re" WHERE "inspection"=5;
1-19534874-2
What was the maximum number in written when the standard was 2?
CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" real, "points" real, "overall" text );
SELECT MAX("written") FROM "2013_national_color_guard_competition_re" WHERE "standard"=2;
1-19534874-2
How many point categories are there for the 3 mile run?
CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" real, "points" real, "overall" text );
SELECT COUNT("points") FROM "2013_national_color_guard_competition_re" WHERE "mile_run"=3;
1-19534874-2
What is the indoor number for the NJ wing/
CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" real, "points" real, "overall" text );
SELECT "indoor" FROM "2013_national_color_guard_competition_re" WHERE "wing"='NJ';
1-19534874-2
What is the indoor number for the NER region?
CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" real, "points" real, "overall" text );
SELECT COUNT("indoor") FROM "2013_national_color_guard_competition_re" WHERE "region"='NER';
1-19534874-2
What is the winning span of the name martin kaymer?
CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real );
SELECT "winning_span" FROM "detailed_criteria" WHERE "name"='Martin Kaymer';
1-1953516-1
What is the winning span in the country of England with the name of paul casey?
CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real );
SELECT "winning_span" FROM "detailed_criteria" WHERE "country"='England' AND "name"='Paul Casey';
1-1953516-1
What is the winning span for the name of bernard gallacher?
CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real );
SELECT "winning_span" FROM "detailed_criteria" WHERE "name"='Bernard Gallacher';
1-1953516-1
What is the winning span with the rank of 5?
CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real );
SELECT "winning_span" FROM "detailed_criteria" WHERE "rank"='5';
1-1953516-1
How many scorecards are there for the match on October 28?
CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text );
SELECT COUNT("scorecard") FROM "table1_19576091_1" WHERE "date"='October 28';
1-19576091-1
How many venues were there for the match on November 6?
CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text );
SELECT COUNT("venue") FROM "table1_19576091_1" WHERE "date"='November 6';
1-19576091-1
What was the venue for the match on October 10?
CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text );
SELECT "venue" FROM "table1_19576091_1" WHERE "date"='October 10';
1-19576091-1
Who was the man of the match when the Rockets won by 9 wickets?
CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text );
SELECT "man_of_the_match" FROM "table1_19576091_1" WHERE "result"='Rockets won by 9 wickets';
1-19576091-1
Name the vacator for wisconsin 1st
CREATE TABLE "table1_1958768_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "vacator" FROM "table1_1958768_3" WHERE "district"='Wisconsin 1st';
1-1958768-3
Name the successor for pennsylvania 15th
CREATE TABLE "table1_1958768_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "successor" FROM "table1_1958768_3" WHERE "district"='Pennsylvania 15th';
1-1958768-3
Name the circuit for #47 orbit racing
CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text );
SELECT "circuit" FROM "table1_19598014_2" WHERE "challenge_winning_team"='#47 Orbit Racing';
1-19598014-2
Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin
CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text );
SELECT "gt2_winning_team" FROM "table1_19598014_2" WHERE "lmp2_winning_team"='Butch Leitzinger Marino Franchitti Ben Devlin';
1-19598014-2
Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz
CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text );
SELECT "lmp1_winning_team" FROM "table1_19598014_2" WHERE "rnd"=2 AND "lmp2_winning_team"='Adrian Fernández Luis Díaz';
1-19598014-2
Which capitals have an area of exactly 377930 square km?
CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text );
SELECT "capital" FROM "demographics" WHERE "area_km"=377930;
1-19605700-1
What is the total number of capitals that have an area of exactly 1104 square km?
CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text );
SELECT COUNT("capital") FROM "demographics" WHERE "area_km"=1104;
1-19605700-1
What capital has a population of exactly 1339724852?
CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text );
SELECT "capital" FROM "demographics" WHERE "population"=1339724852;
1-19605700-1
How many populations have a capital of Hong Kong?
CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text );
SELECT COUNT("population") FROM "demographics" WHERE "capital"='Hong Kong';
1-19605700-1
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "growth_rate_1991_01" text, "sex_ratio_1991" real, "sex_ratio_2001" real, "population_density_1991" real, "population_density_2001" real );
SELECT "male_population_2001" FROM "wise_district_demographics_http_gov_bih_" WHERE "growth_rate_1991_01"='36.16';
1-19589113-5
What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "growth_rate_1991_01" text, "sex_ratio_1991" real, "sex_ratio_2001" real, "population_density_1991" real, "population_density_2001" real );
SELECT MIN("total_population_2001") FROM "wise_district_demographics_http_gov_bih_" WHERE "growth_rate_1991_01"='33.08';
1-19589113-5
What are all values for male population in 2001 when sex ratio in 1991 is 896?
CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "growth_rate_1991_01" text, "sex_ratio_1991" real, "sex_ratio_2001" real, "population_density_1991" real, "population_density_2001" real );
SELECT "male_population_2001" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_1991"=896;
1-19589113-5
What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?
CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "growth_rate_1991_01" text, "sex_ratio_1991" real, "sex_ratio_2001" real, "population_density_1991" real, "population_density_2001" real );
SELECT "growth_rate_1991_01" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_2001"=937;
1-19589113-5
What districts of Bihar have a sex ratio in 1991 of 864?
CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "growth_rate_1991_01" text, "sex_ratio_1991" real, "sex_ratio_2001" real, "population_density_1991" real, "population_density_2001" real );
SELECT "districts_of_bihar" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_1991"=864;
1-19589113-5
How many marriages between women have % same-sex marriages of 1.06?
CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text );
SELECT "marriages_between_women" FROM "marriage_statistics" WHERE "pct_same_sex_marriages"='1.06';
1-19614212-1
What is the % of same-sex marriages for the year of 2011?
CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text );
SELECT "pct_same_sex_marriages" FROM "marriage_statistics" WHERE "year"='2011';
1-19614212-1
How many % same-sex marriages are there for the year 2008?
CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text );
SELECT COUNT("pct_same_sex_marriages") FROM "marriage_statistics" WHERE "year"='2008';
1-19614212-1
How many % same-sex marriages are marriages between men for 923?
CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text );
SELECT COUNT("pct_same_sex_marriages") FROM "marriage_statistics" WHERE "marriages_between_men"=923;
1-19614212-1
When was the episode number 2 originally aired?
CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text );
SELECT "original_air_date" FROM "table1_19632728_1" WHERE "episode_num"=2;
1-19632728-1
When was the episode titled "The Parachute of Healing" originally aired?
CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text );
SELECT "original_air_date" FROM "table1_19632728_1" WHERE "title"='\"The Parachute of Healing\"';
1-19632728-1
Who was the writer of the episode titled "The Parachute of Healing"?
CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text );
SELECT "writer_s" FROM "table1_19632728_1" WHERE "title"='\"The Parachute of Healing\"';
1-19632728-1
What was the highest season number?
CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text );
SELECT MAX("season_num") FROM "table1_19632728_1";
1-19632728-1
What was the margin of victory of Steve Stricker as a runner up?
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "pga_tour_wins_8" WHERE "runner_s_up"='Steve Stricker';
1-19630743-2
How many to par has the winning score of 69-66-68=203.
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "to_par" FROM "pga_tour_wins_8" WHERE "winning_score"='69-66-68=203';
1-19630743-2
What is the minimum number of the bmw championship tournament.
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT MIN("no") FROM "pga_tour_wins_8" WHERE "tournament"='BMW Championship';
1-19630743-2
What is the total number of John Merrick as a runner up?
CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT COUNT("no") FROM "pga_tour_wins_8" WHERE "runner_s_up"='John Merrick';
1-19630743-2
What horses does r. a. Scott own?
CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" text );
SELECT "horse" FROM "competitors_and_betting" WHERE "owner"='R. A. Scott';
1-19624708-1
How many numbers have sp of 20/1 and a finishing position of fence 19?
CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" text );
SELECT COUNT("number") FROM "competitors_and_betting" WHERE "sp"='20/1' AND "finishing_position"='Fence 19';
1-19624708-1
Which handicap has the horse knowhere?
CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" text );
SELECT "handicap_st_lb" FROM "competitors_and_betting" WHERE "horse"='Knowhere';
1-19624708-1
What colors does David Langdon use?
CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" text );
SELECT "colours" FROM "competitors_and_betting" WHERE "owner"='David Langdon';
1-19624708-1
If the film title nominated is Baran, what was the result?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='Baran';
1-19625976-1
For the Persian Title میم مثل مادر, what were the results?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "persian_title"='میم مثل مادر';
1-19625976-1
For the Persian title گبه, What was the film title used for the nomination?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text );
SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "persian_title"='گبه';
1-19625976-1
What year had an Allison B400R transmission and a model of BRT?
CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text );
SELECT "year" FROM "buses" WHERE "transmission"='Allison B400R' AND "model"='BRT';
1-19643196-1
What is the fleet number when the length (ft) is 30?
CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text );
SELECT "fleet_num" FROM "buses" WHERE "length_ft"=30;
1-19643196-1
What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text );
SELECT "fleet_num" FROM "buses" WHERE "transmission"='Voith D863.4' AND "engine"='Cummins ISL';
1-19643196-1
Which year had a transmission of Voith D863.4 and a Cummins ISM engine?
CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text );
SELECT "year" FROM "buses" WHERE "transmission"='Voith D863.4' AND "engine"='Cummins ISM';
1-19643196-1
Name the college/junior club team for ian turnbull
CREATE TABLE "round_one" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_one" WHERE "player"='Ian Turnbull';
1-1965650-1
Name the position for nhl team being los angeles kings
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_three" WHERE "nhl_team"='Los Angeles Kings';
1-1965650-3
Name the nhl times for jeff jacques
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_three" WHERE "player"='Jeff Jacques';
1-1965650-3