question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
what is the most laps for driver jackie stewart?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "classification" WHERE "driver"='jackie stewart';
2-1122386-1
what is the time/retired for driver richard attwood?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "driver"='richard attwood';
2-1122386-1
Tell me the D 41 and R 51 of r 11
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "d_41" FROM "senate_composition_before_the_elections" WHERE "r_51"='r 11';
2-1106241-2
I want the D 46 which has a D 44 of r 17
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "d_46" FROM "senate_composition_before_the_elections" WHERE "d_44"='r 17';
2-1106241-2
Tell me the D 41 for D 43 of d 18
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "d_41" FROM "senate_composition_before_the_elections" WHERE "d_43"='d 18';
2-1106241-2
Tell me the D 47 for D 46 of r 35
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "d_47" FROM "senate_composition_before_the_elections" WHERE "d_46"='r 35';
2-1106241-2
I want the D 42 with R 51 of r 11
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "d_42" FROM "senate_composition_before_the_elections" WHERE "r_51"='r 11';
2-1106241-2
I want the R 53 of D 41 of r 21
CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text );
SELECT "r_53" FROM "senate_composition_before_the_elections" WHERE "d_41"='r 21';
2-1106241-2
What is the low silver total for switzerland with over 0 golds?
CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real );
SELECT MIN("silver") FROM "medal_table_2007_2013" WHERE "gold">0 AND "nation"='switzerland';
2-1152427-2
What is the silver total for nations with 10 bronze medals?
CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real );
SELECT SUM("silver") FROM "medal_table_2007_2013" WHERE "bronze"=10;
2-1152427-2
What is the gold total for lithuania with under 2 silvers?
CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real );
SELECT SUM("gold") FROM "medal_table_2007_2013" WHERE "nation"='lithuania' AND "silver"<2;
2-1152427-2
What was the score for the home team that played at Moorabbin Oval?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_6" WHERE "venue"='moorabbin oval';
2-10826072-6
Name the size of the screen that came out in 2006 and is iliad
CREATE TABLE "discontinued_models" ( "maker" text, "model" text, "intro_year" text, "screen_size_inch" text, "self_lit" text, "screen_type" text, "screen_pixels" text );
SELECT "screen_size_inch" FROM "discontinued_models" WHERE "intro_year"='2006' AND "model"='iliad';
2-1149661-2
Which Report includes the Belgian Grand Prix Race?
CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );
SELECT "report" FROM "season_review" WHERE "race"='belgian grand prix';
2-1140083-2
Which Report includes Monaco?
CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );
SELECT "report" FROM "season_review" WHERE "location"='monaco';
2-1140083-2
On what date did Gunnar Nilsson make the fastest lap?
CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );
SELECT "date" FROM "season_review" WHERE "fastest_lap"='gunnar nilsson';
2-1140083-2
Who had the fastest lap for the German Grand Prix?
CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );
SELECT "fastest_lap" FROM "season_review" WHERE "race"='german grand prix';
2-1140083-2
What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981?
CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "catalog"='3645' AND "date">1981 AND "label"='luaka bop';
2-10942049-3
what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label?
CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text );
SELECT MIN("date") FROM "release_history" WHERE "catalog"='3645' AND "format"='cd' AND "label"='luaka bop';
2-10942049-3
Under what label was the album with the catalog of 3645 and came out later than 1987?
CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "catalog"='3645' AND "date">1987;
2-10942049-3
What is the points where Toronto was the home team and the game number was larger than 63?
CREATE TABLE "february" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real );
SELECT MAX("points") FROM "february" WHERE "home"='toronto' AND "game_num">63;
2-11901273-7
How many laps did mike spence complete grids above 12?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "classification" WHERE "driver"='mike spence' AND "grid">12;
2-1122365-1
How many average laps did brm complete in grids larger than 12?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "constructor"='brm' AND "grid"=12;
2-1122365-1
Who drove in grids more than 3 and exited in an accident?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "grid">3 AND "time_retired"='accident';
2-1122365-1
In what grid did jim clark drive in?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "grid" FROM "classification" WHERE "driver"='jim clark';
2-1122365-1
Which opponent has a date 21 jul 2007?
CREATE TABLE "pre_season" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text );
SELECT "opponent" FROM "pre_season" WHERE "date"='21 jul 2007';
2-11220910-12
What was the venue of the Melbourne team?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_16" WHERE "home_team"='melbourne';
2-10887680-16
What was the race that featured stirling moss winning with a maserati at aintree?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "race_name" FROM "non_championship_race_results" WHERE "constructor"='maserati' AND "circuit"='aintree' AND "winning_driver"='stirling moss';
2-1140112-5
What does the Circuit of caen report?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "report" FROM "non_championship_race_results" WHERE "circuit"='caen';
2-1140112-5
Who is the winning drive of iv grand prix de caen?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "winning_driver" FROM "non_championship_race_results" WHERE "race_name"='iv grand prix de caen';
2-1140112-5
What types of ships were made at the Froemming Brothers ship yard?
CREATE TABLE "yards_on_the_great_lakes" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "ship_types_delivered" text, "total_number_of_ways" text );
SELECT "ship_types_delivered" FROM "yards_on_the_great_lakes" WHERE "yard_name"='froemming brothers';
2-11552751-4
What ship types were first delivered in December 1942?
CREATE TABLE "yards_on_the_great_lakes" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "ship_types_delivered" text, "total_number_of_ways" text );
SELECT "ship_types_delivered" FROM "yards_on_the_great_lakes" WHERE "1st_ship_delivery_date"='december 1942';
2-11552751-4
What is the amount of apperances of the person who had 36 goals?
CREATE TABLE "notable_players" ( "nationality" text, "position" text, "boro_career" text, "captaincy" text, "appearances" real, "goals" real );
SELECT "appearances" FROM "notable_players" WHERE "goals"=36;
2-11678529-1
If the Home team was north melbourne and the Crowd was larger than 10,000, what was the Home team's score?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_8" WHERE "crowd">'10,000' AND "home_team"='north melbourne';
2-10790099-8
How many people were in the Crowd when the Home team scored 10.7 (67)?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT COUNT("crowd") FROM "round_8" WHERE "home_team_score"='10.7 (67)';
2-10790099-8
Tell me the name with points of 151.66
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real );
SELECT "name" FROM "ladies" WHERE "points"=151.66;
2-11025881-2
Tell me the total number of rank for places less than 94 and points less than 169.8 for japan
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real );
SELECT COUNT("rank") FROM "ladies" WHERE "places"<94 AND "points"<169.8 AND "nation"='japan';
2-11025881-2
Tell me the total number of SP+FS with rank more than 8 for the netherlands and points more than 127.26
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real );
SELECT COUNT("sp_fs") FROM "ladies" WHERE "rank">8 AND "nation"='netherlands' AND "points">127.26;
2-11025881-2
Name the total number of SP+FS for places of 60 and points more than 151.66
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real );
SELECT COUNT("sp_fs") FROM "ladies" WHERE "places"=60 AND "points">151.66;
2-11025881-2
Name the average SP+FS with places less tha 94 for renata baierova
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real );
SELECT AVG("sp_fs") FROM "ladies" WHERE "places"<94 AND "name"='renata baierova';
2-11025881-2
What color is model # pd-kb400w?
CREATE TABLE "features_by_model" ( "model_name" text, "model_num" text, "color" text, "switch_type" text, "interface" text, "blank_keytops" text, "introduced" text );
SELECT "color" FROM "features_by_model" WHERE "model_num"='pd-kb400w';
2-11117316-1
What's the lowest average for a swimsuit over 6.89, evening gown over 7.76, and an interview over 8.57 in illinois?
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MIN("average") FROM "preliminary_competition" WHERE "swimsuit">6.89 AND "evening_gown">7.76 AND "state"='illinois' AND "interview">8.57;
2-12050358-1
What's the highest swimsuit for an average less than 8.073, evening gown less than 8.31, and an interview over 8.23 in georgia?
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MAX("swimsuit") FROM "preliminary_competition" WHERE "average"<8.073 AND "evening_gown"<8.31 AND "interview">8.23 AND "state"='georgia';
2-12050358-1
What's utah's lowest swimsuit with an interview over 8.53?
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MIN("swimsuit") FROM "preliminary_competition" WHERE "state"='utah' AND "interview">8.53;
2-12050358-1
What week was October 9, 1938?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "date"='october 9, 1938';
2-11173623-1
What home team played Collingwood as the away team?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_17" WHERE "away_team"='collingwood';
2-10790651-17
What was the score of the away team at Junction Oval?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_17" WHERE "venue"='junction oval';
2-10790651-17
Who built giancarlo fisichella's car?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "race" WHERE "driver"='giancarlo fisichella';
2-1123409-2
What is the high lap total for mika salo with a grid greater than 17?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "race" WHERE "driver"='mika salo' AND "grid">17;
2-1123409-2
Where was the location with Muirfield in Scotland?
CREATE TABLE "top_100_in_the_world" ( "rank" real, "name" text, "location" text, "country" text, "designer_year" text );
SELECT "location" FROM "top_100_in_the_world" WHERE "country"='scotland' AND "name"='muirfield';
2-11063491-2
Name the country for pieroni
CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "players_in" WHERE "name"='pieroni';
2-12098629-2
Name the country for 6-month loan and moving from of lens
CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "players_in" WHERE "type"='6-month loan' AND "moving_from"='lens';
2-12098629-2
Name the transfer fee with a transfer window of summer for schollen
CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text );
SELECT "transfer_fee" FROM "players_in" WHERE "transfer_window"='summer' AND "name"='schollen';
2-12098629-2
Name the name that has moving of 1. fc nürnberg.
CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text );
SELECT "name" FROM "players_in" WHERE "moving_from"='1. fc nürnberg';
2-12098629-2
Name the country with polák
CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "players_in" WHERE "name"='polák';
2-12098629-2
What was the home team score at North Melbourne's away game?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_5" WHERE "away_team"='north melbourne';
2-10809368-5
Which away team scored 4.15 (39)?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_5" WHERE "away_team_score"='4.15 (39)';
2-10809368-5
What was Collingwood's score at the home match against Richmond?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_5" WHERE "away_team"='richmond';
2-10809368-5
What is the lowest number of laps with a grid larger than 24?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "classification" WHERE "grid">24;
2-1122371-1
For Jo Siffert, what was the highest grid with the number of laps above 12?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("grid") FROM "classification" WHERE "driver"='jo siffert' AND "laps">12;
2-1122371-1
What is the average number of laps when Gerhard Berger is the driver?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "race" WHERE "driver"='gerhard berger';
2-1123249-2
What is the name of the constructor who has more than 50 laps and a grid of 7?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "race" WHERE "laps">50 AND "grid"=7;
2-1123249-2
What is the title of the episode with a production code of ad1b04?
CREATE TABLE "season_2" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "title" FROM "season_2" WHERE "production_code"='ad1b04';
2-1137274-2
Name the time for event of tfc 21
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='tfc 21';
2-12082917-2
What sport has a Gold larger than 0, and a Silver of 2?
CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "sport" FROM "asian_games" WHERE "gold">0 AND "silver"=2;
2-10882501-6
What is the lowest Bronze that has a Total larger than 18 and a Silver smaller than 143?
CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "asian_games" WHERE "total">18 AND "sport"='total' AND "silver"<143;
2-10882501-6
How many total Silver has a Bronze larger than 19 and a Total smaller than 125?
CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "asian_games" WHERE "bronze">19 AND "total"<125;
2-10882501-6
What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of 58?
CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "asian_games" WHERE "bronze">10 AND "silver">28 AND "gold"=58;
2-10882501-6
What is the lowest Total that has a Gold larger than 0, Silver smaller than 4, Sport of football, and a Bronze larger than 1?
CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "asian_games" WHERE "gold">0 AND "silver"<4 AND "sport"='football' AND "bronze">1;
2-10882501-6
what is the time/retired when the grid is 9?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "grid"=9;
2-1122229-1
what is the number of laps when the driver is ron flockhart?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "classification" WHERE "driver"='ron flockhart';
2-1122229-1
What Engine has a Power of 114hp (85kw)?
CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text );
SELECT "engine" FROM "engines" WHERE "power"='114hp (85kw)';
2-1105695-1
What Torque has an AMC Power Tech I6 Engine?
CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text );
SELECT "torque" FROM "engines" WHERE "engine"='amc power tech i6';
2-1105695-1
What Displacement has 185hp (138kw) Power o
CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text );
SELECT "displacement" FROM "engines" WHERE "power"='185hp (138kw)';
2-1105695-1
What venue features collingwood as the home side?
CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_4" WHERE "home_team"='collingwood';
2-10807990-4
What's the attendance numbers for veterans stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "game_site"='veterans stadium';
2-11309481-2
What is the name of the school that has a player named Michael Dunigan?
CREATE TABLE "2008_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "school" FROM "2008_boys_team" WHERE "player"='michael dunigan';
2-11677760-22
Name the religion for Former Experience of commissioner of health and assumed office before 2005
CREATE TABLE "delegates" ( "district" text, "name" text, "party" text, "religion" text, "former_experience" text, "assumed_office" real, "born_in" real );
SELECT "religion" FROM "delegates" WHERE "assumed_office"<2005 AND "former_experience"='commissioner of health';
2-11854559-4
Tell me the loewst assume office for madeleine bordallo
CREATE TABLE "delegates" ( "district" text, "name" text, "party" text, "religion" text, "former_experience" text, "assumed_office" real, "born_in" real );
SELECT MIN("assumed_office") FROM "delegates" WHERE "name"='madeleine bordallo';
2-11854559-4
Which team had a game of 82?
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 "game"=82;
2-11960610-11
How many people attended the game at Junction Oval?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_13" WHERE "venue"='junction oval';
2-10806194-13
What was the score for Boston's Home game that had Gerber as the decision?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "score" FROM "march" WHERE "decision"='gerber' AND "home"='boston';
2-11902176-8
What was the record for the game on March 25?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "record" FROM "march" WHERE "date"='march 25';
2-11902176-8
Who was the Decision at Anaheim's home game?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "decision" FROM "march" WHERE "home"='anaheim';
2-11902176-8
Who is the driver of the chassis that is tg183b tg184?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "driver" FROM "drivers_and_constructors" WHERE "chassis"='tg183b tg184';
2-1140073-1
What was the engine belonging to Pierluigi Martini with a Tyre of P?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "engine" FROM "drivers_and_constructors" WHERE "tyres"='p' AND "driver"='pierluigi martini';
2-1140073-1
What was the featured in Engine through rounds 10-13?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "engine" FROM "drivers_and_constructors" WHERE "rounds"='10-13';
2-1140073-1
Nigel Mansell was the driver in what Entrant?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "entrant" FROM "drivers_and_constructors" WHERE "driver"='nigel mansell';
2-1140073-1
What Date does the Name (location) Belyanitsky, Ivanovo, and Balino have?
CREATE TABLE "tornadoes" ( "rank" real, "name_location" text, "country" text, "date" text, "deaths" real, "injuries_num" text );
SELECT "date" FROM "tornadoes" WHERE "name_location"='belyanitsky, ivanovo, and balino';
2-11790054-1
What day did North Melbourne play as the home team?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_16" WHERE "home_team"='north melbourne';
2-10809529-16
Who was the away team at Arden Street Oval?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_16" WHERE "venue"='arden street oval';
2-10809529-16
What is the long-term capital gain rate when the long-term gain on commercial buildings is 25% and long term gain on collectibles is 28% while short-term capital gain rate is 33%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "long_term_capital_gain_rate" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "long_term_gain_on_commercial_buildings"='25%' AND "long_term_gain_on_collectibles"='28%' AND "short_term_capital_gain_rate"='33%';
2-11647327-1
What is long-term gain for commercial buildings when long-term gain on collectible sis 28% and ordinary income rate is 35%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "long_term_gain_on_commercial_buildings" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "long_term_gain_on_collectibles"='28%' AND "ordinary_income_rate"='35%';
2-11647327-1
What is the ordinary income rate when short-term capital gain rate is 28%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "ordinary_income_rate" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "short_term_capital_gain_rate"='28%';
2-11647327-1
What is the long-term gain for commercial buildings with a short-term capital gain rate of 15%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "long_term_gain_on_commercial_buildings" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "short_term_capital_gain_rate"='15%';
2-11647327-1
What is short-term capital gain rate with long-term gain on collectibles at 15%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "short_term_capital_gain_rate" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "long_term_gain_on_collectibles"='15%';
2-11647327-1
What long-term gain for collectibles coincides with ordinary income rate 15%?
CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "long_term_gain_on_collectibles" text );
SELECT "long_term_gain_on_collectibles" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "ordinary_income_rate"='15%';
2-11647327-1
What is the Decile with a State Authority and a roll of 120?
CREATE TABLE "franklin_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT SUM("decile") FROM "franklin_local_board" WHERE "authority"='state' AND "roll"=120;
2-12017602-21
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?
CREATE TABLE "franklin_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT MAX("roll") FROM "franklin_local_board" WHERE "decile"<8 AND "authority"='state' AND "name"='orere school';
2-12017602-21
Which venue has an Away team score of 10.11 (71)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_16" WHERE "away_team_score"='10.11 (71)';
2-10807253-16