question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which 2011 has a 2009 of 15–2?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" real );
SELECT "2011" FROM "grand_slam_tournament_performance_timeli" WHERE "2009"='15–2';
2-1439517-1
Which 2010 has a 2006 of w?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" real );
SELECT "2010" FROM "grand_slam_tournament_performance_timeli" WHERE "2006"='w';
2-1439517-1
Which 2008 has a 2005 of 13–3?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" real );
SELECT "2008" FROM "grand_slam_tournament_performance_timeli" WHERE "2005"='13–3';
2-1439517-1
What is the time of the Ghantoot Racing and Polo Club?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" text, "date" text, "time" text, "report" text );
SELECT "time" FROM "round_1" WHERE "ground"='ghantoot racing and polo club';
2-14425454-1
What is the home team score of the game with Adelaide as the away team?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" text, "date" text, "time" text, "report" text );
SELECT "home_team_score" FROM "round_1" WHERE "away_team"='adelaide';
2-14425454-1
What is the time of the Essendon home team game?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" text, "date" text, "time" text, "report" text );
SELECT "time" FROM "round_1" WHERE "home_team"='essendon';
2-14425454-1
What is the home team score of the Ghantoot Racing and Polo Club Ground?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" text, "date" text, "time" text, "report" text );
SELECT "home_team_score" FROM "round_1" WHERE "ground"='ghantoot racing and polo club';
2-14425454-1
What shows for region when the date is february 2006?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "date"='february 2006';
2-14773149-1
What shows as the format for catalog 11 135?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "catalog"='11 135';
2-14773149-1
What is the release Date of the 7" single in Catalog 87184?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "format"='7\" single' AND "catalog"='87184';
2-15204733-1
In what Region is Catalog number 885 380-1?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "catalog"='885 380-1';
2-15204733-1
What Label is dated April 1986 in 7" single Format in France?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "region"='france' AND "format"='7\" single' AND "date"='april 1986';
2-15204733-1
Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?
CREATE TABLE "comparison" ( "model" text, "release_date" real, "price" text, "midi_inputs_outputs" text, "sampling_rate" text, "sampling_memory_upgrade_able" text, "sampling_time" text, "storage_method" text, "pad_banks" real );
SELECT "sampling_memory_upgrade_able" FROM "comparison" WHERE "sampling_rate"='16-bit 44.1khz';
2-1354538-1
Around what time frame release a Sampling Rate of 12-bit 40khz?
CREATE TABLE "comparison" ( "model" text, "release_date" real, "price" text, "midi_inputs_outputs" text, "sampling_rate" text, "sampling_memory_upgrade_able" text, "sampling_time" text, "storage_method" text, "pad_banks" real );
SELECT SUM("release_date") FROM "comparison" WHERE "sampling_rate"='12-bit 40khz';
2-1354538-1
How much is a product with a Sampling Rate of 12-bit 40khz?
CREATE TABLE "comparison" ( "model" text, "release_date" real, "price" text, "midi_inputs_outputs" text, "sampling_rate" text, "sampling_memory_upgrade_able" text, "sampling_time" text, "storage_method" text, "pad_banks" real );
SELECT "price" FROM "comparison" WHERE "sampling_rate"='12-bit 40khz';
2-1354538-1
what team scored on december 19
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='december 19';
2-14871036-2
what team scored 5–5–1–1?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "game_log" WHERE "record"='5–5–1–1';
2-14871036-2
what team scored on november 7
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='november 7';
2-14871036-2
Which player has rank 1?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT "player" FROM "leaders" WHERE "rank"=1;
2-14583241-4
What's the mean number of wins with a rank that's more than 5?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT AVG("wins") FROM "leaders" WHERE "rank">5;
2-14583241-4
What amount of earnings does Tiger Woods have?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT "earnings" FROM "leaders" WHERE "player"='tiger woods';
2-14583241-4
What is the position number of the club with more than 24 points and a w-l-d of 8-5-3?
CREATE TABLE "regular_season" ( "position" real, "club_city_town" text, "games_played" real, "w_l_d" text, "goals_for_against" text, "points" real );
SELECT COUNT("position") FROM "regular_season" WHERE "points">24 AND "w_l_d"='8-5-3';
2-13713206-1
What is the goals for/against of the club with 17 points?
CREATE TABLE "regular_season" ( "position" real, "club_city_town" text, "games_played" real, "w_l_d" text, "goals_for_against" text, "points" real );
SELECT "goals_for_against" FROM "regular_season" WHERE "points"=17;
2-13713206-1
What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against?
CREATE TABLE "regular_season" ( "position" real, "club_city_town" text, "games_played" real, "w_l_d" text, "goals_for_against" text, "points" real );
SELECT MAX("games_played") FROM "regular_season" WHERE "position"<4 AND "goals_for_against"='29-24';
2-13713206-1
Which date's attendance was more than 35,540?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "attendance">'35,540';
2-15124884-1
What is the smallest attendance number for December 3, 1944?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("attendance") FROM "schedule" WHERE "date"='december 3, 1944';
2-15124884-1
When was the Treaty of Cession for Karikal Colony?
CREATE TABLE "inde_fran_aise" ( "colony" text, "liberation" text, "de_facto_transfer" text, "treaty_of_cession" text, "de_jure_transfer" text, "merger" text );
SELECT "treaty_of_cession" FROM "inde_fran_aise" WHERE "colony"='karikal';
2-1404939-5
what day was the game in argentina
CREATE TABLE "1972" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "date" FROM "1972" WHERE "opponent"='argentina';
2-14305653-50
what city scored 0:0
CREATE TABLE "1972" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "city" FROM "1972" WHERE "results"='0:0';
2-14305653-50
what game was played on june 14
CREATE TABLE "1972" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "type_of_game" FROM "1972" WHERE "date"='june 14';
2-14305653-50
What score has april 28 as the date?
CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text );
SELECT "score" FROM "playoffs" WHERE "date"='april 28';
2-14335332-10
What score has tim duncan (27) as the leading scorer?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "score" FROM "december" WHERE "leading_scorer"='tim duncan (27)';
2-13667936-5
What visitor has tim duncan (16) as the leading scorer?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "visitor" FROM "december" WHERE "leading_scorer"='tim duncan (16)';
2-13667936-5
What were Will Rackley's total rounds?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("round") FROM "jacksonville_jaguars_draft_history" WHERE "name"='will rackley';
2-15100419-17
Which cornerback has the lowest overall and a pick number smaller than 16?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("overall") FROM "jacksonville_jaguars_draft_history" WHERE "position"='cornerback' AND "pick_num"<16;
2-15100419-17
Which cornerback has the highest round?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("round") FROM "jacksonville_jaguars_draft_history" WHERE "position"='cornerback';
2-15100419-17
What was the outcome on 25 october 2004?
CREATE TABLE "singles_14_9_5" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "singles_14_9_5" WHERE "date"='25 october 2004';
2-1408278-5
Which opponent was a runner-up on 2 march 1998?
CREATE TABLE "singles_14_9_5" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "opponent_in_the_final" FROM "singles_14_9_5" WHERE "outcome"='runner-up' AND "date"='2 march 1998';
2-1408278-5
Which championship had an oppenent of mario ančić in the final?
CREATE TABLE "singles_14_9_5" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "singles_14_9_5" WHERE "opponent_in_the_final"='mario ančić';
2-1408278-5
Name the change with share of 2.9%
CREATE TABLE "top_up_additional_member_system_results" ( "party" text, "votes" real, "share" text, "change" text, "seats" text );
SELECT "change" FROM "top_up_additional_member_system_results" WHERE "share"='2.9%';
2-15163175-2
Name the change for english democrats
CREATE TABLE "top_up_additional_member_system_results" ( "party" text, "votes" real, "share" text, "change" text, "seats" text );
SELECT "change" FROM "top_up_additional_member_system_results" WHERE "party"='english democrats';
2-15163175-2
Name the average votes for one london
CREATE TABLE "top_up_additional_member_system_results" ( "party" text, "votes" real, "share" text, "change" text, "seats" text );
SELECT AVG("votes") FROM "top_up_additional_member_system_results" WHERE "party"='one london';
2-15163175-2
Which Country has a Rank of 5?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT "country" FROM "leaders" WHERE "rank"=5;
2-14611511-3
Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MIN("earnings") FROM "leaders" WHERE "rank"=1 AND "events"<22;
2-14611511-3
How many earnings have Wins larger than 3?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT SUM("earnings") FROM "leaders" WHERE "wins">3;
2-14611511-3
Which Player has 4 Wins?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT "player" FROM "leaders" WHERE "wins"=4;
2-14611511-3
How many Poles have a Bike of honda rc212v, and Podiums smaller than 0?
CREATE TABLE "results" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );
SELECT COUNT("poles") FROM "results" WHERE "bike"='honda rc212v' AND "podiums"<0;
2-15309798-1
Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
CREATE TABLE "results" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" text );
SELECT MAX("wins") FROM "results" WHERE "pos"='2nd' AND "poles">2;
2-15309798-1
What is the average of points for 8th place with draw more than 8?
CREATE TABLE "melodifestivalen_1997" ( "draw" real, "artist" text, "song" text, "points" real, "place" text );
SELECT AVG("points") FROM "melodifestivalen_1997" WHERE "place"='8th' AND "draw">8;
2-13594823-1
Which Points have a Game smaller than 8, and a Record of 1–0–0?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("points") FROM "regular_season" WHERE "game"<8 AND "record"='1–0–0';
2-14291300-2
Which Game has a Record of 5–3–1, and an October smaller than 29?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("game") FROM "regular_season" WHERE "record"='5–3–1' AND "october"<29;
2-14291300-2
Which Game has a Score of 3–4?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("game") FROM "regular_season" WHERE "score"='3–4';
2-14291300-2
Which Game has a Record of 4–2–1, and Points larger than 9?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("game") FROM "regular_season" WHERE "record"='4–2–1' AND "points">9;
2-14291300-2
Which Nationality has a Position of defense, and a Player of nikita korovkin?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "position"='defense' AND "player"='nikita korovkin';
2-14347546-17
Which Nationality has a Position of left wing?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "position"='left wing';
2-14347546-17
Which Player has a Position of forward?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "player" FROM "draft_picks" WHERE "position"='forward';
2-14347546-17
Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_3_sept_14" FROM "coaches_poll" WHERE "week_6_oct_5"='kansas (4-1)';
2-15291779-2
Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_2_sept_7" FROM "coaches_poll" WHERE "week_6_oct_5"='wake forest (3-1)';
2-15291779-2
Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_1_sept_2" FROM "coaches_poll" WHERE "week_3_sept_14"='south florida (3-0)';
2-15291779-2
Which Week 7 Oct 12 has a Week 6 Oct 5 of boise state (4-0)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_7_oct_12" FROM "coaches_poll" WHERE "week_6_oct_5"='boise state (4-0)';
2-15291779-2
Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_2_sept_7" FROM "coaches_poll" WHERE "week_7_oct_12"='ball state (7-0)';
2-15291779-2
Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
CREATE TABLE "coaches_poll" ( "week_1_sept_2" text, "week_2_sept_7" text, "week_3_sept_14" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_13_nov_23" text, "week_14_nov_30" text, "week_15_dec_7" text, "week_16_final_jan_9" text );
SELECT "week_6_oct_5" FROM "coaches_poll" WHERE "week_14_nov_30"='texas (11-1)';
2-15291779-2
What is the highest round of Tommy Allman, who had a pick less than 40?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "player"='tommy allman' AND "pick"<40;
2-14876853-1
Who was the back player with a pick less than 183 from the round greater than 12?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "nfl_draft" WHERE "pick"<183 AND "position"='back' AND "round">12;
2-14876853-1
What is the total number of rounds of the end player with a pick number greater than 303?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT COUNT("round") FROM "nfl_draft" WHERE "pick">303 AND "position"='end';
2-14876853-1
What is the highest pick of the back player from round 28?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("pick") FROM "nfl_draft" WHERE "position"='back' AND "round"=28;
2-14876853-1
What is position of the player with a pick number greater than 315 and a round of 30?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "pick">315 AND "round"=30;
2-14876853-1
On what Week was the Result W 17-14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "result"='w 17-14';
2-15093739-1
What was the Result after the Week 4 on November 3, 1968?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week">4 AND "date"='november 3, 1968';
2-15093739-1
What is the attendance in week 4?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "week"=4;
2-14656268-2
What was the date of the game with a record of 17–25?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='17–25';
2-14271815-4
Who was the opponent at the game with a score of 6–5 (10)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "score"='6–5 (10)';
2-14271815-4
What was the result of the bout that led to a 4-4 record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='4-4';
2-14712229-2
Which location held the bout that led to a 4-3 record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='4-3';
2-14712229-2
What discs has a region 1 release date of January 22, 2008?
CREATE TABLE "dvd_releases" ( "volume" text, "discs" real, "episodes" real, "region_1_release" text, "region_2_release" text, "region_4_release" text );
SELECT "discs" FROM "dvd_releases" WHERE "region_1_release"='january 22, 2008';
2-15185133-2
What is the lowest rank of Citigroup?
CREATE TABLE "first_quarter" ( "rank" real, "name" text, "headquarters" text, "industry" text, "market_value_usd_million" real );
SELECT MIN("rank") FROM "first_quarter" WHERE "name"='citigroup';
2-14094649-14
What is the market value of the automotive industry?
CREATE TABLE "first_quarter" ( "rank" real, "name" text, "headquarters" text, "industry" text, "market_value_usd_million" real );
SELECT COUNT("market_value_usd_million") FROM "first_quarter" WHERE "industry"='automotive';
2-14094649-14
Name the attendance with result of t 14-14
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "result"='t 14-14';
2-15124803-1
Name the total number of attendance for october 20, 1946 with week less than 4
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "date"='october 20, 1946' AND "week"<4;
2-15124803-1
Name the most attendance for november 17, 1946 and week more than 8
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='november 17, 1946' AND "week">8;
2-15124803-1
What is the sum of the points for the player who was a rank of 61t?
CREATE TABLE "non_kickers" ( "rank" text, "player" text, "position" text, "career" text, "points" real );
SELECT SUM("points") FROM "non_kickers" WHERE "rank"='61t';
2-14083821-2
Who is the player who had more than 1,052 points?
CREATE TABLE "non_kickers" ( "rank" text, "player" text, "position" text, "career" text, "points" real );
SELECT "player" FROM "non_kickers" WHERE "points">'1,052';
2-14083821-2
What are the highest points that Emmitt Smith had?
CREATE TABLE "non_kickers" ( "rank" text, "player" text, "position" text, "career" text, "points" real );
SELECT MAX("points") FROM "non_kickers" WHERE "player"='emmitt smith';
2-14083821-2
Record of 6–8 had what attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "record"='6–8';
2-14876127-2
Result of l 17–20 had what attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "result"='l 17–20';
2-14876127-2
Game Site of hoosier dome, and a Result of l 7–31 involved what attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "game_site"='hoosier dome' AND "result"='l 7–31';
2-14876127-2
Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281?
CREATE TABLE "winners" ( "year" real, "champion" text, "country" text, "venue" text, "location" text, "score" text, "to_par" text, "purse" real, "winner_s_share" real );
SELECT MAX("year") FROM "winners" WHERE "venue"='blackwolf run, composite course' AND "score"='281';
2-1456008-1
Which Champion has a Venue of old waverly golf club?
CREATE TABLE "winners" ( "year" real, "champion" text, "country" text, "venue" text, "location" text, "score" text, "to_par" text, "purse" real, "winner_s_share" real );
SELECT "champion" FROM "winners" WHERE "venue"='old waverly golf club';
2-1456008-1
How many world rankings are after Aug 5, 1980 ?
CREATE TABLE "top_25_lists" ( "year" real, "performance" text, "world_ranking" real, "venue" text, "date" text );
SELECT SUM("world_ranking") FROM "top_25_lists" WHERE "date"='aug 5' AND "year">1980;
2-15168755-1
On which date is there a performance of more than 8.22.72?
CREATE TABLE "top_25_lists" ( "year" real, "performance" text, "world_ranking" real, "venue" text, "date" text );
SELECT "date" FROM "top_25_lists" WHERE "performance"='8.22.72';
2-15168755-1
The venue of Rome has which date?
CREATE TABLE "top_25_lists" ( "year" real, "performance" text, "world_ranking" real, "venue" text, "date" text );
SELECT "date" FROM "top_25_lists" WHERE "venue"='rome';
2-15168755-1
What was the 1st leg of the match that had an aggregate of 4-3?
CREATE TABLE "round_of_sixteen" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "round_of_sixteen" WHERE "agg"='4-3';
2-14013701-4
What was the 2nd leg fo the match that had a 1st leg of 1-3 and aggregate of 1-6?
CREATE TABLE "round_of_sixteen" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "round_of_sixteen" WHERE "1st_leg"='1-3' AND "agg"='1-6';
2-14013701-4
When was the last final lost of the club with 7 wins?
CREATE TABLE "performance_by_club" ( "club" text, "wins" text, "last_win" text, "runners_up" text, "last_final_lost" text );
SELECT "last_final_lost" FROM "performance_by_club" WHERE "wins"='7';
2-13827112-3
How many runners-up did the club with the last final lost in 1985 have?
CREATE TABLE "performance_by_club" ( "club" text, "wins" text, "last_win" text, "runners_up" text, "last_final_lost" text );
SELECT "runners_up" FROM "performance_by_club" WHERE "last_final_lost"='1985';
2-13827112-3
When was the last final lost of the club with a last win in 1959?
CREATE TABLE "performance_by_club" ( "club" text, "wins" text, "last_win" text, "runners_up" text, "last_final_lost" text );
SELECT "last_final_lost" FROM "performance_by_club" WHERE "last_win"='1959';
2-13827112-3
When was the last win of Celtic?
CREATE TABLE "performance_by_club" ( "club" text, "wins" text, "last_win" text, "runners_up" text, "last_final_lost" text );
SELECT "last_win" FROM "performance_by_club" WHERE "club"='celtic';
2-13827112-3
Which club had 13 runners-up?
CREATE TABLE "performance_by_club" ( "club" text, "wins" text, "last_win" text, "runners_up" text, "last_final_lost" text );
SELECT "club" FROM "performance_by_club" WHERE "runners_up"='13';
2-13827112-3
Who is the visitor in Philadelphia on March 6?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "visitor" FROM "regular_season" WHERE "home"='philadelphia' AND "date"='march 6';
2-14191335-7
what date were they playing in hawthorn
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "report" text );
SELECT "date" FROM "round_16" WHERE "away_team"='hawthorn';
2-14312471-1