question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many verbs mean to grow, to produce
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT COUNT("part_1") FROM "north_germanic" WHERE "verb_meaning"='to grow, to produce';
1-1745843-10
Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "written_by" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.96';
1-17467578-1
What is the original air date of episode 8? Answer: Dec. 21, 2006
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT COUNT("original_airdate") FROM "table1_17467578_1" WHERE "episode_num"=8;
1-17467578-1
Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "written_by" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.73';
1-17467578-1
What is the production code of the episode "The Night Moves", which was directed by Patrick Norris?
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "production_code" FROM "table1_17467578_1" WHERE "directed_by"='Patrick Norris' AND "title"='\"The Night Moves\"';
1-17467578-1
Who wrote episode 11?
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "written_by" FROM "table1_17467578_1" WHERE "episode_num"=11;
1-17467578-1
What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
CREATE TABLE "table1_17467578_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "original_airdate" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.73';
1-17467578-1
Name the class for boten
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "german" WHERE "part_3"='boten';
1-1745843-9
Name the part 3 for treffen
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_3" FROM "german" WHERE "part_1"='treffen';
1-1745843-9
Name the part one for to give
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_1" FROM "german" WHERE "verb_meaning"='to give';
1-1745843-9
Name the class for schliefen
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "german" WHERE "part_3"='schliefen';
1-1745843-9
Name the verb meaning for half drosch
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "german" WHERE "part_2"='half drosch';
1-1745843-9
If the product code is 2t6267, who was the director?
CREATE TABLE "table1_17467447_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "directed_by" FROM "table1_17467447_1" WHERE "production_code"='2T6267';
1-17467447-1
What is the air date when the U.S. viewers was 5.50 million?
CREATE TABLE "table1_17467447_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "original_airdate" FROM "table1_17467447_1" WHERE "u_s_viewers_million"='5.50';
1-17467447-1
Who were the writers for production code 2t6268?
CREATE TABLE "table1_17467447_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_airdate" text, "production_code" text );
SELECT "written_by" FROM "table1_17467447_1" WHERE "production_code"='2T6268';
1-17467447-1
Name the number of builders for number 96
CREATE TABLE "table1_1748444_1" ( "number" text, "builder" text, "type" text, "date_built" text, "heritage" text, "disposition" text, "notes" text );
SELECT COUNT("builder") FROM "table1_1748444_1" WHERE "number"='96';
1-1748444-1
Name the builder for date built is january 1910
CREATE TABLE "table1_1748444_1" ( "number" text, "builder" text, "type" text, "date_built" text, "heritage" text, "disposition" text, "notes" text );
SELECT "builder" FROM "table1_1748444_1" WHERE "date_built"='January 1910';
1-1748444-1
Name the disposition for date built is march 1909
CREATE TABLE "table1_1748444_1" ( "number" text, "builder" text, "type" text, "date_built" text, "heritage" text, "disposition" text, "notes" text );
SELECT "disposition" FROM "table1_1748444_1" WHERE "date_built"='March 1909';
1-1748444-1
What is the title of episode number 96 in the series?
CREATE TABLE "table1_17482534_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_17482534_1" WHERE "no_in_series"='96';
1-17482534-1
What number in season is the episode directed by Gene Stupnitsky?
CREATE TABLE "table1_17482534_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "no_in_season" FROM "table1_17482534_1" WHERE "directed_by"='Gene Stupnitsky';
1-17482534-1
How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?
CREATE TABLE "table1_17482534_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_17482534_1" WHERE "written_by"='Warren Lieberstein & Halsted Sullivan';
1-17482534-1
How many writers are listed for the episode with a production code of 5008?
CREATE TABLE "table1_17482534_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT COUNT("written_by") FROM "table1_17482534_1" WHERE "production_code"='5008';
1-17482534-1
What number in the series are the episodes with production code 5016/5017?
CREATE TABLE "table1_17482534_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "no_in_series" FROM "table1_17482534_1" WHERE "production_code"='5016/5017';
1-17482534-1
How many locations have the call signs dxjp-fm?
CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT COUNT("location") FROM "sbn_mom_s_radio_stations" WHERE "callsign"='DXJP-FM';
1-17487395-1
What is the call sign of the station with the frequency of 90.3mhz
CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "frequency"='90.3MHz';
1-17487395-1
What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?
CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "branding"='Mom''s Radio 101.5 Tacloban';
1-17487395-1
What is the branding for stations located in Cebu?
CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "branding" FROM "sbn_mom_s_radio_stations" WHERE "location"='Cebu';
1-17487395-1
Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?
CREATE TABLE "table1_17480471_3" ( "gatchaman" text, "battle_of_the_planets" text, "g_force" text, "eagle_riders" text, "ova_harmony_gold_dub" text );
SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Dr. Kozaburo Nambu';
1-17480471-3
Which battle of the planets where ova (harmony gold dub) is solaris?
CREATE TABLE "table1_17480471_3" ( "gatchaman" text, "battle_of_the_planets" text, "g_force" text, "eagle_riders" text, "ova_harmony_gold_dub" text );
SELECT "battle_of_the_planets" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Solaris';
1-17480471-3
Which eagle riders have battle of the planets as zoltar?
CREATE TABLE "table1_17480471_3" ( "gatchaman" text, "battle_of_the_planets" text, "g_force" text, "eagle_riders" text, "ova_harmony_gold_dub" text );
SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "battle_of_the_planets"='Zoltar';
1-17480471-3
Which gatchaman has eagle riders as lukan?
CREATE TABLE "table1_17480471_3" ( "gatchaman" text, "battle_of_the_planets" text, "g_force" text, "eagle_riders" text, "ova_harmony_gold_dub" text );
SELECT "gatchaman" FROM "table1_17480471_3" WHERE "eagle_riders"='Lukan';
1-17480471-3
What eagle riders where ova (harmony gold dub) is lord zortek?
CREATE TABLE "table1_17480471_3" ( "gatchaman" text, "battle_of_the_planets" text, "g_force" text, "eagle_riders" text, "ova_harmony_gold_dub" text );
SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Lord Zortek';
1-17480471-3
What pregame host was on espn and had taylor twellman color commentating?
CREATE TABLE "2010s" ( "year" real, "network" text, "play_by_play" text, "color_commentator" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text );
SELECT "pregame_host" FROM "2010s" WHERE "network"='ESPN' AND "color_commentator"='Taylor Twellman';
1-17516922-1
What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?
CREATE TABLE "2010s" ( "year" real, "network" text, "play_by_play" text, "color_commentator" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text );
SELECT "pregame_analysts" FROM "2010s" WHERE "sideline_reporters"='Rob Stone and Monica Gonzalez' AND "network"='TSN2';
1-17516922-1
What color commentator(s) were in 2010?
CREATE TABLE "2010s" ( "year" real, "network" text, "play_by_play" text, "color_commentator" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text );
SELECT "color_commentator" FROM "2010s" WHERE "year"=2010;
1-17516922-1
What is the last year that had sideline reporters rob stone and monica gonzalez?
CREATE TABLE "2010s" ( "year" real, "network" text, "play_by_play" text, "color_commentator" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text );
SELECT MAX("year") FROM "2010s" WHERE "sideline_reporters"='Rob Stone and Monica Gonzalez';
1-17516922-1
Who had the play-by-play on espn with sideline reporter monica gonzalez?
CREATE TABLE "2010s" ( "year" real, "network" text, "play_by_play" text, "color_commentator" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text );
SELECT "play_by_play" FROM "2010s" WHERE "network"='ESPN' AND "sideline_reporters"='Monica Gonzalez';
1-17516922-1
What was the name of race #28?
CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "location" text, "length_in_m" real, "average_climb_pct" real );
SELECT "name" FROM "course" WHERE "number"=28;
1-1749567-2
The Eyserweg race was which race #?
CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "location" text, "length_in_m" real, "average_climb_pct" real );
SELECT MAX("number") FROM "course" WHERE "name"='Eyserweg';
1-1749567-2
Which race had an average climb of 40%?
CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "location" text, "length_in_m" real, "average_climb_pct" real );
SELECT "location" FROM "course" WHERE "average_climb_pct"=40;
1-1749567-2
The Keutenberg race had what race length?
CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "location" text, "length_in_m" real, "average_climb_pct" real );
SELECT MAX("length_in_m") FROM "course" WHERE "name"='Keutenberg';
1-1749567-2
In the Champions league, what is the Minimum
CREATE TABLE "top_assister" ( "p" real, "player" text, "position" text, "league" real, "copa_del_rey" real, "champions_league" real, "total" real );
SELECT MIN("champions_league") FROM "top_assister";
1-17505751-5
In the Champions league is the forward position smaller than 6.0
CREATE TABLE "top_assister" ( "p" real, "player" text, "position" text, "league" real, "copa_del_rey" real, "champions_league" real, "total" real );
SELECT COUNT("champions_league") FROM "top_assister" WHERE "position"='Forward' AND "league"<6.0;
1-17505751-5
when the total is 8 and copa del rey is 0 what is the minimum league
CREATE TABLE "top_assister" ( "p" real, "player" text, "position" text, "league" real, "copa_del_rey" real, "champions_league" real, "total" real );
SELECT MIN("league") FROM "top_assister" WHERE "total"=8 AND "copa_del_rey"=0;
1-17505751-5
when the position is forward and the league is 5 what number is the Champion league
CREATE TABLE "top_assister" ( "p" real, "player" text, "position" text, "league" real, "copa_del_rey" real, "champions_league" real, "total" real );
SELECT COUNT("champions_league") FROM "top_assister" WHERE "league"=5 AND "position"='Forward';
1-17505751-5
if p is bigger than 4.0 what is total number
CREATE TABLE "top_assister" ( "p" real, "player" text, "position" text, "league" real, "copa_del_rey" real, "champions_league" real, "total" real );
SELECT COUNT("total") FROM "top_assister" WHERE "p">4.0;
1-17505751-5
What was the 2008 election status when glenn nye was the running democrat?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "independent_green" text, "libertarian" text, "other_party" text );
SELECT "2008_status" FROM "match_up_summary" WHERE "democratic"='Glenn Nye';
1-17503169-1
Who was the republican candidate in the race with incumbent thelma drake?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "independent_green" text, "libertarian" text, "other_party" text );
SELECT "republican" FROM "match_up_summary" WHERE "incumbent"='Thelma Drake';
1-17503169-1
How many districts had republican Bob Goodlatte as a candidate?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "independent_green" text, "libertarian" text, "other_party" text );
SELECT COUNT("district") FROM "match_up_summary" WHERE "republican"='Bob Goodlatte';
1-17503169-1
Who was the democratic candidate when the republican was frank wolf?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "independent_green" text, "libertarian" text, "other_party" text );
SELECT "democratic" FROM "match_up_summary" WHERE "republican"='Frank Wolf';
1-17503169-1
How many won when points against is 410?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT COUNT("won") FROM "league_table" WHERE "points_against"='410';
1-17510803-2
How many bonus points are there when points for is 385?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "bonus_points" FROM "league_table" WHERE "points_for"='385';
1-17510803-2
How many clubs have 62 points?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT COUNT("club") FROM "league_table" WHERE "points"='62';
1-17510803-2
How many bonus points were won by 5?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "bonus_points" FROM "league_table" WHERE "won"='5';
1-17510803-2
How many have been played for 362 points?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "played" FROM "league_table" WHERE "points_for"='362';
1-17510803-2
How many points against have a lose of 13?
CREATE TABLE "league_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "points_against" FROM "league_table" WHERE "lost"='13';
1-17510803-2
What is the highest possible level?
CREATE TABLE "calculations" ( "level" real, "shuttles" real, "cumulative_shuttles" real, "speed_km_h" text, "shuttle_time_seconds" text, "total_level_time_s" text, "distance_m" real, "cumulative_distance_m" real, "cumulative_time_min_and_seconds" text );
SELECT MAX("level") FROM "calculations";
1-1751142-2
What is the shuttle time for the level where the speed is 15.5 km/h?
CREATE TABLE "calculations" ( "level" real, "shuttles" real, "cumulative_shuttles" real, "speed_km_h" text, "shuttle_time_seconds" text, "total_level_time_s" text, "distance_m" real, "cumulative_distance_m" real, "cumulative_time_min_and_seconds" text );
SELECT "shuttle_time_seconds" FROM "calculations" WHERE "speed_km_h"='15.5';
1-1751142-2
What is the fewest number of shuttles where the shuttle time is 6.55 seconds?
CREATE TABLE "calculations" ( "level" real, "shuttles" real, "cumulative_shuttles" real, "speed_km_h" text, "shuttle_time_seconds" text, "total_level_time_s" text, "distance_m" real, "cumulative_distance_m" real, "cumulative_time_min_and_seconds" text );
SELECT MIN("shuttles") FROM "calculations" WHERE "shuttle_time_seconds"='6.55';
1-1751142-2
What is the distance (in meters) when the shuttle time is 6.86 seconds?
CREATE TABLE "calculations" ( "level" real, "shuttles" real, "cumulative_shuttles" real, "speed_km_h" text, "shuttle_time_seconds" text, "total_level_time_s" text, "distance_m" real, "cumulative_distance_m" real, "cumulative_time_min_and_seconds" text );
SELECT MIN("distance_m") FROM "calculations" WHERE "shuttle_time_seconds"='6.86';
1-1751142-2
Name the number of lead margin for republican joe kenney being 31%
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_john_lynch" text, "republican_joe_kenney" text, "lead_margin" real );
SELECT COUNT("lead_margin") FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_joe_kenney"='31%';
1-17538810-4
Namethe democrat john lynch for joe kenney being 27%
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_john_lynch" text, "republican_joe_kenney" text, "lead_margin" real );
SELECT "democrat_john_lynch" FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_joe_kenney"='27%';
1-17538810-4
Name the poll source for republican joe kenney being 28%
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_john_lynch" text, "republican_joe_kenney" text, "lead_margin" real );
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_joe_kenney"='28%';
1-17538810-4
Name the lead margin for democrat john lynch being 62%
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_john_lynch" text, "republican_joe_kenney" text, "lead_margin" real );
SELECT "lead_margin" FROM "opinion_polling_for_the_united_states_gu" WHERE "democrat_john_lynch"='62%';
1-17538810-4
Name the most lead margin for republican joe kenney being 23%
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_john_lynch" text, "republican_joe_kenney" text, "lead_margin" real );
SELECT MAX("lead_margin") FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_joe_kenney"='23%';
1-17538810-4
How many 3rd ru does Costa Rica have?
CREATE TABLE "by_country_tally" ( "rank" real, "country" text, "miss_united_continent" real, "virreina" real, "1st_ru" real, "2nd_ru" real, "3rd_ru" real, "4th_ru" real, "semifinalists" real, "total" real );
SELECT MAX("3rd_ru") FROM "by_country_tally" WHERE "country"='Costa Rica';
1-17522854-6
How many 3rd ru does Canada have?
CREATE TABLE "by_country_tally" ( "rank" real, "country" text, "miss_united_continent" real, "virreina" real, "1st_ru" real, "2nd_ru" real, "3rd_ru" real, "4th_ru" real, "semifinalists" real, "total" real );
SELECT COUNT("3rd_ru") FROM "by_country_tally" WHERE "country"='Canada';
1-17522854-6
What is the least number of miss united continents?
CREATE TABLE "by_country_tally" ( "rank" real, "country" text, "miss_united_continent" real, "virreina" real, "1st_ru" real, "2nd_ru" real, "3rd_ru" real, "4th_ru" real, "semifinalists" real, "total" real );
SELECT MIN("miss_united_continent") FROM "by_country_tally";
1-17522854-6
Who's the poll source that claimed the Lead Margin was 17 and the Democrat: Jay Nixon had 54% of the votes?
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" text );
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_gu" WHERE "democrat_jay_nixon"='54%' AND "lead_margin"='17';
1-17538810-10
What poll source claimed that Republican: Kenny Hulshof had 43%?
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" text );
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_kenny_hulshof"='43%';
1-17538810-10
How many different lead margins were stated in the poll administered on September 11, 2008?
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" text );
SELECT COUNT("lead_margin") FROM "opinion_polling_for_the_united_states_gu" WHERE "dates_administered"='September 11, 2008';
1-17538810-10
What percentage was claimed that Republican: Kenny Hulshof got in the poll that also claimed Democrat: Jay Nixon got 48%?
CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" text );
SELECT "republican_kenny_hulshof" FROM "opinion_polling_for_the_united_states_gu" WHERE "democrat_jay_nixon"='48%';
1-17538810-10
Name the common name for rhampholeon spectrum
CREATE TABLE "description" ( "scientific_name" text, "common_name" text, "length_male" text, "length_female" text, "color" text, "lifespan_years" text );
SELECT "common_name" FROM "description" WHERE "scientific_name"='Rhampholeon spectrum';
1-175442-1
Name the scientific name for veiled chameleon
CREATE TABLE "description" ( "scientific_name" text, "common_name" text, "length_male" text, "length_female" text, "color" text, "lifespan_years" text );
SELECT "scientific_name" FROM "description" WHERE "common_name"='Veiled chameleon';
1-175442-1
Name the common name for furcifer pardalis
CREATE TABLE "description" ( "scientific_name" text, "common_name" text, "length_male" text, "length_female" text, "color" text, "lifespan_years" text );
SELECT "common_name" FROM "description" WHERE "scientific_name"='Furcifer pardalis';
1-175442-1
Name the number of color for furcifer pardalis
CREATE TABLE "description" ( "scientific_name" text, "common_name" text, "length_male" text, "length_female" text, "color" text, "lifespan_years" text );
SELECT COUNT("color") FROM "description" WHERE "scientific_name"='Furcifer pardalis';
1-175442-1
Name the number of international frieghts for domestic mail of 260
CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );
SELECT COUNT("international_freight") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "domestic_mail"=260;
1-1754531-4
Name the total number of domestic mail for 7853 for total frieght and mail
CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );
SELECT COUNT("domestic_mail") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "total_freight_and_mail"=7853;
1-1754531-4
Namw the total number for domestic freight for international mail is larger than 1.0 with domestic mail for 260
CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" ( "year" real, "domestic_freight" real, "domestic_mail" real, "international_freight" real, "international_mail" real, "total_freight_and_mail" real, "change" text );
SELECT COUNT("domestic_freight") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "international_mail">1.0 AND "domestic_mail"=260;
1-1754531-4
What was the highest vote for others?
CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real, "2000_result" text );
SELECT MAX("othersnum") FROM "by_county";
1-1756284-1
When the result was +2.5, what were the kerry%?
CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real, "2000_result" text );
SELECT "kerrypct" FROM "by_county" WHERE "2000_result"='+2.5';
1-1756284-1
When Kerry# was 199060, what was the percentage?
CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real, "2000_result" text );
SELECT "kerrypct" FROM "by_county" WHERE "kerrynum"=199060;
1-1756284-1
What was the highest vote number for Bush?
CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real, "2000_result" text );
SELECT MAX("bushnum") FROM "by_county";
1-1756284-1
When the 200 result was +1.6, what was the percentage?
CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real, "2000_result" text );
SELECT "kerrypct" FROM "by_county" WHERE "2000_result"='+1.6';
1-1756284-1
How many transfer windows coming from Crystal Palace?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text );
SELECT COUNT("transfer_window") FROM "in" WHERE "moving_from"='Crystal Palace';
1-17596418-4
What country has a P of GK?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text );
SELECT "country" FROM "in" WHERE "p"='GK';
1-17596418-4
What is the P for the player moving from Everton?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text );
SELECT "p" FROM "in" WHERE "moving_from"='Everton';
1-17596418-4
Name the competition of panathinaikos
CREATE TABLE "table1_17594659_1" ( "season" text, "competition" text, "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate" text );
SELECT "competition" FROM "table1_17594659_1" WHERE "opposition"='Panathinaikos';
1-17594659-1
What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "viewers_in_millions" FROM "u_s_television_ratings" WHERE "ranking"='#51' AND "timeslot"='Tuesday 9:00 p.m.';
1-175980-2
What finales took place in the Tuesday 9:30 p.m. timeslot?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "finale" FROM "u_s_television_ratings" WHERE "timeslot"='Tuesday 9:30 p.m.';
1-175980-2
What premieres had a finale on May 25, 2004?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "premiere" FROM "u_s_television_ratings" WHERE "finale"='May 25, 2004';
1-175980-2
What seasons had a finale on May 25, 2004?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "season" FROM "u_s_television_ratings" WHERE "finale"='May 25, 2004';
1-175980-2
What seasons had a ranking of #47?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "season" FROM "u_s_television_ratings" WHERE "ranking"='#47';
1-175980-2
What are all values for viewers for 1st season?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "viewers_in_millions" FROM "u_s_television_ratings" WHERE "season"='1st';
1-175980-2
What is the withdraw date for secr no. 771?
CREATE TABLE "l_class_locomotive_fleet_summary" ( "secr_no" real, "sr_no" real, "br_no" real, "builder" text, "date_delivered" text, "date_withdrawn" text );
SELECT "date_withdrawn" FROM "l_class_locomotive_fleet_summary" WHERE "secr_no"=771;
1-17607663-1
Who is the builder for br no. 31779?
CREATE TABLE "l_class_locomotive_fleet_summary" ( "secr_no" real, "sr_no" real, "br_no" real, "builder" text, "date_delivered" text, "date_withdrawn" text );
SELECT "builder" FROM "l_class_locomotive_fleet_summary" WHERE "br_no"=31779;
1-17607663-1
what ist he country where the loan club is fulham?
CREATE TABLE "loans_in" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "country" FROM "loans_in" WHERE "loan_club"='Fulham';
1-17596418-5
what ist he total number of ages where the start date is 6 november?
CREATE TABLE "loans_in" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT COUNT("age") FROM "loans_in" WHERE "started"='6 November';
1-17596418-5
What was the name of eipsode 618?
CREATE TABLE "table1_17624965_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "title" FROM "table1_17624965_1" WHERE "production_code"=618;
1-17624965-1
When did "secrets" air?
CREATE TABLE "table1_17624965_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_17624965_1" WHERE "title"='\"Secrets\"';
1-17624965-1