question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which language do 1% of males speak?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "percentage_pct" FROM "language" WHERE "males"='1';
2-12162698-1
Which language do 87.5% of males speak?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "males" FROM "language" WHERE "percentage_pct"='87.5';
2-12162698-1
Which language do 706 females speak?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "females" FROM "language" WHERE "number"='706';
2-12162698-1
How many females speak Ukrainian?
CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text );
SELECT "females" FROM "language" WHERE "language"='ukrainian';
2-12162698-1
What were the names of the mixed doubles pair for the year that Ralph Nichols played in the men's singles match?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "mixed_doubles" FROM "winners" WHERE "men_s_singles"='ralph nichols';
2-12216479-1
Who were the women's doubles pair in 1952?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "women_s_doubles" FROM "winners" WHERE "year"='1952';
2-12216479-1
What was the position of the team that had a goal difference of less than -11 and played less than 38 games?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("position") FROM "final_table" WHERE "goal_difference"<-11 AND "played"<38;
2-12239755-2
Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("played") FROM "final_table" WHERE "goal_difference"<27 AND "losses">13 AND "goals_for"<42 AND "draws"=6;
2-12239755-2
What was the number of wins with goals against of less than 32?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("wins") FROM "final_table" WHERE "goals_against"<32;
2-12239755-2
How many Antonov An-2 Colt aircraft are in service?
CREATE TABLE "aircraft_inventory" ( "aircraft" text, "origin" text, "type" text, "versions" text, "in_service" real );
SELECT AVG("in_service") FROM "aircraft_inventory" WHERE "aircraft"='antonov an-2 colt';
2-12175300-1
What 7:30 has 8:00 risk takers?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_30" FROM "saturday" WHERE "8_00"='risk takers';
2-12280777-7
What 7:00 has 7:30 movies?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_00" FROM "saturday" WHERE "7_30"='movies';
2-12280777-7
What 7:00 has 8:00 risk takers?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_00" FROM "saturday" WHERE "8_00"='risk takers';
2-12280777-7
What 7:00 has 7:30 movies?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_00" FROM "saturday" WHERE "7_30"='movies';
2-12280777-7
What 7:00 has a 7:30 of w-five?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_00" FROM "saturday" WHERE "7_30"='w-five';
2-12280777-7
What 7:00 has 7:30 movies?
CREATE TABLE "saturday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "10_00" text );
SELECT "7_00" FROM "saturday" WHERE "7_30"='movies';
2-12280777-7
for the position of rb what is the name?
CREATE TABLE "injured_players" ( "position" text, "number" real, "name" text, "class" text, "injury_status" text, "last_update" text );
SELECT "name" FROM "injured_players" WHERE "position"='rb';
2-12487101-6
for the name of joe surratt what is the last update?
CREATE TABLE "injured_players" ( "position" text, "number" real, "name" text, "class" text, "injury_status" text, "last_update" text );
SELECT "last_update" FROM "injured_players" WHERE "name"='joe surratt';
2-12487101-6
for the name of jamar jackson what is the last update?
CREATE TABLE "injured_players" ( "position" text, "number" real, "name" text, "class" text, "injury_status" text, "last_update" text );
SELECT "last_update" FROM "injured_players" WHERE "name"='jamar jackson';
2-12487101-6
for the name of jamar jackson what is the class?
CREATE TABLE "injured_players" ( "position" text, "number" real, "name" text, "class" text, "injury_status" text, "last_update" text );
SELECT "class" FROM "injured_players" WHERE "name"='jamar jackson';
2-12487101-6
for the name of jamar jackson what is the total of Number?
CREATE TABLE "injured_players" ( "position" text, "number" real, "name" text, "class" text, "injury_status" text, "last_update" text );
SELECT COUNT("number") FROM "injured_players" WHERE "name"='jamar jackson';
2-12487101-6
What term did Stewart Mcarthur from Vic serve in office?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "term_in_office" FROM "see_also" WHERE "state"='vic' AND "member"='stewart mcarthur';
2-1243881-1
What is Hon Paul Keating's Party?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "party" FROM "see_also" WHERE "member"='hon paul keating';
2-1243881-1
What member is in the liberal party and has an electorate of bruce?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "member" FROM "see_also" WHERE "party"='liberal' AND "electorate"='bruce';
2-1243881-1
Which Electorate is from vic, a labor party, and is David Charles a member of?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "electorate" FROM "see_also" WHERE "state"='vic' AND "party"='labor' AND "member"='david charles';
2-1243881-1
Name the format on july 27, 1994 for alfa records
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "label"='alfa records' AND "date"='july 27, 1994';
2-12703608-1
Name the region for cd with catalog of alca-9203
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "format"='cd' AND "catalog"='alca-9203';
2-12703608-1
Name the date for alfa records and catalog of alr-28045
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "label"='alfa records' AND "catalog"='alr-28045';
2-12703608-1
Name the region for cd format on february 22, 1984
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "format"='cd' AND "date"='february 22, 1984';
2-12703608-1
Name the region for february 14, 2002
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "date"='february 14, 2002';
2-12703608-1
What First game has a Lost greater than 16?
CREATE TABLE "rugby_japan_internationals_1991" ( "first_game" real, "played" real, "drawn" real, "lost" real, "percentage" text );
SELECT AVG("first_game") FROM "rugby_japan_internationals_1991" WHERE "lost">16;
2-13106749-1
What Percentage did the First game of 1998 have?
CREATE TABLE "rugby_japan_internationals_1991" ( "first_game" real, "played" real, "drawn" real, "lost" real, "percentage" text );
SELECT "percentage" FROM "rugby_japan_internationals_1991" WHERE "first_game"=1998;
2-13106749-1
What bowler has a record of 4-15?
CREATE TABLE "best_in_an_innings" ( "rank" text, "bowling" text, "player" text, "venue" text, "date" text );
SELECT "player" FROM "best_in_an_innings" WHERE "bowling"='4-15';
2-13337302-14
What ranking is james franklin?
CREATE TABLE "best_in_an_innings" ( "rank" text, "bowling" text, "player" text, "venue" text, "date" text );
SELECT "rank" FROM "best_in_an_innings" WHERE "player"='james franklin';
2-13337302-14
what venue does tim southee bowl at?
CREATE TABLE "best_in_an_innings" ( "rank" text, "bowling" text, "player" text, "venue" text, "date" text );
SELECT "venue" FROM "best_in_an_innings" WHERE "player"='tim southee';
2-13337302-14
What was the regular season for 2012?
CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "regular_season" FROM "year_by_year" WHERE "year"='2012';
2-1243601-1
What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?
CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT MIN("division") FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "open_cup"='did not qualify' AND "year"='2002';
2-1243601-1
What chassis has more than 0 points?
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 "points">0;
2-1236194-3
How many points were there before 1955?
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 "year"<1955;
2-1236194-3
What is the lowest amount of points held by the Epperly Indy roadster in 1959?
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 "chassis"='epperly indy roadster' AND "year"=1959;
2-1236194-3
What Chassis has more than 0 points?
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 "points">0;
2-1236194-3
What is the date that 4,286 attended?
CREATE TABLE "2007_game_log" ( "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "date" FROM "2007_game_log" WHERE "attendance"='4,286';
2-12172459-1
Where does CF Pachuca play?
CREATE TABLE "2007_game_log" ( "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "game_site" FROM "2007_game_log" WHERE "opponent"='cf pachuca';
2-12172459-1
What was the attendance of the Cup Quarterfinals game?
CREATE TABLE "2007_game_log" ( "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "attendance" FROM "2007_game_log" WHERE "game_site"='cup quarterfinals';
2-12172459-1
What shows for 2000 when 2013 shows 3rd?
CREATE TABLE "team_appearances" ( "2000" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2000" FROM "team_appearances" WHERE "2013"='3rd';
2-12233660-2
What is the 2004 when 2013 is 3rd?
CREATE TABLE "team_appearances" ( "2000" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2004" FROM "team_appearances" WHERE "2013"='3rd';
2-12233660-2
What is the 2009 when the 2013 is 4th?
CREATE TABLE "team_appearances" ( "2000" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2009" FROM "team_appearances" WHERE "2013"='4th';
2-12233660-2
What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th?
CREATE TABLE "team_appearances" ( "2000" text, "2004" text, "2009" text, "2013" text, "total" real );
SELECT "2009" FROM "team_appearances" WHERE "2000"='–' AND "total"=3 AND "2004"='9th';
2-12233660-2
What was the winning score in the PGA Championship?
CREATE TABLE "wins_18" ( "year" text, "championship" text, "54_holes" text, "winning_score" text, "margin" text );
SELECT "winning_score" FROM "wins_18" WHERE "championship"='pga championship';
2-13026799-1
How many draws with 1 loss?
CREATE TABLE "captains" ( "name" text, "first_captaincy" text, "games_as_captain" real, "wins" real, "draws" real, "losses" real );
SELECT SUM("draws") FROM "captains" WHERE "losses"=1;
2-1257177-2
How many losses does Alex Wilkinson have?
CREATE TABLE "captains" ( "name" text, "first_captaincy" text, "games_as_captain" real, "wins" real, "draws" real, "losses" real );
SELECT COUNT("losses") FROM "captains" WHERE "name"='alex wilkinson';
2-1257177-2
Name the incorporated for Group's equity shareholding 10 march 2010 of 25% and principal activities of cargo loading
CREATE TABLE "subsidiaries_and_associates" ( "company" text, "type" text, "principal_activities" text, "incorporated_in" text, "group_s_equity_shareholding_10_march_2010" text );
SELECT "incorporated_in" FROM "subsidiaries_and_associates" WHERE "group_s_equity_shareholding_10_march_2010"='25%' AND "principal_activities"='cargo loading';
2-124485-1
Name the group's equity shareholding for company of yangtze river express.
CREATE TABLE "subsidiaries_and_associates" ( "company" text, "type" text, "principal_activities" text, "incorporated_in" text, "group_s_equity_shareholding_10_march_2010" text );
SELECT "group_s_equity_shareholding_10_march_2010" FROM "subsidiaries_and_associates" WHERE "company"='yangtze river express';
2-124485-1
Name the type for headquarters principal activites.
CREATE TABLE "subsidiaries_and_associates" ( "company" text, "type" text, "principal_activities" text, "incorporated_in" text, "group_s_equity_shareholding_10_march_2010" text );
SELECT "type" FROM "subsidiaries_and_associates" WHERE "principal_activities"='headquarters';
2-124485-1
Name the incorporated for principal activites of travel agency
CREATE TABLE "subsidiaries_and_associates" ( "company" text, "type" text, "principal_activities" text, "incorporated_in" text, "group_s_equity_shareholding_10_march_2010" text );
SELECT "incorporated_in" FROM "subsidiaries_and_associates" WHERE "principal_activities"='travel agency';
2-124485-1
Name the title with presentation of credentials of april 24, 1884
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "title" FROM "notes" WHERE "presentation_of_credentials"='april 24, 1884';
2-12912176-1
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "presentation_of_credentials" FROM "notes" WHERE "appointed_by"='grover cleveland' AND "representative"='charles w. buck';
2-12912176-1
Name the title with presentation of credentials of april 10, 1907
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "title" FROM "notes" WHERE "presentation_of_credentials"='april 10, 1907';
2-12912176-1
Name the title with termination of mission of february 24, 1828
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "title" FROM "notes" WHERE "termination_of_mission"='february 24, 1828';
2-12912176-1
Name the title with termination of mission of april 10, 1939
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "title" FROM "notes" WHERE "termination_of_mission"='april 10, 1939';
2-12912176-1
Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin
CREATE TABLE "notes" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );
SELECT "termination_of_mission" FROM "notes" WHERE "appointed_by"='woodrow wilson' AND "representative"='benton mcmillin';
2-12912176-1
What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way?
CREATE TABLE "head_to_head" ( "team" text, "miles_one_way" real, "home_result" text, "fans_brought" text, "away_result" text, "fans_took" text, "points_gained" real );
SELECT MAX("points_gained") FROM "head_to_head" WHERE "fans_took"='907' AND "miles_one_way">44.9;
2-12607988-21
What is the points gained of the match where fans took 403 [sunday]?
CREATE TABLE "head_to_head" ( "team" text, "miles_one_way" real, "home_result" text, "fans_brought" text, "away_result" text, "fans_took" text, "points_gained" real );
SELECT SUM("points_gained") FROM "head_to_head" WHERE "fans_took"='403 [sunday]';
2-12607988-21
Which team had fans took of 288?
CREATE TABLE "head_to_head" ( "team" text, "miles_one_way" real, "home_result" text, "fans_brought" text, "away_result" text, "fans_took" text, "points_gained" real );
SELECT "team" FROM "head_to_head" WHERE "fans_took"='288';
2-12607988-21
What years had a ranking of 1?
CREATE TABLE "top_scorers_in_loi" ( "ranking" real, "nationality" text, "name" text, "years" text, "goals" real );
SELECT "years" FROM "top_scorers_in_loi" WHERE "ranking"=1;
2-1234607-3
What is the nationality of the person with 50 goals and rank 3?
CREATE TABLE "top_scorers_in_loi" ( "ranking" real, "nationality" text, "name" text, "years" text, "goals" real );
SELECT "nationality" FROM "top_scorers_in_loi" WHERE "goals"=50 AND "ranking"=3;
2-1234607-3
How many losses occurred with regular season standing of 17th from 20 later than 1996?
CREATE TABLE "references" ( "season" real, "year" real, "wins" real, "draws" real, "losses" real, "regular_season_standing" text, "final_standing" text );
SELECT COUNT("losses") FROM "references" WHERE "regular_season_standing"='17th from 20' AND "year">1996;
2-13069930-1
What is the earliest season with a regular season standing of 11th from 15 and more than 10 wins?
CREATE TABLE "references" ( "season" real, "year" real, "wins" real, "draws" real, "losses" real, "regular_season_standing" text, "final_standing" text );
SELECT MIN("season") FROM "references" WHERE "regular_season_standing"='11th from 15' AND "wins">10;
2-13069930-1
What was the status of joon-hyung park 박준형?
CREATE TABLE "billy_elliot" ( "status" text, "name" text, "first_performance" text, "last_performance" text, "style" text );
SELECT "status" FROM "billy_elliot" WHERE "name"='joon-hyung park 박준형';
2-12586867-18
Who had a ballet style with original cast?
CREATE TABLE "billy_elliot" ( "status" text, "name" text, "first_performance" text, "last_performance" text, "style" text );
SELECT "name" FROM "billy_elliot" WHERE "style"='ballet' AND "status"='original cast';
2-12586867-18
When was the first performance with a replacement cast?
CREATE TABLE "billy_elliot" ( "status" text, "name" text, "first_performance" text, "last_performance" text, "style" text );
SELECT "first_performance" FROM "billy_elliot" WHERE "status"='replacement cast';
2-12586867-18
What is the latest year for the Tyrrell 018 Chassis that has less than 3 points?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MAX("year") FROM "complete_formula_one_results" WHERE "chassis"='tyrrell 018' AND "points"<3;
2-1226566-2
Which entrant has a Honda V6 engine and a Lotus 99t chassis?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "entrant" FROM "complete_formula_one_results" WHERE "engine"='honda v6' AND "chassis"='lotus 99t';
2-1226566-2
Name the least wickets when matches are more than 10 and 10 WM is more than 1
CREATE TABLE "most_wickets_in_a_season" ( "matches" real, "wickets" real, "runs" real, "10_wm" real, "best" text );
SELECT MIN("wickets") FROM "most_wickets_in_a_season" WHERE "matches">10 AND "10_wm">1;
2-12898654-15
Name the best when runs of 1088 and matches more than 11
CREATE TABLE "most_wickets_in_a_season" ( "matches" real, "wickets" real, "runs" real, "10_wm" real, "best" text );
SELECT "best" FROM "most_wickets_in_a_season" WHERE "matches">11 AND "runs"=1088;
2-12898654-15
Name the most runs for wickets of 66 and matches less than 13
CREATE TABLE "most_wickets_in_a_season" ( "matches" real, "wickets" real, "runs" real, "10_wm" real, "best" text );
SELECT MAX("runs") FROM "most_wickets_in_a_season" WHERE "wickets"=66 AND "matches"<13;
2-12898654-15
What is the score of the game with the San Diego Padres as the opponent and a record of 11-23?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='san diego padres' AND "record"='11-23';
2-12429218-3
What is the date of the game with a record of 14-31?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='14-31';
2-12429218-3
What is the date of the game with a 17-31 record?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='17-31';
2-12429218-3
What is the record of the game on 13 May?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='13 may';
2-12429218-3
What was average attendance during week 15?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "week"=15;
2-12536859-1
What's the smallest week that had a result of t 17–17?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("week") FROM "schedule" WHERE "result"='t 17–17';
2-12536859-1
Who was the opponent in week 12?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=12;
2-12536859-1
What is the current club of the Forward who was born after 1983 and who has a height under 2.12?
CREATE TABLE "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text );
SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "year_born">1983 AND "height"<2.12 AND "position"='forward';
2-12962773-15
What is the position of the player who is taller than 2.12?
CREATE TABLE "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text );
SELECT "position" FROM "fiba_euro_basket_2007_squads" WHERE "height">2.12;
2-12962773-15
How many no votes did North Dakota have?
CREATE TABLE "states_that_have_voted_on_amendments" ( "state" text, "date" text, "yes_vote" text, "no_vote" text, "vote_outcome" text );
SELECT "no_vote" FROM "states_that_have_voted_on_amendments" WHERE "state"='north dakota';
2-1239142-1
What was the date for Colorado?
CREATE TABLE "states_that_have_voted_on_amendments" ( "state" text, "date" text, "yes_vote" text, "no_vote" text, "vote_outcome" text );
SELECT "date" FROM "states_that_have_voted_on_amendments" WHERE "state"='colorado';
2-1239142-1
How many no votes from Alaska in 1998?
CREATE TABLE "states_that_have_voted_on_amendments" ( "state" text, "date" text, "yes_vote" text, "no_vote" text, "vote_outcome" text );
SELECT "no_vote" FROM "states_that_have_voted_on_amendments" WHERE "date"='1998' AND "state"='alaska';
2-1239142-1
How many positive votes for Tennessee in 2006?
CREATE TABLE "states_that_have_voted_on_amendments" ( "state" text, "date" text, "yes_vote" text, "no_vote" text, "vote_outcome" text );
SELECT "yes_vote" FROM "states_that_have_voted_on_amendments" WHERE "date"='2006' AND "state"='tennessee';
2-1239142-1
What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance?
CREATE TABLE "songs" ( "number" real, "name_of_the_song" text, "singer" text, "drama" text, "kind_of_the_song" text );
SELECT "name_of_the_song" FROM "songs" WHERE "kind_of_the_song"='opening theme' AND "drama"='revolving doors of vengeance';
2-12341554-1
How many floors are there at 32 n. main street?
CREATE TABLE "tallest_completed_buildings" ( "rank" text, "building_name" text, "street_address" text, "height_feet_meters" text, "floors" real, "completed" real );
SELECT SUM("floors") FROM "tallest_completed_buildings" WHERE "street_address"='32 n. main street';
2-12410792-1
When did the rank 9 building got completed?
CREATE TABLE "tallest_completed_buildings" ( "rank" text, "building_name" text, "street_address" text, "height_feet_meters" text, "floors" real, "completed" real );
SELECT "completed" FROM "tallest_completed_buildings" WHERE "rank"='9';
2-12410792-1
Which party has 24 governments?
CREATE TABLE "deputy_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "party" FROM "deputy_ministers" WHERE "governments"='24';
2-12660586-2
What governments did the minister with a term start on 24 September 1984 have?
CREATE TABLE "deputy_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "governments" FROM "deputy_ministers" WHERE "term_start"='24 september 1984';
2-12660586-2
When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party?
CREATE TABLE "deputy_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "term_end" FROM "deputy_ministers" WHERE "party"='national religious party' AND "minister"='shlomo-yisrael ben-meir';
2-12660586-2
Who is the minister with a term end on 10 March 1974?
CREATE TABLE "deputy_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "minister" FROM "deputy_ministers" WHERE "term_end"='10 march 1974';
2-12660586-2
Name the points classification for predictor-lotto and stage 1
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "team_classification" text );
SELECT "points_classification" FROM "jersey_progress" WHERE "team_classification"='predictor-lotto' AND "stage"='1';
2-12608303-21
Name the points classification for quick step-innergetic with stage 7
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "team_classification" text );
SELECT "points_classification" FROM "jersey_progress" WHERE "team_classification"='quick step-innergetic' AND "stage"='7';
2-12608303-21
Name the stgae with winner of robbie mcewen
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "team_classification" text );
SELECT "stage" FROM "jersey_progress" WHERE "winner"='robbie mcewen';
2-12608303-21
Name the winner for nick nuyens for general classification and stage of 2
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "team_classification" text );
SELECT "winner" FROM "jersey_progress" WHERE "general_classification"='nick nuyens' AND "stage"='2';
2-12608303-21