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 position of the player who's hometown is North Babylon, NY?
CREATE TABLE "roster" ( "name" text, "num" real, "height" text, "weight" real, "position" text, "year" text, "home_town" text, "high_school" text );
SELECT "position" FROM "roster" WHERE "home_town"='North Babylon, NY';
1-20785990-2
What position is the player from Chapel Hill, NC?
CREATE TABLE "roster" ( "name" text, "num" real, "height" text, "weight" real, "position" text, "year" text, "home_town" text, "high_school" text );
SELECT "position" FROM "roster" WHERE "home_town"='Chapel Hill, NC';
1-20785990-2
What is the height of the player from Gulfport, MS?
CREATE TABLE "roster" ( "name" text, "num" real, "height" text, "weight" real, "position" text, "year" text, "home_town" text, "high_school" text );
SELECT "height" FROM "roster" WHERE "home_town"='Gulfport, MS';
1-20785990-2
In what county did McCain get 57.8%?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT "county" FROM "by_county" WHERE "mc_cainpct"='57.8%';
1-20799905-1
How many figures are given for McCain's % in Davidson county?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT COUNT("mc_cainpct") FROM "by_county" WHERE "county"='DAVIDSON';
1-20799905-1
What percentage did Obama get in Rutherford county?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT "obamapct" FROM "by_county" WHERE "county"='RUTHERFORD';
1-20799905-1
What percentage did McCain get in Hamilton county?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT "mc_cainpct" FROM "by_county" WHERE "county"='HAMILTON';
1-20799905-1
What percentage did Obama get when McCain got 52.8%?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT "obamapct" FROM "by_county" WHERE "mc_cainpct"='52.8%';
1-20799905-1
How many votes did Obama get in Lake County?
CREATE TABLE "by_county" ( "county" text, "obamanum" real, "obamapct" text, "mc_cainnum" real, "mc_cainpct" text );
SELECT MIN("obamanum") FROM "by_county" WHERE "county"='LAKE';
1-20799905-1
In how many counties did McCain get 65.72% of the votes?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT COUNT("county") FROM "by_county" WHERE "mc_cainpct"='65.72%';
1-20799587-1
How many people voted for Obama in the county where McCain got 72.75% of the votes?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT MIN("obamanum") FROM "by_county" WHERE "mc_cainpct"='72.75%';
1-20799587-1
What percentage of the votes did McCain get in Hinds?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "mc_cainpct" FROM "by_county" WHERE "county"='Hinds';
1-20799587-1
How many votes did McCain get in Scott?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT MIN("mc_cainnum") FROM "by_county" WHERE "county"='Scott';
1-20799587-1
What percentage of the votes in Tippah did Obama get?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "obamapct" FROM "by_county" WHERE "county"='Tippah';
1-20799587-1
What percentage of the votes in Copiah did McCain get?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "mc_cainpct" FROM "by_county" WHERE "county"='Copiah';
1-20799587-1
When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?
CREATE TABLE "fares" ( "type_of_fare" text, "cash_fare" text, "day_pass" text, "31_day_pass" text, "monthly_pass" text );
SELECT COUNT("type_of_fare") FROM "fares" WHERE "31_day_pass"='N/A' AND "cash_fare"='N/A';
1-20803241-1
When fixed route is the type of fare how much is the 31-day pass?
CREATE TABLE "fares" ( "type_of_fare" text, "cash_fare" text, "day_pass" text, "31_day_pass" text, "monthly_pass" text );
SELECT "31_day_pass" FROM "fares" WHERE "type_of_fare"='Fixed Route';
1-20803241-1
When mega pass* (senior/disabled) is the type of fare what is the cash fare?
CREATE TABLE "fares" ( "type_of_fare" text, "cash_fare" text, "day_pass" text, "31_day_pass" text, "monthly_pass" text );
SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';
1-20803241-1
When mega pass* (senior/disabled) is the type of fare what is the day pass?
CREATE TABLE "fares" ( "type_of_fare" text, "cash_fare" text, "day_pass" text, "31_day_pass" text, "monthly_pass" text );
SELECT "day_pass" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';
1-20803241-1
When fort irwin-barstow/victorville is the type of fare what is the cash fare?
CREATE TABLE "fares" ( "type_of_fare" text, "cash_fare" text, "day_pass" text, "31_day_pass" text, "monthly_pass" text );
SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Fort Irwin-Barstow/Victorville';
1-20803241-1
Where total goals is 1 and total apps is 33, what is the smallest no.?
CREATE TABLE "player_statistics" ( "no" real, "player" text, "league_apps" real, "league_goals" real, "cup_apps" real, "cup_goals" real, "total_apps" real, "total_goals" real, "yc" real, "rc" real );
SELECT MIN("no") FROM "player_statistics" WHERE "total_goals"=1 AND "total_apps"=33;
1-20848569-9
What is every residential monthly usage if large power demand is 6.86?
CREATE TABLE "table1_2082992_5" ( "city_utility" text, "residential_monthly_usage_1000_k_wh" text, "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text, "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text, "large_power_power_demand_50_000_k_w_cons...
SELECT "residential_monthly_usage_1000_k_wh" FROM "table1_2082992_5" WHERE "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct"='6.86';
1-2082992-5
How many values for small power demand occur when medium power demand is 11.07?
CREATE TABLE "table1_2082992_5" ( "city_utility" text, "residential_monthly_usage_1000_k_wh" text, "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text, "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text, "large_power_power_demand_50_000_k_w_cons...
SELECT COUNT("small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct") FROM "table1_2082992_5" WHERE "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct"='11.07';
1-2082992-5
What is every value for large power demand when small power demand is 13.41?
CREATE TABLE "table1_2082992_5" ( "city_utility" text, "residential_monthly_usage_1000_k_wh" text, "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text, "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text, "large_power_power_demand_50_000_k_w_cons...
SELECT "large_power_power_demand_50_000_k_w_consumption_30_600_000_k_wh_load_factor_85pct" FROM "table1_2082992_5" WHERE "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct"='13.41';
1-2082992-5
What is every city with a residential monthly usage of 11.80?
CREATE TABLE "table1_2082992_5" ( "city_utility" text, "residential_monthly_usage_1000_k_wh" text, "small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text, "medium_power_power_demand_1_000_k_w_consumption_400_000_k_wh_load_factor_56_pct" text, "large_power_power_demand_50_000_k_w_cons...
SELECT "city_utility" FROM "table1_2082992_5" WHERE "residential_monthly_usage_1000_k_wh"='11.80';
1-2082992-5
What position is the boat with 20.12 LOA (metres)?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT MAX("position") FROM "line_honours_results_top_10" WHERE "loa_metres"='20.12';
1-20854943-2
What are the LOA (metres) of boat with sail number M10?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "sail_number"='M10';
1-20854943-2
What is the race number with time 1:23:19:31?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT "race_number" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='1:23:19:31';
1-20854943-2
How many LOA (metres) reported for Black Jack?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT COUNT("loa_metres") FROM "line_honours_results_top_10" WHERE "yacht"='Black Jack';
1-20854943-2
What race number had sail number AUS 98888?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT "race_number" FROM "line_honours_results_top_10" WHERE "sail_number"='AUS 98888';
1-20854943-2
How many sail numbers for boat skippered by Geoff Ross?
CREATE TABLE "line_honours_results_top_10" ( "position" real, "race_number" text, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" text, "skipper" text, "elapsed_time_d_hh_mm_ss" text );
SELECT COUNT("sail_number") FROM "line_honours_results_top_10" WHERE "skipper"='Geoff Ross';
1-20854943-2
When did they play against West Virginia?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "orangemen_points" real, "opponents" real, "record" text );
SELECT "date" FROM "schedule" WHERE "opponent"='West Virginia';
1-20850339-1
When l (ot/so) is 22 (3/4), what is the season?
CREATE TABLE "regular_season_record" ( "season" text, "gp" real, "w_ot_so" text, "l_ot_so" text, "pts" real, "pts_gp" text, "gf_ga" text, "rank_league_conference" text, "top_scorer" text );
SELECT "season" FROM "regular_season_record" WHERE "l_ot_so"='22 (3/4)';
1-20833768-4
In season is 2008–09, how many wins did they have?
CREATE TABLE "regular_season_record" ( "season" text, "gp" real, "w_ot_so" text, "l_ot_so" text, "pts" real, "pts_gp" text, "gf_ga" text, "rank_league_conference" text, "top_scorer" text );
SELECT "w_ot_so" FROM "regular_season_record" WHERE "season"='2008–09';
1-20833768-4
What is the weight of Eben Britton?
CREATE TABLE "table1_20860739_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" real, "college" text );
SELECT MAX("weight") FROM "table1_20860739_1" WHERE "player"='Eben Britton';
1-20860739-1
How many rounds did Virginia have?
CREATE TABLE "table1_20860739_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "round" FROM "table1_20860739_1" WHERE "college"='Virginia';
1-20860739-1
How many rounds were there a height of 6'5?
CREATE TABLE "table1_20860739_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "round" FROM "table1_20860739_1" WHERE "height"='6''5';
1-20860739-1
What college has a player that is 6'1?
CREATE TABLE "table1_20860739_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "college" FROM "table1_20860739_1" WHERE "height"='6''1';
1-20860739-1
What is the number of Mike Thomas?
CREATE TABLE "table1_20860739_1" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" real, "college" text );
SELECT COUNT("position") FROM "table1_20860739_1" WHERE "player"='Mike Thomas';
1-20860739-1
What college did Terrance Taylor play for?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT "college" FROM "table1_20861261_4" WHERE "player"='Terrance Taylor';
1-20861261-4
What's Curtis Painter's position?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT "position" FROM "table1_20861261_4" WHERE "player"='Curtis Painter';
1-20861261-4
How much does the player from Southern California weight?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT "weight" FROM "table1_20861261_4" WHERE "college"='Southern California';
1-20861261-4
What's Curtis Painter's position?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT "position" FROM "table1_20861261_4" WHERE "player"='Curtis Painter';
1-20861261-4
In what round did the player who weights 192lb (87kg) play?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT MAX("round") FROM "table1_20861261_4" WHERE "weight"='192lb (87kg)';
1-20861261-4
What's the choice score of the player who weights 303lb (137kg)?
CREATE TABLE "table1_20861261_4" ( "round" real, "choice" real, "player" text, "position" text, "height" text, "weight" text, "college" text );
SELECT MIN("choice") FROM "table1_20861261_4" WHERE "weight"='303lb (137kg)';
1-20861261-4
How many different engines are there for the model with model designation 97G00?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT COUNT("engine") FROM "technical_specifications" WHERE "model_designation"='97G00';
1-20866024-2
What's the engine for the model model designation 97G00 and GVW of 2500/2.46 kg/ton?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "engine" FROM "technical_specifications" WHERE "gvw_kg_ton"='2500/2.46' AND "model_designation"='97G00';
1-20866024-2
What model type has model designation 97500?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "model_type" FROM "technical_specifications" WHERE "model_designation"='97500';
1-20866024-2
What's the axle ratio of the model with model designation 97G00?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "axle_ratio" FROM "technical_specifications" WHERE "model_designation"='97G00';
1-20866024-2
What model type has 97100 model designation?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "model_type" FROM "technical_specifications" WHERE "model_designation"='97100';
1-20866024-2
What type of engine does the model with model designation 97100 have?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "engine" FROM "technical_specifications" WHERE "model_designation"='97100';
1-20866024-3
What's the wheelbase (in mm/inch) of the model with model designation 97G00?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "wheelbase_mm_inch" FROM "technical_specifications" WHERE "model_designation"='97G00';
1-20866024-3
What type of engine does the model with model designation 97F00 have?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "engine" FROM "technical_specifications" WHERE "model_designation"='97F00';
1-20866024-3
What's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "model_designation" FROM "technical_specifications" WHERE "gvw_kg_ton"='2828/2.78' AND "axle_ratio"='9/47';
1-20866024-3
Who is the player name when eastern michigan is the college?
CREATE TABLE "table1_20871703_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "player_name" FROM "table1_20871703_1" WHERE "college"='Eastern Michigan';
1-20871703-1
What is the height if ot is the position?
CREATE TABLE "table1_20871703_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "height" FROM "table1_20871703_1" WHERE "position"='OT';
1-20871703-1
Who is the player for south carolina college?
CREATE TABLE "table1_20871703_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "player_name" FROM "table1_20871703_1" WHERE "college"='South Carolina';
1-20871703-1
What is the height if de is the position?
CREATE TABLE "table1_20871703_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text );
SELECT COUNT("height") FROM "table1_20871703_1" WHERE "position"='DE';
1-20871703-1
Which college has fb as the position?
CREATE TABLE "table1_20871703_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text );
SELECT "college" FROM "table1_20871703_1" WHERE "position"='FB';
1-20871703-1
What is the GVW for model 97H00?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "gvw_kg_ton" FROM "technical_specifications" WHERE "model_designation"='97H00';
1-20866024-4
How many engines are there for model 97H00?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT COUNT("engine") FROM "technical_specifications" WHERE "model_designation"='97H00';
1-20866024-4
What is the Wheelbase for Model 97300?
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "wheelbase_mm_inch" FROM "technical_specifications" WHERE "model_designation"='97300';
1-20866024-4
Name the Engine for model CF350.
CREATE TABLE "technical_specifications" ( "model_type" text, "model_designation" text, "engine" text, "wheelbase_mm_inch" text, "gvw_kg_ton" text, "axle_ratio" text );
SELECT "engine" FROM "technical_specifications" WHERE "model_type"='CF350';
1-20866024-4
Was the result of the supercheap auto bathurst 1000 reported?
CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "location" text, "date" text, "format" text, "winner" text, "team" text, "report" text );
SELECT "report" FROM "race_calendar" WHERE "race_title"='Supercheap Auto Bathurst 1000';
1-20884160-1
Who was the winner of the race at barbagallo raceway?
CREATE TABLE "race_calendar" ( "rd" real, "race_title" text, "circuit" text, "location" text, "date" text, "format" text, "winner" text, "team" text, "report" text );
SELECT "winner" FROM "race_calendar" WHERE "circuit"='Barbagallo Raceway';
1-20884160-1
how many players played running back where status is made 53-man roster at start of 2009 season
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT COUNT("player") FROM "2009_pittsburgh_steelers_draft_selection" WHERE "status"='Made 53-man roster at start of 2009 season' AND "position"='Running back';
1-20898602-1
howe many positions did wallace, mike mike wallace play for
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT COUNT("position") FROM "2009_pittsburgh_steelers_draft_selection" WHERE "player"='Wallace, Mike Mike Wallace';
1-20898602-1
state the status of pick # 32
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT "status" FROM "2009_pittsburgh_steelers_draft_selection" WHERE "pick_num"=32;
1-20898602-1
which college had a running back player
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT "college" FROM "2009_pittsburgh_steelers_draft_selection" WHERE "position"='Running back';
1-20898602-1
what is the position of the player of height ft0in (m)
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT "position" FROM "2009_pittsburgh_steelers_draft_selection" WHERE "height"='ft0in (m)';
1-20898602-1
what's the position of pick # 79
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" ( "round" real, "pick_num" real, "player" text, "position" text, "height" text, "weight" text, "college" text, "status" text );
SELECT "position" FROM "2009_pittsburgh_steelers_draft_selection" WHERE "pick_num"=79;
1-20898602-1
How many touchdowns were scored when QB rating was 82.7?
CREATE TABLE "team_career_passing_records" ( "name" text, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "touchdowns" real, "interceptions" real, "qb_rating" text );
SELECT MAX("touchdowns") FROM "team_career_passing_records" WHERE "qb_rating"='82.7';
1-20906175-3
What was the QB rating for Neil lomax?
CREATE TABLE "team_career_passing_records" ( "name" text, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "touchdowns" real, "interceptions" real, "qb_rating" text );
SELECT "qb_rating" FROM "team_career_passing_records" WHERE "name"='Neil Lomax';
1-20906175-3
How many attempts did Charley Johnson have?
CREATE TABLE "team_career_passing_records" ( "name" text, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "touchdowns" real, "interceptions" real, "qb_rating" text );
SELECT COUNT("attempts") FROM "team_career_passing_records" WHERE "name"='Charley Johnson';
1-20906175-3
How many touchdowns were there with QB rating of 66.6?
CREATE TABLE "team_career_passing_records" ( "name" text, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "touchdowns" real, "interceptions" real, "qb_rating" text );
SELECT "touchdowns" FROM "team_career_passing_records" WHERE "qb_rating"='66.6';
1-20906175-3
Name the number opponent for loss result
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT COUNT("opponent") FROM "schedule" WHERE "result"='Loss';
1-20928661-1
Name the game for record being 3-0
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT "game" FROM "schedule" WHERE "record"='3-0';
1-20928661-1
What was the date of game 6?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT "date" FROM "schedule" WHERE "game"=6;
1-20928649-1
What was the record for the game where the cardinals scored 7 points?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT "record" FROM "schedule" WHERE "cardinals_points"=7;
1-20928649-1
What game date had the record of 1-2?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT "date" FROM "schedule" WHERE "record"='1-2';
1-20928649-1
How many opponents were in North Carolina state game?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cardinals_points" real, "opponents" real, "record" text );
SELECT COUNT("opponents") FROM "schedule" WHERE "opponent"='North Carolina State';
1-20928649-1
How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "moto_gp_winner" text, "moto2_winner" text, "125cc_winner" text, "report" text );
SELECT COUNT("125cc_winner") FROM "grands_prix" WHERE "moto2_winner"='Shoya Tomizawa';
1-20935975-1
After how many opponents was the overall record 1-0-0?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "hurricanes_points" real, "opponents" real, "record" text );
SELECT COUNT("opponents") FROM "schedule" WHERE "record"='1-0-0';
1-20928682-1
What was the record after the game in which the Hurricanes scored 24 points?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "hurricanes_points" real, "opponents" real, "record" text );
SELECT "record" FROM "schedule" WHERE "hurricanes_points"=24;
1-20928682-1
Which game number was played against Georgia?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "hurricanes_points" real, "opponents" real, "record" text );
SELECT MIN("game") FROM "schedule" WHERE "opponent"='Georgia';
1-20928682-1
How many games were played against Tulane?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "hurricanes_points" real, "opponents" real, "record" text );
SELECT COUNT("opponents") FROM "schedule" WHERE "opponent"='Tulane';
1-20928682-1
How much parking is in Van Nuys at the Sepulveda station?
CREATE TABLE "table1_2093995_1" ( "stations" text, "connections" text, "city_neighborhood" text, "parking" text, "date_opened" text );
SELECT "parking" FROM "table1_2093995_1" WHERE "city_neighborhood"='Van Nuys' AND "stations"='Sepulveda';
1-2093995-1
What are the stations in Tarzana?
CREATE TABLE "table1_2093995_1" ( "stations" text, "connections" text, "city_neighborhood" text, "parking" text, "date_opened" text );
SELECT "stations" FROM "table1_2093995_1" WHERE "city_neighborhood"='Tarzana';
1-2093995-1
How many connection catagories are there for Tampa?
CREATE TABLE "table1_2093995_1" ( "stations" text, "connections" text, "city_neighborhood" text, "parking" text, "date_opened" text );
SELECT COUNT("connections") FROM "table1_2093995_1" WHERE "stations"='Tampa';
1-2093995-1
Which station has park & ride lot parking?
CREATE TABLE "table1_2093995_1" ( "stations" text, "connections" text, "city_neighborhood" text, "parking" text, "date_opened" text );
SELECT "stations" FROM "table1_2093995_1" WHERE "parking"='Park & Ride Lot';
1-2093995-1
Which player has a 92.58 3-dart average?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT "player" FROM "statistics" WHERE "3_dart_average"='92.58';
1-20948329-1
What is the 3-dart average with a high checkout of 112?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT "3_dart_average" FROM "statistics" WHERE "high_checkout"=112;
1-20948329-1
What is the high checkout when played is 2 and 36 is 100+?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT MIN("high_checkout") FROM "statistics" WHERE "played"=2 AND "100"=36;
1-20948329-1
How many 180s have legs won of 45?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT MAX("180s") FROM "statistics" WHERE "legs_won"=45;
1-20948329-1
How many legs won have 95.29 as a 3-dart average?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "lwat" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text );
SELECT "legs_won" FROM "statistics" WHERE "3_dart_average"='95.29';
1-20948329-1
The player who had 145 yards had how many touchdowns?
CREATE TABLE "2003_fed_ex_ground_winners" ( "week" real, "player" text, "team" text, "opponent" text, "carries" real, "yards" real, "average" text, "touchdowns" real );
SELECT COUNT("touchdowns") FROM "2003_fed_ex_ground_winners" WHERE "yards"=145;
1-20938922-2
Which team did the player have who had 27 total carries?
CREATE TABLE "2003_fed_ex_ground_winners" ( "week" real, "player" text, "team" text, "opponent" text, "carries" real, "yards" real, "average" text, "touchdowns" real );
SELECT "team" FROM "2003_fed_ex_ground_winners" WHERE "carries"=27;
1-20938922-2
What was the player's team's opponent for Week 12?
CREATE TABLE "2003_fed_ex_ground_winners" ( "week" real, "player" text, "team" text, "opponent" text, "carries" real, "yards" real, "average" text, "touchdowns" real );
SELECT "opponent" FROM "2003_fed_ex_ground_winners" WHERE "week"=12;
1-20938922-2
Who directed the episode that originally aired on March 18, 1988?
CREATE TABLE "table1_20967430_4" ( "ep" real, "season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "directed_by" FROM "table1_20967430_4" WHERE "original_air_date"='March 18, 1988';
1-20967430-4
What is the episode number in the series for "graduation" that was directed by Don Corvan?
CREATE TABLE "table1_20967430_4" ( "ep" real, "season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT MIN("ep") FROM "table1_20967430_4" WHERE "directed_by"='Don Corvan' AND "title"='\"Graduation\"';
1-20967430-4