question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When did "Man in the Machine" originally air?
CREATE TABLE "series_three" ( "num" real, "title" text, "original_airdate" text, "timeslot" text, "viewers_millions" text, "nightly_rank" real, "weekly_rank" real );
SELECT "original_airdate" FROM "series_three" WHERE "title"='\"Man in the Machine\"';
1-23392257-4
What is the original air date of the episode that was directed by David Paymer?
CREATE TABLE "table1_23399481_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT "original_air_date" FROM "table1_23399481_2" WHERE "directed_by"='David Paymer';
1-23399481-2
If the amount of U.S. viewers is 2.14 million, who was the episode directed by?
CREATE TABLE "table1_23399481_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT "directed_by" FROM "table1_23399481_2" WHERE "u_s_viewers_in_millions"='2.14';
1-23399481-2
If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by?
CREATE TABLE "table1_23399481_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT "directed_by" FROM "table1_23399481_2" WHERE "u_s_viewers_in_millions"='2.05';
1-23399481-2
What is the director name is the U.S. viewers is 2.22 million?
CREATE TABLE "table1_23399481_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );
SELECT "directed_by" FROM "table1_23399481_2" WHERE "u_s_viewers_in_millions"='2.22';
1-23399481-2
What date did "we are no longer in the bible belt" air on?
CREATE TABLE "us_ratings" ( "num" real, "airdate" text, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "airdate" FROM "us_ratings" WHERE "episode"='\"We Are No Longer in the Bible Belt\"';
1-23397386-2
How many million viewers watched the episode that had a 2.6/7 rating/share (18-49)
CREATE TABLE "us_ratings" ( "num" real, "airdate" text, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "viewers_millions" FROM "us_ratings" WHERE "rating_share_18_49"='2.6/7';
1-23397386-2
How many million viewers watched "nanna is kickin' your butt"?
CREATE TABLE "us_ratings" ( "num" real, "airdate" text, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "viewers_millions" FROM "us_ratings" WHERE "episode"='\"Nanna Is Kickin'' Your Butt\"';
1-23397386-2
How many million viewers watched the episode that aired on March 28, 2010?
CREATE TABLE "us_ratings" ( "num" real, "airdate" text, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "viewers_millions" FROM "us_ratings" WHERE "airdate"='March 28, 2010';
1-23397386-2
How many rankings (timeslot) were there for the episode that aired on May 2, 2010?
CREATE TABLE "us_ratings" ( "num" real, "airdate" text, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT COUNT("rank_timeslot") FROM "us_ratings" WHERE "airdate"='May 2, 2010';
1-23397386-2
Who was the writer for the episode called "What Are You Made of?"
CREATE TABLE "table1_23399481_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 "written_by" FROM "table1_23399481_3" WHERE "title"='\"What Are You Made Of?\"';
1-23399481-3
What episode had 1.42 million viewers?
CREATE TABLE "table1_23399481_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 "series_num" FROM "table1_23399481_3" WHERE "u_s_viewers_in_millions"='1.42';
1-23399481-3
What is the original air date for episode 4?
CREATE TABLE "table1_23399481_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 "original_air_date" FROM "table1_23399481_3" WHERE "season_num"=4;
1-23399481-3
Who was the writer for the show titled "and the rocky goes to..."?
CREATE TABLE "table1_23399481_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 "written_by" FROM "table1_23399481_3" WHERE "title"='\"And the Rocky Goes To...\"';
1-23399481-3
Which team uses lola t92/00/ buick for their chassis/engine?
CREATE TABLE "race_results" ( "pos" real, "no" real, "driver" text, "team" text, "chassis_engine" text, "laps" real, "time_retired" text, "grid" real, "laps_led" real, "points" real );
SELECT "team" FROM "race_results" WHERE "chassis_engine"='Lola T92/00/ Buick';
1-23391714-1
When the pos equals 18 what is the max amount of points?
CREATE TABLE "race_results" ( "pos" real, "no" real, "driver" text, "team" text, "chassis_engine" text, "laps" real, "time_retired" text, "grid" real, "laps_led" real, "points" real );
SELECT MAX("points") FROM "race_results" WHERE "pos"=18;
1-23391714-1
How many drivers used lola t92/00/ buick for their chassis/engine?
CREATE TABLE "race_results" ( "pos" real, "no" real, "driver" text, "team" text, "chassis_engine" text, "laps" real, "time_retired" text, "grid" real, "laps_led" real, "points" real );
SELECT COUNT("no") FROM "race_results" WHERE "chassis_engine"='Lola T92/00/ Buick';
1-23391714-1
What's the series number of the episode with a season number 5, written by Bernie Ancheta?
CREATE TABLE "table1_23403578_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_in_millions" text );
SELECT MIN("no_in_series") FROM "table1_23403578_3" WHERE "written_by"='Bernie Ancheta' AND "no_in_season"=5;
1-23403578-3
When did the episode with production code 213 air for the first time?
CREATE TABLE "table1_23403578_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_in_millions" text );
SELECT "original_air_date" FROM "table1_23403578_3" WHERE "prod_code"='213';
1-23403578-3
Who directed the episode with production code 208?
CREATE TABLE "table1_23403578_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_in_millions" text );
SELECT "directed_by" FROM "table1_23403578_3" WHERE "prod_code"='208';
1-23403578-3
How many millions of people in the US saw the episode titled "Ball of Trash"?
CREATE TABLE "table1_23403578_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text, "u_s_viewers_in_millions" text );
SELECT "u_s_viewers_in_millions" FROM "table1_23403578_3" WHERE "title"='\"Ball of Trash\"';
1-23403578-3
What is every direction with 24 mountains as Wei 未 Kun 坤 Shen 申?
CREATE TABLE "24_mountains" ( "direction" text, "number" real, "trigram" text, "24_mountains" text, "bearing_degrees" text, "nature" text );
SELECT "direction" FROM "24_mountains" WHERE "24_mountains"='Wei 未 Kun 坤 Shen 申';
1-23406517-2
How many values for 24 mountains when the bearing or degrees is 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5?
CREATE TABLE "24_mountains" ( "direction" text, "number" real, "trigram" text, "24_mountains" text, "bearing_degrees" text, "nature" text );
SELECT COUNT("24_mountains") FROM "24_mountains" WHERE "bearing_degrees"='67.6 - 82.5 82.6 - 97.5 97.6 - 112.5';
1-23406517-2
What is every trigram when direction is Northwest?
CREATE TABLE "24_mountains" ( "direction" text, "number" real, "trigram" text, "24_mountains" text, "bearing_degrees" text, "nature" text );
SELECT "trigram" FROM "24_mountains" WHERE "direction"='Northwest';
1-23406517-2
What are all values for 24 mountains when direction is Northeast?
CREATE TABLE "24_mountains" ( "direction" text, "number" real, "trigram" text, "24_mountains" text, "bearing_degrees" text, "nature" text );
SELECT "24_mountains" FROM "24_mountains" WHERE "direction"='Northeast';
1-23406517-2
How many career titles does roy emerson have?
CREATE TABLE "chronological_list_of_grand_slam_singles" ( "years_led" text, "span_of_years_led" real, "player" text, "titles_won_at_point_of_lead" real, "total_career_titles" real, "tournament_at_which_lead_began" text );
SELECT "total_career_titles" FROM "chronological_list_of_grand_slam_singles" WHERE "player"='Roy Emerson';
1-23408094-14
What were the total career titles of the player who led for 5 years?
CREATE TABLE "chronological_list_of_grand_slam_singles" ( "years_led" text, "span_of_years_led" real, "player" text, "titles_won_at_point_of_lead" real, "total_career_titles" real, "tournament_at_which_lead_began" text );
SELECT COUNT("total_career_titles") FROM "chronological_list_of_grand_slam_singles" WHERE "span_of_years_led"=5;
1-23408094-14
Of the players whose lead began at the australian championships, what was the shortest span of years led?
CREATE TABLE "chronological_list_of_grand_slam_singles" ( "years_led" text, "span_of_years_led" real, "player" text, "titles_won_at_point_of_lead" real, "total_career_titles" real, "tournament_at_which_lead_began" text );
SELECT MIN("span_of_years_led") FROM "chronological_list_of_grand_slam_singles" WHERE "tournament_at_which_lead_began"='Australian Championships';
1-23408094-14
At which tournament did william renshaw begin his lead when he had won 7 titles?
CREATE TABLE "chronological_list_of_grand_slam_singles" ( "years_led" text, "span_of_years_led" real, "player" text, "titles_won_at_point_of_lead" real, "total_career_titles" real, "tournament_at_which_lead_began" text );
SELECT "tournament_at_which_lead_began" FROM "chronological_list_of_grand_slam_singles" WHERE "player"='William Renshaw' AND "titles_won_at_point_of_lead"=7;
1-23408094-14
At what tournament did pete sampras begin his lead?
CREATE TABLE "chronological_list_of_grand_slam_singles" ( "years_led" text, "span_of_years_led" real, "player" text, "titles_won_at_point_of_lead" real, "total_career_titles" real, "tournament_at_which_lead_began" text );
SELECT "tournament_at_which_lead_began" FROM "chronological_list_of_grand_slam_singles" WHERE "player"='Pete Sampras';
1-23408094-14
Who are all directors when Sherwood Schwartz is the writer?
CREATE TABLE "table1_2342078_2" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_order_they_were_made_num" real );
SELECT "directed_by" FROM "table1_2342078_2" WHERE "written_by"='Sherwood Schwartz';
1-2342078-2
What is the highest episode# with the writer Paul West?
CREATE TABLE "table1_2342078_2" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_order_they_were_made_num" real );
SELECT MAX("episode_num") FROM "table1_2342078_2" WHERE "written_by"='Paul West';
1-2342078-2
What is every production code for episode # 13?
CREATE TABLE "table1_2342078_2" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_order_they_were_made_num" real );
SELECT "production_code_order_they_were_made_num" FROM "table1_2342078_2" WHERE "episode_num"=13;
1-2342078-2
What is the highest episode number written by Harry Winkler?
CREATE TABLE "table1_2342078_4" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT MAX("episode_num") FROM "table1_2342078_4" WHERE "written_by"='Harry Winkler';
1-2342078-4
List all directors when Brad Radnitz was the writer?
CREATE TABLE "table1_2342078_4" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT "directed_by" FROM "table1_2342078_4" WHERE "written_by"='Brad Radnitz';
1-2342078-4
Name the airdate for the episode written by howard ostroff
CREATE TABLE "table1_2342078_6" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT "original_airdate" FROM "table1_2342078_6" WHERE "written_by"='Howard Ostroff';
1-2342078-6
Name the production code # for episode 109
CREATE TABLE "table1_2342078_6" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT COUNT("production_code_num") FROM "table1_2342078_6" WHERE "episode_num"=109;
1-2342078-6
Name who drected the episode written by george tibbles
CREATE TABLE "table1_2342078_6" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT "directed_by" FROM "table1_2342078_6" WHERE "written_by"='George Tibbles';
1-2342078-6
How many different people directed the episode titled "Fright Night"?
CREATE TABLE "table1_2342078_5" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT COUNT("directed_by") FROM "table1_2342078_5" WHERE "title"='\"Fright Night\"';
1-2342078-5
What's the number of the episode titled "Everyone can't be George Washington"?
CREATE TABLE "table1_2342078_5" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT MIN("episode_num") FROM "table1_2342078_5" WHERE "title"='\"Everyone Can''t Be George Washington\"';
1-2342078-5
How many original air dates are there for the episode titled "Everyone can't be George Washington"?
CREATE TABLE "table1_2342078_5" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT COUNT("original_airdate") FROM "table1_2342078_5" WHERE "title"='\"Everyone Can''t Be George Washington\"';
1-2342078-5
What's the title of the episode written by Harry Winkler?
CREATE TABLE "table1_2342078_5" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT "title" FROM "table1_2342078_5" WHERE "written_by"='Harry Winkler';
1-2342078-5
What's the production code of the episode titled "The subject was noses"?
CREATE TABLE "table1_2342078_5" ( "episode_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code_num" real );
SELECT MIN("production_code_num") FROM "table1_2342078_5" WHERE "title"='\"The Subject Was Noses\"';
1-2342078-5
During the 1st Place (Won the Series), who was the act?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT "act" FROM "final" WHERE "place_came"='1st Place (Won the Series)';
1-23429629-4
During the act, Playing on Glasses, what was the semi-final?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT "semi_final" FROM "final" WHERE "act"='Playing on Glasses';
1-23429629-4
During the act, Performance of "Lost" by Anouk, what was the result?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT "result" FROM "final" WHERE "act"='Performance of \"Lost\" by Anouk';
1-23429629-4
During the act, Performance of "Lost" by Anouk, what was the result?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT "result" FROM "final" WHERE "act"='Performance of \"Lost\" by Anouk';
1-23429629-4
What was the final place came for the performance of Erlend Bratland?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT "place_came" FROM "final" WHERE "artist"='Erlend Bratland';
1-23429629-4
During the act, Performance of "Lost" by Anouk, what was the result?
CREATE TABLE "final" ( "place_came" text, "artist" text, "category" text, "act" text, "semi_final" text, "result" text );
SELECT COUNT("result") FROM "final" WHERE "act"='Performance of \"Lost\" by Anouk';
1-23429629-4
How many imr* have 64.3 life expectancy males?
CREATE TABLE "table1_23423_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text );
SELECT MIN("imr") FROM "table1_23423_2" WHERE "life_expectancy_males"='64.3';
1-23423-2
How many imr* have tfr* of 4.31?
CREATE TABLE "table1_23423_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text );
SELECT "imr" FROM "table1_23423_2" WHERE "tfr"='4.31';
1-23423-2
How many deaths per year have 66.3 as the life expectancy females?
CREATE TABLE "table1_23423_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text );
SELECT "deaths_per_year" FROM "table1_23423_2" WHERE "life_expectancy_females"='66.3';
1-23423-2
How many imr* have tfr* 5.35?
CREATE TABLE "table1_23423_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text );
SELECT COUNT("imr") FROM "table1_23423_2" WHERE "tfr"='5.35';
1-23423-2
Which leagues entered in rounds where there were 16 winners from the previous round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "leagues_entering_at_this_round" FROM "teams" WHERE "winners_from_previous_round"='16';
1-23449363-1
Which rounds had 32 clubs involved?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "round" FROM "teams" WHERE "clubs_involved"=32;
1-23449363-1
Which round had 24 new entries?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "round" FROM "teams" WHERE "new_entries_this_round"='24';
1-23449363-1
Which leagues entered an extra preliminary round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "leagues_entering_at_this_round" FROM "teams" WHERE "round"='Extra Preliminary Round';
1-23449363-1
Name the location of buffalo sabres
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "location" FROM "game_log" WHERE "opponent"='Buffalo Sabres';
1-23453931-5
Name the game for 13–17–9
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "game" FROM "game_log" WHERE "record"='13–17–9';
1-23453931-5
Name the score for december 19
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "date"='December 19';
1-23453931-5
Name the date for new york islanders
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "date" FROM "game_log" WHERE "opponent"='New York Islanders';
1-23453931-5
Name the opponents for december 3
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT COUNT("opponent") FROM "game_log" WHERE "date"='December 3';
1-23453931-5
How many games did they play the carolina hurricanes?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT COUNT("game") FROM "game_log" WHERE "opponent"='Carolina Hurricanes';
1-23453931-8
What was the score when they had 62 points?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "points"=62;
1-23453931-8
What team did the Maple Leafs score 9 points against?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "opponent" FROM "game_log" WHERE "points"=9;
1-23453931-4
What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?
CREATE TABLE "2009_junior_classic_practice_times_and_l" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text, "sat_29_aug" text );
SELECT "sat_29_aug" FROM "2009_junior_classic_practice_times_and_l" WHERE "tues_25_aug"='23'' 18.82 97.102mph';
1-23465864-4
What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?
CREATE TABLE "2009_junior_classic_practice_times_and_l" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text, "sat_29_aug" text );
SELECT "sat_29_aug" FROM "2009_junior_classic_practice_times_and_l" WHERE "mon_24_aug"='24'' 17.26 93.208mph';
1-23465864-4
What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August?
CREATE TABLE "2009_junior_classic_practice_times_and_l" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text, "sat_29_aug" text );
SELECT "sat_29_aug" FROM "2009_junior_classic_practice_times_and_l" WHERE "tues_25_aug"='22'' 54.20 98.842mph';
1-23465864-4
What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August?
CREATE TABLE "2009_junior_classic_practice_times_and_l" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text, "sat_29_aug" text );
SELECT "sat_29_aug" FROM "2009_junior_classic_practice_times_and_l" WHERE "fri_28_aug"='25'' 01.89 90.438mph';
1-23465864-4
What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki?
CREATE TABLE "2009_newcomers_race_b_practice_times_and" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text );
SELECT "wed_26_aug" FROM "2009_newcomers_race_b_practice_times_and" WHERE "rider"='Andrew Farrell 400cc Kawasaki';
1-23465864-6
What was the event on Thurs 27 Aug when Tues 25 Aug was 23' 00.59 98.384mph?
CREATE TABLE "2009_newcomers_race_b_practice_times_and" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text );
SELECT "thurs_27_aug" FROM "2009_newcomers_race_b_practice_times_and" WHERE "tues_25_aug"='23'' 00.59 98.384mph';
1-23465864-6
What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph?
CREATE TABLE "2009_newcomers_race_b_practice_times_and" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text );
SELECT "tues_25_aug" FROM "2009_newcomers_race_b_practice_times_and" WHERE "mon_24_aug"='22'' 24.56 101.021mph';
1-23465864-6
Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph?
CREATE TABLE "2009_newcomers_race_b_practice_times_and" ( "rank" real, "rider" text, "mon_24_aug" text, "tues_25_aug" text, "wed_26_aug" text, "thurs_27_aug" text, "fri_28_aug" text );
SELECT "rider" FROM "2009_newcomers_race_b_practice_times_and" WHERE "fri_28_aug"='24'' 23.36 92.820mph';
1-23465864-6
Which opponent has 32194 as the attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"=32194;
1-23466021-4
Which opponent has 36102 is the attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"=36102;
1-23466021-4
What is the attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "schedule";
1-23466021-4
What is the hometown of contestants who are from the province of Huesca?
CREATE TABLE "delegates" ( "province" text, "contestant" text, "age" real, "height_in" text, "height_mt" text, "hometown" text );
SELECT "hometown" FROM "delegates" WHERE "province"='Huesca';
1-23476629-2
What is the height in inches of contestants who are from the province of La Rioja?
CREATE TABLE "delegates" ( "province" text, "contestant" text, "age" real, "height_in" text, "height_mt" text, "hometown" text );
SELECT "height_in" FROM "delegates" WHERE "province"='La Rioja';
1-23476629-2
How many contestants of whatever age are there whose hometown of Andujar?
CREATE TABLE "delegates" ( "province" text, "contestant" text, "age" real, "height_in" text, "height_mt" text, "hometown" text );
SELECT COUNT("age") FROM "delegates" WHERE "hometown"='Andujar';
1-23476629-2
How tall are contestants whose home province is La Rioja?
CREATE TABLE "delegates" ( "province" text, "contestant" text, "age" real, "height_in" text, "height_mt" text, "hometown" text );
SELECT "height_in" FROM "delegates" WHERE "province"='La Rioja';
1-23476629-2
What's the service number of the Jammu Duronto train?
CREATE TABLE "list_of_duronto_express_trains" ( "service" real, "train_number" real, "train_name" text, "source" text, "departure" text, "destination" text, "arrival" text );
SELECT MAX("service") FROM "list_of_duronto_express_trains" WHERE "train_name"='Jammu Duronto';
1-23477312-1
What's the name of the train to Madurai Junction?
CREATE TABLE "list_of_duronto_express_trains" ( "service" real, "train_number" real, "train_name" text, "source" text, "departure" text, "destination" text, "arrival" text );
SELECT "train_name" FROM "list_of_duronto_express_trains" WHERE "destination"='Madurai Junction';
1-23477312-1
What's the service number of the Pune Duronto train that departures at 21:35?
CREATE TABLE "list_of_duronto_express_trains" ( "service" real, "train_number" real, "train_name" text, "source" text, "departure" text, "destination" text, "arrival" text );
SELECT "service" FROM "list_of_duronto_express_trains" WHERE "train_name"='Pune Duronto' AND "departure"='21:35';
1-23477312-1
What's the name of the train that goes to Bhubaneswar?
CREATE TABLE "list_of_duronto_express_trains" ( "service" real, "train_number" real, "train_name" text, "source" text, "departure" text, "destination" text, "arrival" text );
SELECT "train_name" FROM "list_of_duronto_express_trains" WHERE "destination"='Bhubaneswar';
1-23477312-1
What is the record when the opposing team was the Pittsburgh Penguins?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "record" FROM "game_log" WHERE "opponent"='Pittsburgh Penguins';
1-23486853-6
What was the game number when the opposing team was the Buffalo Sabres?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT MIN("game") FROM "game_log" WHERE "opponent"='Buffalo Sabres';
1-23486853-6
What is the product code for the episode titled "Kafelnikov"?
CREATE TABLE "table1_234886_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "prod_code" FROM "table1_234886_3" WHERE "title"='\"Kafelnikov\"';
1-234886-3
Who directed episode no. 44 in the series?
CREATE TABLE "table1_234886_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "directed_by" FROM "table1_234886_3" WHERE "no_in_series"=44;
1-234886-3
What is the number in the season of the episode with a production code of 2-05?
CREATE TABLE "table1_234886_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT COUNT("no_in_season") FROM "table1_234886_3" WHERE "prod_code"='2-05';
1-234886-3
What is the title of the episode with the production code 2-19?
CREATE TABLE "table1_234886_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "title" FROM "table1_234886_3" WHERE "prod_code"='2-19';
1-234886-3
What is the total number of titles for the episode numbered 29 in the series?
CREATE TABLE "table1_234886_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT COUNT("title") FROM "table1_234886_3" WHERE "no_in_series"=29;
1-234886-3
What was the name of the episode directed by Jessica Yu?
CREATE TABLE "table1_23492454_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_23492454_1" WHERE "directed_by"='Jessica Yu';
1-23492454-1
who directed the episode written by Shonda Rhimes?
CREATE TABLE "table1_23492454_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "directed_by" FROM "table1_23492454_1" WHERE "written_by"='Shonda Rhimes';
1-23492454-1
How many episodes in the series are also episode 18 in the season?
CREATE TABLE "table1_23492454_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT COUNT("no_in_series") FROM "table1_23492454_1" WHERE "no_in_season"=18;
1-23492454-1
Who is every opponent on the date of March 16?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "opponent" FROM "game_log" WHERE "date"='March 16';
1-23486853-8
What is every score for the opponent of Atlanta Thrashers?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "opponent"='Atlanta Thrashers';
1-23486853-8
What is every location for the date of March 20?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "location" FROM "game_log" WHERE "date"='March 20';
1-23486853-8
What is every score at the location of Verizon Center and points of 68?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "location"='Verizon Center' AND "points"=68;
1-23486853-8
What is every date with a record of 30–34–12?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT "date" FROM "game_log" WHERE "record"='30–34–12';
1-23486853-8
How many officers o/s were there on the day when the number of USAAF was 2373882?
CREATE TABLE "growth_personnel" ( "date" text, "total_usaaf" real, "tot_officers" real, "tot_enlisted" real, "num_overseas" real, "officers_o_s" real, "enlisted_o_s" real );
SELECT MAX("officers_o_s") FROM "growth_personnel" WHERE "total_usaaf"=2373882;
1-23508196-2