question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
How many seasons did "strangled, not stirred" air?
|
CREATE TABLE "table1_17624965_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
|
SELECT COUNT("no_in_season") FROM "table1_17624965_1" WHERE "title"='\"Strangled, Not Stirred\"';
|
1-17624965-1
|
How many episodes did Alison Maclean direct?
|
CREATE TABLE "table1_17624965_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
|
SELECT COUNT("written_by") FROM "table1_17624965_1" WHERE "directed_by"='Alison Maclean';
|
1-17624965-1
|
Name the high points for may 29
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT "high_points" FROM "playoffs" WHERE "date"='May 29';
|
1-17622423-12
|
Name the date for series 2-2
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT "date" FROM "playoffs" WHERE "series"='2-2';
|
1-17622423-12
|
Name the high assists for may 21
|
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
|
SELECT "high_assists" FROM "playoffs" WHERE "date"='May 21';
|
1-17622423-12
|
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?
|
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
|
SELECT COUNT("play_by_play") FROM "2000s" WHERE "pregame_analysts"='Darren Flutie, Eric Tillman and Greg Frers';
|
1-17628022-2
|
Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving?
|
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
|
SELECT "play_by_play" FROM "2000s" WHERE "pregame_host"='Brian Williams' AND "sideline_reporters"='Steve Armitage and Brenda Irving';
|
1-17628022-2
|
Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving?
|
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
|
SELECT "pregame_host" FROM "2000s" WHERE "sideline_reporters"='Steve Armitage and Brenda Irving';
|
1-17628022-2
|
Who did pregame analysis in 2002?
|
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
|
SELECT "pregame_analysts" FROM "2000s" WHERE "year"=2002;
|
1-17628022-2
|
Name the state for lake county
|
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
"april_1_2010_density_mi" real,
"july_1_2010_official_estimate" real,
"july_1_2010_density_km" real,
"july_1_2010_density_mi" real,
"july_1_2011_official_estimate" real,
"july_1_2011_density_km" real,
"july_1_2011_density_mi" real,
"mid_2010_to_mid_2011_change_absolute" real,
"mid_2010_to_mid_2011_change_pct" text,
"county_seat_or_courthouse" text
);
|
SELECT "state" FROM "list_of_the_most_populous_us_counties_so" WHERE "county"='Lake County';
|
1-1762887-1
|
Name the total number of county seat or courthouse for april 1 2010 denisty is 2205
|
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
"april_1_2010_density_mi" real,
"july_1_2010_official_estimate" real,
"july_1_2010_density_km" real,
"july_1_2010_density_mi" real,
"july_1_2011_official_estimate" real,
"july_1_2011_density_km" real,
"july_1_2011_density_mi" real,
"mid_2010_to_mid_2011_change_absolute" real,
"mid_2010_to_mid_2011_change_pct" text,
"county_seat_or_courthouse" text
);
|
SELECT COUNT("county_seat_or_courthouse") FROM "list_of_the_most_populous_us_counties_so" WHERE "april_1_2010_density_mi"=2205;
|
1-1762887-1
|
Name the total number of states for july 1 2010 density is 1209
|
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
"april_1_2010_density_mi" real,
"july_1_2010_official_estimate" real,
"july_1_2010_density_km" real,
"july_1_2010_density_mi" real,
"july_1_2011_official_estimate" real,
"july_1_2011_density_km" real,
"july_1_2011_density_mi" real,
"mid_2010_to_mid_2011_change_absolute" real,
"mid_2010_to_mid_2011_change_pct" text,
"county_seat_or_courthouse" text
);
|
SELECT COUNT("state") FROM "list_of_the_most_populous_us_counties_so" WHERE "july_1_2010_density_mi"=1209;
|
1-1762887-1
|
What is the lowest season?
|
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
|
SELECT MIN("season") FROM "semi_pro_seasons_1987_1993";
|
1-17632217-1
|
How many values for number of clubs have Shandong as the runner-up?
|
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
|
SELECT COUNT("number_of_clubs") FROM "semi_pro_seasons_1987_1993" WHERE "runners_up"='Shandong';
|
1-17632217-1
|
How many total wins with Shanghai as runner-up?
|
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
|
SELECT COUNT("total_wins") FROM "semi_pro_seasons_1987_1993" WHERE "runners_up"='Shanghai';
|
1-17632217-1
|
Name the club for when tries for is 32
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "club" FROM "league_table" WHERE "tries_for"='32';
|
1-17625749-1
|
Name the number of lost where tries for is 109
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("lost") FROM "league_table" WHERE "tries_for"='109';
|
1-17625749-1
|
Name the won when tries against is 72
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "league_table" WHERE "tries_against"='72';
|
1-17625749-1
|
Name the points aginst when drawn is 1 and points is 51
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "league_table" WHERE "drawn"='1' AND "points"='51';
|
1-17625749-1
|
Name the original air date for number in season being 1
|
CREATE TABLE "table1_17625876_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
|
SELECT "original_air_date" FROM "table1_17625876_1" WHERE "no_in_season"=1;
|
1-17625876-1
|
How many were won when 5 were lost?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "league_table" WHERE "lost"='5';
|
1-17625749-3
|
How many were drawn when 13 were lost?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "league_table" WHERE "lost"='13';
|
1-17625749-3
|
How many points are there for 63 tries against?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_for" FROM "league_table" WHERE "tries_against"='63';
|
1-17625749-3
|
What is the try bonus when the tries against are 17?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "try_bonus" FROM "league_table" WHERE "tries_against"='17';
|
1-17625749-3
|
How many tries for are there when 11 were won?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "tries_for" FROM "league_table" WHERE "won"='11';
|
1-17625749-3
|
How many points categories are there when the losing bonus is 2 and points for are 642?
|
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("points") FROM "league_table" WHERE "losing_bonus"='2' AND "points_for"='642';
|
1-17625749-3
|
How many people wrote the episode that had 6.34 million viewers?
|
CREATE TABLE "table1_17641206_2" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT COUNT("written_by") FROM "table1_17641206_2" WHERE "viewership"='6.34 million';
|
1-17641206-2
|
What was the title of the episode with 5.04 million viewers?
|
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT "original_title" FROM "table1_17641206_4" WHERE "viewership"='5.04 million';
|
1-17641206-4
|
What was the first airdate with a viewership of 4.77 million?
|
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT "original_airdate" FROM "table1_17641206_4" WHERE "viewership"='4.77 million';
|
1-17641206-4
|
How many episodes of 30 minutes were written by John Sullivan?
|
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT COUNT("duration") FROM "table1_17641206_4" WHERE "written_by"='John Sullivan';
|
1-17641206-4
|
Who was the director when the writer was John Sullivan?
|
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT "directed_by" FROM "table1_17641206_4" WHERE "written_by"='John Sullivan';
|
1-17641206-4
|
What is the total length when the title is " one man's junk "
|
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT COUNT("duration") FROM "table1_17641206_8" WHERE "original_title"='\" One Man''s Junk \"';
|
1-17641206-8
|
What are the movies that are written and dircted by john sullivan with the airdate of 15january2009.
|
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT "directed_by" FROM "table1_17641206_8" WHERE "written_by"='John Sullivan' AND "original_airdate"='15January2009';
|
1-17641206-8
|
What is the total viewership where the title is " your cheating art ".
|
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT "viewership" FROM "table1_17641206_8" WHERE "original_title"='\" Your Cheating Art \"';
|
1-17641206-8
|
How many episodes aired on 22january2009
|
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
|
SELECT COUNT("episode") FROM "table1_17641206_8" WHERE "original_airdate"='22January2009';
|
1-17641206-8
|
Name the least transfers out when transfers is 21
|
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
|
SELECT MIN("transfers_out") FROM "statistics" WHERE "total_transfers"=21;
|
1-17650725-1
|
Name the least total transfers for romania
|
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
|
SELECT MIN("total_transfers") FROM "statistics" WHERE "country"='Romania';
|
1-17650725-1
|
Name the least internal transfers
|
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
|
SELECT MIN("internal_transfers") FROM "statistics";
|
1-17650725-1
|
How many status are there for Moncton?
|
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
|
SELECT COUNT("status") FROM "westmorland_county_new_brunswick" WHERE "official_name"='Moncton';
|
1-176529-2
|
What is the census ranking of the location with population of 959?
|
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
|
SELECT "census_ranking" FROM "westmorland_county_new_brunswick" WHERE "population"=959;
|
1-176529-2
|
What is the name of the place with 582.20 square km area?
|
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
|
SELECT "official_name" FROM "westmorland_county_new_brunswick" WHERE "area_km_2"='582.20';
|
1-176529-2
|
What is the name of the place where area is 578.28 square km?
|
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
|
SELECT "official_name" FROM "westmorland_county_new_brunswick" WHERE "area_km_2"='578.28';
|
1-176529-2
|
If the points is 20, what was the team name?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT "team" FROM "results" WHERE "points"='20';
|
1-17693171-1
|
What is the time/retired if the driver is Marco Andretti?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT "time_retired" FROM "results" WHERE "driver"='Marco Andretti';
|
1-17693171-1
|
If the laps is 191, what is the maximum laps led?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT MAX("laps_led") FROM "results" WHERE "laps"=191;
|
1-17693171-1
|
What is the time/retired if the driver is Ed Carpenter?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT "time_retired" FROM "results" WHERE "driver"='Ed Carpenter';
|
1-17693171-1
|
If the time/retired is +1 lap, what is the amount of maximum laps?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT MAX("laps") FROM "results" WHERE "time_retired"='+1 lap';
|
1-17693171-1
|
If the driver is Milka Duno, what is the name of the team?
|
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
|
SELECT "team" FROM "results" WHERE "driver"='Milka Duno';
|
1-17693171-1
|
How many stages were won by Robbie McEwen?
|
CREATE TABLE "jersey_progress" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
);
|
SELECT COUNT("stage") FROM "jersey_progress" WHERE "winner"='Robbie McEwen';
|
1-17672470-19
|
How many car numbers were listed for Rusty Wallace?
|
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory" text
);
|
SELECT COUNT("car_num") FROM "nascar_sprint_cup_series_race_winners" WHERE "winning_driver"='Rusty Wallace';
|
1-1769428-2
|
In what season did Rusty Wallace win?
|
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory" text
);
|
SELECT MAX("season") FROM "nascar_sprint_cup_series_race_winners" WHERE "winning_driver"='Rusty Wallace';
|
1-1769428-2
|
What was the represented team on June 27?
|
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory" text
);
|
SELECT "team" FROM "nascar_sprint_cup_series_race_winners" WHERE "date"='June 27';
|
1-1769428-2
|
Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS?
|
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory" text
);
|
SELECT "winning_driver" FROM "nascar_sprint_cup_series_race_winners" WHERE "team"='Hendrick Motorsports' AND "make"='Chevrolet Impala SS';
|
1-1769428-2
|
When 45 is the goals for and 10 is the drawn what is the lost?
|
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
|
SELECT "lost" FROM "second_division_final_table" WHERE "drawn"=10 AND "goals_for"=45;
|
1-17718005-2
|
When +10 is the goal difference what is the goals for?
|
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
|
SELECT "goals_for" FROM "second_division_final_table" WHERE "goal_difference"='+10';
|
1-17718005-2
|
When ellesmere port & neston is the team what are the points 1?
|
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
|
SELECT "points_1" FROM "second_division_final_table" WHERE "team"='Ellesmere Port & Neston';
|
1-17718005-2
|
When 2005 is the season how many drivers are there?
|
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
);
|
SELECT COUNT("driver") FROM "table1_1771753_3" WHERE "season"='2005';
|
1-1771753-3
|
When tony kanaan is the driver what is the average speed miles per hour?
|
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
);
|
SELECT "average_speed_mph" FROM "table1_1771753_3" WHERE "driver"='Tony Kanaan';
|
1-1771753-3
|
When 169.182 is the average speed miles per hour what is the chassis?
|
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
);
|
SELECT "chassis" FROM "table1_1771753_3" WHERE "average_speed_mph"='169.182';
|
1-1771753-3
|
When 1:34:01 is the race time what is the miles in kilometers?
|
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
);
|
SELECT "miles_km" FROM "table1_1771753_3" WHERE "race_time"='1:34:01';
|
1-1771753-3
|
When 228 is the lap and chip ganassi racing is the team what is the race time?
|
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
);
|
SELECT "race_time" FROM "table1_1771753_3" WHERE "team"='Chip Ganassi Racing' AND "laps"='228';
|
1-1771753-3
|
What tie number featured Chelsea as the home team?
|
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
|
SELECT MIN("tie_no") FROM "table1_17736890_5" WHERE "home_team"='Chelsea';
|
1-17736890-5
|
In what tie were Leeds United the away team?
|
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
|
SELECT MAX("tie_no") FROM "table1_17736890_5" WHERE "away_team"='Leeds United';
|
1-17736890-5
|
Who was the home team when Burnley were the away team?
|
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
|
SELECT "home_team" FROM "table1_17736890_5" WHERE "away_team"='Burnley';
|
1-17736890-5
|
what is the lowest year represented?
|
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT MIN("year") FROM "women_s_doubles_10_4_titles_6_runner_ups";
|
1-177273-2
|
What was the score when Françoise Dürr was partner?
|
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "score" FROM "women_s_doubles_10_4_titles_6_runner_ups" WHERE "partner"='Françoise Dürr';
|
1-177273-2
|
What was the outcome in 1975?
|
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "outcome" FROM "women_s_doubles_10_4_titles_6_runner_ups" WHERE "year"=1975;
|
1-177273-2
|
On what surface was the game played with a score of 6–4, 6–4?
|
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "surface" FROM "women_s_doubles_10_4_titles_6_runner_ups" WHERE "score"='6–4, 6–4';
|
1-177273-2
|
What is the year of appearance for the Prince Albert Raiders?
|
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_of_appearance" text
);
|
SELECT "years_of_appearance" FROM "active_teams" WHERE "team"='Prince Albert Raiders';
|
1-17751942-4
|
How many wins do the Erie Otters have?
|
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_of_appearance" text
);
|
SELECT "wins" FROM "active_teams" WHERE "team"='Erie Otters';
|
1-17751942-4
|
What is the final win percentage of the Sault Ste. Marie Greyhounds?
|
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_of_appearance" text
);
|
SELECT "final_win_pct" FROM "active_teams" WHERE "team"='Sault Ste. Marie Greyhounds';
|
1-17751942-4
|
What is the total number of semi-final losses for the Kitchener Rangers?
|
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_of_appearance" text
);
|
SELECT MAX("semi_final_losses") FROM "active_teams" WHERE "team"='Kitchener Rangers';
|
1-17751942-4
|
How many wins do the Red Deer Rebels have?
|
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_of_appearance" text
);
|
SELECT MAX("wins") FROM "active_teams" WHERE "team"='Red Deer Rebels';
|
1-17751942-4
|
What is the record for November 26, 1961?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "regular_season" WHERE "date"='November 26, 1961';
|
1-17765888-1
|
What was the game site against the Dallas Texans?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "game_site" FROM "regular_season" WHERE "opponent"='Dallas Texans';
|
1-17765888-1
|
In how many years was Tom Fleming the final television commentator?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_second_television_commentator" text
);
|
SELECT COUNT("year_s") FROM "commentators_and_spokespersons" WHERE "final_television_commentator"='Tom Fleming';
|
1-17766232-7
|
What was the latest year that Colin Berry was the spokesperson?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_second_television_commentator" text
);
|
SELECT MAX("year_s") FROM "commentators_and_spokespersons" WHERE "spokesperson"='Colin Berry';
|
1-17766232-7
|
Who was the semi-final television commentator when the spokesperson was Colin Berry and the final television commentator was Pete Murray?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_second_television_commentator" text
);
|
SELECT "semi_final_television_commentator" FROM "commentators_and_spokespersons" WHERE "spokesperson"='Colin Berry' AND "final_television_commentator"='Pete Murray';
|
1-17766232-7
|
Who was the radio commentator when the final television commentator was John Dunn?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_second_television_commentator" text
);
|
SELECT "radio_commentator" FROM "commentators_and_spokespersons" WHERE "final_television_commentator"='John Dunn';
|
1-17766232-7
|
What is the latest year that the final television commentator was David Jacobs?
|
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_second_television_commentator" text
);
|
SELECT MAX("year_s") FROM "commentators_and_spokespersons" WHERE "final_television_commentator"='David Jacobs';
|
1-17766232-7
|
What was their record when the attendance at the game was 14489?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "regular_season" WHERE "attendance"=14489;
|
1-17765264-1
|
When did they play at the Cotton Bowl?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "date" FROM "regular_season" WHERE "game_site"='Cotton Bowl';
|
1-17765264-1
|
What is the percentage of this constellation abbreviated as 'nor'?
|
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nation_dm" text,
"quad" text
);
|
SELECT "per_cent_age" FROM "external_links" WHERE "abbre_viation"='Nor';
|
1-177766-1
|
This constellation, abbreviated as 'oph' has how many right ascension (in hm)?
|
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nation_dm" text,
"quad" text
);
|
SELECT COUNT("right_ascension_hm") FROM "external_links" WHERE "abbre_viation"='Oph';
|
1-177766-1
|
What is the name of this constellation with an area of 245.375 sq. deg.?
|
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nation_dm" text,
"quad" text
);
|
SELECT "constellation" FROM "external_links" WHERE "area_sq_deg"='245.375';
|
1-177766-1
|
This constellation with a ranking of 51 has how many percentages on record?
|
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nation_dm" text,
"quad" text
);
|
SELECT COUNT("per_cent_age") FROM "external_links" WHERE "rank"=51;
|
1-177766-1
|
What is the percentage of this constellation with an area of 248.885 sq. deg.?
|
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nation_dm" text,
"quad" text
);
|
SELECT "per_cent_age" FROM "external_links" WHERE "area_sq_deg"='248.885';
|
1-177766-1
|
Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r
|
CREATE TABLE "table1_1776943_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "broadcast_date" FROM "table1_1776943_1" WHERE "viewers_in_millions"='6.4' AND "archive"='16mm t/r';
|
1-1776943-1
|
Name the archive where run time 24:04
|
CREATE TABLE "table1_1776943_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "archive" FROM "table1_1776943_1" WHERE "run_time"='24:04';
|
1-1776943-1
|
On November 1, 1964, where was the game site?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "game_site" FROM "regular_season" WHERE "date"='November 1, 1964';
|
1-17781394-1
|
How many people attended the Week 8 game when Denver played Buffalo?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "attendance" FROM "regular_season" WHERE "week"=8;
|
1-17778417-1
|
How many times did the Denver Broncos face the Dallas Texans this season?
|
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT COUNT("record") FROM "regular_season" WHERE "opponent"='Dallas Texans';
|
1-17778417-1
|
What year was the winning race time 1:55:13?
|
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT MAX("year") FROM "table1_17801022_1" WHERE "race_time"='1:55:13';
|
1-17801022-1
|
For races with an average speed of 113.835 mph, what are the winning race times?
|
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "race_time" FROM "table1_17801022_1" WHERE "average_speed_mph"='113.835';
|
1-17801022-1
|
What manufacturer won the race on November 2?
|
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "manufacturer" FROM "table1_17801022_1" WHERE "date"='November 2';
|
1-17801022-1
|
What date did Jamie McMurray win the race?
|
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "date" FROM "table1_17801022_1" WHERE "driver"='Jamie McMurray';
|
1-17801022-1
|
What was the date of the race with a winning time of 1:55:13?
|
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "date" FROM "table1_17801022_1" WHERE "race_time"='1:55:13';
|
1-17801022-1
|
What team(s) enjoyed an average spped (mph) of 138.14?
|
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "team" FROM "table1_17802778_1" WHERE "average_speed_mph"='138.14';
|
1-17802778-1
|
How many laps recorded in 2001?
|
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "laps" FROM "table1_17802778_1" WHERE "year"=2001;
|
1-17802778-1
|
What team(s) were in 2003?
|
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
|
SELECT "team" FROM "table1_17802778_1" WHERE "year"=2003;
|
1-17802778-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.