question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the previous school of the ft7in (m) tall player?
CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight_lb" real, "year" text, "hometown" text, "previous_school" text );
SELECT "previous_school" FROM "roster" WHERE "height"='ft7in (m)';
1-24925945-3
What was the previous school of #22?
CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight_lb" real, "year" text, "hometown" text, "previous_school" text );
SELECT "previous_school" FROM "roster" WHERE "num"=22;
1-24925945-3
What is the title of the episode with production code 3x5402?
CREATE TABLE "table1_24938621_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "title" FROM "table1_24938621_2" WHERE "production_code"='3X5402';
1-24938621-2
What is the title of the episode with production code 3x5405?
CREATE TABLE "table1_24938621_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "title" FROM "table1_24938621_2" WHERE "production_code"='3X5405';
1-24938621-2
Who as the home team for game on 5 october 2011?
CREATE TABLE "league" ( "season" text, "date" text, "home_team" text, "result" text, "away_team" text, "stadium" text );
SELECT "home_team" FROM "league" WHERE "date"='5 October 2011';
1-24949975-1
What was the stadium for the home team of shamrock rovers and result of 3–0?
CREATE TABLE "league" ( "season" text, "date" text, "home_team" text, "result" text, "away_team" text, "stadium" text );
SELECT "stadium" FROM "league" WHERE "home_team"='Shamrock Rovers' AND "result"='3–0';
1-24949975-1
What was the away team when the result was 2–1 and home team was the bohemians?
CREATE TABLE "league" ( "season" text, "date" text, "home_team" text, "result" text, "away_team" text, "stadium" text );
SELECT "away_team" FROM "league" WHERE "result"='2–1' AND "home_team"='Bohemians';
1-24949975-1
Who was the home team for the 2013 season and the result was 0–0?
CREATE TABLE "league" ( "season" text, "date" text, "home_team" text, "result" text, "away_team" text, "stadium" text );
SELECT "home_team" FROM "league" WHERE "season"='2013' AND "result"='0–0';
1-24949975-1
What is the date for the game at the tallaght stadium and result was 0–1?
CREATE TABLE "league" ( "season" text, "date" text, "home_team" text, "result" text, "away_team" text, "stadium" text );
SELECT "date" FROM "league" WHERE "stadium"='Tallaght Stadium' AND "result"='0–1';
1-24949975-1
What opponents played Waldstadion in a game?
CREATE TABLE "table1_24951872_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "opponent" FROM "table1_24951872_2" WHERE "game_site"='Waldstadion';
1-24951872-2
What was the maximum week that had attendance of 10738?
CREATE TABLE "table1_24951872_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT MAX("week") FROM "table1_24951872_2" WHERE "attendance"=10738;
1-24951872-2
Who wrote "Concordia"?
CREATE TABLE "table1_24938621_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_24938621_3" WHERE "title"='\"Concordia\"';
1-24938621-3
What is the production code of the episode written by Cathryn Humphris?
CREATE TABLE "table1_24938621_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_24938621_3" WHERE "written_by"='Cathryn Humphris';
1-24938621-3
What is the production code of the episode that had 5.43 million viewers?
CREATE TABLE "table1_24938621_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_24938621_3" WHERE "u_s_viewers_million"='5.43';
1-24938621-3
What was the title of the episode directed by Jesse Warn?
CREATE TABLE "table1_24938621_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_24938621_3" WHERE "directed_by"='Jesse Warn';
1-24938621-3
What episode number was written by Gregg Hurwitz?
CREATE TABLE "table1_24938621_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "no" FROM "table1_24938621_3" WHERE "written_by"='Gregg Hurwitz';
1-24938621-3
If the dry density is 800, what is the drying shrinkage %?
CREATE TABLE "properties_of_foamed_concrete" ( "dry_density_kg_m3" real, "7_day_compressive_strength_n_mm2" text, "thermal_conductivity_w_m_k" text, "modulus_of_elasticity_k_n_mm2" text, "drying_shrinkage_pct" text );
SELECT "drying_shrinkage_pct" FROM "properties_of_foamed_concrete" WHERE "dry_density_kg_m3"=800;
1-24969173-1
What number in the series was episode 7 in the season?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "series_num" FROM "table1_24961421_1" WHERE "season_num"=7;
1-24961421-1
Who wrote "Voir Dire"?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "written_by" FROM "table1_24961421_1" WHERE "title"='\"Voir Dire\"';
1-24961421-1
When was "Rewind" originally aired?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_24961421_1" WHERE "title"='\"Rewind\"';
1-24961421-1
How many episodes had the title "Rise and Fall"?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT COUNT("season_num") FROM "table1_24961421_1" WHERE "title"='\"Rise and Fall\"';
1-24961421-1
Who wrote the episode that had 12.15 million viewers?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "written_by" FROM "table1_24961421_1" WHERE "u_s_viewers_millions"='12.15';
1-24961421-1
What number in the season was the episode with 12.23 million viewers?
CREATE TABLE "table1_24961421_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "season_num" FROM "table1_24961421_1" WHERE "u_s_viewers_millions"='12.23';
1-24961421-1
What is the date of the game at Olympic Stadium?
CREATE TABLE "table1_24989925_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "date" FROM "table1_24989925_2" WHERE "game_site"='Olympic Stadium';
1-24989925-2
How many weeks total are there?
CREATE TABLE "table1_24989925_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT MAX("week") FROM "table1_24989925_2";
1-24989925-2
What was the team's record when they played at Rheinenergiestadion?
CREATE TABLE "table1_24989925_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "team_record" FROM "table1_24989925_2" WHERE "game_site"='RheinEnergieStadion';
1-24989925-2
What is the lowest overall number of 09-10 oi 2nd?
CREATE TABLE "pairs" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real...
SELECT MIN("09_10_oi_2nd") FROM "pairs";
1-24990183-6
What is the lowest overall number for 09-10 oi 2nd?
CREATE TABLE "pairs" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real...
SELECT MIN("09_10_oi_2nd") FROM "pairs";
1-24990183-6
What was the maximum 09-10 i/o best?
CREATE TABLE "men" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, ...
SELECT MAX("09_10_i_o_best") FROM "men";
1-24990183-4
If 09-10 i/o best is 972, what is the 09-10 gp/jgp 2nd maximum?
CREATE TABLE "ice_dancing" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best...
SELECT MAX("09_10_gp_jgp_2nd") FROM "ice_dancing" WHERE "09_10_i_o_best"=972;
1-24990183-7
If the rank is 17, what are the names?
CREATE TABLE "ice_dancing" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best...
SELECT "name" FROM "ice_dancing" WHERE "rank"=17;
1-24990183-7
If the WS points is 947, what is the 08-09 gp/jgp 2nd ?
CREATE TABLE "ice_dancing" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best...
SELECT "08_09_gp_jgp_2nd" FROM "ice_dancing" WHERE "ws_points"=947;
1-24990183-7
If the 08-09 gp/jgp 2nd is bigger than 227.0 and the 08-09 gp/jgp best is 252, what is the 08-09 oi best?
CREATE TABLE "ice_dancing" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best...
SELECT "08_09_oi_best" FROM "ice_dancing" WHERE "08_09_gp_jgp_best"=252 AND "08_09_gp_jgp_2nd">227.0;
1-24990183-7
How many points did he have when he has in the 34th position?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" text, "position" text );
SELECT "points" FROM "career_summary" WHERE "position"='34th';
1-24998088-1
How many wins were listed when he had 112 points?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" text, "position" text );
SELECT "wins" FROM "career_summary" WHERE "points"='112';
1-24998088-1
In what series did he have the 7th position?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" text, "position" text );
SELECT "series" FROM "career_summary" WHERE "position"='7th';
1-24998088-1
what were his points when he was in 8th position?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_l" real, "podiums" real, "points" text, "position" text );
SELECT "points" FROM "career_summary" WHERE "position"='8th';
1-24998088-1
What was the vote when the air date is 4 october 1997?
CREATE TABLE "table1_25016824_2" ( "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );
SELECT "vote" FROM "table1_25016824_2" WHERE "air_date"='4 October 1997';
1-25016824-2
Who was eliminated when immunity went to kent (jürgen)?
CREATE TABLE "table1_25016824_2" ( "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );
SELECT "eliminated" FROM "table1_25016824_2" WHERE "immunity"='Kent (Jürgen)';
1-25016824-2
Who was eliminated when the vote was 8-1?
CREATE TABLE "table1_25016824_2" ( "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );
SELECT "eliminated" FROM "table1_25016824_2" WHERE "vote"='8-1';
1-25016824-2
How many entries are there for vote when the air date was 15 november 1997?
CREATE TABLE "table1_25016824_2" ( "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );
SELECT COUNT("vote") FROM "table1_25016824_2" WHERE "air_date"='15 November 1997';
1-25016824-2
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?
CREATE TABLE "table1_25016824_2" ( "air_date" text, "reward" text, "immunity" text, "eliminated" text, "vote" text, "finish" text );
SELECT "reward" FROM "table1_25016824_2" WHERE "immunity"='Martin' AND "finish"='13th Voted Out 8th Jury Member Day 46';
1-25016824-2
Name the position for christopher smith
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_four" WHERE "player"='Christopher Smith';
1-25017530-5
Name the college for nate binder
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_four" WHERE "player"='Nate Binder';
1-25017530-5
Name the least pick number for steven turner
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MIN("pick_num") FROM "round_four" WHERE "player"='Steven Turner';
1-25017530-5
Name the cfl team for steven turner
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_four" WHERE "player"='Steven Turner';
1-25017530-5
Name the cfl team for lb position
CREATE TABLE "table1_25017530_6" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "table1_25017530_6" WHERE "position"='LB';
1-25017530-6
Name the cfl team for saskatchewan
CREATE TABLE "table1_25017530_6" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "table1_25017530_6" WHERE "college"='Saskatchewan';
1-25017530-6
Name the position for michael warner
CREATE TABLE "table1_25017530_6" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "table1_25017530_6" WHERE "player"='Michael Warner';
1-25017530-6
How many episodes were numbered 5?
CREATE TABLE "series_2_2000_2001" ( "episode_num" real, "production_count" real, "original_airdate" text, "prod_code" text, "title" text, "viewing_figures_millions" text );
SELECT COUNT("production_count") FROM "series_2_2000_2001" WHERE "episode_num"=5;
1-2501754-2
What are the original air date(s) for episodes with production code ipea343l?
CREATE TABLE "series_2_2000_2001" ( "episode_num" real, "production_count" real, "original_airdate" text, "prod_code" text, "title" text, "viewing_figures_millions" text );
SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "prod_code"='IPEA343L';
1-2501754-2
What are the original air date(s) for episodes with production code ipea345a?
CREATE TABLE "series_2_2000_2001" ( "episode_num" real, "production_count" real, "original_airdate" text, "prod_code" text, "title" text, "viewing_figures_millions" text );
SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "prod_code"='IPEA345A';
1-2501754-2
What are the original air date(s) for episodes with 8.63 million viewers?
CREATE TABLE "series_2_2000_2001" ( "episode_num" real, "production_count" real, "original_airdate" text, "prod_code" text, "title" text, "viewing_figures_millions" text );
SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "viewing_figures_millions"='8.63';
1-2501754-2
What is the power of the Type R?
CREATE TABLE "third_generation_fd" ( "model" text, "power" text, "torque" text, "gearbox" text, "weight" text, "seating" text, "brakes" text, "wheels" text, "tyres" text );
SELECT "power" FROM "third_generation_fd" WHERE "model"='Type R';
1-250230-2
What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?
CREATE TABLE "third_generation_fd" ( "model" text, "power" text, "torque" text, "gearbox" text, "weight" text, "seating" text, "brakes" text, "wheels" text, "tyres" text );
SELECT "brakes" FROM "third_generation_fd" WHERE "wheels"='16x8.0JJ (front) 16x8.0JJ (rear)' AND "tyres"='225/50R16 92V(front) 225/50R16 92V(rear)' AND "model"='Type RB 4AT';
1-250230-2
What brakes for the 4-speed automatic gearbox?
CREATE TABLE "third_generation_fd" ( "model" text, "power" text, "torque" text, "gearbox" text, "weight" text, "seating" text, "brakes" text, "wheels" text, "tyres" text );
SELECT "brakes" FROM "third_generation_fd" WHERE "gearbox"='4-speed automatic';
1-250230-2
What is the power for the Spirit R (Type B)?
CREATE TABLE "third_generation_fd" ( "model" text, "power" text, "torque" text, "gearbox" text, "weight" text, "seating" text, "brakes" text, "wheels" text, "tyres" text );
SELECT "power" FROM "third_generation_fd" WHERE "model"='Spirit R (Type B)';
1-250230-2
What is the gearbox when the torque is torque?
CREATE TABLE "third_generation_fd" ( "model" text, "power" text, "torque" text, "gearbox" text, "weight" text, "seating" text, "brakes" text, "wheels" text, "tyres" text );
SELECT "gearbox" FROM "third_generation_fd" WHERE "torque"='Torque';
1-250230-2
Name the first elected for alabama 3
CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT COUNT("first_elected") FROM "alabama" WHERE "district"='Alabama 3';
1-25030512-4
Name the party for spencer bachus
CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "party" FROM "alabama" WHERE "incumbent"='Spencer Bachus';
1-25030512-4
Name the district for mike rogers
CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "district" FROM "alabama" WHERE "incumbent"='Mike Rogers';
1-25030512-4
Name the district for spencer bachus
CREATE TABLE "alabama" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "district" FROM "alabama" WHERE "incumbent"='Spencer Bachus';
1-25030512-4
In what district was keith ellison the incumbent?
CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "district" FROM "minnesota" WHERE "incumbent"='Keith Ellison';
1-25030512-26
List the kilo watt hoours per day for moline.
CREATE TABLE "am" ( "freq" real, "call" text, "city" text, "owner" text, "start" real, "day_power_w" real, "night_power" real, "nickname" text, "format" text, "stereo" text );
SELECT "day_power_w" FROM "am" WHERE "city"='Moline';
1-25034983-2
In which year did the voice of muscatine show start?
CREATE TABLE "am" ( "freq" real, "call" text, "city" text, "owner" text, "start" real, "day_power_w" real, "night_power" real, "nickname" text, "format" text, "stereo" text );
SELECT "start" FROM "am" WHERE "nickname"='Voice of Muscatine';
1-25034983-2
In what year was cumulus founded?
CREATE TABLE "am" ( "freq" real, "call" text, "city" text, "owner" text, "start" real, "day_power_w" real, "night_power" real, "nickname" text, "format" text, "stereo" text );
SELECT MIN("start") FROM "am" WHERE "owner"='Cumulus';
1-25034983-2
Does the city of moline have stereo?
CREATE TABLE "am" ( "freq" real, "call" text, "city" text, "owner" text, "start" real, "day_power_w" real, "night_power" real, "nickname" text, "format" text, "stereo" text );
SELECT "stereo" FROM "am" WHERE "city"='Moline';
1-25034983-2
what is the company with the parent company wrightbus?
CREATE TABLE "assembly_plants" ( "company" text, "parent_company" text, "parent_headquarters" text, "plant" text, "models_produced" text, "production_latest_figures" text );
SELECT "company" FROM "assembly_plants" WHERE "parent_company"='Wrightbus';
1-250309-1
what is the name ofhte company where the plant is in burnaston?
CREATE TABLE "assembly_plants" ( "company" text, "parent_company" text, "parent_headquarters" text, "plant" text, "models_produced" text, "production_latest_figures" text );
SELECT "company" FROM "assembly_plants" WHERE "plant"='Burnaston';
1-250309-1
what models are produced where the plant is scarborough?
CREATE TABLE "assembly_plants" ( "company" text, "parent_company" text, "parent_headquarters" text, "plant" text, "models_produced" text, "production_latest_figures" text );
SELECT "models_produced" FROM "assembly_plants" WHERE "plant"='Scarborough';
1-250309-1
how many models produced where the plant is castle bromwich?
CREATE TABLE "assembly_plants" ( "company" text, "parent_company" text, "parent_headquarters" text, "plant" text, "models_produced" text, "production_latest_figures" text );
SELECT COUNT("models_produced") FROM "assembly_plants" WHERE "plant"='Castle Bromwich';
1-250309-1
what is the production where the parent company is ariel?
CREATE TABLE "assembly_plants" ( "company" text, "parent_company" text, "parent_headquarters" text, "plant" text, "models_produced" text, "production_latest_figures" text );
SELECT "production_latest_figures" FROM "assembly_plants" WHERE "parent_company"='Ariel';
1-250309-1
What kind of chassis on the angie's list sponsored car?
CREATE TABLE "active_part_time_indy_car_series_teams" ( "team" text, "num" real, "primary_sponsor" text, "driver_s" text, "listed_owner_s" text, "engine" text, "chassis" text );
SELECT "chassis" FROM "active_part_time_indy_car_series_teams" WHERE "primary_sponsor"='Angie''s List';
1-2503102-2
What team owns the car owned by chip ganassi?
CREATE TABLE "active_part_time_indy_car_series_teams" ( "team" text, "num" real, "primary_sponsor" text, "driver_s" text, "listed_owner_s" text, "engine" text, "chassis" text );
SELECT "team" FROM "active_part_time_indy_car_series_teams" WHERE "listed_owner_s"='Chip Ganassi';
1-2503102-2
What chassis is on the car repped by team rahal letterman lanigan racing?
CREATE TABLE "active_part_time_indy_car_series_teams" ( "team" text, "num" real, "primary_sponsor" text, "driver_s" text, "listed_owner_s" text, "engine" text, "chassis" text );
SELECT "chassis" FROM "active_part_time_indy_car_series_teams" WHERE "team"='Rahal Letterman Lanigan Racing';
1-2503102-2
Who drives the abc supply sponsored cor?
CREATE TABLE "active_part_time_indy_car_series_teams" ( "team" text, "num" real, "primary_sponsor" text, "driver_s" text, "listed_owner_s" text, "engine" text, "chassis" text );
SELECT "driver_s" FROM "active_part_time_indy_car_series_teams" WHERE "primary_sponsor"='ABC Supply';
1-2503102-2
Name the number of district for tom marino
CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT COUNT("district") FROM "pennsylvania" WHERE "incumbent"='Tom Marino';
1-25030512-41
Name the district for 1994
CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "district" FROM "pennsylvania" WHERE "first_elected"=1994;
1-25030512-41
Name the party for pennsylvania 10
CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "party" FROM "pennsylvania" WHERE "district"='Pennsylvania 10';
1-25030512-41
Name the result for glenn thompson
CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT "result" FROM "pennsylvania" WHERE "incumbent"='Glenn Thompson';
1-25030512-41
Name the number of district for bill shuster
CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );
SELECT COUNT("district") FROM "pennsylvania" WHERE "incumbent"='Bill Shuster';
1-25030512-41
List the total play time for 11 starts.
CREATE TABLE "all_time_statistics" ( "name" text, "nationality" text, "position" text, "boston_breakers_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );
SELECT MAX("minutes") FROM "all_time_statistics" WHERE "starts"=11;
1-25038931-1
In what region is the enrollment ratio in primary 94.40?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "region" FROM "by_net_enrollment_ratio_in_education" WHERE "primary_6_13_years"='94.40';
1-25042332-22
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "preschool_0_5_years" FROM "by_net_enrollment_ratio_in_education" WHERE "tertiary_18_24_years"='29.55';
1-25042332-22
What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "primary_6_13_years" FROM "by_net_enrollment_ratio_in_education" WHERE "preschool_0_5_years"='38.14';
1-25042332-22
What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "tertiary_18_24_years" FROM "by_net_enrollment_ratio_in_education" WHERE "secondary_14_17_years"='71.43';
1-25042332-22
What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "preschool_0_5_years" FROM "by_net_enrollment_ratio_in_education" WHERE "primary_6_13_years"='93.10';
1-25042332-22
What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23?
CREATE TABLE "by_net_enrollment_ratio_in_education" ( "region" text, "preschool_0_5_years" text, "primary_6_13_years" text, "secondary_14_17_years" text, "tertiary_18_24_years" text );
SELECT "primary_6_13_years" FROM "by_net_enrollment_ratio_in_education" WHERE "preschool_0_5_years"='50.23';
1-25042332-22
what is the number of registered female voters where the percentage is 108.6%
CREATE TABLE "by_electorate" ( "region" text, "enrolled_men" real, "enrolled_women" real, "enrolled_total" real, "men_of_voting_age" real, "women_of_voting_age" real, "voting_age_population" real, "e_vap_ratio_men" text, "e_vap_ratio_women" text, "e_vap_ratio_total" text );
SELECT "enrolled_women" FROM "by_electorate" WHERE "e_vap_ratio_women"='108.6%';
1-25042332-30
what is the percentage of male voters where the level of maturity is 123726
CREATE TABLE "by_electorate" ( "region" text, "enrolled_men" real, "enrolled_women" real, "enrolled_total" real, "men_of_voting_age" real, "women_of_voting_age" real, "voting_age_population" real, "e_vap_ratio_men" text, "e_vap_ratio_women" text, "e_vap_ratio_total" text );
SELECT "e_vap_ratio_total" FROM "by_electorate" WHERE "men_of_voting_age"=123726;
1-25042332-30
How many regions had 153 women prison inmates?
CREATE TABLE "by_prison_inmates_and_incarceration_rate" ( "region" text, "prison_inmates_men" real, "prison_inmates_women" real, "prison_inmates_total" real, "incarceration_rate_male" real, "incarceration_rate_female" real, "incarceration_rate_total" real, "country_comparison" text );
SELECT COUNT("incarceration_rate_total") FROM "by_prison_inmates_and_incarceration_rate" WHERE "prison_inmates_women"=153;
1-25042332-31
How many regions had an incarceration rate for females of 63?
CREATE TABLE "by_prison_inmates_and_incarceration_rate" ( "region" text, "prison_inmates_men" real, "prison_inmates_women" real, "prison_inmates_total" real, "incarceration_rate_male" real, "incarceration_rate_female" real, "incarceration_rate_total" real, "country_comparison" text );
SELECT COUNT("incarceration_rate_total") FROM "by_prison_inmates_and_incarceration_rate" WHERE "incarceration_rate_female"=63;
1-25042332-31
What is the male incarceration rate of maule?
CREATE TABLE "by_prison_inmates_and_incarceration_rate" ( "region" text, "prison_inmates_men" real, "prison_inmates_women" real, "prison_inmates_total" real, "incarceration_rate_male" real, "incarceration_rate_female" real, "incarceration_rate_total" real, "country_comparison" text );
SELECT MAX("incarceration_rate_male") FROM "by_prison_inmates_and_incarceration_rate" WHERE "region"='Maule';
1-25042332-31
Name the region for automatic washing machine being 60.9%
CREATE TABLE "by_ownership_of_goods_and_services" ( "region" text, "vehicle" text, "automatic_washing_machine" text, "refrigerator" text, "water_heater" text, "fixed_telephone_line" text, "mobile_phone" text, "cable_sat_tv_connection" text );
SELECT "region" FROM "by_ownership_of_goods_and_services" WHERE "automatic_washing_machine"='60.9%';
1-25042332-27
Name the fixed telephone line for 25.6% vehicle
CREATE TABLE "by_ownership_of_goods_and_services" ( "region" text, "vehicle" text, "automatic_washing_machine" text, "refrigerator" text, "water_heater" text, "fixed_telephone_line" text, "mobile_phone" text, "cable_sat_tv_connection" text );
SELECT "fixed_telephone_line" FROM "by_ownership_of_goods_and_services" WHERE "vehicle"='25.6%';
1-25042332-27
Name the region for 39.2% vehicle
CREATE TABLE "by_ownership_of_goods_and_services" ( "region" text, "vehicle" text, "automatic_washing_machine" text, "refrigerator" text, "water_heater" text, "fixed_telephone_line" text, "mobile_phone" text, "cable_sat_tv_connection" text );
SELECT "region" FROM "by_ownership_of_goods_and_services" WHERE "vehicle"='39.2%';
1-25042332-27
What region has 0.3% solar panel?
CREATE TABLE "by_access_to_electricity" ( "region" text, "public_network" text, "own_community_generator" text, "solar_panel" text, "other_source" text, "none" text );
SELECT "region" FROM "by_access_to_electricity" WHERE "solar_panel"='0.3%';
1-25042332-26
What is atacama's percentage of solar panels?
CREATE TABLE "by_access_to_electricity" ( "region" text, "public_network" text, "own_community_generator" text, "solar_panel" text, "other_source" text, "none" text );
SELECT "solar_panel" FROM "by_access_to_electricity" WHERE "region"='Atacama';
1-25042332-26
Which region has 0.6% none?
CREATE TABLE "by_access_to_electricity" ( "region" text, "public_network" text, "own_community_generator" text, "solar_panel" text, "other_source" text, "none" text );
SELECT "region" FROM "by_access_to_electricity" WHERE "none"='0.6%';
1-25042332-26
What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule?
CREATE TABLE "by_access_to_electricity" ( "region" text, "public_network" text, "own_community_generator" text, "solar_panel" text, "other_source" text, "none" text );
SELECT "public_network" FROM "by_access_to_electricity" WHERE "other_source"='0.1%' AND "solar_panel"='0.0%' AND "region"='Maule';
1-25042332-26