question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?
CREATE TABLE "by_season" ( "year" text, "class" text, "team" text, "bike" text, "races" real, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" real );
SELECT SUM("poles") FROM "by_season" WHERE "class"='125cc' AND "team"='matteoni racing team' AND "points">3;
2-14084208-1
How many Podiums have a Class of 250cc, and an F laps of 0?
CREATE TABLE "by_season" ( "year" text, "class" text, "team" text, "bike" text, "races" real, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" real );
SELECT SUM("podiums") FROM "by_season" WHERE "class"='250cc' AND "f_laps"=0;
2-14084208-1
Team of elgin city, and a Highest smaller than 537 had what total number of average?
CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT COUNT("average") FROM "stadia_and_attendances" WHERE "team"='elgin city' AND "highest"<537;
2-14003108-1
Average larger than 450, and a Capacity smaller than 5,177, and a Stadium of ochilview park is what sum of the highest?
CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT SUM("highest") FROM "stadia_and_attendances" WHERE "average">450 AND "capacity"<'5,177' AND "stadium"='ochilview park';
2-14003108-1
Capacity smaller than 3,292, and a Highest larger than 812, and a Stadium of strathclyde homes stadium has what sum of the average?
CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT SUM("average") FROM "stadia_and_attendances" WHERE "capacity"<'3,292' AND "highest">812 AND "stadium"='strathclyde homes stadium';
2-14003108-1
Lowest larger than 288, and a Team of east stirlingshire has what lowest average?
CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT MIN("average") FROM "stadia_and_attendances" WHERE "lowest">288 AND "team"='east stirlingshire';
2-14003108-1
what is the owner of the c501
CREATE TABLE "locomotives" ( "locomotive" text, "entered_service" text, "owner" text, "operator" text, "livery" text, "status" text );
SELECT "owner" FROM "locomotives" WHERE "locomotive"='c501';
2-14880117-1
Which Record has a Game larger than 32, and a December smaller than 21?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "regular_season" WHERE "game">32 AND "december"<21;
2-14320222-4
Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "points">46 AND "game"<35 AND "december"=21;
2-14320222-4
Which December is the lowest one that has Points of 52?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("december") FROM "regular_season" WHERE "points"=52;
2-14320222-4
Which December has Points of 48, and a Game larger than 33?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("december") FROM "regular_season" WHERE "points"=48 AND "game">33;
2-14320222-4
WHich Regular Season Champions has a Year of 1943–44?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "regular_season_champion_s" FROM "champions_by_year" WHERE "year"='1943–44';
2-15016949-1
WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "tournament_venue" FROM "champions_by_year" WHERE "tournament_champion"='duke' AND "record"='15–1';
2-15016949-1
When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia tech?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "year" FROM "champions_by_year" WHERE "tournament_venue"='richmond arena' AND "record"='12–1' AND "regular_season_champion_s"='virginia tech';
2-15016949-1
When has a Record of 9–1, and a Tournament Champion of duke?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "year" FROM "champions_by_year" WHERE "record"='9–1' AND "tournament_champion"='duke';
2-15016949-1
Which Regular Season Champion(s) has a Tournament Champion of west virginia in 1955–56?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "regular_season_champion_s" FROM "champions_by_year" WHERE "tournament_champion"='west virginia' AND "year"='1955–56';
2-15016949-1
Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina?
CREATE TABLE "champions_by_year" ( "year" text, "regular_season_champion_s" text, "record" text, "tournament_champion" text, "tournament_venue" text, "tournament_city" text );
SELECT "regular_season_champion_s" FROM "champions_by_year" WHERE "record"='9–0' AND "tournament_champion"='north carolina';
2-15016949-1
What is the lowest round for a player selected from a college of New Hampshire?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MIN("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='new hampshire';
2-13907607-8
What nationality is Rod Langway?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "player"='rod langway';
2-13907607-8
What position is the player selected that has a round value over 3?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "round">3;
2-13907607-8
What college did the player selected in rounds over 3 play for?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round">3;
2-13907607-8
What is the highest round that has a player selected from Clarkson University?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MAX("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='clarkson university';
2-13907607-8
What is the lowest rank of Deutsche Telekom with a market value over 209,628?
CREATE TABLE "2000" ( "rank" real, "name" text, "headquarters" text, "primary_industry" text, "market_value_usd_million" real );
SELECT MIN("rank") FROM "2000" WHERE "name"='deutsche telekom' AND "market_value_usd_million">'209,628';
2-14094649-20
What is the total market value of all corporations headquartered in Germany?
CREATE TABLE "2000" ( "rank" real, "name" text, "headquarters" text, "primary_industry" text, "market_value_usd_million" real );
SELECT COUNT("market_value_usd_million") FROM "2000" WHERE "headquarters"='germany';
2-14094649-20
What is the lowest earnings of Vijay Singh who had more than 24 wins?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT MIN("earnings") FROM "leaders" WHERE "player"='vijay singh' AND "wins">24;
2-14583208-4
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
CREATE TABLE "ranking" ( "rank" real, "centre" text, "country" text, "rating" real, "change" real );
SELECT MAX("rank") FROM "ranking" WHERE "change"<44 AND "centre"='buenos aires' AND "rating">628;
2-15231621-2
Which Centre has a Rank of 42?
CREATE TABLE "ranking" ( "rank" real, "centre" text, "country" text, "rating" real, "change" real );
SELECT "centre" FROM "ranking" WHERE "rank"=42;
2-15231621-2
Which Rating has a Centre of helsinki?
CREATE TABLE "ranking" ( "rank" real, "centre" text, "country" text, "rating" real, "change" real );
SELECT SUM("rating") FROM "ranking" WHERE "centre"='helsinki';
2-15231621-2
Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46?
CREATE TABLE "ranking" ( "rank" real, "centre" text, "country" text, "rating" real, "change" real );
SELECT AVG("change") FROM "ranking" WHERE "centre"='buenos aires' AND "rank"<46;
2-15231621-2
Binomial of θ(log n), and a Strict Fibonacci Heap of o(log n) is what operation?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "operation" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "binomial"='θ(log n)' AND "strict_fibonacci_heap"='o(log n)';
2-13996-1
Operation of find-min has what Fibonacci?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "fibonacci" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "operation"='find-min';
2-13996-1
Binomial of θ(1) has what pairing?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "pairing" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "binomial"='θ(1)';
2-13996-1
Pairing of θ(1), and a Binomial of θ(1) is what binary?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "binary" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "pairing"='θ(1)' AND "binomial"='θ(1)';
2-13996-1
Operation of find-min has what binary?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "binary" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "operation"='find-min';
2-13996-1
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
CREATE TABLE "comparison_of_theoretic_bounds_for_varia" ( "operation" text, "binary" text, "binomial" text, "fibonacci" text, "pairing" text, "brodal" text, "strict_fibonacci_heap" text );
SELECT "binomial" FROM "comparison_of_theoretic_bounds_for_varia" WHERE "binary"='θ(log n)' AND "fibonacci"='θ(1)';
2-13996-1
Which of the titles have a duration time of 4:57?
CREATE TABLE "track_listing" ( "title" text, "translation" text, "lyricist" text, "composer" text, "duration" text );
SELECT "title" FROM "track_listing" WHERE "duration"='4:57';
2-14436802-1
What composer has a duration time of 3:31?
CREATE TABLE "track_listing" ( "title" text, "translation" text, "lyricist" text, "composer" text, "duration" text );
SELECT "composer" FROM "track_listing" WHERE "duration"='3:31';
2-14436802-1
Which one of the duration has a translation of 1000 lies?
CREATE TABLE "track_listing" ( "title" text, "translation" text, "lyricist" text, "composer" text, "duration" text );
SELECT "duration" FROM "track_listing" WHERE "translation"='1000 lies';
2-14436802-1
Which title has a translation of I know in it?
CREATE TABLE "track_listing" ( "title" text, "translation" text, "lyricist" text, "composer" text, "duration" text );
SELECT "title" FROM "track_listing" WHERE "translation"='i know';
2-14436802-1
Which title has a translation in it of 1000 lies?
CREATE TABLE "track_listing" ( "title" text, "translation" text, "lyricist" text, "composer" text, "duration" text );
SELECT "title" FROM "track_listing" WHERE "translation"='1000 lies';
2-14436802-1
Who won the gold when Bertil Ahlin Sweden won the silver?
CREATE TABLE "medal_winners" ( "event" text, "gold" text, "silver" text, "bronze" text, "4th_place" text );
SELECT "gold" FROM "medal_winners" WHERE "silver"='bertil ahlin sweden';
2-14129554-1
Who won the gold when Jules van Dyk Belgium won bronze?
CREATE TABLE "medal_winners" ( "event" text, "gold" text, "silver" text, "bronze" text, "4th_place" text );
SELECT "gold" FROM "medal_winners" WHERE "bronze"='jules van dyk belgium';
2-14129554-1
Who is the second for the curling team which has alternate Margarita Fomina?
CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "second" FROM "group_a" WHERE "alternate"='margarita fomina';
2-15295737-56
Who is the second for the team with alternate Margarita Fomina?
CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "second" FROM "group_a" WHERE "alternate"='margarita fomina';
2-15295737-56
Who is the alternate for the team for which Monika Wagner is the third?
CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "alternate" FROM "group_a" WHERE "third"='monika wagner';
2-15295737-56
Who is the lead for the team with Nkeiruka Ezekh as second?
CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "lead" FROM "group_a" WHERE "second"='nkeiruka ezekh';
2-15295737-56
Who is the lead for the team with Christina Haller as alternate?
CREATE TABLE "group_a" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "lead" FROM "group_a" WHERE "alternate"='christina haller';
2-15295737-56
What County was built after 1920 with a Latitude of 37°40′30"n?
CREATE TABLE "references" ( "county" text, "monument_name" text, "year_built" real, "city_or_town" text, "latitude" text, "longitude" text );
SELECT "county" FROM "references" WHERE "year_built">1920 AND "latitude"='37°40′30\"n';
2-15033342-1
What is the Latitude of the monument built in 1901?
CREATE TABLE "references" ( "county" text, "monument_name" text, "year_built" real, "city_or_town" text, "latitude" text, "longitude" text );
SELECT "latitude" FROM "references" WHERE "year_built"=1901;
2-15033342-1
What is the City or Town of the monument with a Longitude of 89°11′w?
CREATE TABLE "references" ( "county" text, "monument_name" text, "year_built" real, "city_or_town" text, "latitude" text, "longitude" text );
SELECT "city_or_town" FROM "references" WHERE "longitude"='89°11′w';
2-15033342-1
What Monument was built after 1887 in Warren County?
CREATE TABLE "references" ( "county" text, "monument_name" text, "year_built" real, "city_or_town" text, "latitude" text, "longitude" text );
SELECT "monument_name" FROM "references" WHERE "year_built">1887 AND "county"='warren';
2-15033342-1
What County has a Longitude of 85°45′43″w?
CREATE TABLE "references" ( "county" text, "monument_name" text, "year_built" real, "city_or_town" text, "latitude" text, "longitude" text );
SELECT "county" FROM "references" WHERE "longitude"='85°45′43″w';
2-15033342-1
What is the Opponent from the final with a Partner named jorgelina cravero?
CREATE TABLE "doubles_6" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "doubles_6" WHERE "partner"='jorgelina cravero';
2-15272102-3
What was the outcome for the match at the leipzig tournament with a score w/o?
CREATE TABLE "singles_23_12_11" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_23_12_11" WHERE "tournament"='leipzig' AND "score"='w/o';
2-1443478-5
Who was the opponent that anke huber played against in the leipzig tournament?
CREATE TABLE "singles_23_12_11" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_23_12_11" WHERE "tournament"='leipzig';
2-1443478-5
What was the outcome of the match against Magdalena Maleeva?
CREATE TABLE "singles_23_12_11" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_23_12_11" WHERE "opponent"='magdalena maleeva';
2-1443478-5
What is the name of the player that was Pick 15?
CREATE TABLE "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_one" WHERE "pick_num"='15';
2-1473672-1
To which college/junior/club team did the player that was Pick 12 belong?
CREATE TABLE "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_one" WHERE "pick_num"='12';
2-1473672-1
What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)?
CREATE TABLE "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_one" WHERE "position"='left wing' AND "college_junior_club_team"='toronto marlboros (omjhl)';
2-1473672-1
To which college/junior/club team did the player that was Pick 16 belong?
CREATE TABLE "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_one" WHERE "pick_num"='16';
2-1473672-1
What company does Simon Stone direct earlier than 2011?
CREATE TABLE "theatre_credits" ( "year" real, "production" text, "role" text, "director" text, "company" text );
SELECT "company" FROM "theatre_credits" WHERE "director"='simon stone' AND "year"<2011;
2-15292215-3
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "result" FROM "brazil_national_team" WHERE "competition"='world cup qualifying' AND "date"='march 21, 1954';
2-15299641-4
Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "competition" FROM "brazil_national_team" WHERE "result"='w' AND "score"='2-0' AND "date"='may 9, 1954';
2-15299641-4
Which Result has a Score of 4-1, and a Competition of world cup qualifying?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "result" FROM "brazil_national_team" WHERE "score"='4-1' AND "competition"='world cup qualifying';
2-15299641-4
Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "score" FROM "brazil_national_team" WHERE "competition"='world cup qualifying' AND "brazil_scorers"='baltazar' AND "date"='march 14, 1954';
2-15299641-4
Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "result"='w' AND "competition"='world cup qualifying' AND "date"='february 28, 1954';
2-15299641-4
when first elected was 1900 what was the district?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "district" FROM "south_carolina" WHERE "first_elected"='1900';
2-1365787-4
when first elected was 1898 what was the party?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "party" FROM "south_carolina" WHERE "first_elected"='1898';
2-1365787-4
How many Games have a Lost of 6, and Points smaller than 7?
CREATE TABLE "world_championship_group_a_soviet_union" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT SUM("games") FROM "world_championship_group_a_soviet_union" WHERE "lost"=6 AND "points"<7;
2-14328543-1
What is Larry Centers' average number when there were less than 600 yards?
CREATE TABLE "receiving" ( "player" text, "number" real, "yards" real, "average" real, "long" real, "touchdowns" real );
SELECT AVG("number") FROM "receiving" WHERE "player"='larry centers' AND "yards"<600;
2-14609625-7
What is the highest number when there were more than 50 long and less than 762 yards?
CREATE TABLE "receiving" ( "player" text, "number" real, "yards" real, "average" real, "long" real, "touchdowns" real );
SELECT MAX("number") FROM "receiving" WHERE "long">50 AND "yards"<762;
2-14609625-7
What is the highest amount of yards when the average is 9.5?
CREATE TABLE "receiving" ( "player" text, "number" real, "yards" real, "average" real, "long" real, "touchdowns" real );
SELECT MAX("yards") FROM "receiving" WHERE "average"=9.5;
2-14609625-7
Who was the runner-up on 5 aug 1990?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "runner_up" FROM "european_tour_wins_7" WHERE "date"='5 aug 1990';
2-1519060-1
Which Tournament has a Winning score of −14 (65-69-72-68=274)?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "tournament" FROM "european_tour_wins_7" WHERE "winning_score"='−14 (65-69-72-68=274)';
2-1519060-1
Which Runner-up has a Winning score of −20 (70-69-64-65=268)?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "runner_up" FROM "european_tour_wins_7" WHERE "winning_score"='−20 (70-69-64-65=268)';
2-1519060-1
Which Date has a Winning score of −15 (71-69-68-65=273)?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "date" FROM "european_tour_wins_7" WHERE "winning_score"='−15 (71-69-68-65=273)';
2-1519060-1
In which tournament was vijay singh a runner-up?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "tournament" FROM "european_tour_wins_7" WHERE "runner_up"='vijay singh';
2-1519060-1
In which tournament was vijay singh a runner-up?
CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_up" text );
SELECT "tournament" FROM "european_tour_wins_7" WHERE "runner_up"='vijay singh';
2-1519060-1
Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?
CREATE TABLE "five_cent_test_tokens" ( "year_of_issue" real, "description" text, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "description" FROM "five_cent_test_tokens" WHERE "year_of_issue"=1983 AND "weight"='3.50grams';
2-14258276-5
Which Thickness has a Year of Issue smaller than 1983?
CREATE TABLE "five_cent_test_tokens" ( "year_of_issue" real, "description" text, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "thickness" FROM "five_cent_test_tokens" WHERE "year_of_issue"<1983;
2-14258276-5
Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?
CREATE TABLE "five_cent_test_tokens" ( "year_of_issue" real, "description" text, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "description" FROM "five_cent_test_tokens" WHERE "year_of_issue"=1983 AND "thickness"='1.7mm' AND "weight"='3.50grams';
2-14258276-5
Which Thickness has a Weight of 3.50grams?
CREATE TABLE "five_cent_test_tokens" ( "year_of_issue" real, "description" text, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "thickness" FROM "five_cent_test_tokens" WHERE "weight"='3.50grams';
2-14258276-5
Which Thickness has a Diameter of 21.9mm?
CREATE TABLE "five_cent_test_tokens" ( "year_of_issue" real, "description" text, "weight" text, "diameter" text, "thickness" text, "edge" text );
SELECT "thickness" FROM "five_cent_test_tokens" WHERE "diameter"='21.9mm';
2-14258276-5
Who was on the Socialist Labor ticket in the race against W. Averell Harriman?
CREATE TABLE "1958_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "liberal_ticket" text, "independent_socialist_ticket" text, "socialist_labor_ticket" text );
SELECT "socialist_labor_ticket" FROM "1958_state_election_results" WHERE "liberal_ticket"='w. averell harriman';
2-14792819-1
Who was the Republican candidate against the Democratic candidate Arthur Levitt?
CREATE TABLE "1958_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "liberal_ticket" text, "independent_socialist_ticket" text, "socialist_labor_ticket" text );
SELECT "republican_ticket" FROM "1958_state_election_results" WHERE "democratic_ticket"='arthur levitt';
2-14792819-1
Who was the Independent Socialist candidate for the office of comptroller?
CREATE TABLE "1958_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "liberal_ticket" text, "independent_socialist_ticket" text, "socialist_labor_ticket" text );
SELECT "independent_socialist_ticket" FROM "1958_state_election_results" WHERE "office"='comptroller';
2-14792819-1
Who was the Independent Socialist candidate who ran against the Liberal candidate Edward Goodell?
CREATE TABLE "1958_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "liberal_ticket" text, "independent_socialist_ticket" text, "socialist_labor_ticket" text );
SELECT "independent_socialist_ticket" FROM "1958_state_election_results" WHERE "liberal_ticket"='edward goodell';
2-14792819-1
Which Att has a Time of 2:14?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );
SELECT "att" FROM "game_log" WHERE "time"='2:14';
2-14337020-8
when is Record of 66-95?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );
SELECT "time" FROM "game_log" WHERE "record"='66-95';
2-14337020-8
Which Opponent has a Record of 65-95?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='65-95';
2-14337020-8
What is the to par that has ernie els as the player?
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"='ernie els';
2-14614110-7
What player has money of (£) 159,500, and france is the country?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "player" FROM "final_round" WHERE "money"='159,500' AND "country"='france';
2-14614110-7
What player has 69-70-68-73=280 as the score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "player" FROM "final_round" WHERE "score"='69-70-68-73=280';
2-14614110-7
What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT AVG("year") FROM "grand_prix_motorcycle_racing_results" WHERE "wins"<1 AND "team"='yamaha' AND "points">2;
2-15096967-2
What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT MAX("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='350cc' AND "team"='yamaha' AND "points"<37 AND "year">1979;
2-15096967-2
How many points have 500cc for the class, a win greater than 0, with a year after 1974?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT SUM("points") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "wins">0 AND "year">1974;
2-15096967-2
How many wins have a year after 1976, and 350cc as the class?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT SUM("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "year">1976 AND "class"='350cc';
2-15096967-2
How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21?
CREATE TABLE "games" ( "la_wins" real, "draws" real, "san_jose_wins" real, "la_goals" real, "san_jose_goals" real );
SELECT COUNT("san_jose_wins") FROM "games" WHERE "la_goals">6 AND "la_wins"<21;
2-14431699-1
Which San Jose goals have a San Jose wins smaller than 0?
CREATE TABLE "games" ( "la_wins" real, "draws" real, "san_jose_wins" real, "la_goals" real, "san_jose_goals" real );
SELECT MIN("san_jose_goals") FROM "games" WHERE "san_jose_wins"<0;
2-14431699-1
Name the most april with record of 38-33-10
CREATE TABLE "schedule_and_results" ( "game" real, "april" real, "opponent" text, "score" text, "record" text );
SELECT MAX("april") FROM "schedule_and_results" WHERE "record"='38-33-10';
2-14034799-8