question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Tell me what the notes are for South Australia
CREATE TABLE "table1_1000181_1" ( "state_territory" text, "text_background_colour" text, "format" text, "current_slogan" text, "current_series" text, "notes" text );
SELECT "notes" FROM "table1_1000181_1" WHERE "current_slogan"='SOUTH AUSTRALIA';
1-1000181-1
What is the current series where the new series began in June 2011?
CREATE TABLE "table1_1000181_1" ( "state_territory" text, "text_background_colour" text, "format" text, "current_slogan" text, "current_series" text, "notes" text );
SELECT "current_series" FROM "table1_1000181_1" WHERE "notes"='New series began in June 2011';
1-1000181-1
What is the format for South Australia?
CREATE TABLE "table1_1000181_1" ( "state_territory" text, "text_background_colour" text, "format" text, "current_slogan" text, "current_series" text, "notes" text );
SELECT "format" FROM "table1_1000181_1" WHERE "state_territory"='South Australia';
1-1000181-1
Name the background colour for the Australian Capital Territory
CREATE TABLE "table1_1000181_1" ( "state_territory" text, "text_background_colour" text, "format" text, "current_slogan" text, "current_series" text, "notes" text );
SELECT "text_background_colour" FROM "table1_1000181_1" WHERE "state_territory"='Australian Capital Territory';
1-1000181-1
how many times is the fuel propulsion is cng?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT COUNT("fleet_series_quantity") FROM "fleet" WHERE "fuel_propulsion"='CNG';
1-10007452-3
what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT "fuel_propulsion" FROM "fleet" WHERE "fleet_series_quantity"='310-329 (20)';
1-10007452-3
who is the manufacturer for the order year 1998?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT "manufacturer" FROM "fleet" WHERE "order_year"='1998';
1-10007452-3
how many times is the model ge40lfr?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT COUNT("manufacturer") FROM "fleet" WHERE "model"='GE40LFR';
1-10007452-3
how many times is the fleet series (quantity) is 468-473 (6)?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT COUNT("order_year") FROM "fleet" WHERE "fleet_series_quantity"='468-473 (6)';
1-10007452-3
what is the powertrain (engine/transmission) when the order year is 2000?
CREATE TABLE "fleet" ( "order_year" text, "manufacturer" text, "model" text, "fleet_series_quantity" text, "powertrain_engine_transmission" text, "fuel_propulsion" text );
SELECT "powertrain_engine_transmission" FROM "fleet" WHERE "order_year"='2000';
1-10007452-3
What if the description of a ch-47d chinook?
CREATE TABLE "disk_loading_comparison" ( "aircraft" text, "description" text, "max_gross_weight" text, "total_disk_area" text, "max_disk_loading" text );
SELECT "description" FROM "disk_loading_comparison" WHERE "aircraft"='CH-47D Chinook';
1-10006830-1
What is the max gross weight of the Robinson R-22?
CREATE TABLE "disk_loading_comparison" ( "aircraft" text, "description" text, "max_gross_weight" text, "total_disk_area" text, "max_disk_loading" text );
SELECT "max_gross_weight" FROM "disk_loading_comparison" WHERE "aircraft"='Robinson R-22';
1-10006830-1
What school did player number 6 come from?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "a" WHERE "no"='6';
1-10015132-1
What school did the player that has been in Toronto from 2012-present come from?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "a" WHERE "years_in_toronto"='2012-present';
1-10015132-1
What school did the player that has been in Toronto from 2010-2012 go to?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "a" WHERE "years_in_toronto"='2010-2012';
1-10015132-1
What position did the player from Baylor play?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "position" FROM "a" WHERE "school_club_team"='Baylor';
1-10015132-1
Who played in the Toronto Raptors from 1995-96?
CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "player" FROM "o" WHERE "years_in_toronto"='1995-96';
1-10015132-14
Which number was Patrick O'Bryant?
CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "no" FROM "o" WHERE "player"='Patrick O''Bryant';
1-10015132-14
What school did Patrick O'Bryant play for?
CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "o" WHERE "player"='Patrick O''Bryant';
1-10015132-14
How many number does Fordham school have?
CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT COUNT("no") FROM "o" WHERE "school_club_team"='Fordham';
1-10015132-14
Which school was in Toronto in 2001-02?
CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "o" WHERE "years_in_toronto"='2001-02';
1-10015132-14
Which school did the player that played 2004-05 attend?
CREATE TABLE "w" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "w" WHERE "years_in_toronto"='2004-05';
1-10015132-21
Which position does Loren Woods play?
CREATE TABLE "w" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "position" FROM "w" WHERE "player"='Loren Woods';
1-10015132-21
What number is the player that played 1998-2001
CREATE TABLE "w" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT MIN("no") FROM "w" WHERE "years_in_toronto"='1998-2001';
1-10015132-21
Which country is the player that went to Georgetown from?
CREATE TABLE "w" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "nationality" FROM "w" WHERE "school_club_team"='Georgetown';
1-10015132-21
Which school did Herb Williams go to?
CREATE TABLE "w" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "w" WHERE "player"='Herb Williams';
1-10015132-21
When did the player from Hawaii play for Toronto?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "years_in_toronto" FROM "c" WHERE "school_club_team"='Hawaii';
1-10015132-3
During what period did Dell Curry play for Toronto?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "years_in_toronto" FROM "c" WHERE "player"='Dell Curry';
1-10015132-3
What's the number of the player from Boise State?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "no" FROM "c" WHERE "school_club_team"='Boise State';
1-10015132-3
What's Dell Curry nationality?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "nationality" FROM "c" WHERE "player"='Dell Curry';
1-10015132-3
which player is from georgia
CREATE TABLE "g" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "player" FROM "g" WHERE "school_club_team"='Georgia';
1-10015132-7
what school is rudy gay from
CREATE TABLE "g" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "g" WHERE "player"='Rudy Gay';
1-10015132-7
what nationality is the player who played from 1997-98
CREATE TABLE "g" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "nationality" FROM "g" WHERE "years_in_toronto"='1997-98';
1-10015132-7
what position did the player from connecticut play
CREATE TABLE "g" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "position" FROM "g" WHERE "school_club_team"='Connecticut';
1-10015132-7
During which years was Marcus Banks in Toronto?
CREATE TABLE "b" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "years_in_toronto" FROM "b" WHERE "player"='Marcus Banks';
1-10015132-2
Which positions were in Toronto in 2004?
CREATE TABLE "b" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "position" FROM "b" WHERE "years_in_toronto"='2004';
1-10015132-2
What nationality is the player Muggsy Bogues?
CREATE TABLE "b" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "nationality" FROM "b" WHERE "player"='Muggsy Bogues';
1-10015132-2
What years was the player Lonny Baxter in Toronto?
CREATE TABLE "b" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "years_in_toronto" FROM "b" WHERE "player"='Lonny Baxter';
1-10015132-2
How many players were with the school or club team La Salle?
CREATE TABLE "b" ( "player" text, "no" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT COUNT("player") FROM "b" WHERE "school_club_team"='La Salle';
1-10015132-2
When the scoring rank was 117, what was the best finish?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" text, "scoring_rank" text );
SELECT "best_finish" FROM "lpga_tour_career_summary" WHERE "scoring_rank"='117';
1-10021158-3
When the best finish was T69, how many people came in 2nd?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" text, "scoring_rank" text );
SELECT "2nd" FROM "lpga_tour_career_summary" WHERE "best_finish"='T69';
1-10021158-3
How many wins were there when the money list rank was 183?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" text, "scoring_rank" text );
SELECT COUNT("wins") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='183';
1-10021158-3
When the money list rank was n/a, what was the scoring average?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" text, "scoring_rank" text );
SELECT "scoring_average" FROM "lpga_tour_career_summary" WHERE "money_list_rank"='n/a';
1-10021158-3
What time was the highest for 2nd finishers?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "2nd" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" text, "scoring_rank" text );
SELECT MAX("2nd") FROM "lpga_tour_career_summary";
1-10021158-3
When did the Metrostars have their first Rookie of the Year winner?
CREATE TABLE "winners" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "draft_pick_num" text, "draft_class" text, "college" text );
SELECT MIN("season") FROM "winners" WHERE "team"='MetroStars';
1-1004033-1
What college did the Rookie of the Year from the Columbus Crew attend?
CREATE TABLE "winners" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "draft_pick_num" text, "draft_class" text, "college" text );
SELECT "college" FROM "winners" WHERE "team"='Columbus Crew';
1-1004033-1
How many teams had a #1 draft pick that won the Rookie of the Year Award?
CREATE TABLE "winners" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "draft_pick_num" text, "draft_class" text, "college" text );
SELECT COUNT("team") FROM "winners" WHERE "draft_pick_num"='1';
1-1004033-1
What position did the #10 draft pick play?
CREATE TABLE "winners" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "draft_pick_num" text, "draft_class" text, "college" text );
SELECT "position" FROM "winners" WHERE "draft_pick_num"='10';
1-1004033-1
what's the years played with singles w-l of 3–2
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "years_played" FROM "squad_members" WHERE "singles_w_l"='3–2';
1-10023387-1
what's the doubles w-l for player seol jae-min (none)
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "doubles_w_l" FROM "squad_members" WHERE "player"='Seol Jae-Min (none)';
1-10023387-1
what's the singles w-l for kim doo-hwan
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "singles_w_l" FROM "squad_members" WHERE "player"='Kim Doo-Hwan';
1-10023387-1
what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT COUNT("singles_w_l") FROM "squad_members" WHERE "doubles_w_l"='0–0' AND "total_w_l"='3–1';
1-10023387-1
what's the doubles w-l with years played value of 1 (1968)
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "doubles_w_l" FROM "squad_members" WHERE "years_played"='1 (1968)';
1-10023387-1
what years are played for player  im chung-yang
CREATE TABLE "squad_members" ( "player" text, "years_played" text, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "years_played" FROM "squad_members" WHERE "player"='Im Chung-Yang';
1-10023387-1
What is the name of the 375 crest length?
CREATE TABLE "see_also" ( "name" text, "canton" text, "height_meters" real, "crest_length_meters" real, "type" text, "year_of_construction" real, "name_of_the_lake" text );
SELECT "name" FROM "see_also" WHERE "crest_length_meters"=375;
1-10020178-1
What is year of construction of spitallamm?
CREATE TABLE "see_also" ( "name" text, "canton" text, "height_meters" real, "crest_length_meters" real, "type" text, "year_of_construction" real, "name_of_the_lake" text );
SELECT MIN("year_of_construction") FROM "see_also" WHERE "name"='Spitallamm';
1-10020178-1
What is the canton of grande dixence?
CREATE TABLE "see_also" ( "name" text, "canton" text, "height_meters" real, "crest_length_meters" real, "type" text, "year_of_construction" real, "name_of_the_lake" text );
SELECT "canton" FROM "see_also" WHERE "name"='Grande Dixence';
1-10020178-1
What is the name where lago di luzzone is?
CREATE TABLE "see_also" ( "name" text, "canton" text, "height_meters" real, "crest_length_meters" real, "type" text, "year_of_construction" real, "name_of_the_lake" text );
SELECT "name" FROM "see_also" WHERE "name_of_the_lake"='Lago di Luzzone';
1-10020178-1
What is the guardian mātṛkā for the guardian whose consort is Svāhā?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "guardian_m_t_k" FROM "names_and_attributes" WHERE "consort"='Svāhā';
1-100518-1
Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "direction" FROM "names_and_attributes" WHERE "mantra"='Oṃ Yaṃ Vāyuve Namaḥ';
1-100518-1
What weapon is used by the guardian whose consort is śacī?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "weapon" FROM "names_and_attributes" WHERE "consort"='Śacī';
1-100518-1
What are the directions for the guardian whose weapon is khaḍga (sword)?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "direction" FROM "names_and_attributes" WHERE "weapon"='Khaḍga (sword)';
1-100518-1
What are the weapons used by guardians for the direction East?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "weapon" FROM "names_and_attributes" WHERE "direction"='East';
1-100518-1
What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?
CREATE TABLE "names_and_attributes" ( "name" text, "direction" text, "mantra" text, "weapon" text, "consort" text, "graha_planet" text, "guardian_m_t_k" text );
SELECT "direction" FROM "names_and_attributes" WHERE "graha_planet"='Bṛhaspati (Jupiter)';
1-100518-1
What is the number of chapters listed for the fraternity with a headquarters in Austin, Texas?
CREATE TABLE "members" ( "member" text, "headquarters" text, "classification" text, "chapters" real, "founded" text, "uccfs" real );
SELECT MAX("chapters") FROM "members" WHERE "classification"='Fraternity' AND "headquarters"='Austin, Texas';
1-10054296-1
What are the members listed with the sorority classification
CREATE TABLE "members" ( "member" text, "headquarters" text, "classification" text, "chapters" real, "founded" text, "uccfs" real );
SELECT "member" FROM "members" WHERE "classification"='Sorority';
1-10054296-1
Name the member that has 12 chapters
CREATE TABLE "members" ( "member" text, "headquarters" text, "classification" text, "chapters" real, "founded" text, "uccfs" real );
SELECT "member" FROM "members" WHERE "chapters"=12;
1-10054296-1
Where is the headquarters of Alpha Nu Omega
CREATE TABLE "members" ( "member" text, "headquarters" text, "classification" text, "chapters" real, "founded" text, "uccfs" real );
SELECT "headquarters" FROM "members" WHERE "member"='Alpha Nu Omega';
1-10054296-1
what is the number of relapsing fever when malaria is 3000
CREATE TABLE "incidence_of_disease_in_russian_empire_a" ( "year" text, "typhus" real, "typhoid_fever" real, "relapsing_fever" real, "smallpox" real, "malaria" text );
SELECT MIN("relapsing_fever") FROM "incidence_of_disease_in_russian_empire_a" WHERE "malaria"='3000';
1-1007688-1
what is the typhoid fever number for the year 1934
CREATE TABLE "incidence_of_disease_in_russian_empire_a" ( "year" text, "typhus" real, "typhoid_fever" real, "relapsing_fever" real, "smallpox" real, "malaria" text );
SELECT "typhoid_fever" FROM "incidence_of_disease_in_russian_empire_a" WHERE "year"='1934';
1-1007688-1
What are all the typhus number when smallpox is 4
CREATE TABLE "incidence_of_disease_in_russian_empire_a" ( "year" text, "typhus" real, "typhoid_fever" real, "relapsing_fever" real, "smallpox" real, "malaria" text );
SELECT "typhus" FROM "incidence_of_disease_in_russian_empire_a" WHERE "smallpox"=4;
1-1007688-1
what is the number of smallpox when typhoid fever is 293
CREATE TABLE "incidence_of_disease_in_russian_empire_a" ( "year" text, "typhus" real, "typhoid_fever" real, "relapsing_fever" real, "smallpox" real, "malaria" text );
SELECT MAX("smallpox") FROM "incidence_of_disease_in_russian_empire_a" WHERE "typhoid_fever"=293;
1-1007688-1
what is the typhoid fever number for the year 1929
CREATE TABLE "incidence_of_disease_in_russian_empire_a" ( "year" text, "typhus" real, "typhoid_fever" real, "relapsing_fever" real, "smallpox" real, "malaria" text );
SELECT "typhoid_fever" FROM "incidence_of_disease_in_russian_empire_a" WHERE "year"='1929';
1-1007688-1
How many schools are in Bloomington, IN?
CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT COUNT("founded") FROM "current_members" WHERE "location"='Bloomington, IN';
1-10082596-1
How many of the schools are designated private/Presbyterian?
CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT COUNT("location") FROM "current_members" WHERE "affiliation"='Private/Presbyterian';
1-10082596-1
In what year was Lindenwood University founded?
CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT MIN("founded") FROM "current_members" WHERE "school"='Lindenwood University';
1-10082596-1
How many of the schools listed are in Ames, IA?
CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT COUNT("primary_conference") FROM "current_members" WHERE "location"='Ames, IA';
1-10082596-1
What is the capital (endonym) where Douglas is the Capital (exonym)?
CREATE TABLE "table1_1008653_9" ( "country_exonym" text, "capital_exonym" text, "country_endonym" text, "capital_endonym" text, "official_or_native_language_s_alphabet_script" text );
SELECT "capital_endonym" FROM "table1_1008653_9" WHERE "capital_exonym"='Douglas';
1-1008653-9
How many countries (endonym) has the capital (endonym) of Jakarta?
CREATE TABLE "table1_1008653_9" ( "country_exonym" text, "capital_exonym" text, "country_endonym" text, "capital_endonym" text, "official_or_native_language_s_alphabet_script" text );
SELECT COUNT("country_endonym") FROM "table1_1008653_9" WHERE "capital_endonym"='Jakarta';
1-1008653-9
What is the country (exonym) where the official or native language(s) (alphabet/script) is Icelandic?
CREATE TABLE "table1_1008653_9" ( "country_exonym" text, "capital_exonym" text, "country_endonym" text, "capital_endonym" text, "official_or_native_language_s_alphabet_script" text );
SELECT "country_exonym" FROM "table1_1008653_9" WHERE "official_or_native_language_s_alphabet_script"='Icelandic';
1-1008653-9
In which country (endonym) is Irish English the official or native language(s) (alphabet/script)?
CREATE TABLE "table1_1008653_9" ( "country_exonym" text, "capital_exonym" text, "country_endonym" text, "capital_endonym" text, "official_or_native_language_s_alphabet_script" text );
SELECT "country_endonym" FROM "table1_1008653_9" WHERE "official_or_native_language_s_alphabet_script"='Irish English';
1-1008653-9
Which country (exonym) is the country (endonym) isle of man ellan vannin?
CREATE TABLE "table1_1008653_9" ( "country_exonym" text, "capital_exonym" text, "country_endonym" text, "capital_endonym" text, "official_or_native_language_s_alphabet_script" text );
SELECT "country_exonym" FROM "table1_1008653_9" WHERE "country_endonym"='Isle of Man Ellan Vannin';
1-1008653-9
The season premiere aired on September 11, 2000 aired on how many networks?
CREATE TABLE "u_s_television_ratings" ( "season" text, "network" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT COUNT("network") FROM "u_s_television_ratings" WHERE "season_premiere"='September 11, 2000';
1-1009087-1
What was the ranking of the season finale aired on May 8, 2006?
CREATE TABLE "u_s_television_ratings" ( "season" text, "network" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );
SELECT "ranking" FROM "u_s_television_ratings" WHERE "season_finale"='May 8, 2006';
1-1009087-1
what is the minimum population canada 2011 census with seat of rcm being cowansville
CREATE TABLE "table1_1011906_1" ( "regional_county_municipality_rcm" text, "population_canada_2011_census" real, "land_area" text, "density_pop_per_km2" text, "seat_of_rcm" text );
SELECT MIN("population_canada_2011_census") FROM "table1_1011906_1" WHERE "seat_of_rcm"='Cowansville';
1-1011906-1
what's the land area with seat of rcm being granby
CREATE TABLE "table1_1011906_1" ( "regional_county_municipality_rcm" text, "population_canada_2011_census" real, "land_area" text, "density_pop_per_km2" text, "seat_of_rcm" text );
SELECT "land_area" FROM "table1_1011906_1" WHERE "seat_of_rcm"='Granby';
1-1011906-1
What is the population for County Mayo with the English Name Carrowteige?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT "population" FROM "habitual_irish_speakers" WHERE "county"='County Mayo' AND "english_name"='Carrowteige';
1-101196-1
What is the Irish name listed with 62% Irish speakers?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT "irish_name" FROM "habitual_irish_speakers" WHERE "irish_speakers"='62%';
1-101196-1
What is the population for the Irish Name Leitir mealláin?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT "population" FROM "habitual_irish_speakers" WHERE "irish_name"='Leitir Mealláin';
1-101196-1
What is the county for the Irish name Carna?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT "county" FROM "habitual_irish_speakers" WHERE "irish_name"='Carna';
1-101196-1
How many County Kerry have 53% Irish speakers?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT COUNT("english_name") FROM "habitual_irish_speakers" WHERE "irish_speakers"='53%' AND "county"='County Kerry';
1-101196-1
What is the population for the English name Spiddal?
CREATE TABLE "habitual_irish_speakers" ( "county" text, "english_name" text, "irish_name" text, "population" real, "irish_speakers" text );
SELECT "population" FROM "habitual_irish_speakers" WHERE "english_name"='Spiddal';
1-101196-1
What is the the Chinese population for the state that has a Filipino population of 1474707?
CREATE TABLE "us_states_by_asian_americans_population" ( "state_territory" text, "asian_american_population_2010_census" real, "chinese" real, "filipino" real, "indian" real, "japanese" real, "korean" real, "vietnamese" real, "other_asian" real );
SELECT MIN("chinese") FROM "us_states_by_asian_americans_population" WHERE "filipino"=1474707;
1-10118412-6
How many States have an Indian population of 30947?
CREATE TABLE "us_states_by_asian_americans_population" ( "state_territory" text, "asian_american_population_2010_census" real, "chinese" real, "filipino" real, "indian" real, "japanese" real, "korean" real, "vietnamese" real, "other_asian" real );
SELECT COUNT("filipino") FROM "us_states_by_asian_americans_population" WHERE "indian"=30947;
1-10118412-6
What is the highest Indian population?
CREATE TABLE "us_states_by_asian_americans_population" ( "state_territory" text, "asian_american_population_2010_census" real, "chinese" real, "filipino" real, "indian" real, "japanese" real, "korean" real, "vietnamese" real, "other_asian" real );
SELECT MAX("indian") FROM "us_states_by_asian_americans_population";
1-10118412-6
What is Australia's role in the UN operation Unama?
CREATE TABLE "table1_10121127_1" ( "un_operation_name" text, "un_operation_title" text, "location" text, "dates_of_australian_involvement" text, "number_of_australians_involved" text, "australian_role" text );
SELECT "australian_role" FROM "table1_10121127_1" WHERE "un_operation_name"='UNAMA';
1-10121127-1
What is the UN operation title with the UN operation name, Uncok?
CREATE TABLE "table1_10121127_1" ( "un_operation_name" text, "un_operation_title" text, "location" text, "dates_of_australian_involvement" text, "number_of_australians_involved" text, "australian_role" text );
SELECT "un_operation_title" FROM "table1_10121127_1" WHERE "un_operation_name"='UNCOK';
1-10121127-1
How many Australians were in the UN commission on Korea?
CREATE TABLE "table1_10121127_1" ( "un_operation_name" text, "un_operation_title" text, "location" text, "dates_of_australian_involvement" text, "number_of_australians_involved" text, "australian_role" text );
SELECT COUNT("number_of_australians_involved") FROM "table1_10121127_1" WHERE "un_operation_title"='UN Commission on Korea';
1-10121127-1
When was it where 65 Australians were involved in the UN?
CREATE TABLE "table1_10121127_1" ( "un_operation_name" text, "un_operation_title" text, "location" text, "dates_of_australian_involvement" text, "number_of_australians_involved" text, "australian_role" text );
SELECT "dates_of_australian_involvement" FROM "table1_10121127_1" WHERE "number_of_australians_involved"='65';
1-10121127-1
What year is the season with the 10.73 million views?
CREATE TABLE "u_s_broadcast_and_ratings" ( "season" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_millions" text );
SELECT "tv_season" FROM "u_s_broadcast_and_ratings" WHERE "viewers_millions"='10.73';
1-10120207-8