question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?
CREATE TABLE "table1_29087004_3" ( "series_num" real, "production_code" real, "title" text, "directed_by" text, "written_by" text, "united_states_original_airdate" text, "canada_original_airdate" text );
SELECT "written_by" FROM "table1_29087004_3" WHERE "directed_by"='Greg Sullivan' AND "united_states_original_airdate"='July 21, 2012';
1-29087004-3
Which episode/s were written by Evan Gore?
CREATE TABLE "table1_29087004_3" ( "series_num" real, "production_code" real, "title" text, "directed_by" text, "written_by" text, "united_states_original_airdate" text, "canada_original_airdate" text );
SELECT "series_num" FROM "table1_29087004_3" WHERE "written_by"='Evan Gore';
1-29087004-3
How many home teams are there when the away team score was 4.2 (26) and away team was footscray?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT COUNT("home_team_score") FROM "round_1" WHERE "away_team_score"='4.2 (26)' AND "away_team"='Footscray';
1-29090919-1
Which team was the away team when home team was essendon?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "away_team" FROM "round_1" WHERE "home_team"='Essendon';
1-29090919-1
How many scores were there for the home team when the away team was fitzroy?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT COUNT("home_team_score") FROM "round_1" WHERE "away_team"='Fitzroy';
1-29090919-1
Which team was the away team when the home team was north melbourne?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "away_team" FROM "round_1" WHERE "home_team"='North Melbourne';
1-29090919-1
What is the date of the game when the home team is melbourne?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "date" FROM "round_1" WHERE "home_team"='Melbourne';
1-29090919-1
What is the date when the home team score is 2.4 (16)?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "date" FROM "round_1" WHERE "home_team_score"='2.4 (16)';
1-29090919-1
Name the singer for 1.45m
CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text );
SELECT "singer_s" FROM "series_2" WHERE "ratings"='1.45m';
1-29135051-2
Name the singer for joe wilkinson
CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text );
SELECT "singer_s" FROM "series_2" WHERE "comedian"='Joe Wilkinson';
1-29135051-2
Name the singer for bruce forsyth
CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text );
SELECT "singer_s" FROM "series_2" WHERE "guest_s"='Bruce Forsyth';
1-29135051-2
Name the number of ratings for bruce forsyth
CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text );
SELECT COUNT("ratings") FROM "series_2" WHERE "guest_s"='Bruce Forsyth';
1-29135051-2
Name the guest for 1.64m ratings
CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text );
SELECT "guest_s" FROM "series_2" WHERE "ratings"='1.64m';
1-29135051-2
What was the constructor in the Belgian Grand Prix round?
CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "constructor" FROM "grands_prix" WHERE "grand_prix"='Belgian Grand Prix';
1-2911781-3
Who had the fastest lap in round 15?
CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "fastest_lap" FROM "grands_prix" WHERE "rd"=15;
1-2911781-3
When was the home team Essendon?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "date" FROM "round_1" WHERE "home_team"='Essendon';
1-29126507-1
When Richmond played as the away team, what was the ground?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "ground" FROM "round_1" WHERE "away_team"='Richmond';
1-29126507-1
When did Fitzroy play as the home team?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text );
SELECT "date" FROM "round_1" WHERE "home_team"='Fitzroy';
1-29126507-1
what was the result on 01x06
CREATE TABLE "table1_29141354_1" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest" text, "scores" text );
SELECT "scores" FROM "table1_29141354_1" WHERE "episode"='01x06';
1-29141354-1
what was the size when tom daley appeared
CREATE TABLE "table1_29141354_1" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest" text, "scores" text );
SELECT "episode" FROM "table1_29141354_1" WHERE "jamie_and_johns_guest"='Tom Daley';
1-29141354-1
Who was Andrew and Georgie's gues when Jamie and John's guest was Phil Taylor?
CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8" text, "scores" text );
SELECT "andrew_and_georgies_guest" FROM "table1_29141354_3" WHERE "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8"='Phil Taylor';
1-29141354-3
Which episode had Jamie and John's guest as Mike Tindall?
CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8" text, "scores" text );
SELECT "episode" FROM "table1_29141354_3" WHERE "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8"='Mike Tindall';
1-29141354-3
How many scores had an episode of 03x06?
CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8" text, "scores" text );
SELECT COUNT("scores") FROM "table1_29141354_3" WHERE "episode"='03x06';
1-29141354-3
Who was Andrew and Georgie's guest when Jamie and John's guest was Amy Williams?
CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8" text, "scores" text );
SELECT "andrew_and_georgies_guest" FROM "table1_29141354_3" WHERE "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8"='Amy Williams';
1-29141354-3
What was the score for the episode when Jamie and John's guest was Boris Becker?
CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8" text, "scores" text );
SELECT "scores" FROM "table1_29141354_3" WHERE "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_3_episode_8"='Boris Becker';
1-29141354-3
When id the episode broadcast with Mark Webber as Jamie and John's guest?
CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns_guest" text, "scores" text );
SELECT "first_broadcast" FROM "table1_29141354_4" WHERE "jamie_and_johns_guest"='Mark Webber';
1-29141354-4
What date did the episode with Andy Murray as Jamie and John's guest first broadcast?
CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns_guest" text, "scores" text );
SELECT "first_broadcast" FROM "table1_29141354_4" WHERE "jamie_and_johns_guest"='Andy Murray';
1-29141354-4
How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04?
CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns_guest" text, "scores" text );
SELECT COUNT("andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2") FROM "table1_29141354_4" WHERE "episode"='04x04';
1-29141354-4
who guest starred on the episode with a 1.44m rating
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT "guest_s" FROM "series_3" WHERE "ratings"='1.44m';
1-29135051-3
when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT "broadcast_date" FROM "series_3" WHERE "guest_s"='Barbara Windsor and Heston Blumenthal';
1-29135051-3
how many broadcaste dates features the overtones
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT COUNT("broadcast_date") FROM "series_3" WHERE "singer_s"='The Overtones';
1-29135051-3
how many guest stars did the episode that was broadcasted 11september2012 have
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT COUNT("guest_s") FROM "series_3" WHERE "broadcast_date"='11September2012';
1-29135051-3
when was the episode guest starring michael mcintyre and alex james broadcasted
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT "broadcast_date" FROM "series_3" WHERE "guest_s"='Michael McIntyre and Alex James';
1-29135051-3
which episode did sarah millican and grayson perry appear in
CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text );
SELECT MIN("episode") FROM "series_3" WHERE "guest_s"='Sarah Millican and Grayson Perry';
1-29135051-3
When were episodes first broadcast with jessica ennis as andrew and jacks guest?
CREATE TABLE "table1_29141354_5" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests_peter_crouch_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_5_episode_2" text, "scores" text );
SELECT "first_broadcast" FROM "table1_29141354_5" WHERE "andrew_and_jacks_guest"='Jessica Ennis';
1-29141354-5
Who directed the episode that is written by Eli Attie and production code is 2t5018?
CREATE TABLE "table1_29152820_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "directed_by" FROM "table1_29152820_1" WHERE "written_by"='Eli Attie' AND "production_code"='2T5018';
1-29152820-1
How many episodes are 122 in the series?
CREATE TABLE "table1_29152820_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT COUNT("no_in_season") FROM "table1_29152820_1" WHERE "no_in_series"=122;
1-29152820-1
What was the score for the episode with Matt Smith as Andrew and Jack's guest?
CREATE TABLE "table1_29141354_7" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests" text, "scores" text );
SELECT "scores" FROM "table1_29141354_7" WHERE "andrew_and_jacks_guest"='Matt Smith';
1-29141354-7
When was the episode with Amy Williams as Andrew and Jack's guest broadcast?
CREATE TABLE "table1_29141354_7" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests" text, "scores" text );
SELECT "first_broadcast" FROM "table1_29141354_7" WHERE "andrew_and_jacks_guest"='Amy Williams';
1-29141354-7
What is the last episode in the season that had 3.91 million viewers in the US?
CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT MIN("season_no") FROM "table1_29154676_1" WHERE "u_s_viewers_millions"='3.91';
1-29154676-1
What are the episode numbers in season that were titled "The Consoler"?
CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "season_no" FROM "table1_29154676_1" WHERE "title"='\"The Consoler\"';
1-29154676-1
How many episodes were written by Warren Leight?
CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT COUNT("season_no") FROM "table1_29154676_1" WHERE "written_by"='Warren Leight';
1-29154676-1
How many million viewers in the US did the episode titled "Cadaver" have?
CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_29154676_1" WHERE "title"='\"Cadaver\"';
1-29154676-1
What is the number in season of the episode titled "Cadaver"?
CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "season_no" FROM "table1_29154676_1" WHERE "title"='\"Cadaver\"';
1-29154676-1
Who was the regular season winner of the 1999 Big Sky Men's Basketball Tournament was the conference tournament?
CREATE TABLE "table1_29146083_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "regular_season_winner" FROM "table1_29146083_3" WHERE "conference_tournament"='1999 Big Sky Men''s Basketball Tournament';
1-29146083-3
How many championships were there where the score was 4–6, 7–6 (7–5) , [5–10]?
CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT COUNT("championship") FROM "doubles_43_26_17" WHERE "score"='4–6, 7–6 (7–5) , [5–10]';
1-29163303-4
On what surface was it the year when the score was 6–1, 4–6, [12–10]?
CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT "surface" FROM "doubles_43_26_17" WHERE "score"='6–1, 4–6, [12–10]';
1-29163303-4
How many times has the score been 6–4, 3–6, [11–13]?
CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT COUNT("opponent") FROM "doubles_43_26_17" WHERE "score"='6–4, 3–6, [11–13]';
1-29163303-4
Who are the outgoing head coaches whose manner of departure is Gardening Leave 1?
CREATE TABLE "coaching_changes" ( "club" text, "outgoing_head_coach" text, "date_of_vacancy" text, "manner_of_departure" text, "incoming_head_coach" text, "date_of_appointment" text );
SELECT "outgoing_head_coach" FROM "coaching_changes" WHERE "manner_of_departure"='Gardening leave 1';
1-29171931-3
Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job?
CREATE TABLE "coaching_changes" ( "club" text, "outgoing_head_coach" text, "date_of_vacancy" text, "manner_of_departure" text, "incoming_head_coach" text, "date_of_appointment" text );
SELECT "incoming_head_coach" FROM "coaching_changes" WHERE "outgoing_head_coach"='Wan Jamak Wan Hassan';
1-29171931-3
Who had the fastest lap in round 1?
CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text );
SELECT "fastest_lap" FROM "table1_29162856_1" WHERE "round"=1;
1-29162856-1
Who had the pole position when matt davies had the fastest lap?
CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text );
SELECT "pole_position" FROM "table1_29162856_1" WHERE "fastest_lap"='Matt Davies';
1-29162856-1
Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?
CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text );
SELECT "pole_position" FROM "table1_29162856_1" WHERE "winning_rider"='Rob Guiver' AND "fastest_lap"='Kyle Ryde';
1-29162856-1
What is the earliest year in which the result is championship US Open (2)?
CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT MIN("year") FROM "mixed_doubles_9_7_2" WHERE "championship"='US Open (2)';
1-29163303-2
Who was Bob Bryan's partner in the Championship where the result is US Open (2)?
CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "mixed_doubles_9_7_2" WHERE "championship"='US Open (2)';
1-29163303-2
What are the results of those matches where the championship is French Open?
CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "score" FROM "mixed_doubles_9_7_2" WHERE "championship"='French Open';
1-29163303-2
on how many days did the episode written by harold hayes jr. & craig s. phillips originally air
CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("original_air_date") FROM "table1_29196086_4" WHERE "written_by"='Harold Hayes Jr. & Craig S. Phillips';
1-29196086-4
who directed "grampires"(part 1)
CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "directed_by" FROM "table1_29196086_4" WHERE "title"='\"Grampires\"(Part 1)';
1-29196086-4
how many episodes originally aired january19,2013
CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("no_in_series") FROM "table1_29196086_4" WHERE "original_air_date"='January19,2013';
1-29196086-4
which episode of the season aired on october20,2012
CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT MAX("no_in_season") FROM "table1_29196086_4" WHERE "original_air_date"='October20,2012';
1-29196086-4
Which team was the opponent in game 5?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "team" FROM "game_log" WHERE "game"=5;
1-29181479-3
When did the official rating 4+ reach 4 633 925?
CREATE TABLE "rating_figures" ( "episode" real, "date" text, "official_rating_4" text, "share_4" text, "official_rating_16_39" text, "share_16_39" text );
SELECT "date" FROM "rating_figures" WHERE "official_rating_4"='4 633 925';
1-29177708-22
Lis the series for game 5.
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "series" FROM "game_log" WHERE "game"=5;
1-29181479-5
What was the final in the game that boris diaw (34) scored the most points?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "score" FROM "game_log" WHERE "high_points"='Boris Diaw (34)';
1-29181479-5
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text );
SELECT "december_28" FROM "reaction" WHERE "movies"='Ang Tanging Ina Mo (Last na ''To!)';
1-29217650-1
What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text );
SELECT "december_27" FROM "reaction" WHERE "movies"='Ang Tanging Ina Mo (Last na ''To!)';
1-29217650-1
How many figures are provided for December 28 for Rosario?
CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text );
SELECT COUNT("december_28") FROM "reaction" WHERE "movies"='Rosario';
1-29217650-1
What is the figure for December 25 for the film that totalled p15.3 million for December 25-28 total?
CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text );
SELECT "december_25" FROM "reaction" WHERE "december_25_28_total"='P15.3 million';
1-29217650-1
What film earmed p3.2 million on December 25?
CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text );
SELECT "movies" FROM "reaction" WHERE "december_25"='P3.2 million';
1-29217650-1
What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?
CREATE TABLE "practice_times_and_leaderboard_600cc" ( "rank" real, "rider" text, "mon_30_may" text, "tues_31_may" text, "wed_1_june" text, "thurs_2_june" text, "fri_3_june" text );
SELECT "fri_3_june" FROM "practice_times_and_leaderboard_600cc" WHERE "thurs_2_june"='20'' 50.45 108.623mph';
1-29218221-3
What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2?
CREATE TABLE "practice_times_and_leaderboard_600cc" ( "rank" real, "rider" text, "mon_30_may" text, "tues_31_may" text, "wed_1_june" text, "thurs_2_june" text, "fri_3_june" text );
SELECT "wed_1_june" FROM "practice_times_and_leaderboard_600cc" WHERE "thurs_2_june"='21'' 05.87 107.300mph';
1-29218221-3
How many people wrote episode 9 in the season that was directed by Ernest Dickerson?
CREATE TABLE "table1_29219286_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("written_by") FROM "table1_29219286_1" WHERE "directed_by"='Ernest Dickerson' AND "no_in_season"=9;
1-29219286-1
Who wrote the episode that was directed by Milan Cheylov?
CREATE TABLE "table1_29219286_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 "written_by" FROM "table1_29219286_1" WHERE "directed_by"='Milan Cheylov';
1-29219286-1
How many episodes in the season had the title, "first blood"?
CREATE TABLE "table1_29219286_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_season") FROM "table1_29219286_1" WHERE "title"='\"First Blood\"';
1-29219286-1
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?
CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" text, "em_winning_team" text, "ep_winning_team" text, "fm_winning_team" text, "fp_winning_team"...
SELECT "ep_winning_team" FROM "table1_29225103_2" WHERE "cp_winning_team"='Dave Clark' AND "gm_winning_team"='Stuart Northrup';
1-29225103-2
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" text, "em_winning_team" text, "ep_winning_team" text, "fm_winning_team" text, "fp_winning_team"...
SELECT "cm_winning_team" FROM "table1_29225103_2" WHERE "fm_winning_team"='#17 Elva - Ford';
1-29225103-2
Who the GM winning team when the EP winning team was #37 Porsche?
CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" text, "em_winning_team" text, "ep_winning_team" text, "fm_winning_team" text, "fp_winning_team"...
SELECT "gm_winning_team" FROM "table1_29225103_2" WHERE "ep_winning_team"='#37 Porsche';
1-29225103-2
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" text, "em_winning_team" text, "ep_winning_team" text, "fm_winning_team" text, "fp_winning_team"...
SELECT "ep_winning_team" FROM "table1_29225103_2" WHERE "fm_winning_team"='Brabham - Ford' AND "hm_winning_team"='Osca';
1-29225103-2
Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?
CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" text, "em_winning_team" text, "ep_winning_team" text, "fm_winning_team" text, "fp_winning_team"...
SELECT "hp_winning_team" FROM "table1_29225103_2" WHERE "ep_winning_team"='Hans Zereis' AND "gm_winning_team"='Charles Gibson';
1-29225103-2
what was the name of the team opponent to elfsborg
CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text );
SELECT "team" FROM "norwegian_clubs_performance_in_europe" WHERE "opponent"='Elfsborg';
1-29261823-10
what is the score in the 1st leg where the contest and round was in europa league play off round
CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text );
SELECT COUNT("1st_leg_score") FROM "norwegian_clubs_performance_in_europe" WHERE "contest_and_round"='Europa League Play Off Round';
1-29261823-10
what is the name of the team which aggregate score is l 1–2
CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text );
SELECT "team" FROM "norwegian_clubs_performance_in_europe" WHERE "aggregate_score"='L 1–2';
1-29261823-10
what is the aggregate score for the europa league play off round contest and round
CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text );
SELECT "aggregate_score" FROM "norwegian_clubs_performance_in_europe" WHERE "contest_and_round"='Europa League Play Off Round';
1-29261823-10
How many dollars is listed under Sydney when the distance is 10km?
CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text );
SELECT "sydney" FROM "public_transport_pricing" WHERE "distance"='10km';
1-2923917-4
How many distance places have brisbane at $3.80?
CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text );
SELECT COUNT("distance") FROM "public_transport_pricing" WHERE "brisbane"='$3.80';
1-2923917-4
How many listings under Melbourne has a distance at 15km?
CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text );
SELECT COUNT("melbourne") FROM "public_transport_pricing" WHERE "distance"='15km';
1-2923917-4
What is the distance when brisbane is $4.80?
CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text );
SELECT "distance" FROM "public_transport_pricing" WHERE "brisbane"='$4.80';
1-2923917-4
What is the distance when brisbane is $5.20?
CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text );
SELECT "distance" FROM "public_transport_pricing" WHERE "brisbane"='$5.20';
1-2923917-4
How many scores did Helen Sildna give when Iiris Vesik gave a 3?
CREATE TABLE "table1_29261215_4" ( "artist" text, "jaanu_n_gisto" real, "iiris_vesik" real, "erik_morna" real, "veronika_portsmuth" real, "chalice" real, "kristo_rajasaare" real, "hannaliisa_uusmaa" real, "siim_nestor" real, "peeter_v_hi" real, "helen_sildna" real, "ott_lepland" real, "total" ...
SELECT COUNT("helen_sildna") FROM "table1_29261215_4" WHERE "iiris_vesik"=3;
1-29261215-4
What is the maximum points received when Peeter Vähl gave a 9?
CREATE TABLE "table1_29261215_4" ( "artist" text, "jaanu_n_gisto" real, "iiris_vesik" real, "erik_morna" real, "veronika_portsmuth" real, "chalice" real, "kristo_rajasaare" real, "hannaliisa_uusmaa" real, "siim_nestor" real, "peeter_v_hi" real, "helen_sildna" real, "ott_lepland" real, "total" ...
SELECT MIN("points") FROM "table1_29261215_4" WHERE "peeter_v_hi"=9;
1-29261215-4
Who is the manager for the fc inter club?
CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text );
SELECT "manager" FROM "team_summaries" WHERE "club"='FC Inter';
1-29250534-1
Which club is at the location of kuopio?
CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text );
SELECT "club" FROM "team_summaries" WHERE "location"='Kuopio';
1-29250534-1
How many stadiums have haka as the club?
CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text );
SELECT COUNT("stadium") FROM "team_summaries" WHERE "club"='Haka';
1-29250534-1
Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?
CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text );
SELECT "artist_2" FROM "table1_29264319_1" WHERE "artist_1"='Sparfunk & D-Code';
1-29264319-1
Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee?
CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text );
SELECT "mix_artist" FROM "table1_29264319_1" WHERE "setlist"='Closing Party' AND "artist_1"='Dillinja and Skibadee';
1-29264319-1
Who is the artist 1 on the setlist where the song 1 title is "Bounce (Remix)"?
CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text );
SELECT "artist_1" FROM "table1_29264319_1" WHERE "song_1_title"='\"Bounce (Remix)\"';
1-29264319-1
On how many different dates was the episode written by Charlie Day aired for the first time?
CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT COUNT("original_air_date") FROM "table1_29273115_1" WHERE "written_by"='Charlie Day';
1-29273115-1
Who are the writers of the episode with production code IP02009?
CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "written_by" FROM "table1_29273115_1" WHERE "production_code"='IP02009';
1-29273115-1
Who are the writers of the episode titled "Mac Bangs Dennis' Mom"?
CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "written_by" FROM "table1_29273115_1" WHERE "title"='\"Mac Bangs Dennis'' Mom\"';
1-29273115-1
How many different titles does the episode with production code IP02003 have?
CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT COUNT("title") FROM "table1_29273115_1" WHERE "production_code"='IP02003';
1-29273115-1