question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
In 2010, how many 1st venue cities were there? | CREATE TABLE "list_of_fina_diving_world_series" (
"year" real,
"1st_venue" text,
"2nd_venue" text,
"3rd_venue" text,
"4th_venue" text,
"5th_venue" text
); | SELECT COUNT("1st_venue") FROM "list_of_fina_diving_world_series" WHERE "year"=2010; | 1-22482077-1 |
When Qingdao was the 1st venue city, who was in the 2nd venue? | CREATE TABLE "list_of_fina_diving_world_series" (
"year" real,
"1st_venue" text,
"2nd_venue" text,
"3rd_venue" text,
"4th_venue" text,
"5th_venue" text
); | SELECT "2nd_venue" FROM "list_of_fina_diving_world_series" WHERE "1st_venue"='Qingdao'; | 1-22482077-1 |
What city was in the 3rd venue when Mexico City was in the 2nd? | CREATE TABLE "list_of_fina_diving_world_series" (
"year" real,
"1st_venue" text,
"2nd_venue" text,
"3rd_venue" text,
"4th_venue" text,
"5th_venue" text
); | SELECT "3rd_venue" FROM "list_of_fina_diving_world_series" WHERE "2nd_venue"='Mexico City'; | 1-22482077-1 |
How many seats became avaliable in Massachusetts 3rd district? | CREATE TABLE "table1_224840_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT COUNT("vacator") FROM "table1_224840_4" WHERE "district"='Massachusetts 3rd'; | 1-224840-4 |
Who left office on November 26, 1800? | CREATE TABLE "table1_224840_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_224840_4" WHERE "date_successor_seated"='November 26, 1800'; | 1-224840-4 |
Who was the latest to take office in Massachusetts 3rd district? | CREATE TABLE "table1_224840_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "successor" FROM "table1_224840_4" WHERE "district"='Massachusetts 3rd'; | 1-224840-4 |
List the builder from 1930. | CREATE TABLE "collection" (
"date" text,
"builder" text,
"type" text,
"operator" text,
"number" text,
"withdrawn" text,
"status" text
); | SELECT "builder" FROM "collection" WHERE "date"='1930'; | 1-22481967-1 |
List the number of builders where the withdrawn is 1951 and number is 42. | CREATE TABLE "collection" (
"date" text,
"builder" text,
"type" text,
"operator" text,
"number" text,
"withdrawn" text,
"status" text
); | SELECT COUNT("builder") FROM "collection" WHERE "withdrawn"='1951' AND "number"='42'; | 1-22481967-1 |
List the date for number 1. | CREATE TABLE "collection" (
"date" text,
"builder" text,
"type" text,
"operator" text,
"number" text,
"withdrawn" text,
"status" text
); | SELECT "date" FROM "collection" WHERE "number"='1'; | 1-22481967-1 |
List the number for the operator melbourne and metropolitan tramways board. | CREATE TABLE "collection" (
"date" text,
"builder" text,
"type" text,
"operator" text,
"number" text,
"withdrawn" text,
"status" text
); | SELECT "number" FROM "collection" WHERE "operator"='Melbourne and Metropolitan Tramways Board'; | 1-22481967-1 |
List the status for the operator Toronto transit commission. | CREATE TABLE "collection" (
"date" text,
"builder" text,
"type" text,
"operator" text,
"number" text,
"withdrawn" text,
"status" text
); | SELECT "status" FROM "collection" WHERE "operator"='Toronto Transit Commission'; | 1-22481967-1 |
Which network has bob costas as the studio host and darren pang as the ice level reporters? | CREATE TABLE "american_television" (
"year" text,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "network" FROM "american_television" WHERE "studio_host"='Bob Costas' AND "ice_level_reporters"='Darren Pang'; | 1-22485543-1 |
Which play-by-play has mike milbury as the studio analyst and darren pang as the ice level reporters? | CREATE TABLE "american_television" (
"year" text,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "play_by_play" FROM "american_television" WHERE "studio_analysts"='Mike Milbury' AND "ice_level_reporters"='Darren Pang'; | 1-22485543-1 |
Who is the color commentator when brian engblom is ice level reporters? | CREATE TABLE "american_television" (
"year" text,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "color_commentator_s" FROM "american_television" WHERE "ice_level_reporters"='Brian Engblom'; | 1-22485543-1 |
Who is the play-by-play when nbc is the network and darren pang is the ice level reporters? | CREATE TABLE "american_television" (
"year" text,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "play_by_play" FROM "american_television" WHERE "network"='NBC' AND "ice_level_reporters"='Darren Pang'; | 1-22485543-1 |
Who is the studio host for the year 2010? | CREATE TABLE "american_television" (
"year" text,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "studio_host" FROM "american_television" WHERE "year"='2010'; | 1-22485543-1 |
Who left a seat open for the district of connecticut at-large | CREATE TABLE "table1_224844_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_224844_4" WHERE "district"='Connecticut At-large'; | 1-224844-4 |
Why was a seat left open fo Connecticut at-large? | CREATE TABLE "table1_224844_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "reason_for_change" FROM "table1_224844_4" WHERE "district"='Connecticut At-large'; | 1-224844-4 |
What is the smallest Asian rank? | CREATE TABLE "table1_2248784_4" (
"rank_mid_east" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT MIN("rank_asia") FROM "table1_2248784_4"; | 1-2248784-4 |
What 2011 GDP (PPP) billions of USD does Iraq have? | CREATE TABLE "table1_2248784_4" (
"rank_mid_east" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT "2011_gdp_ppp_billions_of_usd" FROM "table1_2248784_4" WHERE "country"='Iraq'; | 1-2248784-4 |
What 2011 GDP (PPP) billions of USD does Israel have? | CREATE TABLE "table1_2248784_4" (
"rank_mid_east" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT "2011_gdp_ppp_billions_of_usd" FROM "table1_2248784_4" WHERE "country"='Israel'; | 1-2248784-4 |
How many asian rank have 1 as a mideast rank? | CREATE TABLE "table1_2248784_4" (
"rank_mid_east" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT COUNT("rank_asia") FROM "table1_2248784_4" WHERE "rank_mid_east"=1; | 1-2248784-4 |
Gdp per capita for malawi | CREATE TABLE "list_of_african_countries_by_gdp_per_cap" (
"gdp_ppp_per_capita_2010_african_world_rank_2010" text,
"nation" text,
"gdp_by_agriculture_2010" text,
"gdp_by_industry_2010" text,
"gdp_by_services_2010" text,
"total_gdp_ppp_2010_african_world_rank_2010" text,
"gdp_real_growth_rate_2010" text
); | SELECT "gdp_ppp_per_capita_2010_african_world_rank_2010" FROM "list_of_african_countries_by_gdp_per_cap" WHERE "nation"='Malawi'; | 1-2248991-1 |
Name the gdp world rank for asian rank being 15 | CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" (
"asian_rank" real,
"world_rank" real,
"country" text,
"gdp_per_capita" text,
"gdp_world_rank" text
); | SELECT "gdp_world_rank" FROM "list_of_asian_countries_by_gdp_per_capit" WHERE "asian_rank"=15; | 1-2249029-1 |
Name the gdp per capita for world rank being 131 | CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" (
"asian_rank" real,
"world_rank" real,
"country" text,
"gdp_per_capita" text,
"gdp_world_rank" text
); | SELECT "gdp_per_capita" FROM "list_of_asian_countries_by_gdp_per_capit" WHERE "gdp_world_rank"='131'; | 1-2249029-1 |
Name the gdp world rank for asian rank being 20 | CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" (
"asian_rank" real,
"world_rank" real,
"country" text,
"gdp_per_capita" text,
"gdp_world_rank" text
); | SELECT "gdp_world_rank" FROM "list_of_asian_countries_by_gdp_per_capit" WHERE "asian_rank"=20; | 1-2249029-1 |
Name the most world rank for asian rank being 31 | CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" (
"asian_rank" real,
"world_rank" real,
"country" text,
"gdp_per_capita" text,
"gdp_world_rank" text
); | SELECT MAX("world_rank") FROM "list_of_asian_countries_by_gdp_per_capit" WHERE "asian_rank"=31; | 1-2249029-1 |
Name the least rank subcontinent for bangladesh | CREATE TABLE "table1_2248784_3" (
"rank_subcontinent" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT MIN("rank_subcontinent") FROM "table1_2248784_3" WHERE "country"='Bangladesh'; | 1-2248784-3 |
Name the rank world for 7 rank subcontinent | CREATE TABLE "table1_2248784_3" (
"rank_subcontinent" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT "rank_world" FROM "table1_2248784_3" WHERE "rank_subcontinent"=7; | 1-2248784-3 |
Name the 2011 gdp for pakistan | CREATE TABLE "table1_2248784_3" (
"rank_subcontinent" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT "2011_gdp_ppp_billions_of_usd" FROM "table1_2248784_3" WHERE "country"='Pakistan'; | 1-2248784-3 |
Name the 2011 gdp for 65 rank world | CREATE TABLE "table1_2248784_3" (
"rank_subcontinent" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT "2011_gdp_ppp_billions_of_usd" FROM "table1_2248784_3" WHERE "rank_world"=65; | 1-2248784-3 |
Name the number of rank world for bhutan | CREATE TABLE "table1_2248784_3" (
"rank_subcontinent" real,
"rank_asia" real,
"rank_world" real,
"country" text,
"2011_gdp_ppp_billions_of_usd" text
); | SELECT COUNT("rank_world") FROM "table1_2248784_3" WHERE "country"='Bhutan'; | 1-2248784-3 |
How many items were listed under world rank under the nation of Nigeria? | CREATE TABLE "list_of_african_countries_by_gdp_per_cap" (
"african_rank" real,
"world_rank" real,
"nation" text,
"gdp_per_capita" text,
"total_gdp_world_rank" real
); | SELECT COUNT("world_rank") FROM "list_of_african_countries_by_gdp_per_cap" WHERE "nation"='Nigeria'; | 1-2248991-2 |
How many items are listed under gdp per capita under the nation of Burkina Faso? | CREATE TABLE "list_of_african_countries_by_gdp_per_cap" (
"african_rank" real,
"world_rank" real,
"nation" text,
"gdp_per_capita" text,
"total_gdp_world_rank" real
); | SELECT COUNT("gdp_per_capita") FROM "list_of_african_countries_by_gdp_per_cap" WHERE "nation"='Burkina Faso'; | 1-2248991-2 |
What is the total gdp world rank when the gdp per capita was listed at $1,163? | CREATE TABLE "list_of_african_countries_by_gdp_per_cap" (
"african_rank" real,
"world_rank" real,
"nation" text,
"gdp_per_capita" text,
"total_gdp_world_rank" real
); | SELECT MIN("total_gdp_world_rank") FROM "list_of_african_countries_by_gdp_per_cap" WHERE "gdp_per_capita"='$1,163'; | 1-2248991-2 |
Name the least world rank for south american rank 3 | CREATE TABLE "list_of_country_by_historical_gdp_ppp_pe" (
"south_american_rank" real,
"world_rank" real,
"nation" text,
"2011_imf" text,
"2008_cia_factbook" text
); | SELECT MIN("world_rank") FROM "list_of_country_by_historical_gdp_ppp_pe" WHERE "south_american_rank"=3; | 1-2249087-1 |
Name the south american rank for venezuela | CREATE TABLE "list_of_country_by_historical_gdp_ppp_pe" (
"south_american_rank" real,
"world_rank" real,
"nation" text,
"2011_imf" text,
"2008_cia_factbook" text
); | SELECT MIN("south_american_rank") FROM "list_of_country_by_historical_gdp_ppp_pe" WHERE "nation"='Venezuela'; | 1-2249087-1 |
How many weight stats are there for players from San Francisco, CA? | CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"high_school" text
); | SELECT COUNT("weight") FROM "roster" WHERE "home_town"='San Francisco, CA'; | 1-22496374-1 |
What was rickie winslow's number? | CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"high_school" text
); | SELECT MAX("num") FROM "roster" WHERE "name"='Rickie Winslow'; | 1-22496374-1 |
How many height entries are there for players from lagos, nigeria? | CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"high_school" text
); | SELECT COUNT("height") FROM "roster" WHERE "home_town"='Lagos, Nigeria'; | 1-22496374-1 |
What is the hometown of the players from alvin high school? | CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"high_school" text
); | SELECT "home_town" FROM "roster" WHERE "high_school"='Alvin'; | 1-22496374-1 |
How many height entries are there for players from bayside high school? | CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text,
"high_school" text
); | SELECT COUNT("height") FROM "roster" WHERE "high_school"='Bayside'; | 1-22496374-1 |
How many reasons for change were listed when Edward Hempstead was the successor? | CREATE TABLE "table1_225095_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT COUNT("reason_for_change") FROM "table1_225095_4" WHERE "successor"='Edward Hempstead'; | 1-225095-4 |
How many Vacators were listed when the district was North Carolina 3rd? | CREATE TABLE "table1_225095_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT COUNT("vacator") FROM "table1_225095_4" WHERE "district"='North Carolina 3rd'; | 1-225095-4 |
Who was the vacator when Shadrach Bond was the successor? | CREATE TABLE "table1_225095_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_225095_4" WHERE "successor"='Shadrach Bond'; | 1-225095-4 |
When was the successor who got his seat because of "until august 2, 1813" seated? | CREATE TABLE "table1_225096_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "date_successor_seated" FROM "table1_225096_4" WHERE "reason_for_change"='Until August 2, 1813'; | 1-225096-4 |
The successor for the Massachusetts 20th district was seated on what date? | CREATE TABLE "table1_225098_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "date_successor_seated" FROM "table1_225098_4" WHERE "district"='Massachusetts 20th'; | 1-225098-4 |
Who vacated the Pennsylvania 6th district? | CREATE TABLE "table1_225098_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_225098_4" WHERE "district"='Pennsylvania 6th'; | 1-225098-4 |
Who was the successor for the state of Maine (2) ? | CREATE TABLE "table1_225099_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "successor" FROM "table1_225099_3" WHERE "state_class"='Maine (2)'; | 1-225099-3 |
What is the date of successors formal installation when the reason for change is resigned december 4, 1819? | CREATE TABLE "table1_225099_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "date_of_successors_formal_installation" FROM "table1_225099_3" WHERE "reason_for_change"='Resigned December 4, 1819'; | 1-225099-3 |
How many entries are shown for date of successors formal installation where successor is john w. walker (dr)? | CREATE TABLE "table1_225099_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT COUNT("date_of_successors_formal_installation") FROM "table1_225099_3" WHERE "successor"='John W. Walker (DR)'; | 1-225099-3 |
Who was the successor for the state (class) of maine (2)? | CREATE TABLE "table1_225099_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "successor" FROM "table1_225099_3" WHERE "state_class"='Maine (2)'; | 1-225099-3 |
what is the state for reason for change is resigned may 15, 1820? | CREATE TABLE "table1_225099_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "state_class" FROM "table1_225099_3" WHERE "reason_for_change"='Resigned May 15, 1820'; | 1-225099-3 |
Who is the trophy presentation in the year 1987? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "trophy_presentation" FROM "1980s" WHERE "year"=1987; | 1-22514845-4 |
Which network has s analyst of eddie arcaro? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "network" FROM "1980s" WHERE "s_analyst"='Eddie Arcaro'; | 1-22514845-4 |
Who are the reporters for the year of 1984? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "reporters" FROM "1980s" WHERE "year"=1984; | 1-22514845-4 |
How many trophy presentations where in the year 1987? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT COUNT("trophy_presentation") FROM "1980s" WHERE "year"=1987; | 1-22514845-4 |
In which year were howard cosell and jack whitaker reporters and s analyst is bill hartack? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT MIN("year") FROM "1980s" WHERE "reporters"='Howard Cosell and Jack Whitaker' AND "s_analyst"='Bill Hartack'; | 1-22514845-4 |
Who is the race caller when jim mckay and al michaels were s hosts in the year 1987? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "race_caller" FROM "1980s" WHERE "s_host"='Jim McKay and Al Michaels' AND "year"=1987; | 1-22514845-4 |
Name the host for john rotz and howard cosell | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "s_host" FROM "1970s" WHERE "s_analyst"='John Rotz and Howard Cosell'; | 1-22514845-5 |
Name the race caller for jim mckay and howard cosell | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "race_caller" FROM "1970s" WHERE "s_host"='Jim McKay' AND "reporters"='Howard Cosell'; | 1-22514845-5 |
Name the race caller for jim mckay and howard cosell and eddie arcaro | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "race_caller" FROM "1970s" WHERE "trophy_presentation"='Jim McKay and Howard Cosell' AND "reporters"='Howard Cosell' AND "s_analyst"='Eddie Arcaro'; | 1-22514845-5 |
Name the reporters for dave johnson for eddie arcaro and howard cosell | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "reporters" FROM "1970s" WHERE "race_caller"='Dave Johnson' AND "s_analyst"='Eddie Arcaro and Howard Cosell'; | 1-22514845-5 |
Name the reporters for howard cosell | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "reporters" FROM "1970s" WHERE "s_analyst"='Howard Cosell'; | 1-22514845-5 |
Name the number of reporters for heywood hale broun | CREATE TABLE "1970s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT COUNT("reporters") FROM "1970s" WHERE "s_analyst"='Heywood Hale Broun'; | 1-22514845-5 |
Which province has an elevation of 4550? | CREATE TABLE "by_elevation" (
"num" real,
"district" text,
"province" text,
"region" text,
"ubigeo" real,
"elevation_m" real
); | SELECT "province" FROM "by_elevation" WHERE "elevation_m"=4550; | 1-2251578-4 |
Which province is in the district of San Antonio de Chuca? | CREATE TABLE "by_elevation" (
"num" real,
"district" text,
"province" text,
"region" text,
"ubigeo" real,
"elevation_m" real
); | SELECT "province" FROM "by_elevation" WHERE "district"='San Antonio de Chuca'; | 1-2251578-4 |
How many elevations are listed for Paratia? | CREATE TABLE "by_elevation" (
"num" real,
"district" text,
"province" text,
"region" text,
"ubigeo" real,
"elevation_m" real
); | SELECT COUNT("elevation_m") FROM "by_elevation" WHERE "district"='Paratia'; | 1-2251578-4 |
What province is in the district of Condoroma? | CREATE TABLE "by_elevation" (
"num" real,
"district" text,
"province" text,
"region" text,
"ubigeo" real,
"elevation_m" real
); | SELECT "province" FROM "by_elevation" WHERE "district"='Condoroma'; | 1-2251578-4 |
Name the reporters for 2003 | CREATE TABLE "2000s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "reporters" FROM "2000s" WHERE "year"=2003; | 1-22514845-2 |
Name the total number for race caller for bob costas and charlsie cantey | CREATE TABLE "2000s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT COUNT("race_caller") FROM "2000s" WHERE "trophy_presentation"='Bob Costas and Charlsie Cantey'; | 1-22514845-2 |
Who is the race caller for the year 1994? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT "race_caller" FROM "1990s" WHERE "year"=1994; | 1-22514845-3 |
How many reporters for the year 1993? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"race_caller" text,
"s_host" text,
"s_analyst" text,
"reporters" text,
"trophy_presentation" text
); | SELECT COUNT("reporters") FROM "1990s" WHERE "year"=1993; | 1-22514845-3 |
What were the starting odds for the opening odds of 2-1? | CREATE TABLE "the_field" (
"post" real,
"horse_name" text,
"trainer" text,
"jockey" text,
"opening_odds" text,
"starting_odds" text,
"finishing_pos" real
); | SELECT "starting_odds" FROM "the_field" WHERE "opening_odds"='2-1'; | 1-22517564-3 |
Who was the jockey with opening odds of 4-1? | CREATE TABLE "the_field" (
"post" real,
"horse_name" text,
"trainer" text,
"jockey" text,
"opening_odds" text,
"starting_odds" text,
"finishing_pos" real
); | SELECT "jockey" FROM "the_field" WHERE "opening_odds"='4-1'; | 1-22517564-3 |
HOw many jockeys had eoin harty as a trainer | CREATE TABLE "the_field" (
"post" real,
"horse_name" text,
"trainer" text,
"jockey" text,
"opening_odds" text,
"starting_odds" text,
"finishing_pos" real
); | SELECT COUNT("jockey") FROM "the_field" WHERE "trainer"='Eoin Harty'; | 1-22517564-3 |
Which post had the horse named chocolate candy? | CREATE TABLE "the_field" (
"post" real,
"horse_name" text,
"trainer" text,
"jockey" text,
"opening_odds" text,
"starting_odds" text,
"finishing_pos" real
); | SELECT "post" FROM "the_field" WHERE "horse_name"='Chocolate Candy'; | 1-22517564-3 |
What is every date successor seated for the Virginia 11th District? | CREATE TABLE "table1_225199_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "date_successor_seated" FROM "table1_225199_4" WHERE "district"='Virginia 11th'; | 1-225199-4 |
Name the successor for not filled this congress | CREATE TABLE "table1_225200_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "successor" FROM "table1_225200_4" WHERE "date_successor_seated"='Not filled this congress'; | 1-225200-4 |
Name the district for rep. warren r. davis died during previous congress | CREATE TABLE "table1_225200_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "district" FROM "table1_225200_4" WHERE "reason_for_change"='Rep. Warren R. Davis died during previous congress'; | 1-225200-4 |
Name the total number of reason for change for not filled this congress | CREATE TABLE "table1_225200_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT COUNT("reason_for_change") FROM "table1_225200_4" WHERE "date_successor_seated"='Not filled this congress'; | 1-225200-4 |
Name the vacator for resigned february 26, 1836 because of ill health | CREATE TABLE "table1_225200_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_225200_4" WHERE "reason_for_change"='Resigned February 26, 1836 because of ill health'; | 1-225200-4 |
Name the vacator for failure to elect | CREATE TABLE "table1_225205_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "vacator" FROM "table1_225205_3" WHERE "reason_for_change"='Failure to elect'; | 1-225205-3 |
Name the state class for iowa admitted to the union december 28, 1846 | CREATE TABLE "table1_225205_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "state_class" FROM "table1_225205_3" WHERE "reason_for_change"='Iowa admitted to the Union December 28, 1846'; | 1-225205-3 |
Who was the vacator when the reason for change was failure to elect? | CREATE TABLE "table1_225206_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "vacator" FROM "table1_225206_3" WHERE "reason_for_change"='Failure to elect'; | 1-225206-3 |
Name the number of nat for total g of 6 | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT COUNT("nat") FROM "squad_stats" WHERE "total_g"=6; | 1-22542179-3 |
Name the l g for rubio | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT "l_g" FROM "squad_stats" WHERE "player"='Rubio'; | 1-22542179-3 |
Name the least total apaps for txema | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT MIN("total_apps") FROM "squad_stats" WHERE "player"='Txema'; | 1-22542179-3 |
when administrative centre is egilsstaðir, what is the pop./ km²? | CREATE TABLE "overview_of_the_regions" (
"num" real,
"name" text,
"name_english" text,
"population_2008_07_01" real,
"area_km" real,
"pop_km" text,
"iso_3166_2" text,
"administrative_centre" text
); | SELECT COUNT("pop_km") FROM "overview_of_the_regions" WHERE "administrative_centre"='Egilsstaðir'; | 1-2252745-1 |
when the name is southern region, what is the administrative centre? | CREATE TABLE "overview_of_the_regions" (
"num" real,
"name" text,
"name_english" text,
"population_2008_07_01" real,
"area_km" real,
"pop_km" text,
"iso_3166_2" text,
"administrative_centre" text
); | SELECT "administrative_centre" FROM "overview_of_the_regions" WHERE "name_english"='Southern Region'; | 1-2252745-1 |
when the area (km²) is 22721, what is the pop./ km²? | CREATE TABLE "overview_of_the_regions" (
"num" real,
"name" text,
"name_english" text,
"population_2008_07_01" real,
"area_km" real,
"pop_km" text,
"iso_3166_2" text,
"administrative_centre" text
); | SELECT "pop_km" FROM "overview_of_the_regions" WHERE "area_km"=22721; | 1-2252745-1 |
What is the max pop of 2008 for selfoss? | CREATE TABLE "overview_of_the_regions" (
"num" real,
"name" text,
"name_english" text,
"population_2008_07_01" real,
"area_km" real,
"pop_km" text,
"iso_3166_2" text,
"administrative_centre" text
); | SELECT MAX("population_2008_07_01") FROM "overview_of_the_regions" WHERE "administrative_centre"='Selfoss'; | 1-2252745-1 |
When the # is 4, what is the pop./ km²? | CREATE TABLE "overview_of_the_regions" (
"num" real,
"name" text,
"name_english" text,
"population_2008_07_01" real,
"area_km" real,
"pop_km" text,
"iso_3166_2" text,
"administrative_centre" text
); | SELECT "pop_km" FROM "overview_of_the_regions" WHERE "num"=4; | 1-2252745-1 |
Name the player for l apps for 17 | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT "player" FROM "squad_stats" WHERE "l_apps"=17; | 1-22538587-3 |
Name the least total apps for jaime | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT MIN("total_apps") FROM "squad_stats" WHERE "player"='Jaime'; | 1-22538587-3 |
Name the total number of lg for cg is larger than 1.0 for c apps is 3 | CREATE TABLE "squad_stats" (
"player" text,
"nat" text,
"pos" text,
"l_apps" real,
"l_g" real,
"c_apps" real,
"c_g" real,
"total_apps" real,
"total_g" real
); | SELECT COUNT("l_g") FROM "squad_stats" WHERE "c_g">1.0 AND "c_apps"=3; | 1-22538587-3 |
If the runner-up is [[|]] 151/8 (50.0 overs), what were the results? | CREATE TABLE "table1_22577693_1" (
"details" text,
"host_nation_s" text,
"final_venue" text,
"winner" text,
"result" text,
"runner_up" text
); | SELECT "result" FROM "table1_22577693_1" WHERE "runner_up"='[[|]] 151/8 (50.0 overs)'; | 1-22577693-1 |
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)? | CREATE TABLE "table1_22577693_1" (
"details" text,
"host_nation_s" text,
"final_venue" text,
"winner" text,
"result" text,
"runner_up" text
); | SELECT "host_nation_s" FROM "table1_22577693_1" WHERE "winner"='Hong Kong 207/6 (47.1 overs)'; | 1-22577693-1 |
If the winner is Hong Kong 207/6 (47.1 overs), what is the name of the hosting nation? | CREATE TABLE "table1_22577693_1" (
"details" text,
"host_nation_s" text,
"final_venue" text,
"winner" text,
"result" text,
"runner_up" text
); | SELECT "host_nation_s" FROM "table1_22577693_1" WHERE "winner"='Hong Kong 207/6 (47.1 overs)'; | 1-22577693-1 |
If the results are Kuwait won by 72 runs scorecard, what are the details? | CREATE TABLE "table1_22577693_1" (
"details" text,
"host_nation_s" text,
"final_venue" text,
"winner" text,
"result" text,
"runner_up" text
); | SELECT "details" FROM "table1_22577693_1" WHERE "result"='Kuwait won by 72 runs Scorecard'; | 1-22577693-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.