question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Round is the highest one that has a Position of running back?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "position"='running back';
2-15122771-1
Which Position has a Pick smaller than 29, and a School/Club Team of arizona?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "pick"<29 AND "school_club_team"='arizona';
2-15122771-1
Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MIN("round") FROM "nfl_draft" WHERE "school_club_team"='alabama' AND "pick">43;
2-15122771-1
what is the venue of belshina
CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2001" text );
SELECT "venue" FROM "teams_and_venues" WHERE "team"='belshina';
2-14747981-1
what is the venue of neman
CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2001" text );
SELECT "venue" FROM "teams_and_venues" WHERE "team"='neman';
2-14747981-1
what is the venue of neman
CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2001" text );
SELECT "venue" FROM "teams_and_venues" WHERE "team"='neman';
2-14747981-1
Name the total number of pick with round less than 6 and overall of 102
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "atlanta_falcons_draft_history" WHERE "round"<6 AND "overall"=102;
2-15198842-36
Which Outcome has a Score of 4–6 3–6?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "outcome" FROM "singles_5_2_3" WHERE "score"='4–6 3–6';
2-15272495-2
Which Tournament has a Score of 3–6 6–4 4–6?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles_5_2_3" WHERE "score"='3–6 6–4 4–6';
2-15272495-2
Which Date has a Score of 6–1 7–6 (8–6)?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "date" FROM "singles_5_2_3" WHERE "score"='6–1 7–6 (8–6)';
2-15272495-2
Which Score has a Date of 26 september 2004?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "score" FROM "singles_5_2_3" WHERE "date"='26 september 2004';
2-15272495-2
Which Outcome has a Score of 3–6 2–6?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "outcome" FROM "singles_5_2_3" WHERE "score"='3–6 2–6';
2-15272495-2
Which Surface has an Opponent in the final of daniella dominikovic?
CREATE TABLE "singles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles_5_2_3" WHERE "opponent_in_the_final"='daniella dominikovic';
2-15272495-2
What is the amount of time (sum) at 40° that it takes a 16 lb shell to reach a maximum of no more than 22,000 ft?
CREATE TABLE "performance" ( "m_v_ft_s" real, "shell_lb" real, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" real, "time_to_ft_m_at_55_seconds" real, "max_height_ft" real );
SELECT COUNT("time_to_ft_m_at_40_seconds") FROM "performance" WHERE "shell_lb"=16 AND "max_height_ft"<'22,000';
2-13963241-1
What is the average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s?
CREATE TABLE "performance" ( "m_v_ft_s" real, "shell_lb" real, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" real, "time_to_ft_m_at_55_seconds" real, "max_height_ft" real );
SELECT AVG("max_height_ft") FROM "performance" WHERE "time_to_ft_m_at_55_seconds">16.3 AND "m_v_ft_s"=2200;
2-13963241-1
What is the maximum amount of time a shell travels at 55° when it traveled less than 9.6 seconds at 40°?
CREATE TABLE "performance" ( "m_v_ft_s" real, "shell_lb" real, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" real, "time_to_ft_m_at_55_seconds" real, "max_height_ft" real );
SELECT MAX("time_to_ft_m_at_55_seconds") FROM "performance" WHERE "time_to_ft_m_at_40_seconds"<9.6;
2-13963241-1
What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds?
CREATE TABLE "performance" ( "m_v_ft_s" real, "shell_lb" real, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" real, "time_to_ft_m_at_55_seconds" real, "max_height_ft" real );
SELECT "shell_lb" FROM "performance" WHERE "time_to_ft_m_at_40_seconds"=12.6;
2-13963241-1
What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25° in 10.1 seconds?
CREATE TABLE "performance" ( "m_v_ft_s" real, "shell_lb" real, "time_to_ft_m_at_25_seconds" text, "time_to_ft_m_at_40_seconds" real, "time_to_ft_m_at_55_seconds" real, "max_height_ft" real );
SELECT AVG("max_height_ft") FROM "performance" WHERE "time_to_ft_m_at_25_seconds"='10.1' AND "shell_lb"<12.5;
2-13963241-1
What is the highest attendance for the game that was before week 6 on October 22, 1967?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='october 22, 1967' AND "week"<6;
2-15122584-1
What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY?
CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text );
SELECT "state" FROM "delegates" WHERE "talent"='classical piano' AND "hometown"='lancaster, ny';
2-14016964-1
Whose talent was ballet en pointe?
CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text );
SELECT "name" FROM "delegates" WHERE "talent"='ballet en pointe';
2-14016964-1
What is the state represented by the contestant from Mesa, AZ?
CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text );
SELECT "state" FROM "delegates" WHERE "hometown"='mesa, az';
2-14016964-1
What is the talent of the contestant from Lexington, SC?
CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text );
SELECT "talent" FROM "delegates" WHERE "hometown"='lexington, sc';
2-14016964-1
What is the age of the contestant from Reno, NV?
CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text );
SELECT "age_1" FROM "delegates" WHERE "hometown"='reno, nv';
2-14016964-1
Which writer wrote episode 18-09 (652)?
CREATE TABLE "season_18_1954" ( "episode" text, "title" text, "writer_s" text, "preservation" text, "original_airdate" text );
SELECT "writer_s" FROM "season_18_1954" WHERE "episode"='18-09 (652)';
2-13527727-20
What episode was written by jonathan lewis?
CREATE TABLE "season_18_1954" ( "episode" text, "title" text, "writer_s" text, "preservation" text, "original_airdate" text );
SELECT "episode" FROM "season_18_1954" WHERE "writer_s"='jonathan lewis';
2-13527727-20
What position does Maryland have a player for Round 3?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "school_club_team"='maryland' AND "round"=3;
2-14656147-1
How many picks are there for defensive back for rounds larger than 11?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT COUNT("pick") FROM "nfl_draft" WHERE "position"='defensive back' AND "round">11;
2-14656147-1
What is the highest game that has april 21 as the date?
CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text );
SELECT MAX("game") FROM "playoffs" WHERE "date"='april 21';
2-14323142-10
What score has a game less than 4, and april 19 as the date?
CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text );
SELECT "score" FROM "playoffs" WHERE "game"<4 AND "date"='april 19';
2-14323142-10
What opponent has a game less than 6, and april 17 as the date?
CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text );
SELECT "opponent" FROM "playoffs" WHERE "game"<6 AND "date"='april 17';
2-14323142-10
What is the home team that played Derby County as the away team?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "fifth_round" WHERE "away_team"='derby county';
2-15154539-6
Which home team is ranked no. 7 by tie no.?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "fifth_round" WHERE "tie_no"='7';
2-15154539-6
What is the score for the game in which Manchester United was the home team?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "score" FROM "fifth_round" WHERE "home_team"='manchester united';
2-15154539-6
How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "medal_table" WHERE "bronze"<5 AND "silver">1 AND "rank">8;
2-14421098-3
What nation was the film from that was in english and had a Literary tradition of canadian literature?
CREATE TABLE "award_winners" ( "year" real, "name" text, "country" text, "language_s" text, "literary_tradition" text );
SELECT "country" FROM "award_winners" WHERE "language_s"='english' AND "literary_tradition"='canadian literature';
2-1526491-1
What is the literary traidtion for the film in english in 2011?
CREATE TABLE "award_winners" ( "year" real, "name" text, "country" text, "language_s" text, "literary_tradition" text );
SELECT "literary_tradition" FROM "award_winners" WHERE "language_s"='english' AND "year"=2011;
2-1526491-1
What country was the film made in that was made after 2011?
CREATE TABLE "award_winners" ( "year" real, "name" text, "country" text, "language_s" text, "literary_tradition" text );
SELECT "country" FROM "award_winners" WHERE "year">2011;
2-1526491-1
Which team has 48 rebounds?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT "team" FROM "rebounds" WHERE "rebounds"=48;
2-13535631-7
What's the lowest amount of 12 games and less than 48 rebounds?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT MIN("rank") FROM "rebounds" WHERE "games"=12 AND "rebounds"<48;
2-13535631-7
How many rebounds does Fedor likholitov have with a rank greater than 8?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT SUM("rebounds") FROM "rebounds" WHERE "name"='fedor likholitov' AND "rank">8;
2-13535631-7
Which game has more than 112 rebounds and a rank greater than 3?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT MAX("games") FROM "rebounds" WHERE "rank">3 AND "rebounds"=112;
2-13535631-7
What was the score in a place of t5 in the United States?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "nation" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "place"='t5' AND "nation"='united states';
2-14854314-4
What is the to par that has more than $122,591 in Sweden and had Annika Sörenstam play?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "nation" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_leaderboard" WHERE "money">'122,591' AND "nation"='sweden' AND "player"='annika sörenstam';
2-14854314-4
What was the score for a match where Sophie Gustafson played?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "nation" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "player"='sophie gustafson';
2-14854314-4
with games more than 22 what is the rebound total?
CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real );
SELECT SUM("rebounds") FROM "rebounds" WHERE "games">22;
2-13535631-6
What is the location of the b.c. open?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "location" FROM "tournament_results" WHERE "tournament"='b.c. open';
2-14685115-1
What is the location of the tallahassee open, with a Score of 269 (–19)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "location" FROM "tournament_results" WHERE "score"='269 (–19)' AND "tournament"='tallahassee open';
2-14685115-1
What date did Lanny Wadkins (6) win?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "date" FROM "tournament_results" WHERE "winner"='lanny wadkins (6)';
2-14685115-1
What is the Location for the buick-goodwrench open?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text );
SELECT "location" FROM "tournament_results" WHERE "tournament"='buick-goodwrench open';
2-14685115-1
What is the Netflix episode that has a series episode of 6-02?
CREATE TABLE "season_6_2005_2006" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_6_2005_2006" WHERE "series_ep"='6-02';
2-15187735-6
Which segment A item that has a Segment D of wigs?
CREATE TABLE "season_6_2005_2006" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_a" FROM "season_6_2005_2006" WHERE "segment_d"='wigs';
2-15187735-6
Which series episode has a Netflix episode of S03E16?
CREATE TABLE "season_6_2005_2006" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "series_ep" FROM "season_6_2005_2006" WHERE "netflix"='s03e16';
2-15187735-6
Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone?
CREATE TABLE "season_6_2005_2006" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "netflix" FROM "season_6_2005_2006" WHERE "episode"<69 AND "segment_d"='s trombone';
2-15187735-6
Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "species_specific" FROM "inter_molecular_interactions_micro_rna_u" WHERE "comparative"='no' AND "intra_molecular_structure"='no' AND "link"='sourcecode';
2-15308316-5
Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "intra_molecular_structure" FROM "inter_molecular_interactions_micro_rna_u" WHERE "comparative"='no' AND "name"='mitarget';
2-15308316-5
Which Comparative has a Name of pictar?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "comparative" FROM "inter_molecular_interactions_micro_rna_u" WHERE "name"='pictar';
2-15308316-5
Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "name" FROM "inter_molecular_interactions_micro_rna_u" WHERE "intra_molecular_structure"='no' AND "link"='webserver' AND "comparative"='no';
2-15308316-5
Which Comparative has a Link of sourcecode webserver?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "comparative" FROM "inter_molecular_interactions_micro_rna_u" WHERE "link"='sourcecode webserver';
2-15308316-5
Which Species Specific has a Link of server/sourcecode?
CREATE TABLE "inter_molecular_interactions_micro_rna_u" ( "name" text, "species_specific" text, "intra_molecular_structure" text, "comparative" text, "link" text );
SELECT "species_specific" FROM "inter_molecular_interactions_micro_rna_u" WHERE "link"='server/sourcecode';
2-15308316-5
What is the 1st leg for Instituto?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "1st_leg" FROM "losers_knockout" WHERE "home_2nd_leg"='instituto';
2-14219514-2
What Aggregate has a 2-1 1st leg, and is from Belgrano?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='2-1' AND "home_1st_leg"='belgrano';
2-14219514-2
What Aggregate has a 0-0 1st leg, and a 0-1 second leg?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='0-0' AND "2nd_leg"='0-1';
2-14219514-2
What aggregate has a 0-0 1st leg, and is from Instituto?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='0-0' AND "home_2nd_leg"='instituto';
2-14219514-2
What is the home of aggregate's 3-4?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "aggregate"='3-4';
2-14219514-2
What round did the fight against Sofia Bagherdai go to?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='sofia bagherdai';
2-15007365-2
What was the method of fight completion for the Mars: Attack 1 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='mars: attack 1';
2-15007365-2
what had a score of 70-71-68-72=281?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "score"='70-71-68-72=281';
2-13674290-1
what had a score like roberto devicenzo
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "player"='roberto devicenzo';
2-13674290-1
What was the total number who attended during week 11?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "week"=11;
2-15124594-1
What was the total number of weeks with a result of l 31-21?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "result"='l 31-21';
2-15124594-1
What was the average week of a game attended by 12,985 with a result of W 38-14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "attendance">'12,985' AND "result"='w 38-14';
2-15124594-1
Which 2003 has a 2012 of 1–4?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2003" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2012"='1–4';
2-15271798-3
Which 2007 has a 2008 of 0 / 4?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2007" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2008"='0 / 4';
2-15271798-3
Which 2007 has a 2003 of 2r, and a 2004 of 1r?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2007" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2003"='2r' AND "2004"='1r';
2-15271798-3
Which 2010 has a 2009 of 0 / 4?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2010" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2009"='0 / 4';
2-15271798-3
Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2011" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "1999"='a' AND "2004"='2r' AND "career_sr"='0 / 10';
2-15271798-3
Which 2005 has a 1999 of 0–0?
CREATE TABLE "grand_slam_men_s_doubles_performance_tim" ( "tournament" text, "1998" text, "1999" 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, "career_sr" text, "career_w...
SELECT "2005" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "1999"='0–0';
2-15271798-3
what is the date of week 7
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week"=7;
2-14640691-2
Who was the visitor in the game that led to a 39-20-6 record?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "march" WHERE "record"='39-20-6';
2-14209289-7
What was the date of the game that led to a 48-21-6 record?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "march" WHERE "record"='48-21-6';
2-14209289-7
Name the average attendance from june 11
CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text );
SELECT AVG("attendance") FROM "playoffs" WHERE "date"='june 11';
2-14022127-9
What is south africa's margin of victory?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winner_s_share" real );
SELECT "margin_of_victory" FROM "winners_and_honorees" WHERE "country"='south africa';
2-1515346-2
Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winner_s_share" real );
SELECT "score" FROM "winners_and_honorees" WHERE "year">1980 AND "margin_of_victory"='2 strokes' AND "country"='united states' AND "player"='jim furyk';
2-1515346-2
Which average Winner's share ($) has a Score of 281 (−7), and a Player of hale irwin, and a Year smaller than 1983?
CREATE TABLE "winners_and_honorees" ( "year" real, "player" text, "country" text, "score" text, "margin_of_victory" text, "winner_s_share" real );
SELECT AVG("winner_s_share") FROM "winners_and_honorees" WHERE "score"='281 (−7)' AND "player"='hale irwin' AND "year"<1983;
2-1515346-2
What was the highest season with Barwa International Campos Team as champion?
CREATE TABLE "champions" ( "season" real, "champion" text, "second" text, "third" text, "team_champion" text );
SELECT MAX("season") FROM "champions" WHERE "team_champion"='barwa international campos team';
2-1430822-5
Who was third in Barwa International Campos Team?
CREATE TABLE "champions" ( "season" real, "champion" text, "second" text, "third" text, "team_champion" text );
SELECT "third" FROM "champions" WHERE "team_champion"='barwa international campos team';
2-1430822-5
What year was the Beaudesert suburb club founded
CREATE TABLE "clubs" ( "club" text, "founded" real, "homeground" text, "suburb" text, "seniors" text, "juniors" text );
SELECT "founded" FROM "clubs" WHERE "suburb"='beaudesert';
2-14509448-1
What year did the Nerang Suburb get founded?
CREATE TABLE "clubs" ( "club" text, "founded" real, "homeground" text, "suburb" text, "seniors" text, "juniors" text );
SELECT COUNT("founded") FROM "clubs" WHERE "suburb"='nerang';
2-14509448-1
Who was the opponent when the Phillies played on April 28?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text );
SELECT "opponent" FROM "game_log" WHERE "date"='april 28';
2-13964639-4
What is the run rate for rank 4?
CREATE TABLE "highest_team_totals_in_tests" ( "rank" real, "score" text, "overs" real, "run_rate" real, "innings" real, "date" text, "test_no" real, "report" text );
SELECT MAX("run_rate") FROM "highest_team_totals_in_tests" WHERE "rank"=4;
2-1413220-1
Chinese title of 反正 卓文萱 had what released?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_title" text, "released" text, "label" text );
SELECT "released" FROM "studio_albums" WHERE "chinese_title"='反正 卓文萱';
2-13827238-1
Album # of 5th is what chinese title?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_title" text, "released" text, "label" text );
SELECT "chinese_title" FROM "studio_albums" WHERE "albumnum"='5th';
2-13827238-1
Album # of 1st was released on what date?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_title" text, "released" text, "label" text );
SELECT "released" FROM "studio_albums" WHERE "albumnum"='1st';
2-13827238-1
Album # of 3rd is what chinese title?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_title" text, "released" text, "label" text );
SELECT "chinese_title" FROM "studio_albums" WHERE "albumnum"='3rd';
2-13827238-1
English title of oxygenie of happiness has what release date?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_title" text, "released" text, "label" text );
SELECT "released" FROM "studio_albums" WHERE "english_title"='oxygenie of happiness';
2-13827238-1
Which Score has a Home of quebec nordiques on april 16?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "trades" WHERE "home"='quebec nordiques' AND "date"='april 16';
2-14038745-11
WHich Record has a Visitor of quebec nordiques with a Score of 7–5?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "trades" WHERE "visitor"='quebec nordiques' AND "score"='7–5';
2-14038745-11
Who is the Visitor on april 8?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "trades" WHERE "date"='april 8';
2-14038745-11
When has Score of 4–5 and quebec nordiques as Visitor?
CREATE TABLE "trades" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "trades" WHERE "score"='4–5' AND "visitor"='quebec nordiques';
2-14038745-11