question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is 2007, when 2000 is "0 / 4"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "2007" FROM "singles_performance_timeline" WHERE "2000"='0 / 4';
2-1723703-3
What is 2007, when 2003 is "85"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "2007" FROM "singles_performance_timeline" WHERE "2003"='85';
2-1723703-3
What is 2004, when 2007 is "A", and when 1997 is "A"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "2004" FROM "singles_performance_timeline" WHERE "2007"='a' AND "1997"='a';
2-1723703-3
What is 2000, when 1996 is "A", when 1997 is "A", and when 2007 is "A"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "2000" FROM "singles_performance_timeline" WHERE "1996"='a' AND "1997"='a' AND "2007"='a';
2-1723703-3
What is Award, when Category is Cabello Maluco?
CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text );
SELECT "award" FROM "awards" WHERE "category"='cabello maluco';
2-16264878-4
What is the total number of years in which Eiza González had a nominated work in the category of solista favorito?
CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text );
SELECT SUM("year") FROM "awards" WHERE "nominated_work"='eiza gonzález' AND "category"='solista favorito';
2-16264878-4
Before the year 2012, what award was given to the artist in the category of revelación pop del año?
CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text );
SELECT "award" FROM "awards" WHERE "year"<2012 AND "category"='revelación pop del año';
2-16264878-4
what is the method when the record is 1-1?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='1-1';
2-17445268-2
what is the event when the opponent is yuji hisamatsu?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='yuji hisamatsu';
2-17445268-2
What is the time of ufc 154?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='ufc 154';
2-17440158-2
What is the average round of the match with kevin manderson as the opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "opponent"='kevin manderson';
2-17440158-2
What was the location attendance on January 19?
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 "date"='january 19';
2-17288845-7
What number game was it that the Spurs were @ Miami?
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 SUM("game") FROM "game_log" WHERE "team"='@ miami';
2-17288845-7
What is the total number of losses of the player that has drawn 1 and played smaller than 12?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("lost") FROM "main_round" WHERE "drawn"=1 AND "played"<12;
2-16501954-21
What type of surface did the tournament canada f9, markham have?
CREATE TABLE "singles_19_13_titles_6_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_19_13_titles_6_runners_up" WHERE "tournament"='canada f9, markham';
2-17393193-2
What is Score, when Date is December 23?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "score" FROM "season_schedule" WHERE "date"='december 23';
2-17064508-5
What is Score when Team is @ Kansas City-Omaha Kings?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "score" FROM "season_schedule" WHERE "team"='@ kansas city-omaha kings';
2-17064508-5
Which position has an Overall smaller than 64, and a Round of 1?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "washington_redskins_draft_history" WHERE "overall"<64 AND "round"=1;
2-17100961-37
Which average overall has a Pick smaller than 5?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "pick"<5;
2-17100961-37
Which highest overall has a College of idaho, and a Round smaller than 1?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "college"='idaho' AND "round"<1;
2-17100961-37
How many rounds have a Pick smaller than 10, and a Name of larry hendershot?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("round") FROM "washington_redskins_draft_history" WHERE "pick"<10 AND "name"='larry hendershot';
2-17100961-37
What is Part 1, when Part 2 is "fraus"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "part_1" FROM "north_germanic" WHERE "part_2"='fraus';
2-1745843-10
What is Part 3, when Part 1 is "frjósa"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "part_3" FROM "north_germanic" WHERE "part_1"='frjósa';
2-1745843-10
What is Class, when Part 2 is "blétu"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "class" FROM "north_germanic" WHERE "part_3"='blétu';
2-1745843-10
What is Part 4, when Part 2 is "hljóp"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "part_4" FROM "north_germanic" WHERE "part_2"='hljóp';
2-1745843-10
What is Part 4, when Part 2 is "batt"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "part_4" FROM "north_germanic" WHERE "part_2"='batt';
2-1745843-10
What is Part 1, when Part 3 is "heldu"?
CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text );
SELECT "part_1" FROM "north_germanic" WHERE "part_3"='heldu';
2-1745843-10
What is the home team which plays at a venue called Win Entertainment Centre?
CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "home_team" FROM "round_16" WHERE "venue"='win entertainment centre';
2-16653153-23
What away team had a 103-94 score?
CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "away_team" FROM "round_16" WHERE "score"='103-94';
2-16653153-23
When the home team is Cairns Taipans, at which venue do they play?
CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "venue" FROM "round_16" WHERE "home_team"='cairns taipans';
2-16653153-23
What is the bird uniform for Eagle Rider Mickey Dugan?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "bird_uniform" FROM "team_variations_across_different_version" WHERE "eagle_riders"='mickey dugan';
2-17464729-1
Who is the Japanese voice actor of Eagle Rider Ollie Keeawani?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "japanese_voice_actor" FROM "team_variations_across_different_version" WHERE "eagle_riders"='ollie keeawani';
2-17464729-1
What is the bird uniform for the voice actor Heidi Noelle Lenhart?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "bird_uniform" FROM "team_variations_across_different_version" WHERE "voice_actor_eagle_riders"='heidi noelle lenhart';
2-17464729-1
What is the Mecha of the Japanese voice actor Shingo Kanemoto?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "mecha" FROM "team_variations_across_different_version" WHERE "japanese_voice_actor"='shingo kanemoto';
2-17464729-1
What is the weapon for the mecha of motorcycle?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "weapon" FROM "team_variations_across_different_version" WHERE "mecha"='motorcycle';
2-17464729-1
What is the bird uniform that is associated with the rank of G2?
CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_eagle_riders" text );
SELECT "bird_uniform" FROM "team_variations_across_different_version" WHERE "rank"='g2';
2-17464729-1
Which team had a score of 103-96?
CREATE TABLE "playoffs" ( "game" real, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "team" FROM "playoffs" WHERE "score"='103-96';
2-16763663-10
What is the smallest game had a location of Madison Square Garden with a score of 109-99?
CREATE TABLE "playoffs" ( "game" real, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT MIN("game") FROM "playoffs" WHERE "location_attendance"='madison square garden' AND "score"='109-99';
2-16763663-10
What is the 2007 value for the 2006 wta premier tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" text, "career_w_l" text );
SELECT "2007" FROM "singles_performance_timeline" WHERE "2006"='wta premier tournaments';
2-16893837-1
What is the 2007 value for the 2010 wta premier 5 tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" text, "career_w_l" text );
SELECT "2007" FROM "singles_performance_timeline" WHERE "2010"='wta premier 5 tournaments';
2-16893837-1
What is the 2004 value with A in 2005, A in 2008, and lq in 2009?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" text, "career_w_l" text );
SELECT "2004" FROM "singles_performance_timeline" WHERE "2005"='a' AND "2008"='a' AND "2009"='lq';
2-16893837-1
What is the career SR for the tournament of wimbledon?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" text, "career_w_l" text );
SELECT "career_sr" FROM "singles_performance_timeline" WHERE "tournament"='wimbledon';
2-16893837-1
What is the score for the Tie no. 12?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='12';
2-17559580-5
What is the home team against the away team Norwich City?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='norwich city';
2-17559580-5
Who is the home team with a tie no. 12?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='12';
2-17559580-5
WHAT IS THE PLAYER WITH A PICK OF 219?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "player" FROM "draft_picks" WHERE "pick"=219;
2-17064421-1
WHAT NATIONALITY HAS ROUND 3?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "nationality" FROM "draft_picks" WHERE "round"=3;
2-17064421-1
WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "player" FROM "draft_picks" WHERE "pick"<110 AND "college"='duke';
2-17064421-1
WHAT POSITION HAD SPURS IN 2009-2012?
CREATE TABLE "j" ( "player" text, "no_s" real, "height_in_ft" text, "position" text, "years_with_spurs" text );
SELECT "position" FROM "j" WHERE "years_with_spurs"='2009-2012';
2-16669584-4
Who won on the week of August 10?
CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text );
SELECT "winner_and_score" FROM "singles" WHERE "week"='august 10';
2-16381982-1
What surface was played on during the week of August 10?
CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text );
SELECT "surface" FROM "singles" WHERE "week"='august 10';
2-16381982-1
What tournament had Greg Rusedski as a finalist?
CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text );
SELECT "tournament" FROM "singles" WHERE "finalist"='greg rusedski';
2-16381982-1
What was the surface that was played on during the week of March 16?
CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text );
SELECT "surface" FROM "singles" WHERE "week"='march 16';
2-16381982-1
what is the least laps when the driver is rubens barrichello and the grid is less than 12?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "classification" WHERE "driver"='rubens barrichello' AND "grid"<12;
2-1626331-2
what is the time/retired when the laps is 55?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "laps"=55;
2-1626331-2
Where was the event Kage Kombat 16?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='kage kombat 16';
2-16960380-2
Which event had the record of 18–5 (1)?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='18–5 (1)';
2-16960380-2
What was Menato Boffa's grid?
CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text );
SELECT "grid" FROM "results" WHERE "driver"='menato boffa';
2-17103867-1
What is the Time/Retired value for Ludovico Scarfiotti?
CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text );
SELECT "time_retired" FROM "results" WHERE "driver"='ludovico scarfiotti';
2-17103867-1
Who was Albino Buticchi's constructor?
CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text );
SELECT "constructor" FROM "results" WHERE "driver"='albino buticchi';
2-17103867-1
Who was the driver for Rovero Campello?
CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text );
SELECT "driver" FROM "results" WHERE "entrant"='rovero campello';
2-17103867-1
What is the score of player jay haas?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "player"='jay haas';
2-17245483-6
What is the to par of the player with more than $4,100 and a score of 69-67-72-70=278?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_round" WHERE "money">'4,100' AND "score"='69-67-72-70=278';
2-17245483-6
Who is the player with a +3 to par and a 72-68-71-72=283 score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_round" WHERE "to_par"='+3' AND "score"='72-68-71-72=283';
2-17245483-6
What country has a 74-72-71-67=284 score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_round" WHERE "score"='74-72-71-67=284';
2-17245483-6
What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT MIN("bike_no") FROM "riders" WHERE "driver_passenger"='joris hendrickx / kaspars liepins' AND "position"<4;
2-16941304-4
What is the average Position, when Bike No is greater than 8, and when Points is less than 240?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT AVG("position") FROM "riders" WHERE "bike_no">8 AND "points"<240;
2-16941304-4
What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT MIN("position") FROM "riders" WHERE "bike_no">10 AND "driver_passenger"='nicky pulinx / ondrej cermak' AND "points">244;
2-16941304-4
What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT MAX("points") FROM "riders" WHERE "position"<4 AND "equipment"='zabel - vmc' AND "bike_no"<1;
2-16941304-4
What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is greater than 4?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT AVG("bike_no") FROM "riders" WHERE "driver_passenger"='joris hendrickx / kaspars liepins' AND "position">4;
2-16941304-4
What is the type of electronic with the Gamecube Platform?
CREATE TABLE "video_game" ( "publisher" text, "year" real, "platform" text, "type" text, "metacritic_score" text );
SELECT "type" FROM "video_game" WHERE "platform"='gamecube';
2-163234-1
On what type of surface did they play on 13 February 1994?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles_7" WHERE "date"='13 february 1994';
2-1729072-2
In which tournament was Silke Meier the opponent in the final?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles_7" WHERE "opponent_in_the_final"='silke meier';
2-1729072-2
Which venue has a scoreof 2–0?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "score"='2–0';
2-1658359-3
WHAT IS THE SCORE WITH THE TEAM OF INDIANA?
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 "team"='indiana';
2-17080868-7
WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921?
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 "location_attendance"='target center 11,921';
2-17080868-7
What was the attendance on 10/29/1932?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "date"='10/29/1932';
2-16518708-1
What was the Attendance on December 21, 1986 before Week 16?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("attendance") FROM "schedule" WHERE "date"='december 21, 1986' AND "week"<16;
2-16779899-2
In what Week was the Attendance 43,430?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "attendance"='43,430';
2-16779899-2
What was the Result of the game on December 14, 1986 after Week 11?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week">11 AND "date"='december 14, 1986';
2-16779899-2
What team did they play when the series was 1-1?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "team" FROM "playoffs" WHERE "series"='1-1';
2-17622423-11
What were the high points on May 12?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "high_points" FROM "playoffs" WHERE "date"='may 12';
2-17622423-11
What was the team they played when the series was 2-1?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "team" FROM "playoffs" WHERE "series"='2-1';
2-17622423-11
who is the opponent on february 8, 1990?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "streak" text );
SELECT "opponent" FROM "schedule" WHERE "date"='february 8, 1990';
2-17376313-4
who is the opponent when the streak is won 9 on april 13, 1990?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "streak" text );
SELECT "opponent" FROM "schedule" WHERE "streak"='won 9' AND "date"='april 13, 1990';
2-17376313-4
What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?
CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_prefectural_vote" text );
SELECT COUNT("num_of_prefectural_votes") FROM "councillors_election_results" WHERE "num_of_seats_won">69 AND "leader"='yasuhiro nakasone';
2-164231-2
What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63?
CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_prefectural_vote" text );
SELECT AVG("num_of_national_votes") FROM "councillors_election_results" WHERE "election"<1992 AND "pct_of_prefectural_vote"='39.5%' AND "leader"='takeo fukuda' AND "num_of_seats_won">63;
2-164231-2
What is the average Election, when % Of Prefectural Vote is 38.57%, and when # Of Prefectural Votes is greater than 21,114,727?
CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_prefectural_vote" text );
SELECT AVG("election") FROM "councillors_election_results" WHERE "pct_of_prefectural_vote"='38.57%' AND "num_of_prefectural_votes">'21,114,727';
2-164231-2
What is the average Election, when % Of Nation Vote is 45.23%, and when # Of Prefectural Votes is less than 14,961,199?
CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_prefectural_vote" text );
SELECT AVG("election") FROM "councillors_election_results" WHERE "pct_of_national_vote"='45.23%' AND "num_of_prefectural_votes"<'14,961,199';
2-164231-2
What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?
CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_prefectural_vote" text );
SELECT COUNT("num_of_prefectural_votes") FROM "councillors_election_results" WHERE "pct_of_prefectural_vote"='48.4%' AND "num_of_seats_won">61;
2-164231-2
What was the resolution of the fight against steve schneider?
CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mma_record" WHERE "opponent"='steve schneider';
2-17440864-2
What was the resolution of the fight when matt grice had a record of 2-0?
CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mma_record" WHERE "record"='2-0';
2-17440864-2
What was the record when matt grice fought dennis bermudez with a time of 5:00?
CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mma_record" WHERE "time"='5:00' AND "opponent"='dennis bermudez';
2-17440864-2
What was the outcome of the match against Juan Ignacio Chela?
CREATE TABLE "singles_5_2_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_5_2_titles_3_runners_up" WHERE "opponent"='juan ignacio chela';
2-16949333-3
What is the 250 cc with a year bigger than 1984?
CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text );
SELECT "250_cc" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "year">1984;
2-16801125-1
What is the report for a 250 cc of sito pons, and a 500 cc of wayne gardner?
CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text );
SELECT "report" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='sito pons' AND "500_cc"='wayne gardner';
2-16801125-1
What is the 500 cc with a 250 cc of freddie spencer?
CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text );
SELECT "500_cc" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='freddie spencer';
2-16801125-1
What track has a 250 cc of sito pons?
CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text );
SELECT "track" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='sito pons';
2-16801125-1
How much did Jerry Barber score to come in at T9?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "score" FROM "third_round" WHERE "place"='t9' AND "player"='jerry barber';
2-17290135-3
What place did Jerry Barber of the United States come in at?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "place" FROM "third_round" WHERE "country"='united states' AND "player"='jerry barber';
2-17290135-3