question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is osu, 7-6?
CREATE TABLE "record_vs_big_12_opponents" ( "oklahoma_vs" text, "overall_record" text, "at_norman" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_beginning_of_big_12" text );
SELECT "oklahoma_vs" FROM "record_vs_big_12_opponents" WHERE "current_streak"='l 1' AND "at_neutral_site"='osu, 7-6';
2-16551520-2
What is the Overall Record when Since Beginning of Big 12 is ou, 27-3?
CREATE TABLE "record_vs_big_12_opponents" ( "oklahoma_vs" text, "overall_record" text, "at_norman" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_beginning_of_big_12" text );
SELECT "overall_record" FROM "record_vs_big_12_opponents" WHERE "since_beginning_of_big_12"='ou, 27-3';
2-16551520-2
What is the Last 10 Meetings when Norman is ou, 18-6?
CREATE TABLE "record_vs_big_12_opponents" ( "oklahoma_vs" text, "overall_record" text, "at_norman" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_beginning_of_big_12" text );
SELECT "last_10_meetings" FROM "record_vs_big_12_opponents" WHERE "at_norman"='ou, 18-6';
2-16551520-2
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?
CREATE TABLE "record_vs_big_12_opponents" ( "oklahoma_vs" text, "overall_record" text, "at_norman" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_beginning_of_big_12" text );
SELECT "since_beginning_of_big_12" FROM "record_vs_big_12_opponents" WHERE "last_10_meetings"='ou, 7-3' AND "at_neutral_site"='ou, 2-1' AND "last_5_meetings"='bu, 3-2';
2-16551520-2
what is the current streak when the last 5 meetings is osu, 4-1?
CREATE TABLE "record_vs_big_12_opponents" ( "oklahoma_vs" text, "overall_record" text, "at_norman" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_beginning_of_big_12" text );
SELECT "current_streak" FROM "record_vs_big_12_opponents" WHERE "last_5_meetings"='osu, 4-1';
2-16551520-2
What is the record for a game lower than 79?
CREATE TABLE "schedule_and_results" ( "game" real, "april" real, "opponent" text, "score" text, "decision" text, "record" text );
SELECT "record" FROM "schedule_and_results" WHERE "game"<79;
2-17360905-9
Who was the partner when the final score was 7–6, 3–6, 6–7?
CREATE TABLE "doubles_finals_10_6_4" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "partner" FROM "doubles_finals_10_6_4" WHERE "score_in_the_final"='7–6, 3–6, 6–7';
2-1727920-2
Who was the partner for the match with a score in the final of 4–6, 6–7?
CREATE TABLE "doubles_finals_10_6_4" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "partner" FROM "doubles_finals_10_6_4" WHERE "score_in_the_final"='4–6, 6–7';
2-1727920-2
What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?
CREATE TABLE "doubles_finals_10_6_4" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "tournament" FROM "doubles_finals_10_6_4" WHERE "date">1986 AND "score_in_the_final"='7–6, 3–6, 6–2';
2-1727920-2
Which Year is the lowest one that has an Athlete of markus thalmann, and a Time of 23:28:24?
CREATE TABLE "all_time_top_50_performances" ( "athlete" text, "time" text, "country" text, "year" real, "place" real );
SELECT MIN("year") FROM "all_time_top_50_performances" WHERE "athlete"='markus thalmann' AND "time"='23:28:24';
2-1696061-3
Which Year is the lowest one that has a Time of 24:55:58, and a Place larger than 3?
CREATE TABLE "all_time_top_50_performances" ( "athlete" text, "time" text, "country" text, "year" real, "place" real );
SELECT MIN("year") FROM "all_time_top_50_performances" WHERE "time"='24:55:58' AND "place">3;
2-1696061-3
Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00?
CREATE TABLE "all_time_top_50_performances" ( "athlete" text, "time" text, "country" text, "year" real, "place" real );
SELECT "athlete" FROM "all_time_top_50_performances" WHERE "place"=1 AND "year"<1988 AND "country"='gre' AND "time"='21:57:00';
2-1696061-3
Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
CREATE TABLE "all_time_top_50_performances" ( "athlete" text, "time" text, "country" text, "year" real, "place" real );
SELECT "time" FROM "all_time_top_50_performances" WHERE "year">1985 AND "place"<2 AND "athlete"='riochy sekiya';
2-1696061-3
What was Anand's score in game 8?
CREATE TABLE "regular_schedule" ( "game" text, "day_date" text, "anand" text, "gelfand" text, "standing" text );
SELECT "anand" FROM "regular_schedule" WHERE "game"='8';
2-17189128-3
What is the day and date of game 2?
CREATE TABLE "regular_schedule" ( "game" text, "day_date" text, "anand" text, "gelfand" text, "standing" text );
SELECT "day_date" FROM "regular_schedule" WHERE "game"='2';
2-17189128-3
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "date"='november 24';
2-17121262-5
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "game"=4;
2-17121262-5
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='november 14';
2-17121262-5
What tournament is on 18 May 1992?
CREATE TABLE "doubles_12_9_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "doubles_12_9_3" WHERE "date"='18 may 1992';
2-1717291-7
What is the score of the tournament with a carpet surface and tim henman as the partnering?
CREATE TABLE "doubles_12_9_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_12_9_3" WHERE "surface"='carpet' AND "partnering"='tim henman';
2-1717291-7
On what surface did Katarina Srebotnik play Paola Suárez?
CREATE TABLE "singles_10_4_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_final" text, "score_in_final" text );
SELECT "surface" FROM "singles_10_4_6" WHERE "opponent_in_final"='paola suárez';
2-1729366-4
At what tournament was the Score 5–7, 7–5, 6–4?
CREATE TABLE "singles_10_4_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_final" text, "score_in_final" text );
SELECT "tournament" FROM "singles_10_4_6" WHERE "score_in_final"='5–7, 7–5, 6–4';
2-1729366-4
What was the Final Score on February 24, 2002?
CREATE TABLE "singles_10_4_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_final" text, "score_in_final" text );
SELECT "score_in_final" FROM "singles_10_4_6" WHERE "date"='february 24, 2002';
2-1729366-4
What was the smallest crowd when the away team scored 12.16 (88)?
CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT MIN("crowd") FROM "1st_round" WHERE "away_team_score"='12.16 (88)';
2-16387795-1
What was the average crowd size for a home team score of 11.11 (77)?
CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT AVG("crowd") FROM "1st_round" WHERE "home_team_score"='11.11 (77)';
2-16387795-1
What is the 1st leg when the 2nd leg was 67-83?
CREATE TABLE "first_preliminary_round" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "first_preliminary_round" WHERE "2nd_leg"='67-83';
2-17306260-1
Which Team #1 had a 1st leg of 78-78?
CREATE TABLE "first_preliminary_round" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num1" FROM "first_preliminary_round" WHERE "1st_leg"='78-78';
2-17306260-1
Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
CREATE TABLE "first_preliminary_round" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num1" FROM "first_preliminary_round" WHERE "team_num2"='galatasaray cc i̇stanbul';
2-17306260-1
What are the Podiums that has a Poles of 3?
CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "podiums" FROM "career_summary" WHERE "poles"='3';
2-16487972-1
What is the Team that has a Races of 4, and a Points of 0?
CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "team" FROM "career_summary" WHERE "races"='4' AND "points"='0';
2-16487972-1
What to par is located in the united states and has a player by the name of hal sutton?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "player"='hal sutton';
2-17162128-5
What player is in the place of t1 and has the score of 67-70=137?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "place"='t1' AND "score"='67-70=137';
2-17162128-5
What place has the score of 67-74=141?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='67-74=141';
2-17162128-5
What player has the score of 67-72=139?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "score"='67-72=139';
2-17162128-5
What was Gassaway's record at the fight in mississippi, united states against anthony macias?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "location"='mississippi, united states' AND "opponent"='anthony macias';
2-17442564-2
What was the location the fight was held at that lasted 5 rounds?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"='5';
2-17442564-2
What was the location of the fight when Gassaway fought kevin knabjian?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='kevin knabjian';
2-17442564-2
What place did Fred Couples finish in?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "player"='fred couples';
2-16514446-1
What is the rank of the company who has a revenue of $428.2 billion?
CREATE TABLE "fortune_2013_list" ( "rank" real, "company" text, "country" text, "industry" text, "revenue_in_usd" text );
SELECT COUNT("rank") FROM "fortune_2013_list" WHERE "revenue_in_usd"='$428.2 billion';
2-17581425-1
What is the rank of the petroleum company who has a revenue of $481.7 billion?
CREATE TABLE "fortune_2013_list" ( "rank" real, "company" text, "country" text, "industry" text, "revenue_in_usd" text );
SELECT MIN("rank") FROM "fortune_2013_list" WHERE "industry"='petroleum' AND "revenue_in_usd"='$481.7 billion';
2-17581425-1
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "career_sr" text, "career_win_loss" text );
SELECT "tournament" FROM "grand_slam_singles_performance_timeline" WHERE "2005"='n/a' AND "2002"='0 / 1';
2-1681804-2
What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"?
CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "career_sr" text, "career_win_loss" text );
SELECT "career_win_loss" FROM "grand_slam_singles_performance_timeline" WHERE "2002"='a' AND "2001"='4r';
2-1681804-2
What is Tournament, when 2001 is "1R"?
CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "career_sr" text, "career_win_loss" text );
SELECT "tournament" FROM "grand_slam_singles_performance_timeline" WHERE "2001"='1r';
2-1681804-2
What was the score in the 1st leg when 2nd leg was 1–4?
CREATE TABLE "second_qualifying_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_qualifying_round" WHERE "2nd_leg"='1–4';
2-16623894-8
Who is in the south-west next to Vishnu on the east, Durga on the west, and in the center of Ganapati?
CREATE TABLE "panchayatana" ( "center" text, "north_east" text, "south_east" text, "south_west" text, "north_west" text );
SELECT "south_west" FROM "panchayatana" WHERE "north_east"='vishnu' AND "north_west"='durga' AND "center"='ganapati';
2-16327510-2
What was the final score of game 26?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"=26;
2-17311783-6
What game was played on December 8?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "date"='december 8';
2-17311783-6
What was the highest score for a California home game with over 10,870 in attendance?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT MAX("points") FROM "game_log" WHERE "attendance">'10,870' AND "home"='california';
2-17218729-2
What is the sum of the areas for populations of 542?
CREATE TABLE "carleton_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT SUM("area_km_2") FROM "carleton_county_new_brunswick" WHERE "population"=542;
2-170961-1
What is the highest area for locations named Centreville having populations over 532?
CREATE TABLE "carleton_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT MAX("area_km_2") FROM "carleton_county_new_brunswick" WHERE "population">532 AND "official_name"='centreville';
2-170961-1
what is the competition when the result is 1-1 and venue is gwangju?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "result"='1-1' AND "venue"='gwangju';
2-1637055-3
what is the date when the competition is 1998 asian games?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='1998 asian games';
2-1637055-3
what is the venue when the score is 1 goal and the date is october 11, 1997?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "score"='1 goal' AND "date"='october 11, 1997';
2-1637055-3
what is the competition when the result is 2-1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "result"='2-1';
2-1637055-3
what is the result when the date is august 24, 1997?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='august 24, 1997';
2-1637055-3
what is the venue when the date is december 7, 1998?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='december 7, 1998';
2-1637055-3
Who is the driver with a time/retired of +5.2684?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "driver" FROM "classification" WHERE "time_retired"='+5.2684';
2-17330069-1
What is the grid of driver tomas scheckter from vision racing team?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "grid" FROM "classification" WHERE "team"='vision racing' AND "driver"='tomas scheckter';
2-17330069-1
What is the grid of car no. 3?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "grid" FROM "classification" WHERE "car_no"='3';
2-17330069-1
What is the grid with a +6.8359 time/retired?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "grid" FROM "classification" WHERE "time_retired"='+6.8359';
2-17330069-1
WHAT TEAM 1 HAS A 1st leg of 1–1, and a 2nd leg of 1–3?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "round_of_16" WHERE "1st_leg"='1–1' AND "2nd_leg"='1–3';
2-17074170-5
WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "round_of_16" WHERE "team_2"='athletic';
2-17074170-5
WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "round_of_16" WHERE "team_1"='sporting';
2-17074170-5
Sum of cuyo selection as the opposing team?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text );
SELECT SUM("against") FROM "matches" WHERE "opposing_team"='cuyo selection';
2-17058667-1
Lowest against for tour match on 21 july 1990?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text );
SELECT MIN("against") FROM "matches" WHERE "status"='tour match' AND "date"='21 july 1990';
2-17058667-1
Name the lowest version with a code of u+1034a that began after 2001.
CREATE TABLE "computer_encoding" ( "character" text, "code" text, "name" text, "version" real, "year" real );
SELECT MIN("version") FROM "computer_encoding" WHERE "code"='u+1034a' AND "year">2001;
2-166732-1
What character was the version 5.1 and had a Greek capital letter Archaic Sampi?
CREATE TABLE "computer_encoding" ( "character" text, "code" text, "name" text, "version" real, "year" real );
SELECT "character" FROM "computer_encoding" WHERE "version"=5.1 AND "name"='greek capital letter archaic sampi';
2-166732-1
Give the sum of the version with the coptic small letter sampi, and a year after 2005.
CREATE TABLE "computer_encoding" ( "character" text, "code" text, "name" text, "version" real, "year" real );
SELECT SUM("version") FROM "computer_encoding" WHERE "name"='coptic small letter sampi' AND "year">2005;
2-166732-1
What is the year that has a name with the Greek small letter sampi?
CREATE TABLE "computer_encoding" ( "character" text, "code" text, "name" text, "version" real, "year" real );
SELECT SUM("year") FROM "computer_encoding" WHERE "name"='greek small letter sampi';
2-166732-1
What country id Bob Rosburg from?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='bob rosburg';
2-17290101-5
What country has a score of 73-72-67=212?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='73-72-67=212';
2-17290101-5
What is Mike Souchak's to par?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "player"='mike souchak';
2-17290101-5
What is Mike Souchak's to par score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "player"='mike souchak';
2-17290101-5
What was the finish for the golfer with a total of 285?
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 "total"=285;
2-16514242-1
What was the total for the golfer who had a year won of 1987?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "total" FROM "made_the_cut" WHERE "year_s_won"='1987';
2-16514242-1
What was the finish for the golfer with a To par of +2?
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 "to_par"='+2';
2-16514242-1
What was the total for the golfer who had a To par of +10 and year won of 1971?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT SUM("total") FROM "made_the_cut" WHERE "to_par"='+10' AND "year_s_won"='1971';
2-16514242-1
What team played before game 71 and had a score w 91–86 (ot)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "team" FROM "game_log" WHERE "game"<71 AND "score"='w 91–86 (ot)';
2-17288825-9
What was the high assist for game 66?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "game"=66;
2-17288825-9
What is josé maría olazábal's country?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "player"='josé maría olazábal';
2-16514411-2
Which Player has a Score of 74-67-74-71=286?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_leaderboard" WHERE "score"='74-67-74-71=286';
2-16514411-2
Which Place has a Country of united states, and a Player of corey pavin?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "country"='united states' AND "player"='corey pavin';
2-16514411-2
Who is the opponent in week 15?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=15;
2-16434134-2
What is the highest attendance a result of W 30-7?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "result"='w 30-7';
2-16434134-2
What is the average attendance at week earlier than 6 on October 14, 2001?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "week"<6 AND "date"='october 14, 2001';
2-16434134-2
what is the record when the method is submission (armbar) and the round is less than 3?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='submission (armbar)' AND "round"<3;
2-17445933-2
How many average points did svg burgkirchen have with a loss smaller than 6?
CREATE TABLE "promotion_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("points") FROM "promotion_round" WHERE "name"='svg burgkirchen' AND "lost"<6;
2-16501954-15
Who had points smaller than 22 and a drawn of 2?
CREATE TABLE "promotion_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT "name" FROM "promotion_round" WHERE "points"<22 AND "drawn"=2;
2-16501954-15
Who lost 2 and had a position bigger than 1?
CREATE TABLE "promotion_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT "name" FROM "promotion_round" WHERE "lost"=2 AND "position">1;
2-16501954-15
What is the name of the catalog issued with the title of 1958 Miles on the Sony label at a year prior to 2006?
CREATE TABLE "release_history" ( "issued_title" text, "year" real, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "issued_title"='1958 miles' AND "label"='sony' AND "year"<2006;
2-16441868-2
What is the label of the Year before 1979?
CREATE TABLE "release_history" ( "issued_title" text, "year" real, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "year"<1979;
2-16441868-2
WHAT IS THE 2011 PERFORMANCE AT THE MIAMI MASTERS?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='miami masters';
2-16949333-9
WHAT IS THE 2008 PERFORMANCE WITH A 2007 CAREER STATISTICS?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2008" FROM "singles_performance_timeline" WHERE "2007"='career statistics';
2-16949333-9
WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='a' AND "2009"='a' AND "2011"='q1';
2-16949333-9
WHAT IS THE 2009 PERFORMANCE WITH A 2012 OF 2R, 2001 OF 1R, 2007 OF A, AND 2008 OF A?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "2011"='1r' AND "2007"='a' AND "2008"='a';
2-16949333-9
WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "2007"='q3';
2-16949333-9
Which Score has a Place of t2?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "place"='t2';
2-17128242-7
What was spain's score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "country"='spain';
2-17128242-7
Which To par has a Score of 70-73-80-68=291?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_round" WHERE "score"='70-73-80-68=291';
2-17128242-7
From what Country is T6 Place Player Tom Weiskopf?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "place"='t6' AND "player"='tom weiskopf';
2-17245540-5