question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open?
CREATE TABLE "finals_14_9_titles_5_runners_up" ( "outcome" text, "year" real, "tournament" text, "opponent" text, "score" text );
SELECT "outcome" FROM "finals_14_9_titles_5_runners_up" WHERE "opponent"='nguyen tien minh' AND "tournament"='bulgaria open';
2-12155735-1
What was the final score when the New York Jets were the Visiting Team?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "final_score" FROM "1989" WHERE "visiting_team"='new york jets';
2-13193466-4
When were the Cleveland Browns the visiting team?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "date" FROM "1989" WHERE "visiting_team"='cleveland browns';
2-13193466-4
Where were the New York Jets visiting?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "stadium" FROM "1989" WHERE "visiting_team"='new york jets';
2-13193466-4
What was the final score in Robert F. Kennedy Memorial Stadium?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "final_score" FROM "1989" WHERE "stadium"='robert f. kennedy memorial stadium';
2-13193466-4
What was the visiting team on November 12?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "visiting_team" FROM "1989" WHERE "date"='november 12';
2-13193466-4
In what stadium were the New England Patriots the visiting team?
CREATE TABLE "1989" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "stadium" FROM "1989" WHERE "visiting_team"='new england patriots';
2-13193466-4
If the games played are smaller than 18, what are the lowest goals conceded?
CREATE TABLE "league_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT MIN("goals_conceded") FROM "league_standings" WHERE "played"<18;
2-13043324-1
If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded?
CREATE TABLE "league_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT COUNT("goals_conceded") FROM "league_standings" WHERE "place"<8 AND "played">18;
2-13043324-1
What is the sum of the place that has less than 2 losses?
CREATE TABLE "league_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT SUM("place") FROM "league_standings" WHERE "lost"<2;
2-13043324-1
What is the aspect ration when the max fps HDRx is 80?
CREATE TABLE "epic_m_and_epic_x" ( "frame_size" text, "width" real, "height" real, "mpix" real, "aspect_ratio" text, "max_fps" real, "max_fps_hd_rx" real, "lowest_possible_redcode_at_24_fps" text, "lowest_possible_redcode_at_max_fps" text );
SELECT "aspect_ratio" FROM "epic_m_and_epic_x" WHERE "max_fps_hd_rx"=80;
2-1251878-2
What is the smallest width for a frame size of 5k and a height shorter than 2700?
CREATE TABLE "epic_m_and_epic_x" ( "frame_size" text, "width" real, "height" real, "mpix" real, "aspect_ratio" text, "max_fps" real, "max_fps_hd_rx" real, "lowest_possible_redcode_at_24_fps" text, "lowest_possible_redcode_at_max_fps" text );
SELECT MIN("width") FROM "epic_m_and_epic_x" WHERE "frame_size"='5k' AND "height"<2700;
2-1251878-2
What was the opponent on August 29?
CREATE TABLE "august" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text );
SELECT "opponent" FROM "august" WHERE "date"='august 29';
2-12164513-5
Which team had the attendance of 16,468 and lost?
CREATE TABLE "august" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text );
SELECT "loss" FROM "august" WHERE "attendance"='16,468';
2-12164513-5
What opponent has a loss of Trachsel (10-11)?
CREATE TABLE "august" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text );
SELECT "opponent" FROM "august" WHERE "loss"='trachsel (10-11)';
2-12164513-5
What was the attendance on August 8?
CREATE TABLE "august" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text );
SELECT "attendance" FROM "august" WHERE "date"='august 8';
2-12164513-5
Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji?
CREATE TABLE "stations" ( "station" text, "japanese" text, "distance_km" real, "rapid" text, "location" text );
SELECT "rapid" FROM "stations" WHERE "distance_km"<14.2 AND "station"='kōmyōji';
2-13290047-1
What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34?
CREATE TABLE "appearances" ( "name" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );
SELECT SUM("other") FROM "appearances" WHERE "name"='simon gillett category:articles with hcards' AND "total"<34;
2-12838913-6
What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0?
CREATE TABLE "appearances" ( "name" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );
SELECT SUM("league_cup") FROM "appearances" WHERE "total"<1 AND "league"<0;
2-12838913-6
What is the greatest Total, when the FA Cup is 0, when the Name is Robbie Williams Category:Articles with hCards, and when the League Cup is less than 0?
CREATE TABLE "appearances" ( "name" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );
SELECT MAX("total") FROM "appearances" WHERE "fa_cup"=0 AND "name"='robbie williams category:articles with hcards' AND "league_cup"<0;
2-12838913-6
What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3?
CREATE TABLE "appearances" ( "name" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );
SELECT AVG("total") FROM "appearances" WHERE "name"='simon gillett category:articles with hcards' AND "other">3;
2-12838913-6
What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?
CREATE TABLE "appearances" ( "name" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );
SELECT SUM("league_cup") FROM "appearances" WHERE "other"<1 AND "name"='gareth farrelly category:articles with hcards' AND "league">1;
2-12838913-6
Name the runner-up which has 3rd place of terry hollands
CREATE TABLE "list_of_champions" ( "year" text, "champion" text, "runner_up" text, "3rd_place" text, "location" text );
SELECT "runner_up" FROM "list_of_champions" WHERE "3rd_place"='terry hollands';
2-13053542-1
Name the champion for christopher miles runner-up
CREATE TABLE "list_of_champions" ( "year" text, "champion" text, "runner_up" text, "3rd_place" text, "location" text );
SELECT "champion" FROM "list_of_champions" WHERE "runner_up"='christopher miles';
2-13053542-1
Name the champion for 2000
CREATE TABLE "list_of_champions" ( "year" text, "champion" text, "runner_up" text, "3rd_place" text, "location" text );
SELECT "champion" FROM "list_of_champions" WHERE "year"='2000';
2-13053542-1
Name the champion for 3rd place tbc and runner-up tbc
CREATE TABLE "list_of_champions" ( "year" text, "champion" text, "runner_up" text, "3rd_place" text, "location" text );
SELECT "champion" FROM "list_of_champions" WHERE "3rd_place"='tbc' AND "runner_up"='tbc';
2-13053542-1
Name the location for 1998
CREATE TABLE "list_of_champions" ( "year" text, "champion" text, "runner_up" text, "3rd_place" text, "location" text );
SELECT "location" FROM "list_of_champions" WHERE "year"='1998';
2-13053542-1
How many gold medals correspond with a total over 4?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "gold" FROM "medal_table" WHERE "total">4;
2-12420066-2
What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medal_table" WHERE "total"=12 AND "bronze"<4;
2-12420066-2
What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("gold") FROM "medal_table" WHERE "rank"='total' AND "bronze">4;
2-12420066-2
What is the smallest number of bronze medals with more than 4 gold medals?
CREATE TABLE "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_table" WHERE "gold">4;
2-12420066-2
The candidate with Riding of st. john's south—mount pearl is what gender?
CREATE TABLE "7_seats" ( "riding" text, "candidate_s_name" text, "gender" text, "residence" text, "occupation" text, "votes" real, "rank" text );
SELECT "gender" FROM "7_seats" WHERE "riding"='st. john''s south—mount pearl';
2-12890300-1
What is the rank of walter noel from st. john's?
CREATE TABLE "7_seats" ( "riding" text, "candidate_s_name" text, "gender" text, "residence" text, "occupation" text, "votes" real, "rank" text );
SELECT "rank" FROM "7_seats" WHERE "residence"='st. john''s' AND "candidate_s_name"='walter noel';
2-12890300-1
What is the name of the candidate from happy valley-goose bay with a gender of m?
CREATE TABLE "7_seats" ( "riding" text, "candidate_s_name" text, "gender" text, "residence" text, "occupation" text, "votes" real, "rank" text );
SELECT "candidate_s_name" FROM "7_seats" WHERE "gender"='m' AND "residence"='happy valley-goose bay';
2-12890300-1
Which number has a 0.35 percentage?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "number" FROM "language" WHERE "percentage_pct"='0.35';
2-12165278-1
What is the percentage for Russian?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "percentage_pct" FROM "language" WHERE "language"='russian';
2-12165278-1
How many males speak Russian?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "males" FROM "language" WHERE "language"='russian';
2-12165278-1
Who is the writer for Red Rose Chain LTD?
CREATE TABLE "2007" ( "film" text, "director_s" text, "producer_s" text, "writer_s" text, "recipient" text, "award" text );
SELECT "writer_s" FROM "2007" WHERE "recipient"='red rose chain ltd';
2-12181447-4
Which producer did Daniel Cormack direct?
CREATE TABLE "2007" ( "film" text, "director_s" text, "producer_s" text, "writer_s" text, "recipient" text, "award" text );
SELECT "producer_s" FROM "2007" WHERE "director_s"='daniel cormack';
2-12181447-4
Who produced Laura Tunstall?
CREATE TABLE "2007" ( "film" text, "director_s" text, "producer_s" text, "writer_s" text, "recipient" text, "award" text );
SELECT "producer_s" FROM "2007" WHERE "recipient"='laura tunstall';
2-12181447-4
Who wrote the film Jehovah's Witness?
CREATE TABLE "2007" ( "film" text, "director_s" text, "producer_s" text, "writer_s" text, "recipient" text, "award" text );
SELECT "writer_s" FROM "2007" WHERE "film"='jehovah''s witness';
2-12181447-4
When did Hein Vergeer have a distance of 5,000m?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "date" FROM "personal_records" WHERE "distance"='5,000m';
2-12761455-2
What were the notes during the distance of Men's Speed Skating?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "notes" FROM "personal_records" WHERE "distance"='men''s speed skating';
2-12761455-2
What date has the competition of uefa euro 2012 qualifying?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='uefa euro 2012 qualifying';
2-12253254-1
What is the Grade that has Turf 1600m?
CREATE TABLE "step_races" ( "race_name" real, "grade" text, "racecourse" text, "distance" text, "priority_entry_rights_to_derby" text );
SELECT "grade" FROM "step_races" WHERE "priority_entry_rights_to_derby"='turf 1600m';
2-12347040-1
What is the Priority-entry-rights to Derby in rank 4?
CREATE TABLE "step_races" ( "race_name" real, "grade" text, "racecourse" text, "distance" text, "priority_entry_rights_to_derby" text );
SELECT "priority_entry_rights_to_derby" FROM "step_races" WHERE "race_name"=4;
2-12347040-1
How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?
CREATE TABLE "distribution" ( "installation" text, "cluj" real, "oradea" real, "baia_mare" real, "bistrita" real, "satu_mare" real, "zalau" real, "electrica_north_transylvania" real );
SELECT COUNT("baia_mare") FROM "distribution" WHERE "electrica_north_transylvania"<14.476 AND "bistrita"=643 AND "zalau"<737;
2-12531734-1
What is the smallest Satu Mare value associated with Baia Mare over 523?
CREATE TABLE "distribution" ( "installation" text, "cluj" real, "oradea" real, "baia_mare" real, "bistrita" real, "satu_mare" real, "zalau" real, "electrica_north_transylvania" real );
SELECT MIN("satu_mare") FROM "distribution" WHERE "baia_mare">523;
2-12531734-1
Which Word wrap support has a Format of mobipocket?
CREATE TABLE "features" ( "format" text, "filename_extension" text, "image_support" text, "interactivity_support" text, "word_wrap_support" text, "open_standard" text );
SELECT "word_wrap_support" FROM "features" WHERE "format"='mobipocket';
2-12115370-1
Which Interactivity support has a Format of fictionbook?
CREATE TABLE "features" ( "format" text, "filename_extension" text, "image_support" text, "interactivity_support" text, "word_wrap_support" text, "open_standard" text );
SELECT "interactivity_support" FROM "features" WHERE "format"='fictionbook';
2-12115370-1
Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no?
CREATE TABLE "features" ( "format" text, "filename_extension" text, "image_support" text, "interactivity_support" text, "word_wrap_support" text, "open_standard" text );
SELECT "filename_extension" FROM "features" WHERE "interactivity_support"='no' AND "open_standard"='yes' AND "image_support"='no';
2-12115370-1
Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes?
CREATE TABLE "features" ( "format" text, "filename_extension" text, "image_support" text, "interactivity_support" text, "word_wrap_support" text, "open_standard" text );
SELECT "filename_extension" FROM "features" WHERE "word_wrap_support"='yes' AND "open_standard"='no' AND "interactivity_support"='yes';
2-12115370-1
Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes?
CREATE TABLE "features" ( "format" text, "filename_extension" text, "image_support" text, "interactivity_support" text, "word_wrap_support" text, "open_standard" text );
SELECT "format" FROM "features" WHERE "interactivity_support"='no' AND "word_wrap_support"='yes' AND "image_support"='yes' AND "open_standard"='yes';
2-12115370-1
Position of guard, and a Pick # larger than 9 is what highest round?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("round") FROM "indianapolis_colts_draft_history" WHERE "position"='guard' AND "pick_num">9;
2-13312898-52
Pick # smaller than 11, and a Name of von hutchins belongs to what college?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "pick_num"<11 AND "name"='von hutchins';
2-13312898-52
College of idaho, and an Overall smaller than 141 is what average round?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("round") FROM "indianapolis_colts_draft_history" WHERE "college"='idaho' AND "overall"<141;
2-13312898-52
Name of David Kimball, and an Overall smaller than 229 is what highest round?
CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("round") FROM "indianapolis_colts_draft_history" WHERE "name"='david kimball' AND "overall"<229;
2-13312898-52
How many points did the car with the brm v8 engine have?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT COUNT("points") FROM "complete_formula_one_world_championship_" WHERE "engine"='brm v8';
2-1235866-1
Which chassis has more than 0 points and was before 1966?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"<1966 AND "points">0;
2-1235866-1
How many points did he average in 1964?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT AVG("points") FROM "complete_formula_one_world_championship_" WHERE "year"=1964;
2-1235866-1
Before the year 1963 what was the fewest points the climax v8 engine had?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MIN("points") FROM "complete_formula_one_world_championship_" WHERE "engine"='climax v8' AND "year"<1963;
2-1235866-1
What was the earliest year that had less than 1 point?
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "points"<1;
2-1235866-1
What is the 8:00 feature with je at 7:00?
CREATE TABLE "friday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "8_00" FROM "friday" WHERE "7_00"='je';
2-12280777-6
What is the 10:00 feature with 1 vs. 100 at 8:30?
CREATE TABLE "friday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "10_00" FROM "friday" WHERE "8_30"='1 vs. 100';
2-12280777-6
What is the 7:00 feature with entertainment tonight at 7:30?
CREATE TABLE "friday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "7_00" FROM "friday" WHERE "7_30"='entertainment tonight';
2-12280777-6
What is the 7:30 feature with le tva 22 heures at 10:00?
CREATE TABLE "friday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "7_30" FROM "friday" WHERE "10_00"='le tva 22 heures';
2-12280777-6
What is the 9:30 feature with la porte des étoiles at 8:30?
CREATE TABLE "friday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "9_30" FROM "friday" WHERE "8_30"='la porte des étoiles';
2-12280777-6
How many were in attendance on October 27, 1963?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "season_schedule" WHERE "date"='october 27, 1963';
2-12828243-1
which # / county is correct for year less than 1981 and chalmers as location?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT "num_county" FROM "membership" WHERE "year_joined"<1981 AND "location"='chalmers';
2-12393831-1
what is the correct year for # / county of 09 cass?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT "year_joined" FROM "membership" WHERE "num_county"='09 cass';
2-12393831-1
what's the mascot for 66 pulaski 2?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT "mascot" FROM "membership" WHERE "num_county"='66 pulaski 2';
2-12393831-1
What is the total bronze with a Silver of 2, and a Gold smaller than 0?
CREATE TABLE "sporting_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "sporting_events" WHERE "silver"=2 AND "gold"<0;
2-12402019-4
What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0?
CREATE TABLE "sporting_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "sporting_events" WHERE "rank">11 AND "nation"='switzerland' AND "silver"<0;
2-12402019-4
What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0?
CREATE TABLE "sporting_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "sporting_events" WHERE "bronze"<7 AND "total"=1 AND "nation"='cape verde' AND "silver"<0;
2-12402019-4
How powerful is the model before 1999?
CREATE TABLE "models" ( "engine" text, "displacement" text, "power" text, "torque" text, "year" real );
SELECT "power" FROM "models" WHERE "year"<1999;
2-1285475-1
What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750?
CREATE TABLE "models" ( "engine" text, "displacement" text, "power" text, "torque" text, "year" real );
SELECT "displacement" FROM "models" WHERE "year"=1999 AND "torque"='280n·m (207lb·ft) @ 1750';
2-1285475-1
When is the earliest year with a Power of 90kw (121hp) @ 4000?
CREATE TABLE "models" ( "engine" text, "displacement" text, "power" text, "torque" text, "year" real );
SELECT MIN("year") FROM "models" WHERE "power"='90kw (121hp) @ 4000';
2-1285475-1
When is the earliest year with a Torque of 330n·m (243lb·ft) @ 2000-2500?
CREATE TABLE "models" ( "engine" text, "displacement" text, "power" text, "torque" text, "year" real );
SELECT MIN("year") FROM "models" WHERE "torque"='330n·m (243lb·ft) @ 2000-2500';
2-1285475-1
What week 14 has the lowest attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("attendance") FROM "schedule" WHERE "week"=14;
2-12536732-1
Which sum of week that had an attendance larger than 55,767 on September 28, 1986?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("week") FROM "schedule" WHERE "attendance">'55,767' AND "date"='september 28, 1986';
2-12536732-1
What is the highest attendance on September 14, 1986?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='september 14, 1986';
2-12536732-1
What type is the race with the vicenza to marostica course?
CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text );
SELECT "type" FROM "stage_results" WHERE "course"='vicenza to marostica';
2-12261926-1
Name the 2005 for 2003 of a and 2011 of 3r
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2005" FROM "women_s_doubles_performance_timeline" WHERE "2003"='a' AND "2011"='3r';
2-12485560-7
Name the 2006 with 2003 of a and 2012 of a
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2006" FROM "women_s_doubles_performance_timeline" WHERE "2003"='a' AND "2012"='a';
2-12485560-7
Name the 2010 for 2006 of 2r
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2010" FROM "women_s_doubles_performance_timeline" WHERE "2006"='2r';
2-12485560-7
Name the 2007 for 2005 of a and 003 of a with 2009 of sf
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2007" FROM "women_s_doubles_performance_timeline" WHERE "2005"='a' AND "2003"='a' AND "2009"='sf';
2-12485560-7
Name the 2011 with 2006 of 2r
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "women_s_doubles_performance_timeline" WHERE "2006"='2r';
2-12485560-7
what was the venue on 7 october 2011?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='7 october 2011';
2-12706952-1
What is the highest number of the match with julio césar vásquez as the opponent?
CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text );
SELECT MAX("number") FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "opponent"='julio césar vásquez';
2-12206918-2
Who was the opponent of the match on 2006-04-08?
CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text );
SELECT "opponent" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "date"='2006-04-08';
2-12206918-2
What is the result of the match with Zab Judah as the opponent?
CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text );
SELECT "result" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "opponent"='zab judah';
2-12206918-2
What is the date of the match with a result of ud 12/12 between Pernell Whitaker and James Mcgirt?
CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text );
SELECT "date" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "result"='ud 12/12' AND "name"='pernell whitaker' AND "opponent"='james mcgirt';
2-12206918-2
What score was on 13 June 2004?
CREATE TABLE "biggest_wins" ( "margin" real, "score" text, "opponent" text, "venue" text, "date" text );
SELECT "score" FROM "biggest_wins" WHERE "date"='13 june 2004';
2-13153336-1
Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008?
CREATE TABLE "grand_tour_finishers" ( "rider" text, "year" real, "final_position_giro" real, "final_position_tour" real, "final_position_vuelta" real );
SELECT "rider" FROM "grand_tour_finishers" WHERE "final_position_tour"<50 AND "final_position_vuelta"<11 AND "year"<2008;
2-1286819-6
What is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57?
CREATE TABLE "grand_tour_finishers" ( "rider" text, "year" real, "final_position_giro" real, "final_position_tour" real, "final_position_vuelta" real );
SELECT MIN("year") FROM "grand_tour_finishers" WHERE "final_position_tour">72 AND "final_position_vuelta"<77 AND "final_position_giro"<57 AND "rider"='valdimir poelnikov';
2-1286819-6
What is the number of final position-tours Mariano Piccoli, who has more than 20 final position-giros, before 1999 has?
CREATE TABLE "grand_tour_finishers" ( "rider" text, "year" real, "final_position_giro" real, "final_position_tour" real, "final_position_vuelta" real );
SELECT COUNT("final_position_tour") FROM "grand_tour_finishers" WHERE "final_position_giro">20 AND "rider"='mariano piccoli' AND "year"<1999;
2-1286819-6
What year was the rider with a final position-tour of 88 and less than 11 final position-giros?
CREATE TABLE "grand_tour_finishers" ( "rider" text, "year" real, "final_position_giro" real, "final_position_tour" real, "final_position_vuelta" real );
SELECT SUM("year") FROM "grand_tour_finishers" WHERE "final_position_tour"=88 AND "final_position_giro"<11;
2-1286819-6
How much did they lose by on April 26?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "date"='april 26';
2-12206491-2
What was the highest attendance when the opponent was the Indians and the record was 13-4?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "opponent"='indians' AND "record"='13-4';
2-12206491-2
What day did the record reach 15-4?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='15-4';
2-12206491-2