question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)?
CREATE TABLE "constituency_201_243" ( "constituency_no" real, "vidhan_sabha_constituency" text, "reservation_for_sc_st" text, "district" text, "lok_sabha" text );
SELECT "lok_sabha" FROM "constituency_201_243" WHERE "vidhan_sabha_constituency"='Karakat (Vidhan Sabha constituency)';
1-29785324-5
How many were in the Kargahar (vidhan sabha constituency)?
CREATE TABLE "constituency_201_243" ( "constituency_no" real, "vidhan_sabha_constituency" text, "reservation_for_sc_st" text, "district" text, "lok_sabha" text );
SELECT MIN("constituency_no") FROM "constituency_201_243" WHERE "vidhan_sabha_constituency"='Kargahar (Vidhan Sabha constituency)';
1-29785324-5
What district has 213 constituents?
CREATE TABLE "constituency_201_243" ( "constituency_no" real, "vidhan_sabha_constituency" text, "reservation_for_sc_st" text, "district" text, "lok_sabha" text );
SELECT COUNT("district") FROM "constituency_201_243" WHERE "constituency_no"=213;
1-29785324-5
How many Lok Sabha are in the one with 216 constituents?
CREATE TABLE "constituency_201_243" ( "constituency_no" real, "vidhan_sabha_constituency" text, "reservation_for_sc_st" text, "district" text, "lok_sabha" text );
SELECT "lok_sabha" FROM "constituency_201_243" WHERE "constituency_no"=216;
1-29785324-5
How many countries spent at least $51.0 billion in international tourism in 2012?
CREATE TABLE "international_tourism_expenditure" ( "rank_2012" real, "country" text, "unwto_region" text, "international_tourism_expenditure_2011" text, "international_tourism_expenditure_2012" text, "pct_change" text );
SELECT MAX("rank_2012") FROM "international_tourism_expenditure" WHERE "international_tourism_expenditure_2011"='$51.0 billion';
1-29789-3
How many countries spent $83.7 billion on international tourism in 2012?
CREATE TABLE "international_tourism_expenditure" ( "rank_2012" real, "country" text, "unwto_region" text, "international_tourism_expenditure_2011" text, "international_tourism_expenditure_2012" text, "pct_change" text );
SELECT COUNT("pct_change") FROM "international_tourism_expenditure" WHERE "international_tourism_expenditure_2012"='$83.7 billion';
1-29789-3
What was the percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion in 2011?
CREATE TABLE "international_tourism_expenditure" ( "rank_2012" real, "country" text, "unwto_region" text, "international_tourism_expenditure_2011" text, "international_tourism_expenditure_2012" text, "pct_change" text );
SELECT "pct_change" FROM "international_tourism_expenditure" WHERE "international_tourism_expenditure_2011"='$85.9 billion';
1-29789-3
Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012?
CREATE TABLE "international_tourism_expenditure" ( "rank_2012" real, "country" text, "unwto_region" text, "international_tourism_expenditure_2011" text, "international_tourism_expenditure_2012" text, "pct_change" text );
SELECT "country" FROM "international_tourism_expenditure" WHERE "pct_change"='5.7';
1-29789-3
Name the most other apps for league goals being 1
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT MAX("other_apps") FROM "sheffield_united_statistics" WHERE "league_goals"=1;
1-2979789-1
Name the most fa cup apps for league apps being 27
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT MAX("fa_cup_apps") FROM "sheffield_united_statistics" WHERE "league_apps"=27;
1-2979789-1
Name the total number of division for fa cups being 9
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT COUNT("division") FROM "sheffield_united_statistics" WHERE "fa_cup_apps"=9;
1-2979789-1
How many international tourists visited Russia in 2012?
CREATE TABLE "most_visited_countries_by_international_" ( "rank" real, "country" text, "unwto_region" text, "international_tourist_arrivals_2012" text, "international_tourist_arrivals_2011" text, "change_2011_to_2012" text, "change_2010_to_2011" text );
SELECT "international_tourist_arrivals_2012" FROM "most_visited_countries_by_international_" WHERE "country"='Russia';
1-29789-1
What was the premiere date for the episode whose alternate title was miłość i przeznaczenie?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "series_premiere" FROM "international_broadcasts" WHERE "alternante_title"='Miłość i przeznaczenie';
1-29799700-2
Which TV network had its series finale on May 7, 2012?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "series_finale"='May 7, 2012';
1-29799700-2
What was the date of the series premiere whose TV network was TV3?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "series_premiere" FROM "international_broadcasts" WHERE "tv_network_s"='TV3';
1-29799700-2
Which TV network has a country of origin of Iran?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "country"='Iran';
1-29799700-2
What was the date of series premiere for the novela whose alternate title was miłość i przeznaczenie?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "series_premiere" FROM "international_broadcasts" WHERE "alternante_title"='Miłość i przeznaczenie';
1-29799700-2
What was the date of the series finale for Peru?
CREATE TABLE "international_broadcasts" ( "country" text, "alternante_title" text, "tv_network_s" text, "series_premiere" text, "series_finale" text );
SELECT "series_finale" FROM "international_broadcasts" WHERE "country"='Peru';
1-29799700-2
What is every original air date with U.S. viewers of 0.23 million?
CREATE TABLE "table1_29803475_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_29803475_2" WHERE "u_s_viewers_million"='0.23';
1-29803475-2
What is the lowest number in series when U.S. viewers is 0.23 million?
CREATE TABLE "table1_29803475_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT MIN("no_in_series") FROM "table1_29803475_2" WHERE "u_s_viewers_million"='0.23';
1-29803475-2
What were the total apps for Dunne in season where he had 0 league goals?
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT "total_apps" FROM "sheffield_united_statistics" WHERE "league_goals"=0;
1-2980024-1
How many league goals did Dunne have in the season where he had 2 league apps?
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT "league_goals" FROM "sheffield_united_statistics" WHERE "league_apps"=2;
1-2980024-1
How many other goals did Dunne have in the season where he had 1 league goal?
CREATE TABLE "sheffield_united_statistics" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "other_apps" real, "other_goals" real, "total_apps" real, "total_goals" real );
SELECT "other_goals" FROM "sheffield_united_statistics" WHERE "league_goals"=1;
1-2980024-1
When boston university is the team what is the record?
CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "schedule" WHERE "team"='Boston University';
1-29846807-5
What is the subject when the highest mark is 79?
CREATE TABLE "fsfe_examination_result_analysis_2009" ( "subject" text, "no_sat" real, "no_passed" real, "pct_pass" real, "highest_mark" real, "lowest_mark" real, "mean" real );
SELECT "subject" FROM "fsfe_examination_result_analysis_2009" WHERE "highest_mark"=79;
1-29842201-1
How many lowest mark entries are there when % passed is 76?
CREATE TABLE "fsfe_examination_result_analysis_2009" ( "subject" text, "no_sat" real, "no_passed" real, "pct_pass" real, "highest_mark" real, "lowest_mark" real, "mean" real );
SELECT COUNT("lowest_mark") FROM "fsfe_examination_result_analysis_2009" WHERE "pct_pass"=76;
1-29842201-1
if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team
CREATE TABLE "table1_29826467_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "flm_winning_team" text, "gte_pro_winning_team" text, "gte_am_winning_team" text, "results" text );
SELECT "lmp2_winning_team" FROM "table1_29826467_2" WHERE "flm_winning_team"='No. 99 JMB Racing';
1-29826467-2
Who is every high rebound when the team is Mount St. Mary's?
CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "schedule" WHERE "team"='Mount St. Mary''s';
1-29846807-4
What position was serena abrami in?
CREATE TABLE "giovani_new_generation_section" ( "position" text, "singer" text, "2nd_evening" text, "3rd_evening" text, "4th_evening" text, "5th_evening" text );
SELECT "position" FROM "giovani_new_generation_section" WHERE "singer"='Serena Abrami';
1-29857115-4
How many singers got 2nd place in the 4th evening?
CREATE TABLE "giovani_new_generation_section" ( "position" text, "singer" text, "2nd_evening" text, "3rd_evening" text, "4th_evening" text, "5th_evening" text );
SELECT COUNT("2nd_evening") FROM "giovani_new_generation_section" WHERE "4th_evening"='2nd place';
1-29857115-4
Who got 3rd place on the 4th evening?
CREATE TABLE "giovani_new_generation_section" ( "position" text, "singer" text, "2nd_evening" text, "3rd_evening" text, "4th_evening" text, "5th_evening" text );
SELECT "singer" FROM "giovani_new_generation_section" WHERE "4th_evening"='3rd place';
1-29857115-4
Who went out on the 2nd evening?
CREATE TABLE "giovani_new_generation_section" ( "position" text, "singer" text, "2nd_evening" text, "3rd_evening" text, "4th_evening" text, "5th_evening" text );
SELECT "singer" FROM "giovani_new_generation_section" WHERE "2nd_evening"='Out';
1-29857115-4
What was gabriella ferrone's result on the 5th evening?
CREATE TABLE "giovani_new_generation_section" ( "position" text, "singer" text, "2nd_evening" text, "3rd_evening" text, "4th_evening" text, "5th_evening" text );
SELECT "5th_evening" FROM "giovani_new_generation_section" WHERE "singer"='Gabriella Ferrone';
1-29857115-4
What is the maximum overall number?
CREATE TABLE "derbi_amman" ( "num" real, "tournament" text, "al_faisaly_wins" real, "al_wehdat_wins" real, "draws" real, "total" real, "al_faisaly_goals" real, "al_wehdat_goals" real );
SELECT MAX("num") FROM "derbi_amman";
1-2985714-2
When the number is 2 what is the lowest amount of al-wedhat wins?
CREATE TABLE "derbi_amman" ( "num" real, "tournament" text, "al_faisaly_wins" real, "al_wehdat_wins" real, "draws" real, "total" real, "al_faisaly_goals" real, "al_wehdat_goals" real );
SELECT MIN("al_wehdat_wins") FROM "derbi_amman" WHERE "num"=2;
1-2985714-2
When jordan fa cup is the tournament how many draws?
CREATE TABLE "derbi_amman" ( "num" real, "tournament" text, "al_faisaly_wins" real, "al_wehdat_wins" real, "draws" real, "total" real, "al_faisaly_goals" real, "al_wehdat_goals" real );
SELECT COUNT("draws") FROM "derbi_amman" WHERE "tournament"='Jordan FA Cup';
1-2985714-2
What is the highest value of area when capital is San Juan?
CREATE TABLE "table1_298550_1" ( "country_with_flag" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" text, "capital" text );
SELECT MAX("area_km") FROM "table1_298550_1" WHERE "capital"='San Juan';
1-298550-1
How many entries for area correspond to a population density of 207.9?
CREATE TABLE "table1_298550_1" ( "country_with_flag" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" text, "capital" text );
SELECT COUNT("area_km") FROM "table1_298550_1" WHERE "population_density_per_km"='207.9';
1-298550-1
What is every entry for area if capital is Port-au-Prince?
CREATE TABLE "table1_298550_1" ( "country_with_flag" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" text, "capital" text );
SELECT "area_km" FROM "table1_298550_1" WHERE "capital"='Port-au-Prince';
1-298550-1
What is every country with a flag with population of 11346670?
CREATE TABLE "table1_298550_1" ( "country_with_flag" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" text, "capital" text );
SELECT "country_with_flag" FROM "table1_298550_1" WHERE "population_1_july_2005_est"=11346670;
1-298550-1
What is the highest value for population when area is 9104?
CREATE TABLE "table1_298550_1" ( "country_with_flag" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" text, "capital" text );
SELECT MAX("population_1_july_2005_est") FROM "table1_298550_1" WHERE "area_km"=9104;
1-298550-1
What many times was the victoria derby raced?
CREATE TABLE "2003_04_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT COUNT("date") FROM "2003_04_season_as_a_three_year_old" WHERE "race"='Victoria Derby';
1-2985987-2
What is the autumn classic weight?
CREATE TABLE "2003_04_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT "weight_kg" FROM "2003_04_season_as_a_three_year_old" WHERE "race"='Autumn Classic';
1-2985987-2
Who directed the episode that had 3.55 million viewers?
CREATE TABLE "table1_29897962_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_29897962_1" WHERE "u_s_viewers_million"='3.55';
1-29897962-1
What are the dimensions of the coin worth ₩200?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT "dimensions" FROM "table1_298883_5" WHERE "value"='₩200';
1-298883-5
How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT COUNT("date_of_issue") FROM "table1_298883_5" WHERE "obverse"='Kumsusan Memorial Palace';
1-298883-5
What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT "dimensions" FROM "table1_298883_5" WHERE "obverse"='Kim Il-sung' AND "date_of_issue"='1992';
1-298883-5
What is on the reverse side of the ₩500 coin?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT "reverse" FROM "table1_298883_5" WHERE "value"='₩500';
1-298883-5
What is on the reverse side of the ₩100 coin?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT "reverse" FROM "table1_298883_5" WHERE "value"='₩100';
1-298883-5
What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?
CREATE TABLE "table1_298883_5" ( "value" text, "dimensions" text, "main_color" text, "obverse" text, "reverse" text, "watermark" text, "date_of_issue" text );
SELECT "dimensions" FROM "table1_298883_5" WHERE "reverse"='Western sea barrage and locks at Taedong Gang';
1-298883-5
What are all the name(namesakes) for the entire chart?
CREATE TABLE "table1_29860752_11" ( "name_namesake" text, "builder_dimensions_displacement_hull_speed_complement" text, "machinery_boiler_bunkers_engines_armament" text, "ordered_laid_down_launched_trials" text, "commissioned_decommissioned_afterward" text );
SELECT "name_namesake" FROM "table1_29860752_11";
1-29860752-11
What are the names(namesakes) through out the entire chart?
CREATE TABLE "table1_29860752_11" ( "name_namesake" text, "builder_dimensions_displacement_hull_speed_complement" text, "machinery_boiler_bunkers_engines_armament" text, "ordered_laid_down_launched_trials" text, "commissioned_decommissioned_afterward" text );
SELECT "name_namesake" FROM "table1_29860752_11";
1-29860752-11
What season was the finale that aired on May 23, 2004?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "tv_season" FROM "ratings" WHERE "season_finale"='May 23, 2004';
1-299121-2
What TV season was the 1st season?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "tv_season" FROM "ratings" WHERE "season"='1st';
1-299121-2
When was the 3rd season premiere originally aired?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "season_premiere" FROM "ratings" WHERE "season"='3rd';
1-299121-2
What was the 2nd's season's ranking?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "ranking" FROM "ratings" WHERE "season"='2nd';
1-299121-2
When did the season premiere that saw 8.4 million viewers first air?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "season_premiere" FROM "ratings" WHERE "viewers_in_millions"='8.4';
1-299121-2
When did the season finale for the January 9, 2000 season premiere first air?
CREATE TABLE "ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "season_finale" FROM "ratings" WHERE "season_premiere"='January 9, 2000';
1-299121-2
Who directed the episode that was watched by 2.97 million U.S. viewers?
CREATE TABLE "table1_29920800_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_29920800_1" WHERE "u_s_viewers_million"='2.97';
1-29920800-1
What is the original air date of the episode written by Liz Feldman?
CREATE TABLE "table1_29920800_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_29920800_1" WHERE "written_by"='Liz Feldman';
1-29920800-1
Who wrote the episode that was watched by 2.97 million U.S. viewers?
CREATE TABLE "table1_29920800_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_29920800_1" WHERE "u_s_viewers_million"='2.97';
1-29920800-1
How many millions of U.S viewers watched the episode written by Liz Feldman?
CREATE TABLE "table1_29920800_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_29920800_1" WHERE "written_by"='Liz Feldman';
1-29920800-1
How many people attended the uefa champions league competition?
CREATE TABLE "biggest_attendances" ( "competition" text, "attendance" real, "opponent" text, "season" text, "result" text );
SELECT "attendance" FROM "biggest_attendances" WHERE "competition"='UEFA Champions League';
1-299271-2
How many women has reached the title of Miss International representing the country ranked as number 1?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MIN("miss_international") FROM "references" WHERE "rank"=1;
1-29942205-1
How many women has got the first runner-up position in representation of Philippines?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT "1st_runner_up" FROM "references" WHERE "country_territory"='Philippines';
1-29942205-1
What is the lowest value in the miss international column?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MIN("miss_international") FROM "references";
1-29942205-1
What is the smallest quantity displayed under the title "first runner-up"?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MIN("1st_runner_up") FROM "references";
1-29942205-1
How many women from Uruguay has become third runner-up in this pageant?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MAX("3rd_runner_up") FROM "references" WHERE "country_territory"='Uruguay';
1-29942205-1
What year was player number 10?
CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight_lb" real, "year" text, "hometown" text, "previous_school" text );
SELECT "year" FROM "roster" WHERE "num"=10;
1-29970488-2
How many hometowns are there when Charis Prep was the previous school?
CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight_lb" real, "year" text, "hometown" text, "previous_school" text );
SELECT COUNT("hometown") FROM "roster" WHERE "previous_school"='Charis Prep';
1-29970488-2
How many different items appear in the weight column when Pittsburgh, PA is the hometown?
CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight_lb" real, "year" text, "hometown" text, "previous_school" text );
SELECT COUNT("weight_lb") FROM "roster" WHERE "hometown"='Pittsburgh, PA';
1-29970488-2
Which episode is number 3 in the season?
CREATE TABLE "table1_29960651_5" ( "no_for_season" real, "no_for_series" real, "episode" text, "airdate" text, "viewers_in_millions" text );
SELECT "episode" FROM "table1_29960651_5" WHERE "no_for_season"=3;
1-29960651-5
What is the episode name for series number 45?
CREATE TABLE "table1_29960651_5" ( "no_for_season" real, "no_for_series" real, "episode" text, "airdate" text, "viewers_in_millions" text );
SELECT "episode" FROM "table1_29960651_5" WHERE "no_for_series"=45;
1-29960651-5
What is the highest total for any country/territory?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_earth" text, "miss_air" real, "miss_water" real, "miss_fire" real, "semifinalists" real, "total" real );
SELECT MAX("total") FROM "references";
1-30008638-1
How many semifinalists has Romania had?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_earth" text, "miss_air" real, "miss_water" real, "miss_fire" real, "semifinalists" real, "total" real );
SELECT "semifinalists" FROM "references" WHERE "country_territory"='Romania';
1-30008638-1
How many Miss Waters has Canada had?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_earth" text, "miss_air" real, "miss_water" real, "miss_fire" real, "semifinalists" real, "total" real );
SELECT MAX("miss_water") FROM "references" WHERE "country_territory"='Canada';
1-30008638-1
What is the most Miss Fires any country has had?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_earth" text, "miss_air" real, "miss_water" real, "miss_fire" real, "semifinalists" real, "total" real );
SELECT MAX("miss_fire") FROM "references";
1-30008638-1
What is the least amount of Miss Airs any country has had?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "miss_earth" text, "miss_air" real, "miss_water" real, "miss_fire" real, "semifinalists" real, "total" real );
SELECT MIN("miss_air") FROM "references";
1-30008638-1
what re the high assists for january 29?
CREATE TABLE "schedule" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "schedule" WHERE "date"='January 29';
1-29982187-4
What team did the suns play on April 21?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "team" FROM "game_log" WHERE "date"='April 21';
1-29997127-4
In what game was the attendance at the America West Arena 18,756?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT MAX("game") FROM "game_log" WHERE "location_attendance"='America West Arena 18,756';
1-29997127-4
What is the official name of the municipality whose name in Basque is Bilar?
CREATE TABLE "see_also" ( "official_name" text, "ine_code" real, "name_in_spanish" text, "name_in_basque" text, "population_2007" real );
SELECT "official_name" FROM "see_also" WHERE "name_in_basque"='Bilar';
1-300283-1
What is the official name of the municipality whose name in Spanish is Cripán?
CREATE TABLE "see_also" ( "official_name" text, "ine_code" real, "name_in_spanish" text, "name_in_basque" text, "population_2007" real );
SELECT "official_name" FROM "see_also" WHERE "name_in_spanish"='Cripán';
1-300283-1
What is the official name of the municipality whose name in Spanish is Vitoria?
CREATE TABLE "see_also" ( "official_name" text, "ine_code" real, "name_in_spanish" text, "name_in_basque" text, "population_2007" real );
SELECT "official_name" FROM "see_also" WHERE "name_in_spanish"='Vitoria';
1-300283-1
What is the name in Basque of the municipality whose official name is Kuartango?
CREATE TABLE "see_also" ( "official_name" text, "ine_code" real, "name_in_spanish" text, "name_in_basque" text, "population_2007" real );
SELECT "name_in_basque" FROM "see_also" WHERE "official_name"='Kuartango';
1-300283-1
What is the INE code of the municipality whose official name is Berantevilla?
CREATE TABLE "see_also" ( "official_name" text, "ine_code" real, "name_in_spanish" text, "name_in_basque" text, "population_2007" real );
SELECT MAX("ine_code") FROM "see_also" WHERE "official_name"='Berantevilla';
1-300283-1
What is every reference for type and usage of Germanium small-signal RF transistor?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "reference" FROM "table1_30011_2" WHERE "type_and_usage"='Germanium small-signal RF transistor';
1-30011-2
What is every equivalent for the example of asy28?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "equivalent" FROM "table1_30011_2" WHERE "example"='ASY28';
1-30011-2
What is every reference for the example of AF117?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "reference" FROM "table1_30011_2" WHERE "example"='AF117';
1-30011-2
What is every prefix class for the equivalent of NTE160?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "prefix_class" FROM "table1_30011_2" WHERE "equivalent"='NTE160';
1-30011-2
What is every prefix class for the equivalent of NTE101?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "prefix_class" FROM "table1_30011_2" WHERE "equivalent"='NTE101';
1-30011-2
What is every example for the equivalent of NTE160?
CREATE TABLE "table1_30011_2" ( "prefix_class" text, "type_and_usage" text, "example" text, "equivalent" text, "reference" text );
SELECT "example" FROM "table1_30011_2" WHERE "equivalent"='NTE160';
1-30011-2
How many manhunt beauty contets have been held in france?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "manhunt_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT "manhunt_international" FROM "references" WHERE "country_territory"='France';
1-30018460-1
How many semifinalists where from peru?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "manhunt_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT "semifinalists" FROM "references" WHERE "country_territory"='Peru';
1-30018460-1
How many first place participants where from croatia?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "manhunt_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT "3rd_runner_up" FROM "references" WHERE "country_territory"='Croatia';
1-30018460-1
What is the minimum sum?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "manhunt_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MIN("total") FROM "references";
1-30018460-1
What is the minimum manhunt beauty contest?
CREATE TABLE "references" ( "rank" real, "country_territory" text, "manhunt_international" real, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MIN("manhunt_international") FROM "references";
1-30018460-1
Who wrote "yielding"?
CREATE TABLE "table1_30030227_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text );
SELECT "written_by" FROM "table1_30030227_1" WHERE "title"='\"Yielding\"';
1-30030227-1
How many people wrote the episode directed by Arvin Brown?
CREATE TABLE "table1_30030227_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text );
SELECT COUNT("written_by") FROM "table1_30030227_1" WHERE "directed_by"='Arvin Brown';
1-30030227-1
How many million viewers watched "night moves"?
CREATE TABLE "table1_30030227_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_million" text );
SELECT "viewers_million" FROM "table1_30030227_1" WHERE "title"='\"Night Moves\"';
1-30030227-1