question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What Height has a 2008 Club of Itas Diatec?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "height" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='itas diatec';
2-18499677-3
What Name has a 2008 Club of Sisley Treviso?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='sisley treviso';
2-18499677-3
What Weight has a 2008 Club of Acqua Paradiso Gabeca?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "weight" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='acqua paradiso gabeca';
2-18499677-3
What are the Notes of the Mill Built in the 19th Century?
CREATE TABLE "namur" ( "location" text, "name_of_mill" text, "type" text, "built" text, "notes" text );
SELECT "notes" FROM "namur" WHERE "built"='19th century';
2-18843333-3
What is the Type of Mill at Molen de Stud?
CREATE TABLE "namur" ( "location" text, "name_of_mill" text, "type" text, "built" text, "notes" text );
SELECT "type" FROM "namur" WHERE "name_of_mill"='molen de stud';
2-18843333-3
What is the Name of the Mill Built in 1802?
CREATE TABLE "namur" ( "location" text, "name_of_mill" text, "type" text, "built" text, "notes" text );
SELECT "name_of_mill" FROM "namur" WHERE "built"='1802';
2-18843333-3
What is the Location of the Mill Built in the Early 19th Century?
CREATE TABLE "namur" ( "location" text, "name_of_mill" text, "type" text, "built" text, "notes" text );
SELECT "location" FROM "namur" WHERE "built"='early 19th century';
2-18843333-3
What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "record" FROM "schedule" WHERE "home"='san francisco 49ers' AND "visitor"='philadelphia eagles';
2-18589528-1
What was the home team for the game with attendance larger than 59,064 and a record of 7-4-0?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "home" FROM "schedule" WHERE "attendance">'59,064' AND "record"='7-4-0';
2-18589528-1
What is the record for the game played on September 27?
CREATE TABLE "schedule" ( "date" text, "visitor" text, "score" text, "home" text, "record" text, "attendance" real );
SELECT "record" FROM "schedule" WHERE "date"='september 27';
2-18589528-1
What is the highest place of a song by Henri Dès that has fewer than 8 points?
CREATE TABLE "results" ( "language" text, "artist" text, "song" text, "place" real, "points" real );
SELECT MAX("place") FROM "results" WHERE "artist"='henri dès' AND "points"<8;
2-184813-1
What team was 2 on November 22, 2008 when the result was 1-0?
CREATE TABLE "results" ( "date" text, "team_1" text, "result" text, "team_2" text, "ground" text );
SELECT "team_2" FROM "results" WHERE "date"='november 22, 2008' AND "result"='1-0';
2-18795599-4
What team was 2 when Tatung was team 1 at National Pei Men Senior High School?
CREATE TABLE "results" ( "date" text, "team_1" text, "result" text, "team_2" text, "ground" text );
SELECT "team_2" FROM "results" WHERE "team_1"='tatung' AND "ground"='national pei men senior high school';
2-18795599-4
Where was the game played that has a result of 0-4?
CREATE TABLE "results" ( "date" text, "team_1" text, "result" text, "team_2" text, "ground" text );
SELECT "ground" FROM "results" WHERE "result"='0-4';
2-18795599-4
What team is 2 when 1 is Taipower and the result is 0-1?
CREATE TABLE "results" ( "date" text, "team_1" text, "result" text, "team_2" text, "ground" text );
SELECT "team_2" FROM "results" WHERE "team_1"='taipower' AND "result"='0-1';
2-18795599-4
What team is 2 when the game result is 0-4 at Pailing Sport Park?
CREATE TABLE "results" ( "date" text, "team_1" text, "result" text, "team_2" text, "ground" text );
SELECT "team_2" FROM "results" WHERE "ground"='pailing sport park' AND "result"='0-4';
2-18795599-4
What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real );
SELECT COUNT("points") FROM "results" WHERE "draw"<12 AND "artist"='philipp kirkorov' AND "place"<17;
2-184937-1
What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real );
SELECT SUM("place") FROM "results" WHERE "draw"<16 AND "english_translation"='in love with you' AND "points"<1;
2-184937-1
What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real );
SELECT MAX("draw") FROM "results" WHERE "points">31 AND "place">6 AND "english_translation"='listen to me';
2-184937-1
What was the population of Green County?
CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT MIN("population") FROM "wisconsin_counties_ranked_by_per_capita_" WHERE "county"='green';
2-1840578-1
Which county had 6,807 households and a median family income of $49,865?
CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "county" FROM "wisconsin_counties_ranked_by_per_capita_" WHERE "number_of_households">'6,807' AND "median_family_income"='$49,865';
2-1840578-1
What was the score of the game against Minnesota?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "opponent"='minnesota';
2-18813011-6
What player had the high point on July 7?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "regular_season" WHERE "date"='july 7';
2-18813011-6
What's the format of the single, I Can't Stay?
CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text );
SELECT "format" FROM "singles" WHERE "single"='i can''t stay';
2-18710512-3
What's the Backed after 2008 with a label of Wild World?
CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text );
SELECT "backed_with" FROM "singles" WHERE "record_label"='wild world' AND "date">2008;
2-18710512-3
What's the date for Details of 1000 copies?
CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text );
SELECT MIN("date") FROM "singles" WHERE "other_details"='1000 copies';
2-18710512-3
What nation has paavo nurmi as the athlete, with a medal count less than 12?
CREATE TABLE "timeline" ( "medal_count" real, "date" text, "athlete" text, "nation" text, "sport" text, "record_medal_event" text );
SELECT "nation" FROM "timeline" WHERE "athlete"='paavo nurmi' AND "medal_count"<12;
2-18855244-2
Which sport has 17 as the medal count?
CREATE TABLE "timeline" ( "medal_count" real, "date" text, "athlete" text, "nation" text, "sport" text, "record_medal_event" text );
SELECT "sport" FROM "timeline" WHERE "medal_count"=17;
2-18855244-2
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
CREATE TABLE "timeline" ( "medal_count" real, "date" text, "athlete" text, "nation" text, "sport" text, "record_medal_event" text );
SELECT "record_medal_event" FROM "timeline" WHERE "sport"='athletics' AND "athlete"='robert garrett' AND "medal_count"<3;
2-18855244-2
What is the Opponent of the game in Week 3?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "week"=3;
2-18753271-1
What is the Attendance of the game on December 12, 2004?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "date"='december 12, 2004';
2-18753271-1
What is the Attendance of the game against Jacksonville Jaguars?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "opponent"='jacksonville jaguars';
2-18753271-1
Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_round" WHERE "money"='90,400' AND "country"='south africa' AND "player"='thomas aiken';
2-18811509-7
How much Money( £ )australia has ?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "country"='australia';
2-18811509-7
Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "country"='south africa' AND "to_par"='+1' AND "player"='ernie els';
2-18811509-7
Where has a Player of tom watson?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "player"='tom watson';
2-18811509-7
Which Score has a To par of +1 in sweden?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_round" WHERE "to_par"='+1' AND "country"='sweden';
2-18811509-7
Which To par is of thomas aiken?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "to_par" FROM "final_round" WHERE "player"='thomas aiken';
2-18811509-7
What is the average expenditures on R&D for Croatia after 2007?
CREATE TABLE "list" ( "rank" real, "country_region" text, "expenditures_on_r_d_billions_of_us_ppp" real, "pct_of_gdp_ppp" text, "year" real );
SELECT AVG("expenditures_on_r_d_billions_of_us_ppp") FROM "list" WHERE "country_region"='croatia' AND "year">2007;
2-18492011-1
What is the lowest expenditures on R&D for Poland after 2011?
CREATE TABLE "list" ( "rank" real, "country_region" text, "expenditures_on_r_d_billions_of_us_ppp" real, "pct_of_gdp_ppp" text, "year" real );
SELECT MIN("expenditures_on_r_d_billions_of_us_ppp") FROM "list" WHERE "country_region"='poland' AND "year">2011;
2-18492011-1
What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)?
CREATE TABLE "matches" ( "season" text, "competition" text, "round" text, "opposition" text, "score" text );
SELECT "opposition" FROM "matches" WHERE "round"='first round' AND "competition"='uefa cup' AND "score"='3–1 (h), 2–0 (a)';
2-18420346-1
What is the Season of the game with a Score of 0–2 (a), 3–1 (h)?
CREATE TABLE "matches" ( "season" text, "competition" text, "round" text, "opposition" text, "score" text );
SELECT "season" FROM "matches" WHERE "score"='0–2 (a), 3–1 (h)';
2-18420346-1
Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka?
CREATE TABLE "former_members" ( "school" text, "location" text, "mascot" text, "num_county" text, "year_joined" real, "previous_conference" text, "year_left" real, "conference_joined" text );
SELECT "location" FROM "former_members" WHERE "year_joined"=1966 AND "previous_conference"='noble county' AND "school"='wawaka';
2-18896680-2
How much Year Left has a Location of howe?
CREATE TABLE "former_members" ( "school" text, "location" text, "mascot" text, "num_county" text, "year_joined" real, "previous_conference" text, "year_left" real, "conference_joined" text );
SELECT SUM("year_left") FROM "former_members" WHERE "location"='howe';
2-18896680-2
Which School has a Year Left of 1966, and a Mascot of indians?
CREATE TABLE "former_members" ( "school" text, "location" text, "mascot" text, "num_county" text, "year_joined" real, "previous_conference" text, "year_left" real, "conference_joined" text );
SELECT "school" FROM "former_members" WHERE "year_left"=1966 AND "mascot"='indians';
2-18896680-2
Who was the Elevator of Giacomo Colonna?
CREATE TABLE "cardinal_elections" ( "elector" text, "nationality" text, "cardinalatial_order_and_title" text, "elevated" text, "elevator" text );
SELECT "elevator" FROM "cardinal_elections" WHERE "elector"='giacomo colonna';
2-18924985-1
What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio?
CREATE TABLE "cardinal_elections" ( "elector" text, "nationality" text, "cardinalatial_order_and_title" text, "elevated" text, "elevator" text );
SELECT "elevated" FROM "cardinal_elections" WHERE "elevator"='nicholas iii' AND "cardinalatial_order_and_title"='cardinal-deacon of s. eustachio';
2-18924985-1
What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana?
CREATE TABLE "cardinal_elections" ( "elector" text, "nationality" text, "cardinalatial_order_and_title" text, "elevated" text, "elevator" text );
SELECT "elevated" FROM "cardinal_elections" WHERE "cardinalatial_order_and_title"='cardinal-priest of s. pudenziana';
2-18924985-1
What are the games behind for the Oklahoma City Thunder division?
CREATE TABLE "seasons" ( "season" text, "team" text, "conference_conf" text, "division_div" text, "div_finish" text, "games_behind_gb" text, "head_coach" text );
SELECT "games_behind_gb" FROM "seasons" WHERE "division_div"='oklahoma city thunder';
2-18665168-3
What is the highest elevation of a place where the lowest point is the Allaine River, National border?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT "highest_elevation" FROM "references" WHERE "lowest_point"='allaine river, national border';
2-1885244-1
What is the lowest elevation value whose highest point is Mont Raimeux?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT "lowest_elevation" FROM "references" WHERE "highest_point"='mont raimeux';
2-1885244-1
What rank is Vaud with the lowest point is Lake Geneva?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT SUM("rank") FROM "references" WHERE "lowest_point"='lake geneva' AND "canton"='vaud';
2-1885244-1
Wich rank is given to the Canton of Schaffhausen?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT SUM("rank") FROM "references" WHERE "canton"='schaffhausen';
2-1885244-1
What is the highest elevation for the highest point of Schnebelhorn?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT "highest_elevation" FROM "references" WHERE "highest_point"='schnebelhorn';
2-1885244-1
What is the Canton of Vaud's highest point?
CREATE TABLE "references" ( "rank" real, "canton" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text );
SELECT "highest_point" FROM "references" WHERE "canton"='vaud';
2-1885244-1
What type of ship is a Kobben class vessel that has been in service longer than 2?
CREATE TABLE "vessels" ( "vessel" text, "origin" text, "type" text, "in_service" real, "unit" text );
SELECT "type" FROM "vessels" WHERE "in_service">2 AND "vessel"='kobben class';
2-18952568-1
What is the unit for a submarine type ship from Norway?
CREATE TABLE "vessels" ( "vessel" text, "origin" text, "type" text, "in_service" real, "unit" text );
SELECT "unit" FROM "vessels" WHERE "type"='submarine' AND "origin"='norway';
2-18952568-1
Who was the opponent with a 32-25 record?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='32-25';
2-18493036-8
What is the location/ attendance for a 35-28 record?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "record"='35-28';
2-18493036-8
What is the latest year when Neal Baer was a nominee, and the result was nominated?
CREATE TABLE "wga_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT MAX("year") FROM "wga_awards" WHERE "result"='nominated' AND "nominee_s"='neal baer';
2-18540176-23
That is the total year that Neal Baer is a nominee?
CREATE TABLE "wga_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT SUM("year") FROM "wga_awards" WHERE "nominee_s"='neal baer';
2-18540176-23
For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result?
CREATE TABLE "wga_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "episode" FROM "wga_awards" WHERE "result"='nominated' AND "nominee_s"='walon green, joe sachs';
2-18540176-23
Nominee Neal Baer had what result?
CREATE TABLE "wga_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "result" FROM "wga_awards" WHERE "nominee_s"='neal baer';
2-18540176-23
What episode after 1998 had John Wells as the nominee?
CREATE TABLE "wga_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "episode" FROM "wga_awards" WHERE "year">1998 AND "nominee_s"='john wells';
2-18540176-23
Who has the world record of 153kg in the clean & jerk?
CREATE TABLE "records" ( "world_record" text, "snatch" text, "shi_zhiyong_chn" text, "153kg" text, "izmir_turkey" text );
SELECT "153kg" FROM "records" WHERE "world_record"='clean & jerk';
2-18508625-2
What's the release date for the processor spec number SLBEQ(d0)?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_date" FROM "45_nm" WHERE "s_spec_number"='slbeq(d0)';
2-18823880-1
What's the release date of model number CORE I7-940?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_date" FROM "45_nm" WHERE "model_number"='core i7-940';
2-18823880-1
What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_price_usd" FROM "45_nm" WHERE "i_o_bus"='1 × 6.4 gt/s qpi' AND "part_number_s"='bx80601975at80601002274aa';
2-18823880-1
What's the release price of a processor that has a frequency of 3.2 ghz and 1 × 6.4 gt/s qpi I/O?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_price_usd" FROM "45_nm" WHERE "frequency"='3.2 ghz' AND "i_o_bus"='1 × 6.4 gt/s qpi';
2-18823880-1
Who is the creator of the title 애장판 홍차왕자, aejangpan hongchawangja?
CREATE TABLE "licensed_titles" ( "title" text, "localized_title" text, "creator" text, "years" text, "origin" text );
SELECT "creator" FROM "licensed_titles" WHERE "localized_title"='애장판 홍차왕자, aejangpan hongchawangja';
2-18498868-2
What is the title in English for 애장판 홍차왕자, aejangpan hongchawangja?
CREATE TABLE "licensed_titles" ( "title" text, "localized_title" text, "creator" text, "years" text, "origin" text );
SELECT "title" FROM "licensed_titles" WHERE "localized_title"='애장판 홍차왕자, aejangpan hongchawangja';
2-18498868-2
What years did 홍차왕자 air?
CREATE TABLE "licensed_titles" ( "title" text, "localized_title" text, "creator" text, "years" text, "origin" text );
SELECT "years" FROM "licensed_titles" WHERE "localized_title"='홍차왕자';
2-18498868-2
What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000?
CREATE TABLE "populations" ( "country" text, "orphans_as_pct_of_all_children" real, "aids_orphans_as_pct_of_orphans" real, "total_orphans_total" real, "total_orphans_aids_related" text, "maternal_total" real, "maternal_aids_related" text, "paternal_total" real, "paternal_aids_related" text, "double_total" real, "double_aids_related" text );
SELECT SUM("aids_orphans_as_pct_of_orphans") FROM "populations" WHERE "double_aids_related"='41,000' AND "paternal_total">'442,000';
2-18564154-2
What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000?
CREATE TABLE "populations" ( "country" text, "orphans_as_pct_of_all_children" real, "aids_orphans_as_pct_of_orphans" real, "total_orphans_total" real, "total_orphans_aids_related" text, "maternal_total" real, "maternal_aids_related" text, "paternal_total" real, "paternal_aids_related" text, "double_total" real, "double_aids_related" text );
SELECT MIN("total_orphans_total") FROM "populations" WHERE "total_orphans_aids_related"='< 100' AND "maternal_total"<'31,000';
2-18564154-2
What's the term start date for Meretz?
CREATE TABLE "deputy_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "term_start" FROM "deputy_ministers" WHERE "party"='meretz';
2-18921615-2
How many clubs are involved when the clubs remaining are 2?
CREATE TABLE "team_distribution" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT SUM("clubs_involved") FROM "team_distribution" WHERE "clubs_remaining"=2;
2-1859269-1
How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league?
CREATE TABLE "team_distribution" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "new_entries_this_round" FROM "team_distribution" WHERE "leagues_entering_at_this_round"='tff third league & turkish regional amateur league';
2-1859269-1
What is the number of clubs remaining in the second round?
CREATE TABLE "team_distribution" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT MIN("clubs_remaining") FROM "team_distribution" WHERE "round"='second round';
2-1859269-1
Which round has 4 clubs involved?
CREATE TABLE "team_distribution" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "round" FROM "team_distribution" WHERE "clubs_involved"=4;
2-1859269-1
How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining?
CREATE TABLE "team_distribution" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT MIN("clubs_involved") FROM "team_distribution" WHERE "winners_from_previous_round"='4' AND "clubs_remaining">4;
2-1859269-1
What is the Away team at the game with a Score of 4 – 2?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "northern_section" WHERE "score"='4 – 2';
2-18720697-3
What is the Tie no of the game with an Attendance of 4,658?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "northern_section" WHERE "attendance"='4,658';
2-18720697-3
What is the Home team at the Lincoln City Away game?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "northern_section" WHERE "away_team"='lincoln city';
2-18720697-3
What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "northern_section" WHERE "score"='1 – 0' AND "attendance"='1,791';
2-18720697-3
What is the Home team of the game with a Score of 2 – 2?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "northern_section" WHERE "score"='2 – 2';
2-18720697-3
What is the Attendance of the game with a Score of 0 – 0?
CREATE TABLE "northern_section" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "northern_section" WHERE "score"='0 – 0';
2-18720697-3
What is the weight for Iraklis in 2008?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "weight" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='iraklis';
2-18499677-9
What year had Nintendo EAD, Monolith Soft as developers?
CREATE TABLE "g4" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT SUM("year") FROM "g4" WHERE "developer_s"='nintendo ead, monolith soft';
2-1851722-56
what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?
CREATE TABLE "season_5" ( "restaurant_name" text, "original_name" text, "location" text, "chef" text, "designer" text, "still_open" text );
SELECT "location" FROM "season_5" WHERE "designer"='glen peloso' AND "restaurant_name"='joe boo''s cookoos';
2-1874292-5
Is the restaurant still open that had the original name of n/a, location of toronto, on and the designer meredith heron?
CREATE TABLE "season_5" ( "restaurant_name" text, "original_name" text, "location" text, "chef" text, "designer" text, "still_open" text );
SELECT "still_open" FROM "season_5" WHERE "original_name"='n/a' AND "location"='toronto, on' AND "designer"='meredith heron';
2-1874292-5
is the restaurant locavore still open?
CREATE TABLE "season_5" ( "restaurant_name" text, "original_name" text, "location" text, "chef" text, "designer" text, "still_open" text );
SELECT "still_open" FROM "season_5" WHERE "restaurant_name"='locavore';
2-1874292-5
is the restaurant bacchus roti with meredith heron as the designer still open?
CREATE TABLE "season_5" ( "restaurant_name" text, "original_name" text, "location" text, "chef" text, "designer" text, "still_open" text );
SELECT "still_open" FROM "season_5" WHERE "designer"='meredith heron' AND "restaurant_name"='bacchus roti';
2-1874292-5
What year did the team from City of Aurora join?
CREATE TABLE "membership" ( "school" text, "city" text, "team_name" text, "enrollment_08_09" real, "ihsaa_class" text, "ihsaa_class_football" text, "county" text, "year_joined_or_joining" real, "previous_conference" text );
SELECT AVG("year_joined_or_joining") FROM "membership" WHERE "city"='aurora';
2-18773999-1
What was the total enrollment 08-09 of Franklin County?
CREATE TABLE "membership" ( "school" text, "city" text, "team_name" text, "enrollment_08_09" real, "ihsaa_class" text, "ihsaa_class_football" text, "county" text, "year_joined_or_joining" real, "previous_conference" text );
SELECT COUNT("enrollment_08_09") FROM "membership" WHERE "school"='franklin county';
2-18773999-1
What school has a team called the Pirates?
CREATE TABLE "membership" ( "school" text, "city" text, "team_name" text, "enrollment_08_09" real, "ihsaa_class" text, "ihsaa_class_football" text, "county" text, "year_joined_or_joining" real, "previous_conference" text );
SELECT "school" FROM "membership" WHERE "team_name"='pirates';
2-18773999-1
What is the rank of the team with a time of 1:00.61?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT AVG("rank") FROM "semifinal_1" WHERE "time"='1:00.61';
2-18624773-4
What's the lane with a time of 1:00.66?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT AVG("lane") FROM "semifinal_1" WHERE "time"='1:00.66';
2-18624773-4
What's the rank when the time was 59.65?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT "rank" FROM "semifinal_1" WHERE "time"='59.65';
2-18624773-4
What is the record when they played New York?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "regular_season" WHERE "opponent"='new york';
2-18813011-5
Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?
CREATE TABLE "former_members" ( "school" text, "location" text, "mascot" text, "county" text, "year_joined" real, "year_left" text, "conference_joined" text );
SELECT "county" FROM "former_members" WHERE "year_joined"=1964 AND "location"='montezuma';
2-18973790-1