question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Where was the 2011-2012 soccer state tournament held?
CREATE TABLE "girls" ( "season" text, "sport" text, "tournament_structure" text, "num_of_divisions" real, "1st_tournament" real, "2011_2012_state_tournament_location" text );
SELECT "2011_2012_state_tournament_location" FROM "girls" WHERE "sport"='Soccer';
1-2849652-2
How many first tournaments are associated with bowling?
CREATE TABLE "girls" ( "season" text, "sport" text, "tournament_structure" text, "num_of_divisions" real, "1st_tournament" real, "2011_2012_state_tournament_location" text );
SELECT COUNT("1st_tournament") FROM "girls" WHERE "sport"='Bowling';
1-2849652-2
How many times is the player vaughn taylor listed?
CREATE TABLE "table1_28498999_3" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT COUNT("before") FROM "table1_28498999_3" WHERE "player"='Vaughn Taylor';
1-28498999-3
What is the lowest after when the player is adam scott?
CREATE TABLE "table1_28498999_3" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT MIN("after") FROM "table1_28498999_3" WHERE "player"='Adam Scott';
1-28498999-3
What is the country for the score 72-63-71-68=274?
CREATE TABLE "table1_28498999_3" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "country" FROM "table1_28498999_3" WHERE "score"='72-63-71-68=274';
1-28498999-3
What is the after for the player kevin streelman?
CREATE TABLE "table1_28498999_3" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "after" FROM "table1_28498999_3" WHERE "player"='Kevin Streelman';
1-28498999-3
What is the to par when the after is 33?
CREATE TABLE "table1_28498999_3" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "to_par" FROM "table1_28498999_3" WHERE "after"=33;
1-28498999-3
What country is charley hoffman from?
CREATE TABLE "table1_28498999_4" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "country" FROM "table1_28498999_4" WHERE "player"='Charley Hoffman';
1-28498999-4
What is the before for the score of 63-67-66-71=267?
CREATE TABLE "table1_28498999_4" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT MIN("before") FROM "table1_28498999_4" WHERE "score"='63-67-66-71=267';
1-28498999-4
What is the to par for the winnings of 232500?
CREATE TABLE "table1_28498999_4" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "to_par" FROM "table1_28498999_4" WHERE "winnings"=232500;
1-28498999-4
What were the winnings for the score of 66-64-67-71=268?
CREATE TABLE "table1_28498999_4" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT "winnings" FROM "table1_28498999_4" WHERE "score"='66-64-67-71=268';
1-28498999-4
What is the after for geoff ogilvy?
CREATE TABLE "table1_28498999_4" ( "num" text, "player" text, "country" text, "score" text, "to_par" text, "winnings" real, "after" real, "before" real );
SELECT MAX("after") FROM "table1_28498999_4" WHERE "player"='Geoff Ogilvy';
1-28498999-4
what is the most number where the person is luke donald
CREATE TABLE "reset_points" ( "num" real, "player" text, "country" text, "points" real, "reset_points" real, "events" real );
SELECT MAX("reset_points") FROM "reset_points" WHERE "player"='Luke Donald';
1-28498999-6
what is the place where the person is luke donald
CREATE TABLE "reset_points" ( "num" real, "player" text, "country" text, "points" real, "reset_points" real, "events" real );
SELECT "country" FROM "reset_points" WHERE "player"='Luke Donald';
1-28498999-6
what is the person there the numbers is 2343
CREATE TABLE "reset_points" ( "num" real, "player" text, "country" text, "points" real, "reset_points" real, "events" real );
SELECT "player" FROM "reset_points" WHERE "points"=2343;
1-28498999-6
what is the number of pieces where the person is charley hoffman
CREATE TABLE "reset_points" ( "num" real, "player" text, "country" text, "points" real, "reset_points" real, "events" real );
SELECT COUNT("reset_points") FROM "reset_points" WHERE "player"='Charley Hoffman';
1-28498999-6
what is the number of people where the pieces is 3015
CREATE TABLE "reset_points" ( "num" real, "player" text, "country" text, "points" real, "reset_points" real, "events" real );
SELECT COUNT("player") FROM "reset_points" WHERE "points"=3015;
1-28498999-6
Which team drafted Ron Annear?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_ten" WHERE "player"='Ron Annear';
1-2850912-10
Which team drafted Joakim Persson?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_ten" WHERE "player"='Joakim Persson';
1-2850912-10
Which team drafted a player from HC Slavia Praha (Czechoslovakia)?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_ten" WHERE "college_junior_club_team"='HC Slavia Praha (Czechoslovakia)';
1-2850912-10
Which player was drafted by the New York Rangers?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_ten" WHERE "nhl_team"='New York Rangers';
1-2850912-10
Which team drafted Michael Orn?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_ten" WHERE "player"='Michael Orn';
1-2850912-10
What position was the player who was drafted by the Washington Capitals?
CREATE TABLE "round_ten" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_ten" WHERE "nhl_team"='Washington Capitals';
1-2850912-10
What is Timo Lehkonen's highest pick number?
CREATE TABLE "round_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT MAX("pick_num") FROM "round_five" WHERE "player"='Timo Lehkonen';
1-2850912-5
What college/junior/club team played right wing position with NHL team Chicago Black Hawks?
CREATE TABLE "round_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_five" WHERE "position"='Right Wing' AND "nhl_team"='Chicago Black Hawks';
1-2850912-5
How many college/junior/club teams are from Sweden?
CREATE TABLE "round_five" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("college_junior_club_team") FROM "round_five" WHERE "nationality"='Sweden';
1-2850912-5
What is Robert Dirk's nationality?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nationality" FROM "round_three" WHERE "player"='Robert Dirk';
1-2850912-3
What country is Trent Yawney from?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nationality" FROM "round_three" WHERE "player"='Trent Yawney';
1-2850912-3
What is Michal Pivonka's pick number?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("pick_num") FROM "round_three" WHERE "player"='Michal Pivonka';
1-2850912-3
Which team did David McLay play for?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_three" WHERE "player"='David McLay';
1-2850912-3
What is Robert Dirk's team?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_three" WHERE "player"='Robert Dirk';
1-2850912-3
What is Graeme Bonar's lowest pick number?
CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT MIN("pick_num") FROM "round_three" WHERE "player"='Graeme Bonar';
1-2850912-3
where did glenn greenough come from
CREATE TABLE "round_eight" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_eight" WHERE "player"='Glenn Greenough';
1-2850912-8
how many parts does detroit red wings person urban nordin play
CREATE TABLE "round_eight" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("position") FROM "round_eight" WHERE "nhl_team"='Detroit Red Wings' AND "player"='Urban Nordin';
1-2850912-8
What is the affiliation of the school with the website http://www.nicholasbreakspearschool.co.uk/?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "religious_affiliation" FROM "state_schools" WHERE "school_website"='http://www.nicholasbreakspearschool.co.uk/';
1-28523-3
What is the gender of the Roman Catholic school is AL4?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "gender" FROM "state_schools" WHERE "religious_affiliation"='Roman Catholic' AND "location"='AL4';
1-28523-3
What is the gender of the school which has the website http://www.nicholasbreakspearschool.co.uk/?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "gender" FROM "state_schools" WHERE "school_website"='http://www.nicholasbreakspearschool.co.uk/';
1-28523-3
What is the affiliation of the school with website http://www.townsend.herts.sch.uk/?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "religious_affiliation" FROM "state_schools" WHERE "school_website"='http://www.townsend.herts.sch.uk/';
1-28523-3
What is the affiliation of the school whose website is http://www.samuelryderacademy.co.uk/?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "religious_affiliation" FROM "state_schools" WHERE "school_website"='http://www.samuelryderacademy.co.uk/';
1-28523-3
What is the website of the school affiliated with the Church of England?
CREATE TABLE "state_schools" ( "school" text, "gender" text, "age_range" text, "religious_affiliation" text, "location" text, "school_website" text );
SELECT "school_website" FROM "state_schools" WHERE "religious_affiliation"='Church of England';
1-28523-3
What nationality is listed when the college/junior/club team is oshawa generals (ohl)?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nationality" FROM "round_seven" WHERE "college_junior_club_team"='Oshawa Generals (OHL)';
1-2850912-7
What is the name of the player when the college/junior/club team is new westminster bruins (whl)?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_seven" WHERE "college_junior_club_team"='New Westminster Bruins (WHL)';
1-2850912-7
How many college/junior/club teams are ther when nhl team is edmonton oilers?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("college_junior_club_team") FROM "round_seven" WHERE "nhl_team"='Edmonton Oilers';
1-2850912-7
What is the postion when the nhl team is los angeles kings?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_seven" WHERE "nhl_team"='Los Angeles Kings';
1-2850912-7
How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("nhl_team") FROM "round_seven" WHERE "college_junior_club_team"='Newton North High School (USHS-MA)';
1-2850912-7
What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.?
CREATE TABLE "table1_28511558_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date_u_s" text, "original_air_date_international" text );
SELECT "original_air_date_u_s" FROM "table1_28511558_2" WHERE "directed_by"='Victor Cook' AND "written_by"='Brat Jennett';
1-28511558-2
What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.?
CREATE TABLE "table1_28511558_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date_u_s" text, "original_air_date_international" text );
SELECT "original_air_date_u_s" FROM "table1_28511558_2" WHERE "directed_by"='Curt Geda' AND "written_by"='Mitch Watson';
1-28511558-2
When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text );
SELECT "mountains_classification" FROM "classification_leadership" WHERE "general_classification"='Alberto Contador Kanstantsin Sivtsov' AND "points_classification"='Alessandro Petacchi' AND "winner"='Mark Cavendish';
1-28538368-2
Who was the young rider classification when Alessandro Petacchi won?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text );
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Alessandro Petacchi';
1-28538368-2
Who was the young rider classification when Diego Ulissi won?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text );
SELECT COUNT("young_rider_classification") FROM "classification_leadership" WHERE "winner"='Diego Ulissi';
1-28538368-2
What is the name of the young rider classification when Paolo Tiralongo won?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text );
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Paolo Tiralongo';
1-28538368-2
What's the version in the 1.0.4 release?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT "version" FROM "version_history" WHERE "release"='1.0.4';
1-28540539-2
What's the release date in the 1.1.10 release?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT "release_date" FROM "version_history" WHERE "release"='1.1.10';
1-28540539-2
When's the end of maintenance in the august 11, 2013 release date?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT "end_of_maintenance" FROM "version_history" WHERE "release_date"='August 11, 2013';
1-28540539-2
What's the version of the 1.0.12 release?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT "version" FROM "version_history" WHERE "release"='1.0.12';
1-28540539-2
What's the number of the 1.0.9 release version?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT COUNT("version") FROM "version_history" WHERE "release"='1.0.9';
1-28540539-2
What's the number of the 1.0.12 release version?
CREATE TABLE "version_history" ( "version" text, "release" text, "release_date" text, "end_of_maintenance" text, "requirement" text );
SELECT COUNT("version") FROM "version_history" WHERE "release"='1.0.12';
1-28540539-2
What is the event 3 africa stone result for the man with an 1= (11 reps) event 2 squat lift result and a 3= (5 reps) event 4 overhead lift i result?
CREATE TABLE "heat_4" ( "position" text, "name" text, "nationality" text, "event_1_giant_farmers_walk" text, "event_2_squat_lift" text, "event_3_africa_stone" text, "event_4_overhead_lift" text, "event_5_deadlift_hold" text, "event_6_loading_race" text );
SELECT "event_3_africa_stone" FROM "heat_4" WHERE "event_2_squat_lift"='1= (11 reps)' AND "event_4_overhead_lift"='3= (5 reps)';
1-28540428-5
For how many series were there 11.84 million watchers?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "no_in_series" FROM "table1_28561455_1" WHERE "u_s_viewers_million"='11.84';
1-28561455-1
What's the smallest season number?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT MIN("no_in_season") FROM "table1_28561455_1";
1-28561455-1
How many people watched the episode "bad girls"?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_28561455_1" WHERE "title"='\"Bad Girls\"';
1-28561455-1
Who wrote the episodes that were directed by Peter O'Fallon?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_28561455_1" WHERE "directed_by"='Peter O''Fallon';
1-28561455-1
What was the latest episode number that Meredith Averill wrote?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT MAX("no_in_series") FROM "table1_28561455_1" WHERE "written_by"='Meredith Averill';
1-28561455-1
What is the latest episode number that was directed by Tom Dicillo?
CREATE TABLE "table1_28561455_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT MAX("no_in_series") FROM "table1_28561455_1" WHERE "directed_by"='Tom DiCillo';
1-28561455-1
How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?
CREATE TABLE "regional_championship" ( "year" real, "austria" text, "belgium" text, "england" text, "germany" text, "italy" text, "netherlands" text, "saudi_arabia" text, "spain" text, "united_arab_emirates" text );
SELECT COUNT("germany") FROM "regional_championship" WHERE "italy"='Naples LL Naples' AND "england"='London Area Youth London';
1-28562675-3
What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels?
CREATE TABLE "regional_championship" ( "year" real, "austria" text, "belgium" text, "england" text, "germany" text, "italy" text, "netherlands" text, "saudi_arabia" text, "spain" text, "united_arab_emirates" text );
SELECT "austria" FROM "regional_championship" WHERE "netherlands"='Brunssum/Schinnen LL Brunssum' AND "belgium"='SHAPE and Waterloo LL Brussels';
1-28562675-3
How many times has the 100s record been 1?
CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "highest_score" real, "100s" real, "50s" real );
SELECT COUNT("highest_score") FROM "batting_averages" WHERE "100s"=1;
1-28547332-4
What is the maximum number of matches in a game?
CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "highest_score" real, "100s" real, "50s" real );
SELECT MAX("matches") FROM "batting_averages";
1-28547332-4
What is the highest score in those games where the average is 9.88?
CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "highest_score" real, "100s" real, "50s" real );
SELECT MIN("highest_score") FROM "batting_averages" WHERE "average"='9.88';
1-28547332-4
What digital channel corresponds to virtual channel 23.2?
CREATE TABLE "broadcast" ( "callsign" text, "city_of_license" text, "virtual_channel" text, "digital_channel" text, "network" text );
SELECT "digital_channel" FROM "broadcast" WHERE "virtual_channel"='23.2';
1-2857352-3
What digital channel corresponds to virtual channel 5.2?
CREATE TABLE "broadcast" ( "callsign" text, "city_of_license" text, "virtual_channel" text, "digital_channel" text, "network" text );
SELECT "digital_channel" FROM "broadcast" WHERE "virtual_channel"='5.2';
1-2857352-3
What network airs on virtual channel 23.1?
CREATE TABLE "broadcast" ( "callsign" text, "city_of_license" text, "virtual_channel" text, "digital_channel" text, "network" text );
SELECT "network" FROM "broadcast" WHERE "virtual_channel"='23.1';
1-2857352-3
How many networks run on virtual channel 23.4?
CREATE TABLE "broadcast" ( "callsign" text, "city_of_license" text, "virtual_channel" text, "digital_channel" text, "network" text );
SELECT COUNT("network") FROM "broadcast" WHERE "virtual_channel"='23.4';
1-2857352-3
What city licensed the broadcast on virtual channel 8.2?
CREATE TABLE "broadcast" ( "callsign" text, "city_of_license" text, "virtual_channel" text, "digital_channel" text, "network" text );
SELECT "city_of_license" FROM "broadcast" WHERE "virtual_channel"='8.2';
1-2857352-3
What was the title of the episode with production code 2J5515?
CREATE TABLE "table1_28582091_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "title" FROM "table1_28582091_2" WHERE "production_code"='2J5515';
1-28582091-2
What is the 2007/08number when the 2010/11 is 1,633.6?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2007_08" FROM "table1_28578233_1" WHERE "2010_11"='1,633.6';
1-28578233-1
When 2007/08 is 6,443.8 what is ime exchange (including spot, credit and forward transactions)?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "ime_exchange_including_spot_credit_and_forward_transactions" FROM "table1_28578233_1" WHERE "2007_08"='6,443.8';
1-28578233-1
When ime exchange (including spot, credit and forward transactions) is agricultural - volume (thousand tons) what is 2008/09?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2008_09" FROM "table1_28578233_1" WHERE "ime_exchange_including_spot_credit_and_forward_transactions"='Agricultural - Volume (thousand tons)';
1-28578233-1
When ime exchange (including spot, credit and forward transactions) is oil products - value (billion rials) what is the 2008/09 number?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT COUNT("2008_09") FROM "table1_28578233_1" WHERE "ime_exchange_including_spot_credit_and_forward_transactions"='Oil Products - Value (billion rials)';
1-28578233-1
What is the 2010/11 number when the 2007/08 is 772.6?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2010_11" FROM "table1_28578233_1" WHERE "2007_08"='772.6';
1-28578233-1
When the ime exchange (including spot, credit and forward transactions) is agricultural - value (billion rials ) what is 2010/11?
CREATE TABLE "table1_28578233_1" ( "ime_exchange_including_spot_credit_and_forward_transactions" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2010_11" FROM "table1_28578233_1" WHERE "ime_exchange_including_spot_credit_and_forward_transactions"='Agricultural - Value (billion rials )';
1-28578233-1
Name the chassis for ludwig fischer
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "chassis" FROM "entries" WHERE "driver"='Ludwig Fischer';
1-28578594-1
Name the entrant for bruno sterzi
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "entrant" FROM "entries" WHERE "driver"='Bruno Sterzi';
1-28578594-1
Name the least number for nello pagani
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT MIN("no") FROM "entries" WHERE "driver"='Nello Pagani';
1-28578594-1
What is the largest number of consecutive starts for jason gildon?
CREATE TABLE "linebackers" ( "position" text, "player" text, "period" text, "teams" text, "consecutive_starts" real, "playoffs" real, "total" real );
SELECT MAX("consecutive_starts") FROM "linebackers" WHERE "player"='Jason Gildon';
1-28606933-7
What team(s) had 120 consecutive starts?
CREATE TABLE "linebackers" ( "position" text, "player" text, "period" text, "teams" text, "consecutive_starts" real, "playoffs" real, "total" real );
SELECT "teams" FROM "linebackers" WHERE "consecutive_starts"=120;
1-28606933-7
What period(s) featured a left inside linebacker?
CREATE TABLE "linebackers" ( "position" text, "player" text, "period" text, "teams" text, "consecutive_starts" real, "playoffs" real, "total" real );
SELECT "period" FROM "linebackers" WHERE "position"='Left inside linebacker';
1-28606933-7
How many consecutive starts for the linebacker who played from 9/21/1975 – 12/16/1984?
CREATE TABLE "linebackers" ( "position" text, "player" text, "period" text, "teams" text, "consecutive_starts" real, "playoffs" real, "total" real );
SELECT MAX("total") FROM "linebackers" WHERE "period"='9/21/1975 – 12/16/1984';
1-28606933-7
What episode is "Standoff"?
CREATE TABLE "table1_28611413_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_no" real, "viewers_millions" text );
SELECT "no_in_series" FROM "table1_28611413_2" WHERE "title"='\"Standoff\"';
1-28611413-2
What is the title of the episode written by Frank Military?
CREATE TABLE "table1_28611413_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_no" real, "viewers_millions" text );
SELECT "title" FROM "table1_28611413_2" WHERE "written_by"='Frank Military';
1-28611413-2
How many seasons had 16.15 million viewers?
CREATE TABLE "table1_28611413_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_no" real, "viewers_millions" text );
SELECT COUNT("no_in_series") FROM "table1_28611413_2" WHERE "viewers_millions"='16.15';
1-28611413-2
What is air date of the episode directed by John P. Kousakis?
CREATE TABLE "table1_28611413_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_no" real, "viewers_millions" text );
SELECT "original_air_date" FROM "table1_28611413_2" WHERE "directed_by"='John P. Kousakis';
1-28611413-2
Who was the player when totals were 105-161?
CREATE TABLE "entire_conference" ( "category" text, "player" text, "team" text, "games_played" real, "totals" text, "average" text );
SELECT "player" FROM "entire_conference" WHERE "totals"='105-161';
1-28628309-6
How many items appear in the average column when the totals were 105-161?
CREATE TABLE "entire_conference" ( "category" text, "player" text, "team" text, "games_played" real, "totals" text, "average" text );
SELECT COUNT("average") FROM "entire_conference" WHERE "totals"='105-161';
1-28628309-6
What were the totals when the average is 6.25?
CREATE TABLE "entire_conference" ( "category" text, "player" text, "team" text, "games_played" real, "totals" text, "average" text );
SELECT "totals" FROM "entire_conference" WHERE "average"='6.25';
1-28628309-6
Who was the team when the category is field goal percentage?
CREATE TABLE "entire_conference" ( "category" text, "player" text, "team" text, "games_played" real, "totals" text, "average" text );
SELECT "team" FROM "entire_conference" WHERE "category"='Field goal percentage';
1-28628309-6
Name the election for the percent of popular vote being 4.48%
CREATE TABLE "federal_election_results" ( "election" real, "num_of_candidates_nominated" real, "num_of_seats_won" real, "num_of_total_votes" real, "pct_of_popular_vote" text );
SELECT "election" FROM "federal_election_results" WHERE "pct_of_popular_vote"='4.48%';
1-286271-1
How many times was taiwan 3rd runner-up?
CREATE TABLE "references" ( "rank" real, "country" text, "miss_universe" text, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MAX("3rd_runner_up") FROM "references" WHERE "country"='Taiwan';
1-28634206-1
How many miss universes did south africa have?
CREATE TABLE "references" ( "rank" real, "country" text, "miss_universe" text, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT COUNT("miss_universe") FROM "references" WHERE "country"='South Africa';
1-28634206-1
How many placements in total does russia have?
CREATE TABLE "references" ( "rank" real, "country" text, "miss_universe" text, "1st_runner_up" real, "2nd_runner_up" real, "3rd_runner_up" real, "4th_runner_up" real, "semifinalists" real, "total" real );
SELECT MAX("total") FROM "references" WHERE "country"='Russia';
1-28634206-1