question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many dates are associated with a guest 4 being Jim Jeffries (debut)?
CREATE TABLE "season_2006_07" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT COUNT("date") FROM "season_2006_07" WHERE "guest_4"='Jim Jeffries (debut)';
1-20466963-4
What is the date of the episode in which the presenter is Johnny Vaughan?
CREATE TABLE "season_2006_07" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT "date" FROM "season_2006_07" WHERE "presenter"='Johnny Vaughan';
1-20466963-4
Name the guest 4 for 8 december
CREATE TABLE "table1_20466963_13" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT "guest_4" FROM "table1_20466963_13" WHERE "date"='8 December';
1-20466963-13
Name the guest 4 for steve lamacq
CREATE TABLE "table1_20466963_13" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT "guest_4" FROM "table1_20466963_13" WHERE "guest_2"='Steve Lamacq';
1-20466963-13
Name the guest 2 for colin murray 6 april
CREATE TABLE "table1_20466963_13" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT COUNT("guest_2") FROM "table1_20466963_13" WHERE "presenter"='Colin Murray' AND "date"='6 April';
1-20466963-13
Name the presenter 11 may
CREATE TABLE "table1_20466963_13" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT "presenter" FROM "table1_20466963_13" WHERE "date"='11 May';
1-20466963-13
Name the guest 3 for iyare igiehon
CREATE TABLE "table1_20466963_13" ( "date" text, "presenter" text, "guest_1" text, "guest_2" text, "guest_3" text, "guest_4" text );
SELECT "guest_3" FROM "table1_20466963_13" WHERE "guest_2"='Iyare Igiehon';
1-20466963-13
How many seasons featured 29 conversions?
CREATE TABLE "newport_rfc_record" ( "season" text, "games" real, "tries" real, "conversions" real, "penalties" real, "drop_goals" real, "total_points" real );
SELECT COUNT("penalties") FROM "newport_rfc_record" WHERE "conversions"=29;
1-20505342-1
Lowest number of drop goals?
CREATE TABLE "newport_rfc_record" ( "season" text, "games" real, "tries" real, "conversions" real, "penalties" real, "drop_goals" real, "total_points" real );
SELECT MIN("drop_goals") FROM "newport_rfc_record";
1-20505342-1
What is the point total for the season with 2 drop goals?
CREATE TABLE "newport_rfc_record" ( "season" text, "games" real, "tries" real, "conversions" real, "penalties" real, "drop_goals" real, "total_points" real );
SELECT MIN("total_points") FROM "newport_rfc_record" WHERE "drop_goals"=2;
1-20505342-1
Name the most obama number for mccain being 38.86%
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real, "total" real );
SELECT MAX("obamanum") FROM "by_county" WHERE "mc_cainpct"='38.86%';
1-20468206-1
Name the most abama number for mccain being 29266
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real, "total" real );
SELECT MAX("obamanum") FROM "by_county" WHERE "mc_cainnum"=29266;
1-20468206-1
Name the county for mccain being 38.78%
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "otherspct" text, "othersnum" real, "total" real );
SELECT "county" FROM "by_county" WHERE "mc_cainpct"='38.78%';
1-20468206-1
In how many counties di McCain win 41.62% of the vote?
CREATE TABLE "by_county_city" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT COUNT("county") FROM "by_county_city" WHERE "mc_cainpct"='41.62%';
1-20524090-1
What percentage of the vote did McCain win in Waynesboro (city)?
CREATE TABLE "by_county_city" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "mc_cainpct" FROM "by_county_city" WHERE "county"='Waynesboro (city)';
1-20524090-1
What was Obama's percentage in those places where McCain's percentage was 55.46%?
CREATE TABLE "by_county_city" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "obamapct" FROM "by_county_city" WHERE "mc_cainpct"='55.46%';
1-20524090-1
What was Obama's percentage in the county of Alleghany?
CREATE TABLE "by_county_city" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "obamapct" FROM "by_county_city" WHERE "county"='Alleghany';
1-20524090-1
What was Obama's percentage in the county of Surry?
CREATE TABLE "by_county_city" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "obamapct" FROM "by_county_city" WHERE "county"='Surry';
1-20524090-1
How many percent of the votes in Debaca did McCain get?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "total" real );
SELECT "mc_cainpct" FROM "by_county" WHERE "county"='DeBaca';
1-20539826-1
What percentage of the votes did Obama get in the county where 3909 people voted in total?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "total" real );
SELECT "obamapct" FROM "by_county" WHERE "total"=3909;
1-20539826-1
What percentage of the votes did Obama get in the county where McCain got 3648 votes?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "total" real );
SELECT "obamapct" FROM "by_county" WHERE "mc_cainnum"=3648;
1-20539826-1
Who was the winner when the SEC team LSU played?
CREATE TABLE "table1_20540006_6" ( "date" text, "time" text, "big_east_team" text, "sec_team" text, "location" text, "television" text, "attendance" real, "winner" text, "challenge_leader" text );
SELECT "winner" FROM "table1_20540006_6" WHERE "sec_team"='LSU';
1-20540006-6
What was the attendance for the game when the challenge leader was at Big East (4-2)?
CREATE TABLE "table1_20540006_6" ( "date" text, "time" text, "big_east_team" text, "sec_team" text, "location" text, "television" text, "attendance" real, "winner" text, "challenge_leader" text );
SELECT MAX("attendance") FROM "table1_20540006_6" WHERE "challenge_leader"='Big East (4-2)';
1-20540006-6
What suumer team was James Lomangino from St. John's on?
CREATE TABLE "mlb_draft_history" ( "draft_year" real, "player" text, "summer_team" text, "college" text, "mlb_team" text, "draft_round" text );
SELECT "summer_team" FROM "mlb_draft_history" WHERE "college"='St. John''s' AND "player"='James Lomangino';
1-20589703-2
In what draft round in 2012 did a player from Rio Hondo get drafted?
CREATE TABLE "mlb_draft_history" ( "draft_year" real, "player" text, "summer_team" text, "college" text, "mlb_team" text, "draft_round" text );
SELECT "draft_round" FROM "mlb_draft_history" WHERE "college"='Rio Hondo' AND "draft_year"=2012;
1-20589703-2
What college did Aaron Slegers attend?
CREATE TABLE "mlb_draft_history" ( "draft_year" real, "player" text, "summer_team" text, "college" text, "mlb_team" text, "draft_round" text );
SELECT "college" FROM "mlb_draft_history" WHERE "player"='Aaron Slegers';
1-20589703-2
What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Unaffected' AND "partial_thromboplastin_time"='Unaffected';
1-20592988-1
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased';
1-20592988-1
In what conditions are both the platelet count and prothrombin time unaffected?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Unaffected' AND "prothrombin_time"='Unaffected';
1-20592988-1
What is the status of bleeding time for thrombocytopenia?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Thrombocytopenia';
1-20592988-1
What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='Prolonged' AND "partial_thromboplastin_time"='Unaffected';
1-20592988-1
Which players made exactly 8 cuts?
CREATE TABLE "2009_results" ( "player" text, "starts" real, "cuts_made" real, "best_finish" text, "money_list_rank" real, "earnings" real );
SELECT "player" FROM "2009_results" WHERE "cuts_made"=8;
1-20590020-2
What is the total number of entries for Leif Olson?
CREATE TABLE "2009_results" ( "player" text, "starts" real, "cuts_made" real, "best_finish" text, "money_list_rank" real, "earnings" real );
SELECT COUNT("starts") FROM "2009_results" WHERE "player"='Leif Olson';
1-20590020-2
What is the total number of players who had a money list rank of 96?
CREATE TABLE "2009_results" ( "player" text, "starts" real, "cuts_made" real, "best_finish" text, "money_list_rank" real, "earnings" real );
SELECT COUNT("best_finish") FROM "2009_results" WHERE "money_list_rank"=96;
1-20590020-2
what is the name for br no. 60501
CREATE TABLE "stock_list" ( "original_no" real, "lner_no_intermediate_no" text, "br_no" real, "name" text, "rebuild_date" text, "withdrawn" text );
SELECT "name" FROM "stock_list" WHERE "br_no"=60501;
1-20595642-2
what is the name for br no. 60501
CREATE TABLE "stock_list" ( "original_no" real, "lner_no_intermediate_no" text, "br_no" real, "name" text, "rebuild_date" text, "withdrawn" text );
SELECT "name" FROM "stock_list" WHERE "br_no"=60501;
1-20595642-2
When 23% scott mcadams (d) what are the dates administered?
CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "joe_miller_r" text, "lisa_murkowski_r_write_in_candidate" text, "scott_mc_adams_d" text );
SELECT "dates_administered" FROM "polling" WHERE "scott_mc_adams_d"='23%';
1-20597634-3
When 30% is scott mcadams (d) percentage how many poll sources are there?
CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "joe_miller_r" text, "lisa_murkowski_r_write_in_candidate" text, "scott_mc_adams_d" text );
SELECT COUNT("poll_source") FROM "polling" WHERE "scott_mc_adams_d"='30%';
1-20597634-3
Name the revenue for eps being 1.19
CREATE TABLE "umicore_n_v_financial_results" ( "year_ended" real, "revenue_million" real, "earnings_before_interest_and_taxes_m" text, "net_profit_m" text, "earnings_per_share" text );
SELECT MAX("revenue_million") FROM "umicore_n_v_financial_results" WHERE "earnings_per_share"='1.19';
1-20614109-1
Name the net profit for eps beign 1.19
CREATE TABLE "umicore_n_v_financial_results" ( "year_ended" real, "revenue_million" real, "earnings_before_interest_and_taxes_m" text, "net_profit_m" text, "earnings_per_share" text );
SELECT "net_profit_m" FROM "umicore_n_v_financial_results" WHERE "earnings_per_share"='1.19';
1-20614109-1
Name the ebit for eps being 1.78
CREATE TABLE "umicore_n_v_financial_results" ( "year_ended" real, "revenue_million" real, "earnings_before_interest_and_taxes_m" text, "net_profit_m" text, "earnings_per_share" text );
SELECT "earnings_before_interest_and_taxes_m" FROM "umicore_n_v_financial_results" WHERE "earnings_per_share"='1.78';
1-20614109-1
How many different production codes does the episode directed by Dominic Polcino have?
CREATE TABLE "table1_20613292_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT COUNT("production_code") FROM "table1_20613292_1" WHERE "directed_by"='Dominic Polcino';
1-20613292-1
What's the production code of the episode written by Kirker Butler and directed by Dan Povenmire?
CREATE TABLE "table1_20613292_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "production_code" FROM "table1_20613292_1" WHERE "written_by"='Kirker Butler' AND "directed_by"='Dan Povenmire';
1-20613292-1
What was the weight in kg when the jockey was B. York?
CREATE TABLE "1996_97_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT "weight_kg" FROM "1996_97_season_as_a_three_year_old" WHERE "jockey"='B. York';
1-2062148-2
What was the result of the race where the jockey was J. Marshall?
CREATE TABLE "1996_97_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT "result" FROM "1996_97_season_as_a_three_year_old" WHERE "jockey"='J. Marshall';
1-2062148-2
Name the most weight
CREATE TABLE "1998_99_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text );
SELECT MAX("weight_kg") FROM "1998_99_season_as_a_five_year_old";
1-2062148-4
Name the date for moonee valley
CREATE TABLE "1998_99_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text );
SELECT "date" FROM "1998_99_season_as_a_five_year_old" WHERE "venue"='Moonee Valley';
1-2062148-4
What group was the Hollindale Stakes in?
CREATE TABLE "1997_98_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT "group" FROM "1997_98_season_as_a_four_year_old" WHERE "race"='Hollindale Stakes';
1-2062148-3
What race has a distance of 1200 m?
CREATE TABLE "1997_98_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );
SELECT "race" FROM "1997_98_season_as_a_four_year_old" WHERE "distance"='1200 m';
1-2062148-3
What was the result for the time of 1-26.21?
CREATE TABLE "career_results" ( "result" text, "date" text, "race" text, "venue" text, "distance" text, "class" text, "weight_kg" text, "time" text, "jockey" text, "odds" text, "winner_2nd" text );
SELECT "result" FROM "career_results" WHERE "time"='1-26.21';
1-20626467-1
Who was the jockey in group 1 at the 1400m distance at randwick?
CREATE TABLE "career_results" ( "result" text, "date" text, "race" text, "venue" text, "distance" text, "class" text, "weight_kg" text, "time" text, "jockey" text, "odds" text, "winner_2nd" text );
SELECT "jockey" FROM "career_results" WHERE "class"='Group 1' AND "venue"='Randwick' AND "distance"='1400m';
1-20626467-1
What class was the 2nd - portillo?
CREATE TABLE "career_results" ( "result" text, "date" text, "race" text, "venue" text, "distance" text, "class" text, "weight_kg" text, "time" text, "jockey" text, "odds" text, "winner_2nd" text );
SELECT "class" FROM "career_results" WHERE "winner_2nd"='2nd - Portillo';
1-20626467-1
What time for the entrant weighing 54.4kg?
CREATE TABLE "career_results" ( "result" text, "date" text, "race" text, "venue" text, "distance" text, "class" text, "weight_kg" text, "time" text, "jockey" text, "odds" text, "winner_2nd" text );
SELECT "time" FROM "career_results" WHERE "weight_kg"='54.4kg';
1-20626467-1
What is every entry for epoch if periselene is 5,454.925?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT "epoch_utc" FROM "summary_of_osculating_selenocentric_orbi" WHERE "periselene_km"='5,454.925';
1-206217-2
What is every entry for epoch if periselene is 2,291.250?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT "epoch_utc" FROM "summary_of_osculating_selenocentric_orbi" WHERE "periselene_km"='2,291.250';
1-206217-2
What is every value of period when eccentricity is 0.583085?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT "period_h" FROM "summary_of_osculating_selenocentric_orbi" WHERE "eccentricity"='0.583085';
1-206217-2
What is every value of epoch if inclination is 90.063603?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT "epoch_utc" FROM "summary_of_osculating_selenocentric_orbi" WHERE "inclination_deg_to_moon_equator"='90.063603';
1-206217-2
What is every value for periselene if period is 4.947432?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT "periselene_km" FROM "summary_of_osculating_selenocentric_orbi" WHERE "period_h"='4.947432';
1-206217-2
How many values of periselene when epoch is November 15, 2004, 17:47:12.1?
CREATE TABLE "summary_of_osculating_selenocentric_orbi" ( "epoch_utc" text, "periselene_km" text, "aposelene_km" text, "eccentricity" text, "inclination_deg_to_moon_equator" text, "period_h" text );
SELECT COUNT("periselene_km") FROM "summary_of_osculating_selenocentric_orbi" WHERE "epoch_utc"='November 15, 2004, 17:47:12.1';
1-206217-2
How many times did the Bruins play Tennessee?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bruins_points" real, "opponents" real, "record" text );
SELECT COUNT("result") FROM "schedule" WHERE "opponent"='Tennessee';
1-20630665-1
What is the current tournament name for the event in Tampa?
CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city_s" text, "country" text, "court_surface" text, "tier_iv_in" text, "years" real );
SELECT "also_currently_known_as" FROM "events" WHERE "tournament"='Tampa';
1-20630462-1
What is the tier IV year for the tournament held in Tampa?
CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city_s" text, "country" text, "court_surface" text, "tier_iv_in" text, "years" real );
SELECT "tier_iv_in" FROM "events" WHERE "tournament"='Tampa';
1-20630462-1
What is the most years that tournaments held in Rome have lasted?
CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city_s" text, "country" text, "court_surface" text, "tier_iv_in" text, "years" real );
SELECT MAX("years") FROM "events" WHERE "tournament"='Rome';
1-20630462-1
What is the city location of the tournament currently known as the Medibank International Sydney?
CREATE TABLE "events" ( "tournament" text, "also_currently_known_as" text, "city_s" text, "country" text, "court_surface" text, "tier_iv_in" text, "years" real );
SELECT "city_s" FROM "events" WHERE "also_currently_known_as"='Medibank International Sydney';
1-20630462-1
How many different shareholders have 2.39 % of capital?
CREATE TABLE "scania_ab_publ_principal_shareholders" ( "shareholder_name" text, "a_shares" real, "b_shares" real, "pct_of_capital" text, "pct_of_votes" text );
SELECT COUNT("shareholder_name") FROM "scania_ab_publ_principal_shareholders" WHERE "pct_of_capital"='2.39';
1-206359-1
What shareholders have 0 A shares?
CREATE TABLE "scania_ab_publ_principal_shareholders" ( "shareholder_name" text, "a_shares" real, "b_shares" real, "pct_of_capital" text, "pct_of_votes" text );
SELECT "shareholder_name" FROM "scania_ab_publ_principal_shareholders" WHERE "a_shares"=0;
1-206359-1
What percentage of votes does the shareholder with 78.19% of capital have?
CREATE TABLE "scania_ab_publ_principal_shareholders" ( "shareholder_name" text, "a_shares" real, "b_shares" real, "pct_of_capital" text, "pct_of_votes" text );
SELECT "pct_of_votes" FROM "scania_ab_publ_principal_shareholders" WHERE "pct_of_capital"='78.19';
1-206359-1
How many different numbers of B shares does Handelsbanken fonder have?
CREATE TABLE "scania_ab_publ_principal_shareholders" ( "shareholder_name" text, "a_shares" real, "b_shares" real, "pct_of_capital" text, "pct_of_votes" text );
SELECT COUNT("b_shares") FROM "scania_ab_publ_principal_shareholders" WHERE "shareholder_name"='Handelsbanken fonder';
1-206359-1
What's the green (SW) of the model with charcoal/white interior/roof?
CREATE TABLE "convertible" ( "interior_roof" text, "black_ua" real, "red_e8" real, "white_zr" real, "green_sw" real, "totals" real );
SELECT MIN("green_sw") FROM "convertible" WHERE "interior_roof"='Charcoal/white';
1-2066296-5
How many different results for red (e8) does the model with parchment/saddle interior/roof have?
CREATE TABLE "convertible" ( "interior_roof" text, "black_ua" real, "red_e8" real, "white_zr" real, "green_sw" real, "totals" real );
SELECT COUNT("red_e8") FROM "convertible" WHERE "interior_roof"='Parchment/saddle';
1-2066296-5
How many different total results are there for the model with parchment/black interior/roof?
CREATE TABLE "convertible" ( "interior_roof" text, "black_ua" real, "red_e8" real, "white_zr" real, "green_sw" real, "totals" real );
SELECT COUNT("totals") FROM "convertible" WHERE "interior_roof"='Parchment/black';
1-2066296-5
Where did aaron wagner go to college
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "cfl_draft" WHERE "player"='Aaron Wagner';
1-20649850-1
Where did the ol go to college?
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "cfl_draft" WHERE "position"='OL';
1-20649850-1
Name the number for new mexico
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MIN("pick_num") FROM "cfl_draft" WHERE "college"='New Mexico';
1-20649850-1
Name the number for db
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "cfl_draft" WHERE "position"='DB';
1-20649850-1
Name the player for ol
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "cfl_draft" WHERE "position"='OL';
1-20649850-1
Name the number for dl
CREATE TABLE "cfl_draft" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "pick_num" FROM "cfl_draft" WHERE "position"='DL';
1-20649850-1
Which companies have a free float of 0.2726?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT "company" FROM "composition" WHERE "free_float"='0.2726';
1-20667854-1
What is every BSE code for a free float of 0.2726?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT "bse_code" FROM "composition" WHERE "free_float"='0.2726';
1-20667854-1
What is every GICS sector for free float of 0.3180?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT "gics_sector" FROM "composition" WHERE "free_float"='0.3180';
1-20667854-1
What is every company with an index weighting % of 1 and the city of Dimitrovgrad?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT "company" FROM "composition" WHERE "index_weighting_pct"='1' AND "city"='Dimitrovgrad';
1-20667854-1
How many GICS sectors have a free float of 0.2391?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT COUNT("gics_sector") FROM "composition" WHERE "free_float"='0.2391';
1-20667854-1
How many values of free float for the BSE code of 4EH?
CREATE TABLE "composition" ( "bse_code" text, "company" text, "city" text, "gics_sector" text, "free_float" text, "index_weighting_pct" text );
SELECT COUNT("free_float") FROM "composition" WHERE "bse_code"='4EH';
1-20667854-1
When was the poll that showed 54% for and 22% undecided conducted?
CREATE TABLE "opinion_polls" ( "date_of_opinion_poll" text, "conductor" text, "sample_size" real, "for" text, "against" text, "undecided" text );
SELECT "date_of_opinion_poll" FROM "opinion_polls" WHERE "for"='54%' AND "undecided"='22%';
1-20683381-2
How many polls taken on different dates show an undecided percentage of 25%?
CREATE TABLE "opinion_polls" ( "date_of_opinion_poll" text, "conductor" text, "sample_size" real, "for" text, "against" text, "undecided" text );
SELECT COUNT("date_of_opinion_poll") FROM "opinion_polls" WHERE "undecided"='25%';
1-20683381-2
When was Quantum Research's poll conducted?
CREATE TABLE "opinion_polls" ( "date_of_opinion_poll" text, "conductor" text, "sample_size" real, "for" text, "against" text, "undecided" text );
SELECT "date_of_opinion_poll" FROM "opinion_polls" WHERE "conductor"='Quantum Research';
1-20683381-2
Who conducted the poll with sample size of 2000 that shows 18% undecided?
CREATE TABLE "opinion_polls" ( "date_of_opinion_poll" text, "conductor" text, "sample_size" real, "for" text, "against" text, "undecided" text );
SELECT "conductor" FROM "opinion_polls" WHERE "undecided"='18%' AND "sample_size"=2000;
1-20683381-2
How tall is the contestant from Ecuador?
CREATE TABLE "official_delegates" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );
SELECT "height_ft" FROM "official_delegates" WHERE "country"='Ecuador';
1-20669355-2
How tall is the contestant from Aruba?
CREATE TABLE "official_delegates" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );
SELECT "height_ft" FROM "official_delegates" WHERE "country"='Aruba';
1-20669355-2
What country is the contestant from San Francisco de Yojoa from?
CREATE TABLE "official_delegates" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );
SELECT "country" FROM "official_delegates" WHERE "hometown"='San Francisco de Yojoa';
1-20669355-2
How many different heights are there for the contestants from Warsaw?
CREATE TABLE "official_delegates" ( "country" text, "contestant" text, "age" real, "height_cm" real, "height_ft" text, "hometown" text );
SELECT COUNT("height_ft") FROM "official_delegates" WHERE "hometown"='Warsaw';
1-20669355-2
What is the total of countys where Obama is popular by 35.44%?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT COUNT("county") FROM "by_county" WHERE "obamapct"='35.44%';
1-20688030-1
What are McCain's Percent when Obama has 36.47%?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT "mc_cainpct" FROM "by_county" WHERE "obamapct"='36.47%';
1-20688030-1
What is McCains percent when Obamas is 39.13%
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT COUNT("mc_cainnum") FROM "by_county" WHERE "obamapct"='39.13%';
1-20688030-1
What is the maximum Obama supporters in Wayne county?
CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real );
SELECT MAX("obamanum") FROM "by_county" WHERE "county"='Wayne';
1-20688030-1
Name th epopulation may for general terrero
CREATE TABLE "barangays_districts" ( "barangay" text, "district" text, "population_may_1_2000" real, "population_august_1_2007" real, "population_may_1_2010" text );
SELECT "population_may_1_2000" FROM "barangays_districts" WHERE "barangay"='General Terrero';
1-2068761-1
Name the total number of district for population may being 478
CREATE TABLE "barangays_districts" ( "barangay" text, "district" text, "population_may_1_2000" real, "population_august_1_2007" real, "population_may_1_2010" text );
SELECT COUNT("district") FROM "barangays_districts" WHERE "population_may_1_2010"='478';
1-2068761-1
Name the population may for cadalusan for population 1423
CREATE TABLE "barangays_districts" ( "barangay" text, "district" text, "population_may_1_2000" real, "population_august_1_2007" real, "population_may_1_2010" text );
SELECT "population_may_1_2010" FROM "barangays_districts" WHERE "district"='CadaLuSan' AND "population_august_1_2007"=1423;
1-2068761-1
What is the season number for Series #23, the Runway Job?
CREATE TABLE "table1_20704243_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT "season_num" FROM "table1_20704243_3" WHERE "series_num"=23;
1-20704243-3
What series was directed by Mark Roskin?
CREATE TABLE "table1_20704243_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT MIN("series_num") FROM "table1_20704243_3" WHERE "directed_by"='Mark Roskin';
1-20704243-3