question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the league for strikeouts being 451
CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real );
SELECT "league" FROM "pitchers" WHERE "strikeouts"=451;
1-242813-2
Name the most overall rank for nl/ua league
CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real );
SELECT MAX("overall_rank") FROM "pitchers" WHERE "league"='NL/UA';
1-242813-2
Name the total number of pitcher for 9 overall rank
CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real );
SELECT COUNT("pitcher") FROM "pitchers" WHERE "overall_rank"=9;
1-242813-2
Name the most season for old hoss radbourn
CREATE TABLE "pitchers" ( "pitcher" text, "strikeouts" real, "season" real, "team" text, "league" text, "overall_rank" real );
SELECT MAX("season") FROM "pitchers" WHERE "pitcher"='Old Hoss Radbourn';
1-242813-2
What week did they play the amsterdam admirals?
CREATE TABLE "table1_24278858_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT MAX("week") FROM "table1_24278858_2" WHERE "opponent"='Amsterdam Admirals';
1-24278858-2
What date did the team play on week 8?
CREATE TABLE "table1_24278858_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "date" FROM "table1_24278858_2" WHERE "week"=8;
1-24278858-2
What country has the most height in the northwestern peak of rysy?
CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text );
SELECT "country_or_region" FROM "table1_24285393_1" WHERE "highest_point"='Northwestern peak of Rysy';
1-24285393-1
What are the highest point in latvia
CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text );
SELECT "highest_point" FROM "table1_24285393_1" WHERE "country_or_region"='Latvia';
1-24285393-1
What is the maximum elevation in netherlands?
CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text );
SELECT "maximum_elevation" FROM "table1_24285393_1" WHERE "country_or_region"='Netherlands';
1-24285393-1
In what country is mont sokbaro a highest point
CREATE TABLE "table1_24285393_1" ( "country_or_region" text, "highest_point" text, "maximum_elevation" text, "lowest_point" text, "minimum_elevation" text, "elevation_span" text );
SELECT "country_or_region" FROM "table1_24285393_1" WHERE "highest_point"='Mont Sokbaro';
1-24285393-1
how many times was third place held by drnovice?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT COUNT("club") FROM "year_by_year" WHERE "third_place"='Drnovice';
1-2429942-2
Who is the top goalscorer for the season 2010-11?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT "top_goalscorer" FROM "year_by_year" WHERE "season"='2010-11';
1-2429942-2
Who had third place when the champions is baník ostrava (1)?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT "third_place" FROM "year_by_year" WHERE "champions"='Baník Ostrava (1)';
1-2429942-2
Who was the top goalscorer for season 2001-02?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT "top_goalscorer" FROM "year_by_year" WHERE "season"='2001-02';
1-2429942-2
Who is the runner-up for the season 2008-09?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT "runner_up" FROM "year_by_year" WHERE "season"='2008-09';
1-2429942-2
Who is the top goalscorer for season 1998-99?
CREATE TABLE "year_by_year" ( "season" text, "champions" text, "runner_up" text, "third_place" text, "top_goalscorer" text, "club" text );
SELECT "top_goalscorer" FROM "year_by_year" WHERE "season"='1998-99';
1-2429942-2
In what tournament was the difference only 1 stroke and 54 holes with a 2 shot deficit?
CREATE TABLE "wins_18" ( "year" text, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT "championship" FROM "wins_18" WHERE "margin"='1 stroke' AND "54_holes"='2 shot deficit';
1-242911-1
Name the total number directed by for " france : cap gris-nez to mont-saint-michel "
CREATE TABLE "table1_2430014_6" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text );
SELECT COUNT("directed_by") FROM "table1_2430014_6" WHERE "title"='\" France : Cap Gris-Nez to Mont-Saint-Michel \"';
1-2430014-6
Name the written by for john trefor
CREATE TABLE "table1_2430014_6" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text );
SELECT "written_by" FROM "table1_2430014_6" WHERE "directed_by"='John Trefor';
1-2430014-6
How many directors worked on the episode with 2.27m (5) is the ratings?
CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text );
SELECT COUNT("directed_by") FROM "table1_2430014_8" WHERE "uk_ratings_bbc2_rank"='2.27m (5)';
1-2430014-8
What is the title of episode 2?
CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text );
SELECT "title" FROM "table1_2430014_8" WHERE "episode_no"=2;
1-2430014-8
Who wrote the episode what had the rating 2.27m (5)?
CREATE TABLE "table1_2430014_8" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "uk_ratings_bbc2_rank" text, "original_air_date" text );
SELECT "written_by" FROM "table1_2430014_8" WHERE "uk_ratings_bbc2_rank"='2.27m (5)';
1-2430014-8
Name the name for 14.5 2013 rev
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT "name" FROM "forbes_global_2000" WHERE "2013_rev_bil_usd"='14.5';
1-24307126-3
Name the 2013 profit for assets being 11.2
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT "2013_profit_mil_usd" FROM "forbes_global_2000" WHERE "assets_2013_bil"='11.2';
1-24307126-3
Name the assets when the rank is 1435
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT "assets_2013_bil" FROM "forbes_global_2000" WHERE "rank_2013"=1435;
1-24307126-3
Name the number of rank for april 2013 for 2012 ran kbeing 225
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT COUNT("april_2013_cum_rank") FROM "forbes_global_2000" WHERE "rank_2012"=225;
1-24307126-3
Name the market cap where 2013 rev is 2.8
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT "market_cap_march_15_mil" FROM "forbes_global_2000" WHERE "2013_rev_bil_usd"='2.8';
1-24307126-3
Name the number of assets for australia
CREATE TABLE "forbes_global_2000" ( "april_2013_cum_rank" real, "name" text, "rank_2012" real, "rank_2013" real, "base" text, "2013_rev_bil_usd" text, "2013_profit_mil_usd" text, "assets_2013_bil" text, "market_cap_march_15_mil" real );
SELECT COUNT("assets_2013_bil") FROM "forbes_global_2000" WHERE "base"='Australia';
1-24307126-3
What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" text, "event_6_atlas_stones" text );
SELECT "position" FROM "group_5" WHERE "event_6_atlas_stones"='6 (4 in 34.49s)';
1-24302700-6
Who are all the players from the united states?
CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" text, "event_6_atlas_stones" text );
SELECT "name" FROM "group_5" WHERE "nationality"='United States';
1-24302700-6
What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?
CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" text, "event_6_atlas_stones" text );
SELECT COUNT("event_6_atlas_stones") FROM "group_5" WHERE "event_3_dead_lift"='2 (6 in 30.89s)';
1-24302700-6
What is the position of the player with a 5 (4 in 32.66s) in the 6 atlas stones event?
CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" text, "event_6_atlas_stones" text );
SELECT "position" FROM "group_5" WHERE "event_6_atlas_stones"='5 (4 in 32.66s)';
1-24302700-6
What is the score in the 2 truck pull of the player who got 1 (5 in 33.84s) in the 4 fingals fingers?
CREATE TABLE "group_5" ( "position" text, "name" text, "nationality" text, "event_1_medley" text, "event_2_truck_pull" text, "event_3_dead_lift" text, "event_4_fingals_fingers" text, "event_5_keg_toss" text, "event_6_atlas_stones" text );
SELECT "event_2_truck_pull" FROM "group_5" WHERE "event_4_fingals_fingers"='1 (5 in 33.84s)';
1-24302700-6
When 0 is the top 10's what is the highest amount of cuts made?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text, "scoring_rank" real );
SELECT MAX("cuts_made") FROM "lpga_tour_career_summary" WHERE "top_10s"=0;
1-24330912-1
What is the lowest overall amount of times they've been in 3rd?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text, "scoring_rank" real );
SELECT MIN("3rd") FROM "lpga_tour_career_summary";
1-24330912-1
When 2011 is the year what is the lowest money list rank?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text, "scoring_rank" real );
SELECT MIN("money_list_rank") FROM "lpga_tour_career_summary" WHERE "year"=2011;
1-24330912-1
What is the lowest overall money list rank?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text, "scoring_rank" real );
SELECT MIN("money_list_rank") FROM "lpga_tour_career_summary";
1-24330912-1
When t3 is the best finish what is the lowest amount of tournaments played?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text, "scoring_rank" real );
SELECT MIN("tournaments_played") FROM "lpga_tour_career_summary" WHERE "best_finish"='T3';
1-24330912-1
What is the latest amount of won legs in the payoffs when the prize money was £2,350?
CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_money_won" text );
SELECT MAX("winners_play_off_legs_won") FROM "prize_money_won" WHERE "total_money_won"='£2,350';
1-24334163-1
How many group legs were won with player Mark Dudbridge?
CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_money_won" text );
SELECT "winners_group_legs_won" FROM "prize_money_won" WHERE "player"='Mark Dudbridge';
1-24334163-1
What is the highest amount of group legs won when the prize money was £21,850?
CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_money_won" text );
SELECT MAX("winners_group_legs_won") FROM "prize_money_won" WHERE "total_money_won"='£21,850';
1-24334163-1
How many play-off legs were won when the prize money was £10,300?
CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_money_won" text );
SELECT COUNT("winners_play_off_legs_won") FROM "prize_money_won" WHERE "total_money_won"='£10,300';
1-24334163-1
What is the least amount of playoff legs won?
CREATE TABLE "prize_money_won" ( "player" text, "group_legs_won" real, "play_off_legs_won" real, "winners_group_legs_won" real, "winners_play_off_legs_won" real, "final_position_money_won" text, "total_money_won" text );
SELECT MIN("winners_play_off_legs_won") FROM "prize_money_won";
1-24334163-1
Who directed episode 53 in the series?
CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" text );
SELECT "directed_by" FROM "table1_24319661_5" WHERE "no_in_series"=53;
1-24319661-5
What as the production code for the episode directed by Robert Duncan McNeill?
CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" text );
SELECT "production_code" FROM "table1_24319661_5" WHERE "directed_by"='Robert Duncan McNeill';
1-24319661-5
What episode number of the season had BCW410 as a production code?
CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" text );
SELECT "no_in_season" FROM "table1_24319661_5" WHERE "production_code"='BCW410';
1-24319661-5
What episode number in the series had 2.77 million U.S. viewers?
CREATE TABLE "table1_24319661_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" text );
SELECT MAX("no_in_series") FROM "table1_24319661_5" WHERE "u_s_viewers_million"='2.77';
1-24319661-5
Name the most times contested for montgomeryshire
CREATE TABLE "welsh_boroughs" ( "borough" text, "county" text, "franchise_type" text, "members" real, "voters_in_1800" real, "times_contested" real, "fate_in_1832" text );
SELECT MAX("times_contested") FROM "welsh_boroughs" WHERE "county"='Montgomeryshire';
1-24329520-4
Name the fate in 1832 for pembrokeshire
CREATE TABLE "welsh_boroughs" ( "borough" text, "county" text, "franchise_type" text, "members" real, "voters_in_1800" real, "times_contested" real, "fate_in_1832" text );
SELECT "fate_in_1832" FROM "welsh_boroughs" WHERE "county"='Pembrokeshire';
1-24329520-4
what is the least number of podiums for a formula BMW Americas series?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT MIN("podiums") FROM "career_summary" WHERE "series"='Formula BMW Americas';
1-24330803-1
What is the maximum number of wins in the formula 3 euro series?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT MAX("wins") FROM "career_summary" WHERE "series"='Formula 3 Euro Series';
1-24330803-1
How many positions were given when 30 points were won?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT COUNT("position") FROM "career_summary" WHERE "points"='30';
1-24330803-1
How many pole positions were there for the 2011 season?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT MAX("poles") FROM "career_summary" WHERE "season"=2011;
1-24330803-1
List the tournament that kent state won?
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "conference_tournament" FROM "table1_24348134_3" WHERE "tournament_winner"='Kent State';
1-24348134-3
List the team that won the 2001 mwc men's basketball tournament
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_winner" FROM "table1_24348134_3" WHERE "conference_tournament"='2001 MWC Men''s Basketball Tournament';
1-24348134-3
What team won the regular season when georgia state won the tournament?
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "regular_season_winner" FROM "table1_24348134_3" WHERE "tournament_winner"='Georgia State';
1-24348134-3
In what city did oklahoma win the tournament.
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_venue_city" FROM "table1_24348134_3" WHERE "tournament_winner"='Oklahoma';
1-24348134-3
List the players of the year for the tournament held in matadome ( northridge, california )?
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "conference_player_of_the_year" FROM "table1_24348134_3" WHERE "tournament_venue_city"='Matadome ( Northridge, California )';
1-24348134-3
List the number of tournament winners when iona , siena & niagara won in the regular season.
CREATE TABLE "table1_24348134_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT COUNT("tournament_winner") FROM "table1_24348134_3" WHERE "regular_season_winner"='Iona , Siena & Niagara';
1-24348134-3
What is the population of Mogilev?
CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real );
SELECT MIN("total_population") FROM "table1_24346010_1" WHERE "guberniya"='Mogilev';
1-24346010-1
What are the polish population where guberniya is vitebsk?
CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real );
SELECT "polish" FROM "table1_24346010_1" WHERE "guberniya"='Vitebsk';
1-24346010-1
What is the population of polish where guberniya is grodno?
CREATE TABLE "table1_24346010_1" ( "guberniya" text, "total_population" real, "belarusian" real, "russian" real, "polish" real );
SELECT MIN("polish") FROM "table1_24346010_1" WHERE "guberniya"='Grodno';
1-24346010-1
Name the real life for eventual outcome is amtrak
CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text );
SELECT "real_life_eventual_outcome" FROM "table1_243664_1" WHERE "currently_part_of"='Amtrak';
1-243664-1
Name the real life years of operation for amtrak
CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text );
SELECT "real_life_years_of_operation" FROM "table1_243664_1" WHERE "currently_part_of"='Amtrak';
1-243664-1
Name the game coast for chicago and north western
CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text );
SELECT "game_cost" FROM "table1_243664_1" WHERE "railroad"='Chicago and North Western';
1-243664-1
Name the game cost for merged with new york central to form penn central
CREATE TABLE "table1_243664_1" ( "railroad" text, "game_cost" text, "real_life_years_of_operation" text, "real_life_eventual_outcome" text, "currently_part_of" text );
SELECT "game_cost" FROM "table1_243664_1" WHERE "real_life_eventual_outcome"='Merged with New York Central to form Penn Central';
1-243664-1
What is the minimum 2007 USD in Kabardino-Balkaria?
CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" real, "2005_usd" real );
SELECT MIN("2007_usd") FROM "grp_lists_of_russian_federal_subjects_in" WHERE "federal_subjects"='Kabardino-Balkaria';
1-24364690-1
What is the Russian name for the area with 139995 RUB in 2005?
CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" real, "2005_usd" real );
SELECT "russian_name" FROM "grp_lists_of_russian_federal_subjects_in" WHERE "2005_rub"=139995;
1-24364690-1
What is the 2008 USD figure for the subject with 2849 USD in 2005?
CREATE TABLE "grp_lists_of_russian_federal_subjects_in" ( "rank_2008" real, "federal_subjects" text, "russian_name" text, "2008_rub" real, "2008_usd" real, "2007_rub" real, "2007_usd" real, "2005_rub" real, "2005_usd" real );
SELECT "2008_usd" FROM "grp_lists_of_russian_federal_subjects_in" WHERE "2005_usd"=2849;
1-24364690-1
Who is every contestant for the position of 4th?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "contestant" FROM "eliminated_contestants_weigh_in" WHERE "position_out_of_eliminated_contestants"='4th';
1-24370270-10
What is every amount for weight lost if the starting weight is 97.4?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "weight_lost_kg" FROM "eliminated_contestants_weigh_in" WHERE "starting_weight_kg"='97.4';
1-24370270-10
Who is every contestant for the position of 3rd?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "contestant" FROM "eliminated_contestants_weigh_in" WHERE "position_out_of_eliminated_contestants"='3rd';
1-24370270-10
What is the starting weight if weight lost is 54.6?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "starting_weight_kg" FROM "eliminated_contestants_weigh_in" WHERE "weight_lost_kg"='54.6';
1-24370270-10
What is the position for starting weight of 130.6?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "position_out_of_eliminated_contestants" FROM "eliminated_contestants_weigh_in" WHERE "starting_weight_kg"='130.6';
1-24370270-10
What is the final weight for contestant Chris?
CREATE TABLE "eliminated_contestants_weigh_in" ( "contestant" text, "starting_weight_kg" text, "final_weight_kg" text, "weight_lost_kg" text, "percentage_lost" text, "position_out_of_eliminated_contestants" text );
SELECT "final_weight_kg" FROM "eliminated_contestants_weigh_in" WHERE "contestant"='Chris';
1-24370270-10
How many times did the sounddock series II aux in?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT COUNT("aux_in") FROM "features_comparison" WHERE "version"='SoundDock series II';
1-24384861-1
Was the sounddock series I v2 iphone certified?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT "i_phone_certified" FROM "features_comparison" WHERE "version"='SoundDock series I v2';
1-24384861-1
How many connections aux in using FIrewire?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT COUNT("aux_in") FROM "features_comparison" WHERE "dock_connection"='FireWire';
1-24384861-1
how many video out connections does the sounddock portable have?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT COUNT("video_out") FROM "features_comparison" WHERE "version"='SoundDock Portable';
1-24384861-1
Does the sounddock series I v2 have dual voltage?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT "dual_voltage" FROM "features_comparison" WHERE "version"='SoundDock series I v2';
1-24384861-1
What type of dock connection does the sounddock series III have?
CREATE TABLE "features_comparison" ( "version" text, "dock_connection" text, "aux_in" text, "battery" text, "i_phone_certified" text, "video_out" text, "dual_voltage" text );
SELECT "dock_connection" FROM "features_comparison" WHERE "version"='SoundDock series III';
1-24384861-1
Where was the game played that started at 7:00 p.m.?
CREATE TABLE "table1_24396664_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "game_site" FROM "table1_24396664_2" WHERE "kickoff"='7:00 p.m.';
1-24396664-2
how many varsity teams are in west roxbury, ma?
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT MAX("varsity_teams") FROM "members" WHERE "location"='West Roxbury, MA';
1-2439728-1
what is the mascot of st. paul's school?
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT "mascot" FROM "members" WHERE "school"='St. Paul''s School';
1-2439728-1
where are dragons used as mascots?
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT "location" FROM "members" WHERE "mascot"='Dragons';
1-2439728-1
when was lawrence academy at groton established?
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT MIN("founded") FROM "members" WHERE "school"='Lawrence Academy at Groton';
1-2439728-1
name the school located at Milton, ma.
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT "school" FROM "members" WHERE "location"='Milton, MA';
1-2439728-1
how many places have 17 varsity teams?
CREATE TABLE "members" ( "school" text, "mascot" text, "location" text, "founded" real, "entered_isl" real, "grades" text, "number_of_students" text, "varsity_teams" real );
SELECT COUNT("location") FROM "members" WHERE "varsity_teams"=17;
1-2439728-1
Which episode had bbc ranking and canle ranking of n/a?
CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT COUNT("episode_no") FROM "table1_24399615_10" WHERE "bbc_three_weekly_ranking"='N/A' AND "cable_rank"='N/A';
1-24399615-10
List the number of bbc rankings with cable rankings of 6.
CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "bbc_three_weekly_ranking" FROM "table1_24399615_10" WHERE "cable_rank"='6';
1-24399615-10
List the number of viewers when the cable rank for Russell Howard's Good New was 5.
CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "viewers" FROM "table1_24399615_10" WHERE "cable_rank"='5';
1-24399615-10
How many individuals watched the show that had a bbc ranking of 6?
CREATE TABLE "table1_24399615_10" ( "episode_no" real, "airdate" text, "viewers" text, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT COUNT("viewers") FROM "table1_24399615_10" WHERE "bbc_three_weekly_ranking"='6';
1-24399615-10
How many times did episode number 8 air?
CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" real, "cable_rank" real );
SELECT COUNT("cable_rank") FROM "series_3" WHERE "episode_no"=8;
1-24399615-5
When did episode number 6 air?
CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" real, "cable_rank" real );
SELECT "airdate" FROM "series_3" WHERE "episode_no"=6;
1-24399615-5
How many items are listed under viewers column when the bbd three weekly ranking was 1?
CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT COUNT("viewers") FROM "series_2" WHERE "bbc_three_weekly_ranking"='1';
1-24399615-4
What episode number had a cable ranking of 8?
CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT MIN("episode_no") FROM "series_2" WHERE "cable_rank"='8';
1-24399615-4
What date did the episode air that had n/a for it's bbc three weekly ranking?
CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "airdate" FROM "series_2" WHERE "bbc_three_weekly_ranking"='N/A';
1-24399615-4
What date did the episode air that had a ranking of 17 for cable?
CREATE TABLE "series_2" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "airdate" FROM "series_2" WHERE "cable_rank"='17';
1-24399615-4
When 3 is the bbc three weekly ranking what is the airdate?
CREATE TABLE "series_6" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "airdate" FROM "series_6" WHERE "bbc_three_weekly_ranking"='3';
1-24399615-8
When 656000 is the amount of viewers and n/a is the cable rank what is the airdate?
CREATE TABLE "series_6" ( "episode_no" real, "airdate" text, "viewers" real, "bbc_three_weekly_ranking" text, "cable_rank" text );
SELECT "airdate" FROM "series_6" WHERE "cable_rank"='N/A' AND "viewers"=656000;
1-24399615-8