question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471? | CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
); | SELECT COUNT("tot_enlisted") FROM "growth_personnel" WHERE "enlisted_o_s"=801471; | 1-23508196-2 |
How many tot officers were there on the date when the number of tot enlisted was 329640? | CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
); | SELECT "tot_officers" FROM "growth_personnel" WHERE "tot_enlisted"=329640; | 1-23508196-2 |
How many Tot enlisted were there on the day when the number of total USAAF was 2329534? | CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
); | SELECT MAX("tot_enlisted") FROM "growth_personnel" WHERE "total_usaaf"=2329534; | 1-23508196-2 |
How many contestants where from mitteldeutschland? | CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
); | SELECT COUNT("age") FROM "official_delegates" WHERE "represent"='Mitteldeutschland'; | 1-23495048-2 |
How many meters tall is Ulrike Wolful? | CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
); | SELECT "height_mtr" FROM "official_delegates" WHERE "contestant"='Ulrike Wolful'; | 1-23495048-2 |
Which country had a contestant that was 1.76 meters tall? | CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
); | SELECT "represent" FROM "official_delegates" WHERE "height_mtr"='1.76'; | 1-23495048-2 |
What country had a contestant that was 1.70 meters tall? | CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
); | SELECT "represent" FROM "official_delegates" WHERE "height_mtr"='1.70'; | 1-23495048-2 |
If seed number is 2, what is the maximum amount of points? | CREATE TABLE "2010_wimbledon_championships" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
); | SELECT MAX("points") FROM "2010_wimbledon_championships" WHERE "seed"=2; | 1-23501776-18 |
If new points is 1720, what is the status? | CREATE TABLE "2010_wimbledon_championships" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
); | SELECT "status" FROM "2010_wimbledon_championships" WHERE "new_points"=1720; | 1-23501776-18 |
Who is the winning party/coalition name in election year 1980? | CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
); | SELECT "winning_party_coalition" FROM "table1_23512864_4" WHERE "election_year"=1980; | 1-23512864-4 |
If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum? | CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
); | SELECT MAX("election_year") FROM "table1_23512864_4" WHERE "speaker"='Munu Adhi (2) K. Rajaram'; | 1-23512864-4 |
If the speaker is R. Muthiah, what is the election year maximum? | CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
); | SELECT MAX("election_year") FROM "table1_23512864_4" WHERE "speaker"='R. Muthiah'; | 1-23512864-4 |
What is the name of the speaker if the chief minister is M.G. Ramachandran? | CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
); | SELECT "speaker" FROM "table1_23512864_4" WHERE "chief_minister"='M.G. Ramachandran'; | 1-23512864-4 |
If the assembly is the sixth assembly, what is the maximum election year? | CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
); | SELECT MAX("election_year") FROM "table1_23512864_4" WHERE "assembly"='Sixth Assembly'; | 1-23512864-4 |
Name the number of crews for light bombardment group | CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enlisted" real
); | SELECT "number_of_crews" FROM "tactical_organization" WHERE "type_of_unit"='Light bombardment group'; | 1-23508196-5 |
What is the aircraft for 21 crews? | CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enlisted" real
); | SELECT "type_of_aircraft" FROM "tactical_organization" WHERE "number_of_crews"='21'; | 1-23508196-5 |
Nam ethe enlisted for troop carrier group | CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enlisted" real
); | SELECT "enlisted" FROM "tactical_organization" WHERE "type_of_unit"='Troop carrier group'; | 1-23508196-5 |
What was the title when 1.121 million US people watched it? | CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
); | SELECT "title" FROM "table1_23513241_5" WHERE "u_s_viewers_millions"='1.121'; | 1-23513241-5 |
What is the lowest series episode with a production code of 406? | CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
); | SELECT MIN("series_episode") FROM "table1_23513241_5" WHERE "prod_code"=406; | 1-23513241-5 |
List the title of series episode 38. | CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
); | SELECT "title" FROM "table1_23513241_5" WHERE "series_episode"=38; | 1-23513241-5 |
How many millions of U.S. viewers watched the episode "Here Comes the Neighborhood"? | CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
); | SELECT "u_s_viewers_millions" FROM "table1_23513241_5" WHERE "title"='\"Here Comes the Neighborhood\"'; | 1-23513241-5 |
What type of formula did Stirling Moss drive? | CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
); | SELECT "formula" FROM "winners_of_the_danish_grand_prix" WHERE "driver"='Stirling Moss'; | 1-23548160-1 |
What year did Randy Lewis drive? | CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
); | SELECT "year" FROM "winners_of_the_danish_grand_prix" WHERE "driver"='Randy Lewis'; | 1-23548160-1 |
What was the constructor in 1975? | CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
); | SELECT "constructor" FROM "winners_of_the_danish_grand_prix" WHERE "year"=1975; | 1-23548160-1 |
If the market name is Xperia U, what is the weight? | CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weight" text,
"battery_m_ah" real,
"bluetooth" text,
"wi_fi" text,
"nfc" text,
"camera" text,
"... | SELECT "weight" FROM "smartphones" WHERE "market_name"='Xperia U'; | 1-23556331-4 |
What is the release date if the code name is Aoba? | CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weight" text,
"battery_m_ah" real,
"bluetooth" text,
"wi_fi" text,
"nfc" text,
"camera" text,
"... | SELECT "release_date" FROM "smartphones" WHERE "code_name"='Aoba'; | 1-23556331-4 |
If the weight is 126g and the NFC is yes, what is the battery (MAH)? | CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weight" text,
"battery_m_ah" real,
"bluetooth" text,
"wi_fi" text,
"nfc" text,
"camera" text,
"... | SELECT "battery_m_ah" FROM "smartphones" WHERE "nfc"='Yes' AND "weight"='126g'; | 1-23556331-4 |
What is the platform if the weight is 131.5g? | CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weight" text,
"battery_m_ah" real,
"bluetooth" text,
"wi_fi" text,
"nfc" text,
"camera" text,
"... | SELECT "platform" FROM "smartphones" WHERE "weight"='131.5g'; | 1-23556331-4 |
What is the Android version is the code name is Lotus? | CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weight" text,
"battery_m_ah" real,
"bluetooth" text,
"wi_fi" text,
"nfc" text,
"camera" text,
"... | SELECT "android_version" FROM "smartphones" WHERE "code_name"='Lotus'; | 1-23556331-4 |
When middle assyrian empire is the ubaid period in mesopotamia what is the copper age? | CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
); | SELECT "copper_age" FROM "table1_23537091_1" WHERE "ubaid_period_in_mesopotamia"='Middle Assyrian Empire'; | 1-23537091-1 |
When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age? | CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
); | SELECT "copper_age" FROM "table1_23537091_1" WHERE "ubaid_period_in_mesopotamia"='Hittite Old Kingdom , Minoan eruption'; | 1-23537091-1 |
When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there? | CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
); | SELECT COUNT("early_chalcolithic") FROM "table1_23537091_1" WHERE "ubaid_period_in_mesopotamia"='Hittite Middle Kingdom , New Kingdom of Egypt'; | 1-23537091-1 |
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there? | CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
); | SELECT COUNT("early_chalcolithic") FROM "table1_23537091_1" WHERE "ubaid_period_in_mesopotamia"='Second Intermediate Period of Egypt'; | 1-23537091-1 |
What was the score against Loic Didavi? | CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
); | SELECT "result" FROM "singles_14" WHERE "opponent"='Loic Didavi'; | 1-23563375-11 |
Who was played against when there was a loss and in the gi po round? | CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
); | SELECT "against" FROM "singles_14" WHERE "w_l"='Loss' AND "round"='GI PO'; | 1-23563375-11 |
What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6? | CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
); | SELECT "w_l" FROM "singles_14" WHERE "result"='2–6, 5–7, 7–6 (11–9) , 1–6'; | 1-23563375-11 |
When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "regular_season"='2nd, Great Lakes'; | 1-2357201-1 |
What is the lowest numbered division Cleveland played in? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MIN("division") FROM "year_by_year"; | 1-2357201-1 |
How did Cleveland do in the regular season in 2006? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "year"=2006; | 1-2357201-1 |
How did Cleveland do in the Open Cup in 2009? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "open_cup" FROM "year_by_year" WHERE "year"=2009; | 1-2357201-1 |
When victoria coren and rhod gilbert are both on the lees team what is the score? | CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
); | SELECT "scores" FROM "table1_23575917_6" WHERE "lees_team"='Victoria Coren and Rhod Gilbert'; | 1-23575917-6 |
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast? | CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
); | SELECT "first_broadcast" FROM "table1_23575917_6" WHERE "davids_team"='David O''Doherty and Katherine Parkinson'; | 1-23575917-6 |
When bill oddie and frank skinner are both on the davids team what is the episode? | CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
); | SELECT "episode" FROM "table1_23575917_6" WHERE "davids_team"='Bill Oddie and Frank Skinner'; | 1-23575917-6 |
When kevin bridges and katy wix are both on the less team what is the score? | CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
); | SELECT "scores" FROM "table1_23575917_6" WHERE "lees_team"='Kevin Bridges and Katy Wix'; | 1-23575917-6 |
How many shows did team David consist of vernon kay and dara ó briain | CREATE TABLE "table1_23575917_8" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
); | SELECT COUNT("episode") FROM "table1_23575917_8" WHERE "davids_team"='Vernon Kay and Dara Ó Briain'; | 1-23575917-8 |
If the hometown is Windhoek, what is the represented? | CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
); | SELECT "represented" FROM "contestants" WHERE "hometown"='Windhoek'; | 1-23576576-2 |
If the height in inches is 5'7", what is the represented? | CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
); | SELECT "represented" FROM "contestants" WHERE "height_in"='5''7\"'; | 1-23576576-2 |
If the hometown is Omuthiya, what is the contestant name? | CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
); | SELECT "contestant" FROM "contestants" WHERE "hometown"='Omuthiya'; | 1-23576576-2 |
What is the height in inches if the represented is Erongo? | CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
); | SELECT "height_in" FROM "contestants" WHERE "represented"='Erongo'; | 1-23576576-2 |
What week did September 29 fall in? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='September 29'; | 1-23601267-2 |
What was the score on the October 28 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "schedule" WHERE "date"='October 28'; | 1-23601267-2 |
What was the score on September 20? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "schedule" WHERE "date"='September 20'; | 1-23601267-2 |
What's Blanco Encalada's main artillery? | CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
); | SELECT "main_artillery" FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Blanco Encalada'; | 1-23614702-1 |
How many different horse-powers does the Cochrane have? | CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
); | SELECT COUNT("horse_power") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Cochrane'; | 1-23614702-1 |
What warship has horse-power of 1500? | CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
); | SELECT "warship" FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "horse_power"=1500; | 1-23614702-1 |
How much does the Independencia weight? | CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
); | SELECT MIN("tons_l_ton") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Independencia'; | 1-23614702-1 |
In how many different years was the warship that weights 1130 tons built? | CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
); | SELECT COUNT("built_year") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "tons_l_ton"=1130; | 1-23614702-1 |
What is every value for % 20-39 if % 60-74 is 10,46%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_20_39" FROM "external_links" WHERE "pct_60_74"='10,46%'; | 1-23606500-4 |
What is every value for % 40-59 if % 60-74 is 12,42%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_40_59" FROM "external_links" WHERE "pct_60_74"='12,42%'; | 1-23606500-4 |
What is every value for % 75 + if % 0-19 is 19,75%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_75" FROM "external_links" WHERE "pct_0_19"='19,75%'; | 1-23606500-4 |
What is every value for % 20-39 if % 0-19 is 21,11%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_20_39" FROM "external_links" WHERE "pct_0_19"='21,11%'; | 1-23606500-4 |
What is every value for % 20-39 if % 0-19 is 21,11%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_20_39" FROM "external_links" WHERE "pct_0_19"='21,11%'; | 1-23606500-4 |
What is every value for % 40-59 if % 60-74 is 12,40%? | CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
); | SELECT "pct_40_59" FROM "external_links" WHERE "pct_60_74"='12,40%'; | 1-23606500-4 |
How man horse power did the ship covadonga have? | CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
); | SELECT "horse_power" FROM "wooden_s_steamboat_of_chile_and_peru_at_" WHERE "warship"='Covadonga'; | 1-23614702-2 |
What is the primary artillery for the 1,051 ships? | CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
); | SELECT "main_artillery" FROM "wooden_s_steamboat_of_chile_and_peru_at_" WHERE "tons_l_ton"='1,051'; | 1-23614702-2 |
List the maximum speed for the 1.150 ton ships? | CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
); | SELECT "speed_knots" FROM "wooden_s_steamboat_of_chile_and_peru_at_" WHERE "tons_l_ton"='1.150'; | 1-23614702-2 |
List the ship with 1x115-2x70-2x12-pounders for primary artillery. | CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
); | SELECT "warship" FROM "wooden_s_steamboat_of_chile_and_peru_at_" WHERE "main_artillery"='1x115-2x70-2x12-pounders'; | 1-23614702-2 |
Which location has the date of October 28? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "location" FROM "schedule" WHERE "date"='October 28'; | 1-23612439-2 |
What is the final score when 22210 is the attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "schedule" WHERE "attendance"=22210; | 1-23612439-2 |
Which opponents are on the date July 22? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='July 22'; | 1-23612439-2 |
Which opponents are on the date September 5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='September 5'; | 1-23612439-2 |
What is the final score when July 16 is the date? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "final_score" FROM "schedule" WHERE "date"='July 16'; | 1-23612439-2 |
On which date is Taylor Field the location? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "schedule" WHERE "location"='Taylor Field'; | 1-23612439-2 |
Name the number of regular season for 2007 | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT COUNT("regular_season") FROM "year_by_year" WHERE "year"=2007; | 1-2361788-1 |
Name the most year for conference finals | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MAX("year") FROM "year_by_year" WHERE "playoffs"='Conference Finals'; | 1-2361788-1 |
Name the regular season for final playoffs | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Final'; | 1-2361911-2 |
Name the least division | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MIN("division") FROM "year_by_year"; | 1-2361911-2 |
Name the regular season for usisl d-3 pro league did not qualify | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "league"='USISL D-3 Pro League' AND "playoffs"='Did not qualify'; | 1-2361911-2 |
What was the position of the player from Saskatchewan Roughriders? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
); | SELECT "position" FROM "round_three" WHERE "cfl_team"='Saskatchewan Roughriders'; | 1-23619005-3 |
What CFL team was the player playing on SB position drafted for? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
); | SELECT "cfl_team" FROM "round_three" WHERE "position"='SB'; | 1-23619005-3 |
What was Michael Shaver's position? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
); | SELECT "position" FROM "round_three" WHERE "player"='Michael Shaver'; | 1-23619005-3 |
How many different players got drafted for the Ottawa Renegades? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
); | SELECT COUNT("player") FROM "round_three" WHERE "cfl_team"='Ottawa Renegades'; | 1-23619005-3 |
What's Doug Borden's position? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
); | SELECT "position" FROM "round_three" WHERE "player"='Doug Borden'; | 1-23619005-3 |
What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008? | CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants_2004" text
); | SELECT "pct_of_all_immigrants_2007" FROM "by_country" WHERE "pct_of_all_immigrants_2008"='1.7%'; | 1-23619212-1 |
How many different percentages of immigrants in 2006 can there be for Morocco? | CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants_2004" text
); | SELECT COUNT("pct_of_all_immigrants_2006") FROM "by_country" WHERE "country"='Morocco'; | 1-23619212-1 |
What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006? | CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants_2004" text
); | SELECT "pct_of_all_immigrants_2004" FROM "by_country" WHERE "pct_of_all_immigrants_2006"='2.1%'; | 1-23619212-1 |
What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006? | CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants_2004" text
); | SELECT "pct_of_all_immigrants_2007" FROM "by_country" WHERE "pct_of_all_immigrants_2006"='14.1%'; | 1-23619212-1 |
How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005? | CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants_2004" text
); | SELECT COUNT("pct_of_all_immigrants_2007") FROM "by_country" WHERE "pct_of_all_immigrants_2005"='1.2%'; | 1-23619212-1 |
What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)? | CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–7(1), 2–6, 6–4, 7–5, 6–7(2)'; | 1-2362486-1 |
Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)? | CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponents_in_the_final" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–4, 2–6, 6–4, 7–6(3)'; | 1-2362486-1 |
Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)? | CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "championship" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–4, 2–6, 6–4, 7–6(3)'; | 1-2362486-1 |
What was the score in the final in 1988? | CREATE TABLE "wins_4" (
"outcome" text,
"year" real,
"championship" text,
"partnering" text,
"opponents_in_final" text,
"score_in_final" text
); | SELECT "score_in_final" FROM "wins_4" WHERE "year"=1988; | 1-2362606-1 |
Name the london, great britain for 2:20:57 | CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
); | SELECT "london_great_britain" FROM "records" WHERE "2_15_25"='2:20:57'; | 1-23619492-3 |
Name the world record for 26 april 2009 | CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
); | SELECT "world_record" FROM "records" WHERE "13_april_2003"='26 April 2009'; | 1-23619492-3 |
Name the london great britain for championship record | CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
); | SELECT "london_great_britain" FROM "records" WHERE "world_record"='Championship record'; | 1-23619492-3 |
Name the total number of african record | CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
); | SELECT COUNT("paula_radcliffe_gbr") FROM "records" WHERE "world_record"='African record'; | 1-23619492-3 |
Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? | CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
); | SELECT "mix_artist" FROM "table1_23649244_1" WHERE "artist_1"='Tears for Fears' AND "artist_2"='Eric Prydz'; | 1-23649244-1 |
Which level has marvin gaye as artist 1 and david bowie as artist 2? | CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
); | SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Marvin Gaye' AND "artist_2"='David Bowie'; | 1-23649244-1 |
Which level has grandmaster flash as artist 1? | CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
); | SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Grandmaster Flash'; | 1-23649244-1 |
Which level has wale as artist 1? | CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
); | SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Wale'; | 1-23649244-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.