question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa
CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, "asian_american_population_2010" real, "pct_asian_american" text, "combined_statistical_area" text );
SELECT MAX("asian_american_population_2010") FROM "metropolitan_statistical_areas_of_the_un" WHERE "combined_statistical_area"='Kansas City-Overland Park-Kansas City, MO-KS CSA';
1-18963843-1
Name the % indian american for asian population 126965
CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, "asian_american_population_2010" real, "pct_asian_american" text, "combined_statistical_area" text );
SELECT "pct_indian_american" FROM "metropolitan_statistical_areas_of_the_un" WHERE "asian_american_population_2010"=126965;
1-18963843-1
Name the % asian american for 23526
CREATE TABLE "metropolitan_statistical_areas_of_the_un" ( "rank" real, "metropolitan_statistical_area" text, "total_population_2010" real, "indian_american_population_2010" real, "pct_indian_american" text, "asian_american_population_2010" real, "pct_asian_american" text, "combined_statistical_area" text );
SELECT "pct_asian_american" FROM "metropolitan_statistical_areas_of_the_un" WHERE "indian_american_population_2010"=23526;
1-18963843-1
When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT COUNT("population_density_per_km") FROM "northern_villages" WHERE "name"='Buffalo Narrows';
1-189598-7
When 1233 is the population of 2011 what is the land area in kilometers squared?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT "land_area_km" FROM "northern_villages" WHERE "population_2011"=1233;
1-189598-7
When 6.00 is the land area in kilometers squared what is the highest population of 2011?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT MAX("population_2011") FROM "northern_villages" WHERE "land_area_km"='6.00';
1-189598-7
When beauval is the name what is the lowest population of 2011?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT MIN("population_2011") FROM "northern_villages" WHERE "name"='Beauval';
1-189598-7
When 4.5 is the percentage of change how many population counts were made for 2011?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT COUNT("population_2011") FROM "northern_villages" WHERE "change_pct"='4.5';
1-189598-7
When 14.85 kilometers squared is the land area what is the name?
CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" text, "land_area_km" text, "population_density_per_km" text );
SELECT "name" FROM "northern_villages" WHERE "land_area_km"='14.85';
1-189598-7
What is every state and District of Columbia with 60.0% overweight or obese adults?
CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real );
SELECT "state_and_district_of_columbia" FROM "prevalence_by_state" WHERE "overweight_incl_obese_adults"='60.0%';
1-18958648-1
What are all percentages of overweight or obese adults for obesity rank of 21?
CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real );
SELECT "overweight_incl_obese_adults" FROM "prevalence_by_state" WHERE "obesity_rank"=21;
1-18958648-1
What is the least obesity rank for the state of Utah?
CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real );
SELECT MIN("obesity_rank") FROM "prevalence_by_state" WHERE "state_and_district_of_columbia"='Utah';
1-18958648-1
How many states or District of Columbia have 65.4% overweight or obese adults?
CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real );
SELECT COUNT("state_and_district_of_columbia") FROM "prevalence_by_state" WHERE "overweight_incl_obese_adults"='65.4%';
1-18958648-1
What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?
CREATE TABLE "prevalence_by_state" ( "state_and_district_of_columbia" text, "obese_adults" text, "overweight_incl_obese_adults" text, "obese_children_and_adolescents" text, "obesity_rank" real );
SELECT "overweight_incl_obese_adults" FROM "prevalence_by_state" WHERE "obese_children_and_adolescents"='12.4%';
1-18958648-1
Who directed the film Gomorra?
CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );
SELECT "director_s" FROM "table1_18994724_1" WHERE "film_title_used_in_nomination"='Gomorra';
1-18994724-1
What language was spoken in Everlasting Moments?
CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );
SELECT "language_s" FROM "table1_18994724_1" WHERE "film_title_used_in_nomination"='Everlasting Moments';
1-18994724-1
What is the original title of the film submitted by Greece?
CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );
SELECT "original_title" FROM "table1_18994724_1" WHERE "submitting_country"='Greece';
1-18994724-1
Who directed the film Nuits d'arabie?
CREATE TABLE "table1_18994724_1" ( "submitting_country" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director_s" text, "result" text );
SELECT "director_s" FROM "table1_18994724_1" WHERE "film_title_used_in_nomination"='Nuits d''Arabie';
1-18994724-1
What is every value for population (2006) with a Romanian mother tongue?
CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text );
SELECT "population_2006" FROM "mother_tongue_language_2006_and_2011" WHERE "mother_tongue"='Romanian';
1-189893-1
What is the lowest population(2011)?
CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text );
SELECT MIN("population_2011") FROM "mother_tongue_language_2006_and_2011";
1-189893-1
What is the lowest population(2006) when there is a 1.06% in 2011?
CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text );
SELECT MIN("population_2006") FROM "mother_tongue_language_2006_and_2011" WHERE "percentage_2011"='1.06%';
1-189893-1
How many values for population(2011) correspond to a 1.40% in 2006?
CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text );
SELECT COUNT("population_2011") FROM "mother_tongue_language_2006_and_2011" WHERE "percentage_2006"='1.40%';
1-189893-1
What is every value for percentage(2006) with a Polish mother tongue?
CREATE TABLE "mother_tongue_language_2006_and_2011" ( "mother_tongue" text, "population_2006" real, "percentage_2006" text, "population_2011" real, "percentage_2011" text );
SELECT "percentage_2006" FROM "mother_tongue_language_2006_and_2011" WHERE "mother_tongue"='Polish';
1-189893-1
Which team/s have 48 goals total?
CREATE TABLE "alumni" ( "name" text, "nationality" text, "position" text, "year_of_birth" real, "career" text, "appearances" real, "goals" real, "club" text );
SELECT "club" FROM "alumni" WHERE "goals"=48;
1-18967450-2
Who was the contestant eliminated on episode 8 of RW: Key West season?
CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text );
SELECT "player" FROM "cast" WHERE "original_season"='RW: Key West' AND "eliminated"='Episode 8';
1-18974269-1
Who was the female contestant on the Original season of Fresh Meat?
CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text );
SELECT "player" FROM "cast" WHERE "original_season"='Fresh Meat' AND "gender"='Female';
1-18974269-1
What was the gender of the contestant on RR: South Pacific season?
CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text );
SELECT "gender" FROM "cast" WHERE "original_season"='RR: South Pacific';
1-18974269-1
What was the season where Evelyn Smith was on?
CREATE TABLE "cast" ( "player" text, "original_season" text, "gender" text, "eliminated" text, "placing" text );
SELECT "original_season" FROM "cast" WHERE "player"='Evelyn Smith';
1-18974269-1
How many original Australian performers are there when the Original West End Performer is Jordan Dunne?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT COUNT("original_australian_performer") FROM "characters_casts_and_recordings" WHERE "original_west_end_performer"='Jordan Dunne';
1-1901751-1
Who is the Original west end performer for the character Martha?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT "original_west_end_performer" FROM "characters_casts_and_recordings" WHERE "character"='Martha';
1-1901751-1
Who is the original broadway performer for the character Colin Craven?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT "original_broadway_performer" FROM "characters_casts_and_recordings" WHERE "character"='Colin Craven';
1-1901751-1
Who is the original west end performer for the character Neville Craven?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT "original_west_end_performer" FROM "characters_casts_and_recordings" WHERE "character"='Neville Craven';
1-1901751-1
Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann Walker?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT "2005_world_aids_day_benefit_dream_cast" FROM "characters_casts_and_recordings" WHERE "original_australian_performer"='Susan-Ann Walker';
1-1901751-1
Who is the Original Australian performer when the Original West End Performer is Linzi Hateley?
CREATE TABLE "characters_casts_and_recordings" ( "character" text, "original_broadway_performer" text, "original_australian_performer" text, "original_west_end_performer" text, "2005_world_aids_day_benefit_dream_cast" text );
SELECT "original_australian_performer" FROM "characters_casts_and_recordings" WHERE "original_west_end_performer"='Linzi Hateley';
1-1901751-1
Name the minimum wins
CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT MIN("wins") FROM "by_name";
1-19001175-1
Name the country for hideki noda category:articles with hcards
CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT "country" FROM "by_name" WHERE "name"='Hideki Noda Category:Articles with hCards';
1-19001175-1
Name the number of poles for stefano livio category:articles with hcards
CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT COUNT("poles") FROM "by_name" WHERE "name"='Stefano Livio Category:Articles with hCards';
1-19001175-1
Name the points for thierry tassin category:articles with hcards
CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT "points" FROM "by_name" WHERE "name"='Thierry Tassin Category:Articles with hCards';
1-19001175-1
Name the number of wins for michele rugolo category:articles with hcards
CREATE TABLE "by_name" ( "name" text, "country" text, "seasons" text, "championship_titles" text, "race_entries_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT COUNT("wins") FROM "by_name" WHERE "name"='Michele Rugolo Category:Articles with hCards';
1-19001175-1
Name the lg for ermengol
CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real );
SELECT "l_g" FROM "squad_stats" WHERE "player"='Ermengol';
1-19018191-5
Name the nat for total apps for 27
CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real );
SELECT "nat" FROM "squad_stats" WHERE "total_apps"=27;
1-19018191-5
Name the number of apps for total g is 8
CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real );
SELECT COUNT("l_apps") FROM "squad_stats" WHERE "total_g"=8;
1-19018191-5
Name the player for l apps is 27
CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "total_apps" real, "total_g" real );
SELECT "player" FROM "squad_stats" WHERE "l_apps"=27;
1-19018191-5
What are all the countries where the electric company Ebisa has a presence?
CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real );
SELECT "country" FROM "demand" WHERE "entities"='EBISA';
1-19001916-2
In how many countries is Itaipu a supply point for electricity?
CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real );
SELECT COUNT("country") FROM "demand" WHERE "supply_point"='Itaipu';
1-19001916-2
What are the electric companies drawing power from Itaipu?
CREATE TABLE "demand" ( "entities" text, "country" text, "supply_point" text, "voltage_k_v" real, "power_mw" real );
SELECT "entities" FROM "demand" WHERE "supply_point"='Itaipu';
1-19001916-2
what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT "asia" FROM "un_2012_estimates_and_medium_variant_pro" WHERE "latin_america_caribbean"='783 (7.5%)';
1-19017269-5
what will be the population of Europe when Northern America is 482 (4.7%)?
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT "europe" FROM "un_2012_estimates_and_medium_variant_pro" WHERE "northern_america"='482 (4.7%)';
1-19017269-5
what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)?
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT COUNT("latin_america_caribbean") FROM "un_2012_estimates_and_medium_variant_pro" WHERE "asia"='4,894 (46.1%)';
1-19017269-5
what will be the population of Africa when Oceania is 67 (0.6%)
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT "africa" FROM "un_2012_estimates_and_medium_variant_pro" WHERE "oceania"='67 (0.6%)';
1-19017269-5
What is population in the world when 788 (8.1%)?
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT MIN("world") FROM "un_2012_estimates_and_medium_variant_pro" WHERE "latin_america_caribbean"='788 (8.1%)';
1-19017269-5
what is the worlds smallest population?
CREATE TABLE "un_2012_estimates_and_medium_variant_pro" ( "year" real, "world" real, "asia" text, "africa" text, "europe" text, "latin_america_caribbean" text, "northern_america" text, "oceania" text );
SELECT MIN("world") FROM "un_2012_estimates_and_medium_variant_pro";
1-19017269-5
What is the first year in the competition?
CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT MIN("year") FROM "grand_slam_singles_finals";
1-19047-2
What is the result in the final versos Jennifer Capriati?
CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "grand_slam_singles_finals" WHERE "opponent_in_the_final"='Jennifer Capriati';
1-19047-2
What is the first year that she competed?
CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT MIN("year") FROM "grand_slam_singles_finals";
1-19047-2
What tournament did she win with a final score of 4–6, 7–5, 6–2?
CREATE TABLE "grand_slam_singles_finals" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "grand_slam_singles_finals" WHERE "score_in_the_final"='4–6, 7–5, 6–2';
1-19047-2
When joj agpangan* is the name how many duration's are there?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT COUNT("duration") FROM "teen_edition_housemates" WHERE "name"='Joj Agpangan*';
1-19061741-3
When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT COUNT("age") FROM "teen_edition_housemates" WHERE "edition"='Clash 2010' AND "home_or_representative_town_or_province"='Davao City';
1-19061741-3
When winner is the status and 77 is the total days in pbb house what is the edition?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT "edition" FROM "teen_edition_housemates" WHERE "total_days_in_pbb_house"=77 AND "status"='Winner';
1-19061741-3
When days 1-86 is the duration how many names are there?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT COUNT("name") FROM "teen_edition_housemates" WHERE "duration"='Days 1-86';
1-19061741-3
WHen joaqui mendoza is the name how long is the duration?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT "duration" FROM "teen_edition_housemates" WHERE "name"='Joaqui Mendoza';
1-19061741-3
When guiguinto, bulacan is the home or representative town or province how many names are there?
CREATE TABLE "teen_edition_housemates" ( "name" text, "home_or_representative_town_or_province" text, "age" real, "edition" text, "total_days_in_pbb_house" real, "duration" text, "status" text );
SELECT COUNT("name") FROM "teen_edition_housemates" WHERE "home_or_representative_town_or_province"='Guiguinto, Bulacan';
1-19061741-3
When 3t7458 is the production code who are the writers?
CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_19068566_1" WHERE "production_code"='3T7458';
1-19068566-1
When there are 3.39 million u.s viewers what is the production code?
CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_19068566_1" WHERE "u_s_viewers_million"='3.39';
1-19068566-1
When 3t7461 is the production code who is the director?
CREATE TABLE "table1_19068566_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_19068566_1" WHERE "production_code"='3T7461';
1-19068566-1
What was the score at the end of the match number 4?
CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT "score" FROM "day_1_evening_session" WHERE "match_no"=4;
1-19072602-1
What's the match number where Bill Hoffman plays for Team USA?
CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT MIN("match_no") FROM "day_1_evening_session" WHERE "team_usa"='Bill Hoffman';
1-19072602-1
How many different scores did Team Europe get when Mika Koivuniemi played for them?
CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT COUNT("score") FROM "day_1_evening_session" WHERE "team_europe"='Mika Koivuniemi';
1-19072602-1
What was the score when Tore Torgersen played for Team Europe?
CREATE TABLE "day_1_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT "score" FROM "day_1_evening_session" WHERE "team_europe"='Tore Torgersen';
1-19072602-1
Name the launch date for duration days 174.14
CREATE TABLE "see_also" ( "expedition" text, "crew" text, "launch_date" text, "flight_up" text, "landing_date" text, "flight_down" text, "duration_days" text );
SELECT "launch_date" FROM "see_also" WHERE "duration_days"='174.14';
1-1906515-1
What is the 1st place when Pennsylvania finished 2nd place?
CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text );
SELECT "1st_place" FROM "results" WHERE "2nd_place"='Pennsylvania';
1-1906920-1
What is the 2nd place when Virginia finished in 1st place?
CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text );
SELECT "2nd_place" FROM "results" WHERE "1st_place"='Virginia';
1-1906920-1
How many years did Florida finish in 4th place?
CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text );
SELECT COUNT("year") FROM "results" WHERE "4th_place"='Florida';
1-1906920-1
What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba?
CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text );
SELECT COUNT("3rd_place") FROM "results" WHERE "host"='University of Manitoba, Winnipeg, Manitoba';
1-1906920-1
Who was in 4th place when Missouri finished in 3rd place?
CREATE TABLE "results" ( "year" real, "host" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text, "5th_place" text );
SELECT "4th_place" FROM "results" WHERE "3rd_place"='Missouri';
1-1906920-1
When tim mack is on team usa what is the progressive total?
CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT "progressive_total" FROM "day_2_evening_session" WHERE "team_usa"='Tim Mack';
1-19072602-3
When 14 is the match number how many usa teams are there?
CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT COUNT("team_usa") FROM "day_2_evening_session" WHERE "match_no"=14;
1-19072602-3
When chris barnes is on team usa how many europe teams are there?
CREATE TABLE "day_2_evening_session" ( "match_no" real, "match_type" text, "team_europe" text, "score" text, "team_usa" text, "progressive_total" text );
SELECT COUNT("team_europe") FROM "day_2_evening_session" WHERE "team_usa"='Chris Barnes';
1-19072602-3
in the year 1998/99 what was the league
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real );
SELECT "league" FROM "year_by_year" WHERE "year"='1998/99';
1-1908049-1
in the year 1995/96 what was the reg. season
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real );
SELECT "reg_season" FROM "year_by_year" WHERE "year"='1995/96';
1-1908049-1
in what playoffs the league was in the semifinals
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real );
SELECT "league" FROM "year_by_year" WHERE "playoffs"='Semifinals';
1-1908049-1
what was the year where in the playoffs was champions
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real );
SELECT "year" FROM "year_by_year" WHERE "playoffs"='Champions';
1-1908049-1
what where the playoffs where the avg attendance of the team was 3416
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "owner_s" text, "avg_attendance" real );
SELECT "playoffs" FROM "year_by_year" WHERE "avg_attendance"=3416;
1-1908049-1
when did the club Citizen achieve its last top division title?
CREATE TABLE "2013_14_season" ( "club" text, "position_in_2012_13" text, "first_season_in_top_division" text, "number_of_seasons_in_top_division" real, "first_season_of_current_spell_in_top_division" text, "top_division_titles" real, "last_top_division_title" text );
SELECT "last_top_division_title" FROM "2013_14_season" WHERE "club"='Citizen';
1-1908877-2
How many clubs achieved the 5th position in 2012-13?
CREATE TABLE "2013_14_season" ( "club" text, "position_in_2012_13" text, "first_season_in_top_division" text, "number_of_seasons_in_top_division" real, "first_season_of_current_spell_in_top_division" text, "top_division_titles" real, "last_top_division_title" text );
SELECT COUNT("top_division_titles") FROM "2013_14_season" WHERE "position_in_2012_13"='5th';
1-1908877-2
When interplanet janet is the episode title who is the music by?
CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real );
SELECT "music_by" FROM "table1_191105_3" WHERE "episode_title"='Interplanet Janet';
1-191105-3
WHen jaime aff and christine langner are the performers what is the subject?
CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real );
SELECT "subject" FROM "table1_191105_3" WHERE "performed_by"='Jaime Aff and Christine Langner';
1-191105-3
If skeletal system is the subject when was it first aired?
CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real );
SELECT "first_aired" FROM "table1_191105_3" WHERE "subject"='Skeletal system';
1-191105-3
When zachary sanders is the performer what is the lowerst first aired?
CREATE TABLE "table1_191105_3" ( "episode_title" text, "subject" text, "music_by" text, "performed_by" text, "first_aired" real );
SELECT MIN("first_aired") FROM "table1_191105_3" WHERE "performed_by"='Zachary Sanders';
1-191105-3
What's the amount of winnings (in $) in the year with 2 wins?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "winnings" FROM "nascar_nationwide_series" WHERE "wins"=2;
1-1909647-2
What's the number of starts in the year with 19.3 average finish?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MIN("starts") FROM "nascar_nationwide_series" WHERE "avg_finish"='19.3';
1-1909647-2
In what year did the #14 FitzBradshaw Racing compete?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "year" FROM "nascar_nationwide_series" WHERE "team_s"='#14 FitzBradshaw Racing';
1-1909647-2
What's the average finish in 2008?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "avg_finish" FROM "nascar_nationwide_series" WHERE "year"=2008;
1-1909647-2
What's #14 FitzBradshaw Racing's top 5 result?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MAX("top_5") FROM "nascar_nationwide_series" WHERE "team_s"='#14 FitzBradshaw Racing';
1-1909647-2
What is the date for the episode performed by Sue Manchester?
CREATE TABLE "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );
SELECT "first_aired" FROM "america_rock" WHERE "performed_by"='Sue Manchester';
1-191105-4
Who is the music by for episode the Elbow Room?
CREATE TABLE "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );
SELECT "music_by" FROM "america_rock" WHERE "episode_title"='Elbow Room';
1-191105-4
What is the name of the episode performed by Essra Mohawk
CREATE TABLE "america_rock" ( "episode_title" text, "subject" text, "music_by" text, "lyrics_by" text, "performed_by" text, "first_aired" text );
SELECT "episode_title" FROM "america_rock" WHERE "performed_by"='Essra Mohawk';
1-191105-4
When five is the new channel what is the date of original removal?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text );
SELECT "date_s_of_original_removal" FROM "returning_this_year_after_a_break_of_one" WHERE "new_channel_s"='Five';
1-19114172-11
When bbc two is the original channel what is the date of original removal?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text );
SELECT "date_s_of_original_removal" FROM "returning_this_year_after_a_break_of_one" WHERE "original_channel"='BBC Two';
1-19114172-11
When bbc two is the new channel what is the date of return?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_of_return" text, "new_channel_s" text );
SELECT "date_of_return" FROM "returning_this_year_after_a_break_of_one" WHERE "new_channel_s"='BBC Two';
1-19114172-11