question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the championship for hard surface 7–5, 6–4
CREATE TABLE "wta_tier_i_19_finals_13_titles_6_runner_" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "championship" FROM "wta_tier_i_19_finals_13_titles_6_runner_" WHERE "score"='7–5, 6–4' AND "surface"='Hard';
1-24638867-6
Name the surface for nathalie tauziat
CREATE TABLE "wta_tier_i_19_finals_13_titles_6_runner_" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "wta_tier_i_19_finals_13_titles_6_runner_" WHERE "partner"='Nathalie Tauziat';
1-24638867-6
Name the most year for money list rank is 74
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" real, "scoring_average" text );
SELECT MAX("year") FROM "lpga_tour_career_summary" WHERE "money_list_rank"=74;
1-24642706-1
Name the team for avg start being 20.5
CREATE TABLE "nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "team_s" FROM "nationwide_series" WHERE "avg_start"='20.5';
1-2463383-2
Name the team for wins being 0 and top 5 is 0 and poles is 0 and avg start is 37.0
CREATE TABLE "nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "team_s" FROM "nationwide_series" WHERE "wins"=0 AND "top_5"=0 AND "poles"=0 AND "avg_start"='37.0';
1-2463383-2
Name the winnings for 23rd position
CREATE TABLE "nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "winnings" FROM "nationwide_series" WHERE "position"='23rd';
1-2463383-2
Name the winnings for 2004
CREATE TABLE "nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "winnings" FROM "nationwide_series" WHERE "year"=2004;
1-2463383-2
Name the total number of top 10 for avg start being 37.3
CREATE TABLE "nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("top_10") FROM "nationwide_series" WHERE "avg_start"='37.3';
1-2463383-2
What was the method of elimination in the chamber with a time of 24:02?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT "method_of_elimination" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='24:02';
1-24628683-2
what is the maximum number that entered when the eliminator was Triple H?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT MAX("entered") FROM "elimination_chamber_entrances_and_elimin" WHERE "eliminated_by"='Triple H';
1-24628683-2
How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT COUNT("wrestler") FROM "elimination_chamber_entrances_and_elimin" WHERE "method_of_elimination"='Pinned after being hit by a lead pipe';
1-24628683-2
What was the method of elimination for Kofi Kingston/
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT "method_of_elimination" FROM "elimination_chamber_entrances_and_elimin" WHERE "wrestler"='Kofi Kingston';
1-24628683-2
What championships were played on clay and the opponent was virginia ruano pascual paola suárez?
CREATE TABLE "grand_slams_11_finals_9_titles_2_runner_" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT "championship" FROM "grand_slams_11_finals_9_titles_2_runner_" WHERE "surface"='Clay' AND "opponent"='Virginia Ruano Pascual Paola Suárez';
1-24638867-4
What championships had a match where Natasha Zvereva played as partner?
CREATE TABLE "grand_slams_11_finals_9_titles_2_runner_" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT "championship" FROM "grand_slams_11_finals_9_titles_2_runner_" WHERE "partner"='Natasha Zvereva';
1-24638867-4
What is the value for model if processor is Kentsfield and brand name is Xeon?
CREATE TABLE "conroe_merom_65_nm" ( "processor" text, "brand_name" text, "model_list" text, "cores" real, "l2_cache" text, "socket" text, "tdp" text );
SELECT "model_list" FROM "conroe_merom_65_nm" WHERE "processor"='Kentsfield' AND "brand_name"='Xeon';
1-2467150-2
What is every value for TDP if model is x53xx?
CREATE TABLE "conroe_merom_65_nm" ( "processor" text, "brand_name" text, "model_list" text, "cores" real, "l2_cache" text, "socket" text, "tdp" text );
SELECT "tdp" FROM "conroe_merom_65_nm" WHERE "model_list"='X53xx';
1-2467150-2
What is every value for cores if TDP is 17 W?
CREATE TABLE "conroe_merom_65_nm" ( "processor" text, "brand_name" text, "model_list" text, "cores" real, "l2_cache" text, "socket" text, "tdp" text );
SELECT "cores" FROM "conroe_merom_65_nm" WHERE "tdp"='17 W';
1-2467150-2
How many records for number of viewers is listed for episode number 8?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" real, "first_air_date" text, "rating_18_49" text, "share_18_49" real, "viewers_millions" text, "rank_timeslot" text, "rank_night" text );
SELECT COUNT("viewers_millions") FROM "u_s_nielsen_ratings" WHERE "episode"=8;
1-24689168-5
What was the 18 to 49 rating when 9.50 million watched?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" real, "first_air_date" text, "rating_18_49" text, "share_18_49" real, "viewers_millions" text, "rank_timeslot" text, "rank_night" text );
SELECT "rating_18_49" FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='9.50';
1-24689168-5
what episode number had 11.73 million viewers?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" real, "first_air_date" text, "rating_18_49" text, "share_18_49" real, "viewers_millions" text, "rank_timeslot" text, "rank_night" text );
SELECT "episode" FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='11.73';
1-24689168-5
How many episodes had 11.47 million viewers?
CREATE TABLE "u_s_nielsen_ratings" ( "episode" real, "first_air_date" text, "rating_18_49" text, "share_18_49" real, "viewers_millions" text, "rank_timeslot" text, "rank_night" text );
SELECT COUNT("episode") FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='11.47';
1-24689168-5
Who wrote the episode that originally aired April 29, 1994?
CREATE TABLE "table1_2468961_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "written_by" FROM "table1_2468961_4" WHERE "original_air_date"='April 29, 1994';
1-2468961-4
What was the production code for the episode that debuted October 1, 1993?
CREATE TABLE "table1_2468961_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT MAX("production_code") FROM "table1_2468961_4" WHERE "original_air_date"='October 1, 1993';
1-2468961-4
Who wrote the episode "Sister Act"?
CREATE TABLE "table1_2468961_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "written_by" FROM "table1_2468961_4" WHERE "title"='\"Sister Act\"';
1-2468961-4
What was the title of series number 56?
CREATE TABLE "table1_2468961_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "title" FROM "table1_2468961_4" WHERE "no_in_series"=56;
1-2468961-4
What was the title of the episode written by Julia Newton in series 48?
CREATE TABLE "table1_2468961_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "title" FROM "table1_2468961_4" WHERE "written_by"='Julia Newton' AND "no_in_series"=48;
1-2468961-4
What is the callsign that has a station type of relay and a channel number of TV-2?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "callsign" FROM "ptv_stations_nationwide" WHERE "station_type"='Relay' AND "ch_num"='TV-2';
1-24673888-1
What is the station type of DWZM-TV?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "station_type" FROM "ptv_stations_nationwide" WHERE "callsign"='DWZM-TV';
1-24673888-1
What is the power in kilowatts of TV-12?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "power_k_w" FROM "ptv_stations_nationwide" WHERE "ch_num"='TV-12';
1-24673888-1
What is the power in KW of the transmitter situated in Borongan?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "power_k_w" FROM "ptv_stations_nationwide" WHERE "location_transmitter_site"='Borongan';
1-24673888-1
What is the channel number that has a branding of PTV 4 Laoag?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "ch_num" FROM "ptv_stations_nationwide" WHERE "branding"='PTV 4 Laoag';
1-24673888-1
What is the power in KW that has a station type of relay and a callsign of DXCL-TV?
CREATE TABLE "ptv_stations_nationwide" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text );
SELECT "power_k_w" FROM "ptv_stations_nationwide" WHERE "station_type"='Relay' AND "callsign"='DXCL-TV';
1-24673888-1
When 15 is the number in season what is the highest number in series?
CREATE TABLE "table1_2468961_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT MAX("no_in_series") FROM "table1_2468961_7" WHERE "no_in_season"=15;
1-2468961-7
When 123 is the number in series who is the director?
CREATE TABLE "table1_2468961_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "directed_by" FROM "table1_2468961_7" WHERE "no_in_series"=123;
1-2468961-7
When "the kissing game" is the title who is the director?
CREATE TABLE "table1_2468961_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "directed_by" FROM "table1_2468961_7" WHERE "title"='\"The Kissing Game\"';
1-2468961-7
When 120 is the number in series who is the writer?
CREATE TABLE "table1_2468961_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "written_by" FROM "table1_2468961_7" WHERE "no_in_series"=120;
1-2468961-7
When 137 is the number in series what is the production code?
CREATE TABLE "table1_2468961_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "production_code" FROM "table1_2468961_7" WHERE "no_in_series"=137;
1-2468961-7
How many victors where there in the War of 1730–1736 , first stage?
CREATE TABLE "table1_24706337_1" ( "name_of_the_war" text, "ottoman_sultan" text, "persian_shah" text, "treaty_at_the_end_of_the_war" text, "victor" text );
SELECT COUNT("victor") FROM "table1_24706337_1" WHERE "name_of_the_war"='War of 1730–1736 , first stage';
1-24706337-1
Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?
CREATE TABLE "table1_24706337_1" ( "name_of_the_war" text, "ottoman_sultan" text, "persian_shah" text, "treaty_at_the_end_of_the_war" text, "victor" text );
SELECT "ottoman_sultan" FROM "table1_24706337_1" WHERE "treaty_at_the_end_of_the_war"='Treaty of Constantinople (1590)';
1-24706337-1
What is the name of the war where the Ottoman sultan was Selim I?
CREATE TABLE "table1_24706337_1" ( "name_of_the_war" text, "ottoman_sultan" text, "persian_shah" text, "treaty_at_the_end_of_the_war" text, "victor" text );
SELECT "name_of_the_war" FROM "table1_24706337_1" WHERE "ottoman_sultan"='Selim I';
1-24706337-1
When "baby come back" is the title what is the air date?
CREATE TABLE "table1_2468961_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_2468961_6" WHERE "title"='\"Baby Come Back\"';
1-2468961-6
When 102 is the number in series who is the director?
CREATE TABLE "table1_2468961_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "directed_by" FROM "table1_2468961_6" WHERE "no_in_series"=102;
1-2468961-6
When "we're going to disney world (part 1)" is the title what is the air date?
CREATE TABLE "table1_2468961_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_2468961_6" WHERE "title"='\"We''re Going to Disney World (Part 1)\"';
1-2468961-6
Name who wrote the episode directed by patrick duffy airing on november 7, 1997
CREATE TABLE "table1_2468961_8" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "written_by" FROM "table1_2468961_8" WHERE "directed_by"='Patrick Duffy' AND "original_air_date"='November 7, 1997';
1-2468961-8
What is the last year total for the team with a lowest of 23578?
CREATE TABLE "match_attendance" ( "team" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" real, "up_down" text );
SELECT MAX("last_year") FROM "match_attendance" WHERE "lowest"=23578;
1-2472711-31
How many highest figures for the team with lowest of 16415?
CREATE TABLE "match_attendance" ( "team" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" real, "up_down" text );
SELECT COUNT("highest") FROM "match_attendance" WHERE "lowest"=16415;
1-2472711-31
Which team has an up/down of + 3479?
CREATE TABLE "match_attendance" ( "team" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" real, "up_down" text );
SELECT "team" FROM "match_attendance" WHERE "up_down"='+ 3479';
1-2472711-31
What is the average of the team where the total is 243017?
CREATE TABLE "match_attendance" ( "team" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" real, "up_down" text );
SELECT "average" FROM "match_attendance" WHERE "total"=243017;
1-2472711-31
How many episodes had celebrity guest stars Frank Skinner and Lee Mack?
CREATE TABLE "table1_24725951_1" ( "episode" real, "stage" text, "celebrities" text, "directed_and_produced_by" text, "original_airdate" text, "viewers_overnight_estimates" text );
SELECT COUNT("episode") FROM "table1_24725951_1" WHERE "celebrities"='Frank Skinner and Lee Mack';
1-24725951-1
List episode directed and produced by Karen Selway?
CREATE TABLE "table1_24725951_1" ( "episode" real, "stage" text, "celebrities" text, "directed_and_produced_by" text, "original_airdate" text, "viewers_overnight_estimates" text );
SELECT "episode" FROM "table1_24725951_1" WHERE "directed_and_produced_by"='Karen Selway';
1-24725951-1
Which episode had celebrities Nick Hewer and Saira Khan in them?
CREATE TABLE "table1_24725951_1" ( "episode" real, "stage" text, "celebrities" text, "directed_and_produced_by" text, "original_airdate" text, "viewers_overnight_estimates" text );
SELECT "episode" FROM "table1_24725951_1" WHERE "celebrities"='Nick Hewer and Saira Khan';
1-24725951-1
List the director and producer when Nick Hewer and Saira Khan were starring.
CREATE TABLE "table1_24725951_1" ( "episode" real, "stage" text, "celebrities" text, "directed_and_produced_by" text, "original_airdate" text, "viewers_overnight_estimates" text );
SELECT "directed_and_produced_by" FROM "table1_24725951_1" WHERE "celebrities"='Nick Hewer and Saira Khan';
1-24725951-1
List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.
CREATE TABLE "table1_24725951_1" ( "episode" real, "stage" text, "celebrities" text, "directed_and_produced_by" text, "original_airdate" text, "viewers_overnight_estimates" text );
SELECT "directed_and_produced_by" FROM "table1_24725951_1" WHERE "celebrities"='Bill Turnbull and Louise Minchin';
1-24725951-1
when 0–100km/h (60mph) is 5.8 seconds (5.5), what is the torque?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "torque" FROM "981" WHERE "0_100km_h_60mph"='5.8 seconds (5.5)';
1-24729-2
whe, co2 is 206g/km, what is the torque?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "torque" FROM "981" WHERE "co2"='206g/km';
1-24729-2
when co2 is 192g/km, what is the power?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "power" FROM "981" WHERE "co2"='192g/km';
1-24729-2
when co2 is 192g/km, what is the power?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "power" FROM "981" WHERE "co2"='192g/km';
1-24729-2
when 0–100km/h (60mph) is 5.8 seconds (5.5), what is the engine?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "engine" FROM "981" WHERE "0_100km_h_60mph"='5.8 seconds (5.5)';
1-24729-2
when0–100km/h (60mph) is 5.5 seconds (5.2), whats is the top speed?
CREATE TABLE "981" ( "year" real, "engine" text, "power" text, "torque" text, "transmission" text, "0_100km_h_60mph" text, "top_speed" text, "co2" text );
SELECT "top_speed" FROM "981" WHERE "0_100km_h_60mph"='5.5 seconds (5.2)';
1-24729-2
What is the circuit of round 5?
CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT "circuit" FROM "race_calendar_and_results" WHERE "round"=5;
1-24732149-2
What date did Mike Rockenfeller have the fastest lap?
CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT "date" FROM "race_calendar_and_results" WHERE "fastest_lap"='Mike Rockenfeller';
1-24732149-2
How many points for the driver who raced in seasons 2006 – 2007 , 2009?
CREATE TABLE "by_name" ( "name" text, "nation" text, "seasons" text, "championship_titles" text, "races_starts" text, "poles" real, "wins" real, "podiums" real, "fastest_laps" real, "points" text );
SELECT "points" FROM "by_name" WHERE "seasons"='2006 – 2007 , 2009';
1-24735155-1
What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?
CREATE TABLE "2010" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );
SELECT "competition" FROM "2010" WHERE "vote_percentage"='N/A' AND "nationality"='Brazil';
1-24765815-2
What's the player's name whose nationality and team are Netherlands?
CREATE TABLE "2010" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );
SELECT "player" FROM "2010" WHERE "nationality"='Netherlands' AND "team"='Netherlands';
1-24765815-2
What was the score for the game in which Samir Nasri played?
CREATE TABLE "2010" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );
SELECT "score" FROM "2010" WHERE "player"='Samir Nasri';
1-24765815-2
Who is the player that played in the UEFA Euro 2012 qualifying Group A competition?
CREATE TABLE "2010" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );
SELECT "player" FROM "2010" WHERE "competition"='UEFA Euro 2012 qualifying Group A';
1-24765815-2
What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
CREATE TABLE "2010" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );
SELECT "rank" FROM "2010" WHERE "competition"='UEFA Euro 2012 qualifying Group A';
1-24765815-2
Name the production for alpina model being b10 4,6
CREATE TABLE "alpina_previous_models_petrol_engines" ( "alpina_model" text, "bmw_donor_model" text, "alpina_engine" text, "power" text, "torque" text, "production" text );
SELECT "production" FROM "alpina_previous_models_petrol_engines" WHERE "alpina_model"='B10 4,6';
1-2477085-1
How many final score datas are there on Sunday, May 12?
CREATE TABLE "table1_24776075_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT COUNT("final_score") FROM "table1_24776075_2" WHERE "date"='Sunday, May 12';
1-24776075-2
The game on Saturday, May 25 took place on which week?
CREATE TABLE "table1_24776075_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT MIN("week") FROM "table1_24776075_2" WHERE "date"='Saturday, May 25';
1-24776075-2
What was the final score on Saturday, May 25?
CREATE TABLE "table1_24776075_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "final_score" FROM "table1_24776075_2" WHERE "date"='Saturday, May 25';
1-24776075-2
When 10 is the number who is the writer?
CREATE TABLE "table1_24781886_2" ( "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT "writer_s" FROM "table1_24781886_2" WHERE "num"=10;
1-24781886-2
When 6.66 is the amount of viewers what is the lowest production code?
CREATE TABLE "table1_24781886_2" ( "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT MIN("production_code") FROM "table1_24781886_2" WHERE "viewers"='6.66';
1-24781886-2
When 7.55 is the amount of viewers what is the lowest number?
CREATE TABLE "table1_24781886_2" ( "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT MIN("num") FROM "table1_24781886_2" WHERE "viewers"='7.55';
1-24781886-2
How many figures are given for the New Democratic for the polling range May 11–31, 2010?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "progressive_conservative" real, "liberal" real, "new_democratic" real );
SELECT COUNT("new_democratic") FROM "opinion_polls" WHERE "date_of_polling"='May 11–31, 2010';
1-24778847-2
What format is the link for the polling data for February 10–28, 2011?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "progressive_conservative" real, "liberal" real, "new_democratic" real );
SELECT "link" FROM "opinion_polls" WHERE "date_of_polling"='February 10–28, 2011';
1-24778847-2
When "gary is a boat guy" is the title how many sets of viewers are there?
CREATE TABLE "table1_24781886_3" ( "total" real, "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT COUNT("viewers") FROM "table1_24781886_3" WHERE "title"='\"Gary Is A Boat Guy\"';
1-24781886-3
When 9 is the number what is the title?
CREATE TABLE "table1_24781886_3" ( "total" real, "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT "title" FROM "table1_24781886_3" WHERE "num"=9;
1-24781886-3
When 3 is the number what is the highest total?
CREATE TABLE "table1_24781886_3" ( "total" real, "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT MAX("total") FROM "table1_24781886_3" WHERE "num"=3;
1-24781886-3
When 7.08 is the amount of viewers what is the air date?
CREATE TABLE "table1_24781886_3" ( "total" real, "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT "air_date" FROM "table1_24781886_3" WHERE "viewers"='7.08';
1-24781886-3
When 7.08 is the amount of viewers how many directors are there?
CREATE TABLE "table1_24781886_3" ( "total" real, "num" real, "title" text, "director" text, "writer_s" text, "viewers" text, "air_date" text, "production_code" real );
SELECT COUNT("director") FROM "table1_24781886_3" WHERE "viewers"='7.08';
1-24781886-3
What location did the episode that aired originally on August 26, 2009 take place at?
CREATE TABLE "table1_24798489_2" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );
SELECT "location" FROM "table1_24798489_2" WHERE "original_airdate"='August 26, 2009';
1-24798489-2
How many dates originally aired episodes located in Philadelphia, pennsylvania?
CREATE TABLE "table1_24798489_2" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );
SELECT COUNT("original_airdate") FROM "table1_24798489_2" WHERE "location"='Philadelphia, Pennsylvania';
1-24798489-2
What was the challenge for episode 28?
CREATE TABLE "table1_24798489_2" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );
SELECT "challenge" FROM "table1_24798489_2" WHERE "episode_number"=28;
1-24798489-2
How many original air dates were there for episode 22?
CREATE TABLE "table1_24798489_2" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );
SELECT COUNT("original_airdate") FROM "table1_24798489_2" WHERE "episode_number"=22;
1-24798489-2
What was the lowest goals ever achieved?
CREATE TABLE "playoff_statistics" ( "name" text, "nationality" text, "position" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );
SELECT MIN("goals") FROM "playoff_statistics";
1-24807406-3
how many arabic scottish is afghan
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT "afghan" FROM "language_program" WHERE "arabic"='Scottish';
1-24807774-1
how many bosnian in cook islands is macedonian
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT COUNT("cook_islands") FROM "language_program" WHERE "bosnian"='Macedonian';
1-24807774-1
how many colombia in bangladesh is serbian
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT "colombian" FROM "language_program" WHERE "bangladeshi"='Serbian';
1-24807774-1
how many arabic in colobians is finnish
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT "arabic" FROM "language_program" WHERE "colombian"='Finnish';
1-24807774-1
how many bosnian in cook islands is sri lankan
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT "bosnian" FROM "language_program" WHERE "cook_islands"='Sri Lankan';
1-24807774-1
how many afghan in banglash is hungarian
CREATE TABLE "language_program" ( "afghan" text, "albanian" text, "arabic" text, "bangladeshi" text, "bosnian" text, "chinese" text, "colombian" text, "cook_islands" text );
SELECT "afghan" FROM "language_program" WHERE "bangladeshi"='Hungarian';
1-24807774-1
What is the name if the appearance is 2 and the position is FW?
CREATE TABLE "all_time_statistics" ( "name" text, "nationality" text, "position" text, "sky_blue_fc_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );
SELECT "name" FROM "all_time_statistics" WHERE "position"='FW' AND "appearances"=2;
1-24807406-1
What is the assists total number if the minutes is 1?
CREATE TABLE "all_time_statistics" ( "name" text, "nationality" text, "position" text, "sky_blue_fc_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );
SELECT COUNT("assists") FROM "all_time_statistics" WHERE "minutes"=1;
1-24807406-1
What is the appearance maximum if the starts is 18?
CREATE TABLE "all_time_statistics" ( "name" text, "nationality" text, "position" text, "sky_blue_fc_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );
SELECT MAX("appearances") FROM "all_time_statistics" WHERE "starts"=18;
1-24807406-1
What are the names of all the players with an average of 15.89?
CREATE TABLE "table1_2482547_5" ( "name" text, "team_s" text, "matches" real, "balls_bowled" real, "wickets_taken" real, "average" text );
SELECT "name" FROM "table1_2482547_5" WHERE "average"='15.89';
1-2482547-5
What's the maximum wickets taken by players named Bill Lockwood?
CREATE TABLE "table1_2482547_5" ( "name" text, "team_s" text, "matches" real, "balls_bowled" real, "wickets_taken" real, "average" text );
SELECT MAX("wickets_taken") FROM "table1_2482547_5" WHERE "name"='Bill Lockwood';
1-2482547-5
What are all the teams with an average of 15.89?
CREATE TABLE "table1_2482547_5" ( "name" text, "team_s" text, "matches" real, "balls_bowled" real, "wickets_taken" real, "average" text );
SELECT "team_s" FROM "table1_2482547_5" WHERE "average"='15.89';
1-2482547-5
Who are all the players who've bowled more than 4969 balls?
CREATE TABLE "table1_2482547_5" ( "name" text, "team_s" text, "matches" real, "balls_bowled" real, "wickets_taken" real, "average" text );
SELECT "name" FROM "table1_2482547_5" WHERE "balls_bowled"=4969;
1-2482547-5
What are the averages for games with 212 wickets taken?
CREATE TABLE "table1_2482547_5" ( "name" text, "team_s" text, "matches" real, "balls_bowled" real, "wickets_taken" real, "average" text );
SELECT "average" FROM "table1_2482547_5" WHERE "wickets_taken"=212;
1-2482547-5