question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the Score of the Semifinal 1?
CREATE TABLE "royal_league_2005" ( "date" text, "venue" text, "opponents" text, "score" text, "round" text );
SELECT "score" FROM "royal_league_2005" WHERE "round"='semifinal 1';
2-16514823-5
What are the ends for the player with a transfer fee of loan?
CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" text, "transfer_fee" text );
SELECT "ends" FROM "squad_information" WHERE "transfer_fee"='loan';
2-17505751-1
What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006?
CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" text, "transfer_fee" text );
SELECT "transfer_fee" FROM "squad_information" WHERE "since"='2006' AND "goals"<63 AND "nat"='mli';
2-17505751-1
What is the royal house for Wu at the state of cai?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "royal_house" FROM "vassal_states" WHERE "name"='wu' AND "state"='cai';
2-17337671-12
What is the state where the title is listed as count?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "state" FROM "vassal_states" WHERE "title"='count';
2-17337671-12
What is the state for the royal house of ying?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "state" FROM "vassal_states" WHERE "royal_house"='ying';
2-17337671-12
Which Opponent in the final has a Score in the final of 6–2, 6–3, 2–6, 7–5?
CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "opponent_in_the_final" FROM "career_titles_13" WHERE "score_in_the_final"='6–2, 6–3, 2–6, 7–5';
2-1723697-2
How many Dates have a Score in the final of 6–4, 6–2?
CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT SUM("date") FROM "career_titles_13" WHERE "score_in_the_final"='6–4, 6–2';
2-1723697-2
Which Surface has an Outcome of runner-up, and a Score in the final of 4–6, 6–7, 6–2, 2–6?
CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "surface" FROM "career_titles_13" WHERE "outcome"='runner-up' AND "score_in_the_final"='4–6, 6–7, 6–2, 2–6';
2-1723697-2
Which Opponent in the final has an Outcome of winner, and a Date larger than 1992, and a Surface of clay, and a Score in the final of 3–6, 6–2, 6–1?
CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "opponent_in_the_final" FROM "career_titles_13" WHERE "outcome"='winner' AND "date">1992 AND "surface"='clay' AND "score_in_the_final"='3–6, 6–2, 6–1';
2-1723697-2
Which Surface has a Score in the final of 2–6, 6–7?
CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "surface" FROM "career_titles_13" WHERE "score_in_the_final"='2–6, 6–7';
2-1723697-2
What day in November has a record of 15-6-1?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT AVG("november") FROM "schedule_and_results" WHERE "record"='15-6-1';
2-17324893-3
What day in November has the game less than 12?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT "november" FROM "schedule_and_results" WHERE "game"<12;
2-17324893-3
What is the earliest day in November with a record of 15-7-1?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT MIN("november") FROM "schedule_and_results" WHERE "record"='15-7-1';
2-17324893-3
What is Finish, when Country is "South Africa"?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "country"='south africa';
2-17245444-1
What is Player, when Country is "United States", and when Year(s) Won is "1976"?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "player" FROM "made_the_cut" WHERE "country"='united states' AND "year_s_won"='1976';
2-17245444-1
Which first round has a first team of angers sco (d1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='angers sco (d1)';
2-16989866-1
In which stadium does Club Pro Patria play?
CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "stadium" FROM "girone_a" WHERE "club"='pro patria';
2-17605092-1
What was the stadium in which the 2007-08 season placement was 8th in Serie c1/a?
CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "stadium" FROM "girone_a" WHERE "2007_08_season"='8th in serie c1/a';
2-17605092-1
Which club came in 14th in Serie c1/a in the 2007-08 season?
CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "club" FROM "girone_a" WHERE "2007_08_season"='14th in serie c1/a';
2-17605092-1
What was the result of the 2007-08 season for the city of Ferrara?
CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "2007_08_season" FROM "girone_a" WHERE "city"='ferrara';
2-17605092-1
How many matches were played that resulted in less than 59.1 overs and a 6.78 Economy rate?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text );
SELECT SUM("matches") FROM "most_wickets" WHERE "overs"<59.1 AND "economy_rate">6.78;
2-17529767-10
What is the average of someone with more than 19 wickets and less than 16 matches?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text );
SELECT AVG("average") FROM "most_wickets" WHERE "wickets">19 AND "matches"<16;
2-17529767-10
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text );
SELECT MAX("matches") FROM "most_wickets" WHERE "team"='deccan chargers' AND "strike_rate">15.5;
2-17529767-10
Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "home" FROM "round_of_32" WHERE "date"='21.10.07' AND "geust"='bsc young boys (asl)';
2-17008878-2
What is the home of fc st. gallen (asl) geust?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "home" FROM "round_of_32" WHERE "geust"='fc st. gallen (asl)';
2-17008878-2
What is the home of the geust fc basel (asl)?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "home" FROM "round_of_32" WHERE "geust"='fc basel (asl)';
2-17008878-2
What is the home of fc thun (asl) geust?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "home" FROM "round_of_32" WHERE "geust"='fc thun (asl)';
2-17008878-2
What is the home of the match with a 0:2 result on 21.10.07?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "home" FROM "round_of_32" WHERE "result"='0:2' AND "date"='21.10.07';
2-17008878-2
What is the geust with a 0:1 result?
CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text );
SELECT "geust" FROM "round_of_32" WHERE "result"='0:1';
2-17008878-2
What is the nalchik with 4 played, a rl qual., and 100 jermuk?
CREATE TABLE "grand_prix_standings" ( "player" text, "qual" text, "baku" text, "sochi" text, "elista" text, "nalchik" text, "jermuk" text, "astrakhan" text, "played" real );
SELECT "nalchik" FROM "grand_prix_standings" WHERE "played"=4 AND "qual"='rl' AND "jermuk"='100';
2-17189818-7
What is the elista with 1 played and 153⅓ baku?
CREATE TABLE "grand_prix_standings" ( "player" text, "qual" text, "baku" text, "sochi" text, "elista" text, "nalchik" text, "jermuk" text, "astrakhan" text, "played" real );
SELECT "elista" FROM "grand_prix_standings" WHERE "played"=1 AND "baku"='153⅓';
2-17189818-7
Which river had 26 points?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "driver" FROM "race" WHERE "points"=26;
2-16474450-2
What year did the Caphouse Colliery railway close?
CREATE TABLE "similar_gauges" ( "name" text, "opened" text, "closed" text, "length" text, "location" text );
SELECT "closed" FROM "similar_gauges" WHERE "name"='caphouse colliery';
2-16767662-1
What was the percentage in 2006 that had less than 9% in 1970?
CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real );
SELECT AVG("2006") FROM "pct_foreign_born_by_borough_1970_2006" WHERE "1970"<9;
2-1729017-2
What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real );
SELECT MIN("1980") FROM "pct_foreign_born_by_borough_1970_2006" WHERE "2006"<37.8 AND "2000">29.4 AND "1970">18.2;
2-1729017-2
What was the percentage in 1980 in Brooklyn?
CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real );
SELECT MIN("1980") FROM "pct_foreign_born_by_borough_1970_2006" WHERE "borough"='brooklyn';
2-1729017-2
What is the result the R3 round?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "league_cup" WHERE "round"='r3';
2-16618361-6
What is the result of the game against Ayr United?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "league_cup" WHERE "opponent"='ayr united';
2-16618361-6
What was the score for the game in which the Edmonton Oilers were visitors?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "visitor"='edmonton oilers';
2-17206737-9
What was the score of the game in which the Toronto Maple Leafs were visitors?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "visitor"='toronto maple leafs';
2-17206737-9
When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT COUNT("pick") FROM "draft_picks" WHERE "player"='jeb barlow' AND "round"<7;
2-17261417-1
What country is team ucla come from?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT "nationality" FROM "draft_picks" WHERE "school_club_team"='ucla';
2-17261417-1
How many rounds have picked smaller than 220, with Alford Turner as a player?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT SUM("round") FROM "draft_picks" WHERE "pick"<220 AND "player"='alford turner';
2-17261417-1
What is the pick with Dean Sears and round larger than 6?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT MIN("pick") FROM "draft_picks" WHERE "round">6 AND "player"='dean sears';
2-17261417-1
What is the total pick with Bill Duffy?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT SUM("pick") FROM "draft_picks" WHERE "player"='bill duffy';
2-17261417-1
What is the total round with pick of 109?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT SUM("round") FROM "draft_picks" WHERE "pick"=109;
2-17261417-1
How many picks for round 12?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "nfl_draft" WHERE "round"=12;
2-17323746-1
What was Tom Donchez pick number?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "pick_num" FROM "nfl_draft" WHERE "player"='tom donchez';
2-17323746-1
What is date when against is smaller than 6 and location was durban?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "date" FROM "matches" WHERE "against"<6 AND "venue"='durban';
2-17020783-1
What was the note with a year after 2003?
CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text );
SELECT "note" FROM "discography" WHERE "year">2003;
2-163893-3
When was the note a vocals and the album north (original motion picture soundtrack)?
CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text );
SELECT "year" FROM "discography" WHERE "note"='vocals' AND "album"='north (original motion picture soundtrack)';
2-163893-3
Which album had the note tape [tape echo]?
CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text );
SELECT "album" FROM "discography" WHERE "note"='tape [tape echo]';
2-163893-3
Which artist was 2003?
CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text );
SELECT "artist" FROM "discography" WHERE "year"=2003;
2-163893-3
What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35?
CREATE TABLE "season_2_2009_11" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text );
SELECT "title" FROM "season_2_2009_11" WHERE "season_num">10 AND "series_num">35 AND "directed_by"='erik wiese and eddie trigueros';
2-17030926-3
What is the Original airdate of the episode after Season 6 Directed by Erik Wiese?
CREATE TABLE "season_2_2009_11" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text );
SELECT "original_airdate" FROM "season_2_2009_11" WHERE "directed_by"='erik wiese' AND "season_num">6;
2-17030926-3
What is the average of laps ridden by Toni Elias?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("laps") FROM "moto_gp_classification" WHERE "rider"='toni elias';
2-16212245-1
How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "time" FROM "moto_gp_classification" WHERE "manufacturer"='yamaha' AND "grid"<8 AND "laps"<23;
2-16212245-1
What is the fewest amount of laps when the grid was larger than 1 and 42:31.153?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT MIN("laps") FROM "moto_gp_classification" WHERE "time"='42:31.153' AND "grid">1;
2-16212245-1
How long did it take to ride when the laps were 23 and the grid of 13?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "time" FROM "moto_gp_classification" WHERE "laps"=23 AND "grid"=13;
2-16212245-1
What was the result for the 71,164 in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "attendance">'71,164';
2-16660856-1
Which rank is above floor 47?
CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" text );
SELECT "rank" FROM "tallest_buildings" WHERE "floors">47;
2-1722194-1
What class is the RML Team?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "team"='rml';
2-1673849-1
Which Result has a Home team of portland, and a Date of may 31?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "result" FROM "nba_finals" WHERE "home_team"='portland' AND "date"='may 31';
2-17060327-8
Which Date has a Road team of portland, and a Game of game 5?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "date" FROM "nba_finals" WHERE "road_team"='portland' AND "game"='game 5';
2-17060327-8
Which Home team has a Road team of portland, and a Result of 104–110?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "home_team" FROM "nba_finals" WHERE "road_team"='portland' AND "result"='104–110';
2-17060327-8
Which Home team has a Game of game 5?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "home_team" FROM "nba_finals" WHERE "game"='game 5';
2-17060327-8
Which Date has a Home team of philadelphia, and a Result of 104–110?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "date" FROM "nba_finals" WHERE "home_team"='philadelphia' AND "result"='104–110';
2-17060327-8
Which Road team has a Home team of portland, and a Date of may 31?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "road_team" FROM "nba_finals" WHERE "home_team"='portland' AND "date"='may 31';
2-17060327-8
Which Tongan has a North Marquesan of /haʔe/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "tongan" FROM "internal_correspondences" WHERE "north_marquesan"='/haʔe/';
2-162594-1
What kind of North Marquesan has a Takuu of /ɾani/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "north_marquesan" FROM "internal_correspondences" WHERE "takuu"='/ɾani/';
2-162594-1
What kind of Takuu has a North Marquesan of /vehine/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "takuu" FROM "internal_correspondences" WHERE "north_marquesan"='/vehine/';
2-162594-1
What kind of Rarotongan has a Tahitian of /metua/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "rarotongan" FROM "internal_correspondences" WHERE "tahitian"='/metua/';
2-162594-1
What kind of Tongan has a North Marquesan of /haʔe/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "tongan" FROM "internal_correspondences" WHERE "north_marquesan"='/haʔe/';
2-162594-1
What kind of South Marquesan has a Sāmoan of /matua/?
CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, "hawai_ian" text, "mangarevan" text );
SELECT "south_marquesan" FROM "internal_correspondences" WHERE "s_moan"='/matua/';
2-162594-1
What is the maximum Col (m) when 3,046 is the Prominence (m)?
CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text );
SELECT MAX("col_m") FROM "the_125_most_prominent_peaks" WHERE "prominence_m"='3,046';
2-1753419-1
What is the total Col (m) when the Prominence (m) is less than 4,884, and India / Burma is the location?
CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text );
SELECT SUM("col_m") FROM "the_125_most_prominent_peaks" WHERE "prominence_m"<'4,884' AND "location"='india / burma';
2-1753419-1
Where is the peak Pico Basilé located?
CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text );
SELECT "location" FROM "the_125_most_prominent_peaks" WHERE "peak"='pico basilé';
2-1753419-1
what is the norwegian krag-Jørgensen M189 when the Japanese Type 38 Rifle is 5?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "norwegian_krag_j_rgensen_m1894" FROM "comparison_with_contemporary_rifles" WHERE "japanese_type_38_rifle"='5';
2-17275-2
What is the German Gewehr 98 when the Danish Krag-Jørgensen 1889 is 4.28kg?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "german_gewehr_98" FROM "comparison_with_contemporary_rifles" WHERE "danish_krag_j_rgensen_1889"='4.28kg';
2-17275-2
What is the British Lee-Enfield (data for late model) when the Japanese Type 38 Rifle is 5?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "british_lee_enfield_data_for_late_model" FROM "comparison_with_contemporary_rifles" WHERE "japanese_type_38_rifle"='5';
2-17275-2
What is the Rifle when the German Gewehr 98 is 74cm?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "rifle" FROM "comparison_with_contemporary_rifles" WHERE "german_gewehr_98"='74cm';
2-17275-2
What is the US Krag-Jørgensen M1892 when the Norwegian Krag-Jørgensen M1894 is 126.8cm?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "us_krag_j_rgensen_m1892" FROM "comparison_with_contemporary_rifles" WHERE "norwegian_krag_j_rgensen_m1894"='126.8cm';
2-17275-2
What is the British Lee-Enfield (data for late model) when the Japanese Type 38 Rifle is 5?
CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "german_gewehr_98" text, "british_lee_enfield_data_for_late_model" text );
SELECT "british_lee_enfield_data_for_late_model" FROM "comparison_with_contemporary_rifles" WHERE "japanese_type_38_rifle"='5';
2-17275-2
What team has a national league in 2001?
CREATE TABLE "winners" ( "year" real, "player" text, "team" text, "league" text, "position" text );
SELECT "team" FROM "winners" WHERE "league"='national' AND "year"=2001;
2-1725690-2
What is the league of the third baseman player before 1973?
CREATE TABLE "winners" ( "year" real, "player" text, "team" text, "league" text, "position" text );
SELECT "league" FROM "winners" WHERE "year"<1973 AND "position"='third baseman';
2-1725690-2
What is Original Title, when Film Title Used In Nomination is "Monga"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='monga';
2-17350255-1
What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "original_title"='tiānmǎ cháfáng (天馬茶房)';
2-17350255-1
What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)"
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "original_title"='báng-kah (艋舺)';
2-17350255-1
What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "original_title" FROM "submissions" WHERE "director"='ting shan-si' AND "film_title_used_in_nomination"='the 800 heroes';
2-17350255-1
What is Year (Ceremony), when Director is "Wang Siu-Di"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "director"='wang siu-di';
2-17350255-1
What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='kuei-mei, a woman';
2-17350255-1
What was the issued serial for yellow on blue design issued in 1955?
CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text );
SELECT "serials_issued" FROM "1954_to_1972" WHERE "design"='yellow on blue' AND "issued"=1955;
2-16799086-7
What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text );
SELECT "serial_format" FROM "1954_to_1972" WHERE "design"='white on blue' AND "serials_issued"='ss-00-00 to zz-99-99';
2-16799086-7
What is the issued serial given in 1966?
CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text );
SELECT "serials_issued" FROM "1954_to_1972" WHERE "issued"=1966;
2-16799086-7
What serial format was issued in 1972?
CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text );
SELECT "serial_format" FROM "1954_to_1972" WHERE "issued"=1972;
2-16799086-7
What type was issued in 1964?
CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text );
SELECT "type" FROM "1954_to_1972" WHERE "issued"=1964;
2-16799086-7
At which tournament does Milan play against Hungary's league selection?
CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "tournament" FROM "pre_season_tournaments_and_friendlies" WHERE "opponent_team"='hungary''s league selection';
2-17482554-8
What was the final score on 1 August 2008?
CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "score" FROM "pre_season_tournaments_and_friendlies" WHERE "date"='1 august 2008';
2-17482554-8
Where did Milan play against Napoli?
CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "location" FROM "pre_season_tournaments_and_friendlies" WHERE "opponent_team"='napoli';
2-17482554-8