question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What game ended with a final score of 126-108?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT MAX("game") FROM "game_log" WHERE "score"='126-108';
2-17344651-5
What was the highest number of rebounds on February 6?
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_rebounds" FROM "game_log" WHERE "date"='february 6';
2-17311759-7
How many people tuned in to the finale on May 16, 2007?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real );
SELECT COUNT("viewers_in_millions") FROM "u_s_television_ratings" WHERE "finale"='may 16, 2007';
2-175980-2
What time did the season finale air on May 20, 2003?
CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real );
SELECT "timeslot" FROM "u_s_television_ratings" WHERE "finale"='may 20, 2003';
2-175980-2
What was the total score where Toronto was played?
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"='toronto';
2-17311783-5
Which Weight & Height has a Player of james donaldson?
CREATE TABLE "2009_squad_statistics" ( "player" text, "position" text, "weight_height" text, "previous_club" text, "contracted_until" real );
SELECT "weight_height" FROM "2009_squad_statistics" WHERE "player"='james donaldson';
2-17387785-4
Which Weight & Height has a Player of michael worrincy?
CREATE TABLE "2009_squad_statistics" ( "player" text, "position" text, "weight_height" text, "previous_club" text, "contracted_until" real );
SELECT "weight_height" FROM "2009_squad_statistics" WHERE "player"='michael worrincy';
2-17387785-4
What was the deployed from date for the a-4b aircraft from westpac with a tail code of ah-3xx?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "from" FROM "deployments" WHERE "tail_code"='ah-3xx' AND "area"='westpac' AND "aircraft"='a-4b';
2-17142388-1
Which carrier was deployed on 18 July 1968?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "carrier" FROM "deployments" WHERE "from"='18 july 1968';
2-17142388-1
What is the type of aircraft that has a tail code of ah-3xx, deployed from 16 June 1967?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "aircraft" FROM "deployments" WHERE "tail_code"='ah-3xx' AND "from"='16 june 1967';
2-17142388-1
What was the tail code for the cva-34 carrier with an air wing of cvw-16, deployed from 16 June 1967 in the Vietnam War?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "tail_code" FROM "deployments" WHERE "carrier"='cva-34' AND "air_wing"='cvw-16' AND "area"='vietnam war' AND "from"='16 june 1967';
2-17142388-1
What is the air wing for the craft with a tail code of ah-3xx, deployed from 16 June 1967 in the Vietnam War?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "air_wing" FROM "deployments" WHERE "area"='vietnam war' AND "tail_code"='ah-3xx' AND "from"='16 june 1967';
2-17142388-1
What is the air wing for the craft that was deployed from 16 June 1967?
CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text );
SELECT "air_wing" FROM "deployments" WHERE "from"='16 june 1967';
2-17142388-1
What is the result of the match that went to round 1 and only for 2:48?
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 "round"=1 AND "time"='2:48';
2-17433631-3
The K-1 MMA Romanex event went how many rounds?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "event"='k-1 mma romanex';
2-17433631-3
What is the result for the match that was only 2:48 long?
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 "time"='2:48';
2-17433631-3
What is Points For, when Points Against is 571?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "points_for" FROM "2007_08_table" WHERE "points_against"='571';
2-1676073-10
What is Drawn, when Lost is 14, and when Bonus Points is 12?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "drawn" FROM "2007_08_table" WHERE "lost"='14' AND "bonus_points"='12';
2-1676073-10
What is Points, when Club is Maesteg RFC?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "points" FROM "2007_08_table" WHERE "club"='maesteg rfc';
2-1676073-10
What is Points, when Points is 60, and when Club is Bedwas RFC?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "points_for" FROM "2007_08_table" WHERE "points"='60' AND "club"='bedwas rfc';
2-1676073-10
What is Drawn, when Club is Newport RFC?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "drawn" FROM "2007_08_table" WHERE "club"='newport rfc';
2-1676073-10
What is Points Difference, when Points Against is 451?
CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text );
SELECT "points_difference" FROM "2007_08_table" WHERE "points_against"='451';
2-1676073-10
Which is the highest silver that has a gold less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_table" WHERE "gold"<0;
2-17365702-6
What is the lowest silver that has 1 as the rank, with a bronze greater than 5?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "rank"=1 AND "bronze">5;
2-17365702-6
What is the highest silver that has 9 as the rank, germany as the nation, with a gold less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_table" WHERE "rank"=9 AND "nation"='germany' AND "gold"<0;
2-17365702-6
What shows for the location and attendance when the record is 41–36?
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 "record"='41–36';
2-17311783-10
What is the score when the record was 40–36?
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 "record"='40–36';
2-17311783-10
WHo is the Player got a Pick # smaller than 61, and a College of texas?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "nfl_draft" WHERE "pick_num"<61 AND "college"='texas';
2-16352332-1
Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "college" FROM "nfl_draft" WHERE "round"<3 AND "pick_num">4 AND "position"='wide receiver';
2-16352332-1
Which the highest Round has a Player of mike williams, and a Pick # larger than 4?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "player"='mike williams' AND "pick_num">4;
2-16352332-1
Name the average Pick # of mike williams?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT AVG("pick_num") FROM "nfl_draft" WHERE "player"='mike williams';
2-16352332-1
What date did the red wings play against the visitors, buffalo?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text );
SELECT "date" FROM "game_log" WHERE "visitor"='buffalo';
2-17371135-3
Who made the decision when atlanta was the home team?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text );
SELECT "decision" FROM "game_log" WHERE "home"='atlanta';
2-17371135-3
Who made the decision when detroit was the home team and boston was the visitor?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text );
SELECT "decision" FROM "game_log" WHERE "home"='detroit' AND "visitor"='boston';
2-17371135-3
Who made the decision when toronto was the home team?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text );
SELECT "decision" FROM "game_log" WHERE "home"='toronto';
2-17371135-3
The player Cecil Martin with an overall less than 268 has what total pick?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "name"='cecil martin' AND "overall"<268;
2-17100961-21
With the pick of 1 Cecil Martin has what number as the overall?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("overall") FROM "washington_redskins_draft_history" WHERE "pick"=1 AND "name"='cecil martin';
2-17100961-21
What position does the player play with an overall of 304?
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"=304;
2-17100961-21
What is the US modern rock rank of code bad 0003?
CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text );
SELECT "us_modern_rock" FROM "singles_and_e_ps" WHERE "code"='bad 0003';
2-171200-3
What is the format of code 9 40231-2 (us only)?
CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text );
SELECT "format" FROM "singles_and_e_ps" WHERE "code"='9 40231-2 (us only)';
2-171200-3
What is the UK singles chart rank of the single released on 26 February 1990?
CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text );
SELECT "uk_singles_chart" FROM "singles_and_e_ps" WHERE "release_date"='26 february 1990';
2-171200-3
What is the format of code pro-cd-4662?
CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text );
SELECT "format" FROM "singles_and_e_ps" WHERE "code"='pro-cd-4662';
2-171200-3
Which city has the mongolian script of ᠡᠷᠳᠡᠨᠢᠲᠦ?
CREATE TABLE "mongolia" ( "city" text, "mongolian" text, "mongolian_script" text, "province" text, "population_2008" real );
SELECT "city" FROM "mongolia" WHERE "mongolian_script"='ᠡᠷᠳᠡᠨᠢᠲᠦ';
2-16489766-5
Which mongolian has the province of municipality?
CREATE TABLE "mongolia" ( "city" text, "mongolian" text, "mongolian_script" text, "province" text, "population_2008" real );
SELECT "mongolian" FROM "mongolia" WHERE "province"='municipality';
2-16489766-5
What is the sum of the years with bus conner as the BSU head coach?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT SUM("year") FROM "ncaa_division_i_tournament_results" WHERE "bsu_head_coach"='bus conner';
2-17064818-1
Who is the BSU head coach of the tournament after 1994 with louisville as the opponent?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT "bsu_head_coach" FROM "ncaa_division_i_tournament_results" WHERE "opponent"='louisville' AND "year">1994;
2-17064818-1
What is the result in 1994?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT "result" FROM "ncaa_division_i_tournament_results" WHERE "year"=1994;
2-17064818-1
What is the result after 1993 of the first four rounds?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT "result" FROM "ncaa_division_i_tournament_results" WHERE "year">1993 AND "round"='first four';
2-17064818-1
Who was the opponent before 1994 with bobby dye as the BSU head coach?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT "opponent" FROM "ncaa_division_i_tournament_results" WHERE "bsu_head_coach"='bobby dye' AND "year"<1994;
2-17064818-1
Who is the opponent in 1976?
CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text );
SELECT "opponent" FROM "ncaa_division_i_tournament_results" WHERE "year"=1976;
2-17064818-1
What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "date" FROM "results" WHERE "score"='0-2' AND "opponents"='bayer leverkusen';
2-17292161-3
What is Competition, when Score is "2-1", and when Date is "October 22, 2008"?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "competition" FROM "results" WHERE "score"='2-1' AND "date"='october 22, 2008';
2-17292161-3
What is Match Report, when Venue is "Westfalenstadion , Dortmund"?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "match_report" FROM "results" WHERE "venue"='westfalenstadion , dortmund';
2-17292161-3
What is Date, when Venue is "Weserstadion , Bremen"?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "date" FROM "results" WHERE "venue"='weserstadion , bremen';
2-17292161-3
What is Date, when Competition is "F", and when Opponents is "FC Astoria Walldorf"?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "date" FROM "results" WHERE "competition"='f' AND "opponents"='fc astoria walldorf';
2-17292161-3
What is the pick of Charley Taylor, who has an overall greater than 3?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "name"='charley taylor' AND "overall">3;
2-17100961-34
What is the position of the player with a 143 overall?
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"=143;
2-17100961-34
What is the average round of the s position player from the college of Mississippi and has an overall less than 214?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("round") FROM "washington_redskins_draft_history" WHERE "position"='s' AND "college"='mississippi' AND "overall"<214;
2-17100961-34
What is the total round of the rb player from Purdue with a pick less than 3?
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 "position"='rb' AND "college"='purdue' AND "pick"<3;
2-17100961-34
Which category has 24 nominated work?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "category" FROM "awards" WHERE "nominated_work"='24';
2-1703894-3
How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "bronze"=1 AND "total">1 AND "nation"='croatia';
2-17025909-3
How many Gold medals did Australia receive?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "medal_table" WHERE "nation"='australia';
2-17025909-3
How many Total medals did the country with 16 Silver and less than 32 Bronze receive?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "medal_table" WHERE "silver"=16 AND "bronze"<32;
2-17025909-3
How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_table" WHERE "rank"='11' AND "silver"<1;
2-17025909-3
What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3?
CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text );
SELECT AVG("episode_number") FROM "writer" WHERE "original_airdate"='march 21, 2010' AND "season"<3;
2-16533683-3
What is Show, when Episode Number is 1, when Year is less than 2010, and when Original Airdate is January 20, 2008?
CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text );
SELECT "show" FROM "writer" WHERE "episode_number"=1 AND "year"<2010 AND "original_airdate"='january 20, 2008';
2-16533683-3
What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999?
CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text );
SELECT COUNT("season") FROM "writer" WHERE "original_airdate"='january 24, 1999' AND "year"<1999;
2-16533683-3
How many games have a Result of l, and a Record of 2-6?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real );
SELECT COUNT("game") FROM "schedule" WHERE "result"='l' AND "record"='2-6';
2-17406991-2
How many people attended the green bay packers game?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real );
SELECT SUM("attendance") FROM "schedule" WHERE "opponent"='green bay packers';
2-17406991-2
How many people attended the game whose score was 1-1?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "record"='1-1';
2-17406991-2
Which Date has a Score of 24-7, and a Record of 4-10?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "score"='24-7' AND "record"='4-10';
2-17406991-2
Lowest round for g that was smaller than 31?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "washington_redskins_draft_history" WHERE "position"='g' AND "overall"<31;
2-17100961-65
What is the Semifinalists that has a Tournament of Cincinnati?
CREATE TABLE "doubles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );
SELECT "semifinalists" FROM "doubles" WHERE "tournament"='cincinnati';
2-16763320-2
The Crvena Zvezda club has what aggregate?
CREATE TABLE "european_competition_history" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text );
SELECT "aggregate" FROM "european_competition_history" WHERE "club"='crvena zvezda';
2-1664787-1
What is the total number of assists of the player with 0 goals, more than 1 points, and more than 0 pims?
CREATE TABLE "points_for_the_2008_09_season" ( "name" text, "pld" real, "goals" real, "assists" real, "points" real, "pims" real );
SELECT COUNT("assists") FROM "points_for_the_2008_09_season" WHERE "goals"=0 AND "points">1 AND "pims">0;
2-17120964-12
What is league position when manchester played against luton town when 41,288 fans attended?
CREATE TABLE "first_division" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT "league_position" FROM "first_division" WHERE "attendance">'41,288' AND "opponents"='luton town';
2-17577133-3
How many Neutral Wins have Home Losses larger than 2, and a Loss of 7, and an Away Wins larger than 3?
CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losses" real );
SELECT COUNT("neutral_wins") FROM "big_ten_conference_3_10_1" WHERE "home_losses">2 AND "loss"=7 AND "away_wins">3;
2-1672976-2
How many Away Losses have Home Losses larger than 3, and Wins smaller than 5?
CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losses" real );
SELECT COUNT("away_losses") FROM "big_ten_conference_3_10_1" WHERE "home_losses">3 AND "wins"<5;
2-1672976-2
Which Home Wins have Neutral Wins of 1, and Neutral Losses smaller than 0?
CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losses" real );
SELECT AVG("home_wins") FROM "big_ten_conference_3_10_1" WHERE "neutral_wins"=1 AND "neutral_losses"<0;
2-1672976-2
Which Wins is the lowest one that has Home Losses larger than 3, and Neutral Losses smaller than 0?
CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losses" real );
SELECT MIN("wins") FROM "big_ten_conference_3_10_1" WHERE "home_losses">3 AND "neutral_losses"<0;
2-1672976-2
Which Decision has a Visitor of calgary, a Score of 2 – 1, and a Series of 4 – 3?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "decision" FROM "western_conference_quarter_finals_vs_6_c" WHERE "visitor"='calgary' AND "score"='2 – 1' AND "series"='4 – 3';
2-17124374-5
Which Visitor has a Series of 2 – 1?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "visitor" FROM "western_conference_quarter_finals_vs_6_c" WHERE "series"='2 – 1';
2-17124374-5
Which Visitor has a Home of calgary, and a Date of april 17?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "visitor" FROM "western_conference_quarter_finals_vs_6_c" WHERE "home"='calgary' AND "date"='april 17';
2-17124374-5
Which Decision has a Visitor of vancouver, and a Score of 5 – 4?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "decision" FROM "western_conference_quarter_finals_vs_6_c" WHERE "visitor"='vancouver' AND "score"='5 – 4';
2-17124374-5
Which Visitor has a Home of vancouver, and a Decision of cloutier?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "visitor" FROM "western_conference_quarter_finals_vs_6_c" WHERE "home"='vancouver' AND "decision"='cloutier';
2-17124374-5
Which Decision has a Series of 3 – 3?
CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text );
SELECT "decision" FROM "western_conference_quarter_finals_vs_6_c" WHERE "series"='3 – 3';
2-17124374-5
What's the value for race 4 when race 1 is dsq?
CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_4" FROM "hot_wheels_v8_supercar_showdown" WHERE "race_1"='dsq';
2-17001488-2
What's the value for race 4 when race 3 is dns and race 2 is 27?
CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_4" FROM "hot_wheels_v8_supercar_showdown" WHERE "race_3"='dns' AND "race_2"='27';
2-17001488-2
What's the value for race 4 for driver kevin heffernan?
CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_4" FROM "hot_wheels_v8_supercar_showdown" WHERE "driver"='kevin heffernan';
2-17001488-2
What was the date of 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 "date" FROM "game_log" WHERE "game"=4;
2-17326036-5
Who had the most points in the game on November 12?
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_points" FROM "game_log" WHERE "date"='november 12';
2-17326036-5
What rank is the team that has a player named Isco Alarcón?
CREATE TABLE "top_appearances" ( "rank" real, "player" text, "club_s" text, "year_s" text, "u_17_caps" real );
SELECT "rank" FROM "top_appearances" WHERE "player"='isco alarcón';
2-17277486-5
What is the rank of Club Valencia with a U-17 Caps of 20?
CREATE TABLE "top_appearances" ( "rank" real, "player" text, "club_s" text, "year_s" text, "u_17_caps" real );
SELECT COUNT("rank") FROM "top_appearances" WHERE "club_s"='valencia' AND "u_17_caps"=20;
2-17277486-5
What is High Assists, when High Points is "T. J. Ford (29)"?
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 "high_points"='t. j. ford (29)';
2-17326036-9
What is High Assists, when Date is "March 10"?
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"='march 10';
2-17326036-9
What is Record, when Team is "@ Atlanta"?
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 "team"='@ atlanta';
2-17326036-9
What is Team, when Location Attendance is "Rose Garden 20,020"?
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"='rose garden 20,020';
2-17326036-9
What is Date, when High Points is "Danny Granger (32)"?
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 "date" FROM "game_log" WHERE "high_points"='danny granger (32)';
2-17326036-9
What is the place when the player is Bob Gilder and the money was $20,903?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "money"='20,903' AND "player"='bob gilder';
2-17231125-7
What is the Place when Fuzzy Zoeller plated in the United States?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "country"='united states' AND "player"='fuzzy zoeller';
2-17231125-7