question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?
CREATE TABLE "1950s" ( "country" text, "1951" real, "1952" real, "1953" real, "1954" real, "1955" real, "1956" real, "1957" real, "1958" real, "1959" real );
SELECT SUM("1955") FROM "1950s" WHERE "1956">2.9 AND "1953">4.5;
2-18940307-6
Where was Alex Song signed from after 2010?
CREATE TABLE "signings" ( "rank" real, "player" text, "from" text, "transfer_fee_millions" text, "year" real );
SELECT "from" FROM "signings" WHERE "year">2010 AND "player"='alex song';
2-18409089-1
How many players were signed from Sevilla?
CREATE TABLE "signings" ( "rank" real, "player" text, "from" text, "transfer_fee_millions" text, "year" real );
SELECT COUNT("year") FROM "signings" WHERE "from"='sevilla';
2-18409089-1
In what Week resulting in the bottom 3 was Endre Jansen Partner?
CREATE TABLE "dansefeber" ( "week" real, "partner" text, "dance" text, "music" text, "result" text );
SELECT MAX("week") FROM "dansefeber" WHERE "result"='bottom 3' AND "partner"='endre jansen';
2-18615911-1
What Dance in Week 1 resulted in Safe?
CREATE TABLE "dansefeber" ( "week" real, "partner" text, "dance" text, "music" text, "result" text );
SELECT "dance" FROM "dansefeber" WHERE "result"='safe' AND "week"=1;
2-18615911-1
In what Week was the Locking Dance?
CREATE TABLE "dansefeber" ( "week" real, "partner" text, "dance" text, "music" text, "result" text );
SELECT MAX("week") FROM "dansefeber" WHERE "dance"='locking';
2-18615911-1
What position has 7 as the round, with a pick # less than 214?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "position" FROM "nfl_draft" WHERE "round"=7 AND "pick_num"<214;
2-18732289-1
What college has a round greater than 1, with dylan mcfarland as the player?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "college" FROM "nfl_draft" WHERE "round">1 AND "player"='dylan mcfarland';
2-18732289-1
What player has a pick # greater than 207?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "nfl_draft" WHERE "pick_num">207;
2-18732289-1
Which artist had a 4x platinum?
CREATE TABLE "top_10_american_albums" ( "rank" real, "artist" text, "album" text, "peak_position" real, "sales" real, "certification" text );
SELECT "artist" FROM "top_10_american_albums" WHERE "certification"='4x platinum';
2-18382316-2
What was the highest peak position for the album one of the boys?
CREATE TABLE "top_10_american_albums" ( "rank" real, "artist" text, "album" text, "peak_position" real, "sales" real, "certification" text );
SELECT MAX("peak_position") FROM "top_10_american_albums" WHERE "album"='one of the boys';
2-18382316-2
How many sales had a peak position of 1 and a certification of 6x platinum?
CREATE TABLE "top_10_american_albums" ( "rank" real, "artist" text, "album" text, "peak_position" real, "sales" real, "certification" text );
SELECT COUNT("sales") FROM "top_10_american_albums" WHERE "peak_position"=1 AND "certification"='6x platinum';
2-18382316-2
What album had a peak position of 6 and a certification of 3x platinum?
CREATE TABLE "top_10_american_albums" ( "rank" real, "artist" text, "album" text, "peak_position" real, "sales" real, "certification" text );
SELECT "album" FROM "top_10_american_albums" WHERE "certification"='3x platinum' AND "peak_position"=6;
2-18382316-2
How many sales had a peak position more than 2 and a Certification of 3x platinum?
CREATE TABLE "top_10_american_albums" ( "rank" real, "artist" text, "album" text, "peak_position" real, "sales" real, "certification" text );
SELECT COUNT("sales") FROM "top_10_american_albums" WHERE "peak_position">2 AND "certification"='3x platinum';
2-18382316-2
Who were the rowers who had a time of 7:39.70?
CREATE TABLE "heat_3" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "rowers" FROM "heat_3" WHERE "time"='7:39.70';
2-18662704-5
Who were the rowers from china wh had a rank smaller than 4?
CREATE TABLE "heat_3" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "rowers" FROM "heat_3" WHERE "rank"<4 AND "country"='china';
2-18662704-5
What is the notes for the rowers from denmark?
CREATE TABLE "heat_3" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "notes" FROM "heat_3" WHERE "country"='denmark';
2-18662704-5
Which Bronze has a Nation of austria, and a Total larger than 6?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medals_table" WHERE "nation"='austria' AND "total">6;
2-18526406-4
Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "rank" FROM "medals_table" WHERE "silver"=1 AND "gold"=0 AND "nation"='austria';
2-18526406-4
Which Total has a Rank of 5, and a Bronze smaller than 0?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medals_table" WHERE "rank"='5' AND "bronze"<0;
2-18526406-4
Which Total has a Bronze of 5, and a Silver smaller than 1?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "medals_table" WHERE "bronze"=5 AND "silver"<1;
2-18526406-4
What is the highest year with a formula of Grand Prix?
CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );
SELECT MAX("year") FROM "winners_of_the_circuit_des_ardennes" WHERE "formula"='grand prix';
2-18893428-1
Which formula had a driver of John Moore-Brabazon?
CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );
SELECT "formula" FROM "winners_of_the_circuit_des_ardennes" WHERE "driver"='john moore-brabazon';
2-18893428-1
Which driver had a year under 1905?
CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );
SELECT "driver" FROM "winners_of_the_circuit_des_ardennes" WHERE "year"<1905;
2-18893428-1
How many years had a formula of Grand Prix?
CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );
SELECT COUNT("year") FROM "winners_of_the_circuit_des_ardennes" WHERE "formula"='grand prix';
2-18893428-1
Which location was won by George Heath?
CREATE TABLE "winners_of_the_circuit_des_ardennes" ( "year" real, "formula" text, "driver" text, "constructor" text, "location" text, "report" text );
SELECT "location" FROM "winners_of_the_circuit_des_ardennes" WHERE "driver"='george heath';
2-18893428-1
What is the 2010 total for ghana?
CREATE TABLE "2010_statistics_at_least_1_000_000_passe" ( "country" text, "airport" text, "city" text, "2010" real, "change_10_09" text );
SELECT COUNT("2010") FROM "2010_statistics_at_least_1_000_000_passe" WHERE "country"='ghana';
2-18600121-3
Which country is the nnamdi azikiwe international airport in?
CREATE TABLE "2010_statistics_at_least_1_000_000_passe" ( "country" text, "airport" text, "city" text, "2010" real, "change_10_09" text );
SELECT "country" FROM "2010_statistics_at_least_1_000_000_passe" WHERE "airport"='nnamdi azikiwe international airport';
2-18600121-3
What is the average lane for Kenya with react larger than 0.212?
CREATE TABLE "heat_3" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real );
SELECT AVG("lane") FROM "heat_3" WHERE "nationality"='kenya' AND "react">0.212;
2-18569105-4
what is the highest rank for tim maeyens?
CREATE TABLE "heat_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT MAX("rank") FROM "heat_1" WHERE "athlete"='tim maeyens';
2-18662643-2
what is the notes for andre vonarburg?
CREATE TABLE "heat_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "notes" FROM "heat_1" WHERE "athlete"='andre vonarburg';
2-18662643-2
Who is the athlete from greece?
CREATE TABLE "heat_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "athlete" FROM "heat_1" WHERE "country"='greece';
2-18662643-2
who is the athlete with the rank smaller than 2?
CREATE TABLE "heat_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "athlete" FROM "heat_1" WHERE "rank"<2;
2-18662643-2
what is the notes for the athlete with the time of 7:38.87?
CREATE TABLE "heat_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "notes" FROM "heat_1" WHERE "time"='7:38.87';
2-18662643-2
What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medals_table" WHERE "silver"=4 AND "total">6;
2-18744005-4
What is the highest number of bronze medals of west germany, which has more than 0 golds?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medals_table" WHERE "nation"='west germany' AND "gold">0;
2-18744005-4
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medals_table" WHERE "bronze">2 AND "silver">0 AND "nation"='soviet union';
2-18744005-4
What year did the ship Europa, have the dates of 14 – 23 October?
CREATE TABLE "westbound_record_breakers_blue_riband_ho" ( "ship" text, "year" real, "dates" text, "line" text, "from" text, "distance" text, "days_hours_minutes" text, "speed" text );
SELECT AVG("year") FROM "westbound_record_breakers_blue_riband_ho" WHERE "ship"='europa' AND "dates"='14 – 23 october';
2-189252-1
What is the ship in the Cunard line from Liverpool 19 – 29 July?
CREATE TABLE "westbound_record_breakers_blue_riband_ho" ( "ship" text, "year" real, "dates" text, "line" text, "from" text, "distance" text, "days_hours_minutes" text, "speed" text );
SELECT "ship" FROM "westbound_record_breakers_blue_riband_ho" WHERE "line"='cunard' AND "from"='liverpool' AND "dates"='19 – 29 july';
2-189252-1
What is the distance for 5 d, 23 h, 7 m?
CREATE TABLE "westbound_record_breakers_blue_riband_ho" ( "ship" text, "year" real, "dates" text, "line" text, "from" text, "distance" text, "days_hours_minutes" text, "speed" text );
SELECT "distance" FROM "westbound_record_breakers_blue_riband_ho" WHERE "days_hours_minutes"='5 d, 23 h, 7 m';
2-189252-1
What is the Days, hours, minutes for the GW line from Liverpool?
CREATE TABLE "westbound_record_breakers_blue_riband_ho" ( "ship" text, "year" real, "dates" text, "line" text, "from" text, "distance" text, "days_hours_minutes" text, "speed" text );
SELECT "days_hours_minutes" FROM "westbound_record_breakers_blue_riband_ho" WHERE "line"='gw' AND "from"='liverpool';
2-189252-1
What is the Days, hours, minutes for 21 – 26 October?
CREATE TABLE "westbound_record_breakers_blue_riband_ho" ( "ship" text, "year" real, "dates" text, "line" text, "from" text, "distance" text, "days_hours_minutes" text, "speed" text );
SELECT "days_hours_minutes" FROM "westbound_record_breakers_blue_riband_ho" WHERE "dates"='21 – 26 october';
2-189252-1
Which year did the school with the mascot of the Vikings join?
CREATE TABLE "former_members" ( "school" text, "location" text, "mascot" text, "county" text, "year_joined" text, "year_left" text );
SELECT "year_joined" FROM "former_members" WHERE "mascot"='vikings';
2-18957111-2
Who wrote the album recorded at funhouse studios with a time of 3:27?
CREATE TABLE "track_listing" ( "title" text, "time" text, "writer_s" text, "performer_s" text, "producer_s" text, "recorded_at" text );
SELECT "writer_s" FROM "track_listing" WHERE "recorded_at"='funhouse studios' AND "time"='3:27';
2-18815934-2
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16?
CREATE TABLE "track_listing" ( "title" text, "time" text, "writer_s" text, "performer_s" text, "producer_s" text, "recorded_at" text );
SELECT "performer_s" FROM "track_listing" WHERE "recorded_at"='the cabin in the woods studio' AND "time"='3:16';
2-18815934-2
Which League Cup Goals have a League Cup Apps of 1 (1)?
CREATE TABLE "appearances_and_goals" ( "name" text, "nation" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "total_apps" text, "total_goals" real );
SELECT "league_cup_goals" FROM "appearances_and_goals" WHERE "league_cup_apps"='1 (1)';
2-18411856-1
Which FA Cup Apps have Total Goals larger than 6, and an FA Cup Goals smaller than 1?
CREATE TABLE "appearances_and_goals" ( "name" text, "nation" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "total_apps" text, "total_goals" real );
SELECT "fa_cup_apps" FROM "appearances_and_goals" WHERE "total_goals">6 AND "fa_cup_goals"<1;
2-18411856-1
How many League Goals have an FA Cup Apps of 0 (1)?
CREATE TABLE "appearances_and_goals" ( "name" text, "nation" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "total_apps" text, "total_goals" real );
SELECT COUNT("league_goals") FROM "appearances_and_goals" WHERE "fa_cup_apps"='0 (1)';
2-18411856-1
What is the lowest round number in which Will Wilcox was selected?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT MIN("round") FROM "nfl_draft" WHERE "player"='will wilcox';
2-18842944-1
Which player went to college at Tennessee-Chattanooga?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "nfl_draft" WHERE "college"='tennessee-chattanooga';
2-18842944-1
Which Col (m) has an Elevation (m) smaller than 1,624?
CREATE TABLE "scandinavia" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real );
SELECT MIN("col_m") FROM "scandinavia" WHERE "elevation_m"<'1,624';
2-18918776-1
How much Elevation (m) has a Prominence (m) larger than 1,754?
CREATE TABLE "scandinavia" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real );
SELECT SUM("elevation_m") FROM "scandinavia" WHERE "prominence_m">'1,754';
2-18918776-1
Which Col (m) has a Prominence (m) larger than 1,519, and a Peak of jiehkkevárri, and an Elevation (m) larger than 1,834?
CREATE TABLE "scandinavia" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real );
SELECT MIN("col_m") FROM "scandinavia" WHERE "prominence_m">'1,519' AND "peak"='jiehkkevárri' AND "elevation_m">'1,834';
2-18918776-1
What is the highest score when the 1st half is smaller than 289 and rank smaller than 61?
CREATE TABLE "ranking_round" ( "rank" real, "archer" text, "1st_half" real, "2nd_half" real, "score" real );
SELECT MAX("score") FROM "ranking_round" WHERE "1st_half"<289 AND "rank"<61;
2-18454995-5
What is the lowest first half when the score is larger than 621 and the rank 35?
CREATE TABLE "ranking_round" ( "rank" real, "archer" text, "1st_half" real, "2nd_half" real, "score" real );
SELECT MIN("1st_half") FROM "ranking_round" WHERE "score">621 AND "rank"=35;
2-18454995-5
Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "grid" FROM "race" WHERE "points">10 AND "time_retired"='+13.7 secs';
2-18404269-2
Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "team" FROM "race" WHERE "points"=0 AND "grid">13 AND "driver"='alex yoong';
2-18404269-2
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_table" WHERE "rank"='19' AND "gold"<2;
2-18403541-8
What nation finished with 11 silver medals?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "silver"=11;
2-18403541-8
What is Benito Cheng's Pick number?
CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pick" FROM "round_1" WHERE "player"='benito cheng';
2-18772258-1
What is the Country of origin of PIck 6?
CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "country_of_origin" FROM "round_1" WHERE "pick"=6;
2-18772258-1
What is Richard Bachmann's PBA team?
CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pba_team" FROM "round_1" WHERE "player"='richard bachmann';
2-18772258-1
What is Far Eastern College Johnny Abarrientos' Pick number?
CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "pick" FROM "round_1" WHERE "college"='far eastern' AND "player"='johnny abarrientos';
2-18772258-1
What home team has 10 as the tie no?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "third_round_proper" WHERE "tie_no"='10';
2-18657589-3
What is the game score when the tie no is 7?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "third_round_proper" WHERE "tie_no"='7';
2-18657589-3
Who was the away team on 10 January 1979 who had a tie no of 17?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "third_round_proper" WHERE "date"='10 january 1979' AND "tie_no"='17';
2-18657589-3
When was the game that has tie no 2?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "third_round_proper" WHERE "tie_no"='2';
2-18657589-3
What round did the match at the Golden Trophy 1999 event end?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "event"='golden trophy 1999';
2-18722380-3
What event had a record of 8–5–1?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='8–5–1';
2-18722380-3
What's the HDR Output that has a name of name?
CREATE TABLE "hdr_tonemapping_and_exposure_fusion" ( "name" text, "merging_to_hdr_from_ldr_images" text, "hdr_output_exr_hdr_logluv_etc" text, "tonemapping" text, "exposure_fusion" text );
SELECT "hdr_output_exr_hdr_logluv_etc" FROM "hdr_tonemapping_and_exposure_fusion" WHERE "name"='name';
2-18702884-2
What's the exposure fusion of Panoramaplus x4?
CREATE TABLE "hdr_tonemapping_and_exposure_fusion" ( "name" text, "merging_to_hdr_from_ldr_images" text, "hdr_output_exr_hdr_logluv_etc" text, "tonemapping" text, "exposure_fusion" text );
SELECT "exposure_fusion" FROM "hdr_tonemapping_and_exposure_fusion" WHERE "name"='panoramaplus x4';
2-18702884-2
What's the HDR output of Photovista Panorama?
CREATE TABLE "hdr_tonemapping_and_exposure_fusion" ( "name" text, "merging_to_hdr_from_ldr_images" text, "hdr_output_exr_hdr_logluv_etc" text, "tonemapping" text, "exposure_fusion" text );
SELECT "hdr_output_exr_hdr_logluv_etc" FROM "hdr_tonemapping_and_exposure_fusion" WHERE "name"='photovista panorama';
2-18702884-2
Which location has 101,119 as the capacity?
CREATE TABLE "top_10_largest_american_football_stadium" ( "rank" real, "stadium" text, "capacity" text, "location" text, "home_team" text );
SELECT "location" FROM "top_10_largest_american_football_stadium" WHERE "capacity"='101,119';
2-1873992-3
What is the lowest rank that has university park, pa as the location?
CREATE TABLE "top_10_largest_american_football_stadium" ( "rank" real, "stadium" text, "capacity" text, "location" text, "home_team" text );
SELECT MIN("rank") FROM "top_10_largest_american_football_stadium" WHERE "location"='university park, pa';
2-1873992-3
What home team has a rank greater than 6, and 94,392 as the capacity?
CREATE TABLE "top_10_largest_american_football_stadium" ( "rank" real, "stadium" text, "capacity" text, "location" text, "home_team" text );
SELECT "home_team" FROM "top_10_largest_american_football_stadium" WHERE "rank">6 AND "capacity"='94,392';
2-1873992-3
Who was the builder for the USS cambridge?
CREATE TABLE "ships_in_class" ( "hull_number" text, "name" text, "builder" text, "laid_down" text, "launched" text, "completed" text );
SELECT "builder" FROM "ships_in_class" WHERE "name"='uss cambridge';
2-1848746-1
What year was the USS Cambridge laid down?
CREATE TABLE "ships_in_class" ( "hull_number" text, "name" text, "builder" text, "laid_down" text, "launched" text, "completed" text );
SELECT "laid_down" FROM "ships_in_class" WHERE "name"='uss cambridge';
2-1848746-1
What was the number of the game when the record was 11-12?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "game" FROM "game_log" WHERE "record"='11-12';
2-18493036-5
What was the score of Game 16?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"='16';
2-18493036-5
What was the location and attendance at the game when the record was 9-6?
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"='9-6';
2-18493036-5
What date has 3 as the round (leg)?
CREATE TABLE "league_cup" ( "round_leg" text, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "date" FROM "league_cup" WHERE "round_leg"='3';
2-18998832-5
What was the year of Bridget Jones: The Edge of Reason that was nominated?
CREATE TABLE "golden_globe_awards" ( "year" real, "category" text, "film" text, "result" text, "lost_to" text );
SELECT MIN("year") FROM "golden_globe_awards" WHERE "result"='nominated' AND "film"='bridget jones: the edge of reason';
2-18747538-3
Who was the loss to for the film Chicago?
CREATE TABLE "golden_globe_awards" ( "year" real, "category" text, "film" text, "result" text, "lost_to" text );
SELECT "lost_to" FROM "golden_globe_awards" WHERE "film"='chicago';
2-18747538-3
Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "ihsaa_football_class" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aaa' AND "location"='nashville';
2-18974097-16
Which Mascot has an Enrollment of 640?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"=640;
2-18974097-16
Which IHSAA Class has a Location of brazil?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "location"='brazil';
2-18974097-16
Which School has a Enrollment of 908?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"=908;
2-18974097-16
What type of currency has a code of SEK?
CREATE TABLE "criteria" ( "currency" text, "code" text, "entry_erm_ii" text, "central_rate" text, "official_target_date" text );
SELECT "currency" FROM "criteria" WHERE "code"='sek';
2-1884378-1
What code is used to represent the currency of Croatian Kuna?
CREATE TABLE "criteria" ( "currency" text, "code" text, "entry_erm_ii" text, "central_rate" text, "official_target_date" text );
SELECT "code" FROM "criteria" WHERE "currency"='croatian kuna';
2-1884378-1
What's the model that has chassis code W116.036?
CREATE TABLE "models" ( "chassis_code" text, "model_years" text, "model" text, "engine" text, "no_built" real );
SELECT "model" FROM "models" WHERE "chassis_code"='w116.036';
2-1867790-1
What's the years that has a chassis code of W116.025 and number built was more than 150,593?
CREATE TABLE "models" ( "chassis_code" text, "model_years" text, "model" text, "engine" text, "no_built" real );
SELECT "model_years" FROM "models" WHERE "no_built">'150,593' AND "chassis_code"='w116.025';
2-1867790-1
What the score of the 1992 game?
CREATE TABLE "west_german_champions_1973_1997" ( "year" text, "champions" text, "score" text, "runners_up" text, "venue" text );
SELECT "score" FROM "west_german_champions_1973_1997" WHERE "year"='1992';
2-18952822-2
What is the score when TSV Siegen was the runner-up?
CREATE TABLE "west_german_champions_1973_1997" ( "year" text, "champions" text, "score" text, "runners_up" text, "venue" text );
SELECT "score" FROM "west_german_champions_1973_1997" WHERE "runners_up"='tsv siegen';
2-18952822-2
What year was the game at Bad Neuenahr Eppelborn?
CREATE TABLE "west_german_champions_1973_1997" ( "year" text, "champions" text, "score" text, "runners_up" text, "venue" text );
SELECT "year" FROM "west_german_champions_1973_1997" WHERE "venue"='bad neuenahr eppelborn';
2-18952822-2
What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *?
CREATE TABLE "west_german_champions_1973_1997" ( "year" text, "champions" text, "score" text, "runners_up" text, "venue" text );
SELECT "venue" FROM "west_german_champions_1973_1997" WHERE "runners_up"='tennis borussia berlin' AND "score"='4 – 2 *';
2-18952822-2
What team was runner-up at Bergisch Gladbach in 1983?
CREATE TABLE "west_german_champions_1973_1997" ( "year" text, "champions" text, "score" text, "runners_up" text, "venue" text );
SELECT "runners_up" FROM "west_german_champions_1973_1997" WHERE "venue"='bergisch gladbach' AND "year"='1983';
2-18952822-2
What was the time of the swimmer in lane 7?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT "time" FROM "semifinal_2" WHERE "lane"=7;
2-18624740-5
What was the rank of the swimmer with a time of 1:55.40?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT "rank" FROM "semifinal_2" WHERE "time"='1:55.40';
2-18624740-5
What was the date for game 13?
CREATE TABLE "schedule" ( "game" text, "date" text, "opponent" text, "result" text, "record" text );
SELECT "date" FROM "schedule" WHERE "game"='13';
2-18847687-2
What is the record for the opponent St. Louis Cardinals?
CREATE TABLE "schedule" ( "game" text, "date" text, "opponent" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "opponent"='st. louis cardinals';
2-18847687-2