question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Which province has a gdp of 38355€ million euros?
|
CREATE TABLE "population_area_and_density_sortable_on_" (
"province" text,
"population_2004_estimate" real,
"area_km" real,
"density" text,
"gdp_2003_pps_in_mil" real,
"gdp_per_cap_2003_in" real
);
|
SELECT "province" FROM "population_area_and_density_sortable_on_" WHERE "gdp_2003_pps_in_mil"=38355;
|
1-1067441-1
|
What is the population estimate for the place that gad a 18496€ million euro gdp?
|
CREATE TABLE "population_area_and_density_sortable_on_" (
"province" text,
"population_2004_estimate" real,
"area_km" real,
"density" text,
"gdp_2003_pps_in_mil" real,
"gdp_per_cap_2003_in" real
);
|
SELECT "population_2004_estimate" FROM "population_area_and_density_sortable_on_" WHERE "gdp_2003_pps_in_mil"=18496;
|
1-1067441-1
|
What is the title when original air date is may15,2008?
|
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"featured_character_s" text,
"original_air_date" text,
"u_s_viewers_million" text
);
|
SELECT "title" FROM "table1_10701133_1" WHERE "original_air_date"='May15,2008';
|
1-10701133-1
|
What is the highest no. in season?
|
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"featured_character_s" text,
"original_air_date" text,
"u_s_viewers_million" text
);
|
SELECT MAX("no_in_season") FROM "table1_10701133_1";
|
1-10701133-1
|
Who directed the episode where u.s. viewers (million) is 12.90?
|
CREATE TABLE "table1_10701133_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"featured_character_s" text,
"original_air_date" text,
"u_s_viewers_million" text
);
|
SELECT "directed_by" FROM "table1_10701133_1" WHERE "u_s_viewers_million"='12.90';
|
1-10701133-1
|
How many episodes aired in Region 2 beginning May 26, 2008?
|
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT MIN("num_of_ep") FROM "table1_1067134_1" WHERE "region_2"='May 26, 2008';
|
1-1067134-1
|
What date did the DVD for season six come out in region 2?
|
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "region_2" FROM "table1_1067134_1" WHERE "dvd_name"='Season Six';
|
1-1067134-1
|
What is the least amount of season epidsodes?
|
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT MIN("num_of_ep") FROM "table1_1067134_1";
|
1-1067134-1
|
What DVD season/name for region 2 was released August 22, 2010?
|
CREATE TABLE "table1_1067134_1" (
"dvd_name" text,
"num_of_ep" real,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "dvd_name" FROM "table1_1067134_1" WHERE "region_2"='August 22, 2010';
|
1-1067134-1
|
How many points for 2005?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT COUNT("points") FROM "career_summary" WHERE "season"='2005';
|
1-10705060-1
|
what is the score for the dams?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT "points" FROM "career_summary" WHERE "team_name"='DAMS';
|
1-10705060-1
|
how many positions in 2009?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT COUNT("position") FROM "career_summary" WHERE "season"='2009';
|
1-10705060-1
|
what is the least number of poles?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT MIN("poles") FROM "career_summary";
|
1-10705060-1
|
Which series with 62 points?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT "series" FROM "career_summary" WHERE "points"=62;
|
1-10705060-1
|
What is the total for 10th position?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"points" real,
"position" text
);
|
SELECT COUNT("points") FROM "career_summary" WHERE "position"='10th';
|
1-10705060-1
|
how many reports of races took place on october 16?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT COUNT("report") FROM "races" WHERE "date"='October 16';
|
1-10707142-2
|
what is the name of the report that lists the race name as long beach grand prix?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "report" FROM "races" WHERE "race_name"='Long Beach Grand Prix';
|
1-10707142-2
|
what is the report called where the circuit took place at the nazareth speedway?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "report" FROM "races" WHERE "circuit"='Nazareth Speedway';
|
1-10707142-2
|
what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "race_name" FROM "races" WHERE "winning_team"='Newman/Haas Racing' AND "pole_position"='Rick Mears';
|
1-10707142-2
|
meadowlands sports complex is the circuit at which city/location?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "city_location" FROM "races" WHERE "circuit"='Meadowlands Sports Complex';
|
1-10707142-2
|
What is the literacy rate for groups that grew 103.1% between 1991 and 2001?
|
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"growth_1991_2001" text,
"sex_ratio_total" real,
"literacy_pct" text,
"work_participation_pct" text,
"sex_ratio_rural" real,
"sex_ratio_urban" real,
"sex_ratio_child" real
);
|
SELECT "literacy_pct" FROM "statistics" WHERE "growth_1991_2001"='103.1%';
|
1-10710364-2
|
What is the lowest sex ratio in rural areas?
|
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"growth_1991_2001" text,
"sex_ratio_total" real,
"literacy_pct" text,
"work_participation_pct" text,
"sex_ratio_rural" real,
"sex_ratio_urban" real,
"sex_ratio_child" real
);
|
SELECT MIN("sex_ratio_rural") FROM "statistics";
|
1-10710364-2
|
What is the lowest child sex ratio in groups where employment is 31.3%?
|
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"growth_1991_2001" text,
"sex_ratio_total" real,
"literacy_pct" text,
"work_participation_pct" text,
"sex_ratio_rural" real,
"sex_ratio_urban" real,
"sex_ratio_child" real
);
|
SELECT MIN("sex_ratio_child") FROM "statistics" WHERE "work_participation_pct"='31.3%';
|
1-10710364-2
|
What is the population percentage of the group where the rural sex ratio is 953?
|
CREATE TABLE "statistics" (
"religious_group" text,
"population_pct" text,
"growth_1991_2001" text,
"sex_ratio_total" real,
"literacy_pct" text,
"work_participation_pct" text,
"sex_ratio_rural" real,
"sex_ratio_urban" real,
"sex_ratio_child" real
);
|
SELECT "population_pct" FROM "statistics" WHERE "sex_ratio_rural"=953;
|
1-10710364-2
|
What is the original air date for the title "felonious monk"?
|
CREATE TABLE "table1_10715317_2" (
"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 "original_air_date" FROM "table1_10715317_2" WHERE "title"='\"Felonious Monk\"';
|
1-10715317-2
|
What is the title of the episode directed by Peter Markle and written by Jerry Stahl?
|
CREATE TABLE "table1_10715317_2" (
"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_10715317_2" WHERE "directed_by"='Peter Markle' AND "written_by"='Jerry Stahl';
|
1-10715317-2
|
How many episodes were titled "identity crisis"?
|
CREATE TABLE "table1_10715317_2" (
"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("directed_by") FROM "table1_10715317_2" WHERE "title"='\"Identity Crisis\"';
|
1-10715317-2
|
Who does the lap-by-lap in 2011?
|
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
"pre_race_analyst" text,
"lap_by_lap" text,
"color_commentator_s" text,
"pit_reporters" text
);
|
SELECT "lap_by_lap" FROM "television_broadcasters" WHERE "year"=2011;
|
1-10716893-3
|
Which network has Marty Reid as host and lap-by-lap broadcaster?
|
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
"pre_race_analyst" text,
"lap_by_lap" text,
"color_commentator_s" text,
"pit_reporters" text
);
|
SELECT "network" FROM "television_broadcasters" WHERE "lap_by_lap"='Marty Reid' AND "host"='Marty Reid';
|
1-10716893-3
|
How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?
|
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
"pre_race_analyst" text,
"lap_by_lap" text,
"color_commentator_s" text,
"pit_reporters" text
);
|
SELECT COUNT("pre_race_analyst") FROM "television_broadcasters" WHERE "lap_by_lap"='Allen Bestwick';
|
1-10716893-3
|
What's the highest season number of an episode in the series?
|
CREATE TABLE "table1_10718192_2" (
"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 MAX("no_in_season") FROM "table1_10718192_2";
|
1-10718192-2
|
When did the episode titled "Lucky Strike" air for the first time?
|
CREATE TABLE "table1_10718192_2" (
"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 "original_air_date" FROM "table1_10718192_2" WHERE "title"='\"Lucky Strike\"';
|
1-10718192-2
|
Who was the writer of the episode titled "One Hit Wonder"?
|
CREATE TABLE "table1_10718192_2" (
"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_10718192_2" WHERE "title"='\"One Hit Wonder\"';
|
1-10718192-2
|
What's the date of the first airing of the episode with series number 63?
|
CREATE TABLE "table1_10718192_2" (
"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 "original_air_date" FROM "table1_10718192_2" WHERE "no_in_series"=63;
|
1-10718192-2
|
How many titles got a viewership of 26.53 million?
|
CREATE TABLE "table1_10718525_2" (
"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("title") FROM "table1_10718525_2" WHERE "u_s_viewers_millions"='26.53';
|
1-10718525-2
|
How many viewers tuned into the show directed by Matt Earl Beesley?
|
CREATE TABLE "table1_10718525_2" (
"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 "u_s_viewers_millions" FROM "table1_10718525_2" WHERE "directed_by"='Matt Earl Beesley';
|
1-10718525-2
|
Who wrote episode 94?
|
CREATE TABLE "table1_10718631_2" (
"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_10718631_2" WHERE "no_in_series"=94;
|
1-10718631-2
|
Which episode was the number in the season where the number in the season is 10?
|
CREATE TABLE "table1_10718631_2" (
"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 "no_in_series" FROM "table1_10718631_2" WHERE "no_in_season"=10;
|
1-10718631-2
|
How many episodes were in the season that had the epiosde of "crow's feet"?
|
CREATE TABLE "table1_10718631_2" (
"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 "no_in_season" FROM "table1_10718631_2" WHERE "title"='\"Crow''s Feet\"';
|
1-10718631-2
|
When did the 113 episode air?
|
CREATE TABLE "table1_10718631_2" (
"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 "original_air_date" FROM "table1_10718631_2" WHERE "no_in_series"=113;
|
1-10718631-2
|
How many titles were there for the 113 episode?
|
CREATE TABLE "table1_10718631_2" (
"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("title") FROM "table1_10718631_2" WHERE "no_in_series"=113;
|
1-10718631-2
|
What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
|
CREATE TABLE "table1_10718984_2" (
"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 MAX("no_in_season") FROM "table1_10718984_2" WHERE "written_by"='Marlene Meyer' AND "u_s_viewers_millions"='20.49';
|
1-10718984-2
|
When did the no. 23 show originally air?
|
CREATE TABLE "table1_10718984_2" (
"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 "original_air_date" FROM "table1_10718984_2" WHERE "no_in_season"=23;
|
1-10718984-2
|
Which circuits had a race on October 4?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "circuit" FROM "races" WHERE "date"='October 4';
|
1-10725629-2
|
In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "report" FROM "races" WHERE "pole_position"='Michael Andretti' AND "winning_team"='Galles-Kraco Racing';
|
1-10725629-2
|
How many rounds were there of the Bosch Spark Plug Grand Prix?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT COUNT("rnd") FROM "races" WHERE "race_name"='Bosch Spark Plug Grand Prix';
|
1-10725629-2
|
Which rounds were held on August 9?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT "rnd" FROM "races" WHERE "date"='August 9';
|
1-10725629-2
|
On how many dates did the Michigan International Speedway hold a round?
|
CREATE TABLE "races" (
"rnd" text,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
|
SELECT COUNT("date") FROM "races" WHERE "circuit"='Michigan International Speedway';
|
1-10725629-2
|
Name the total number of bids of the sun belt conference
|
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" real,
"sweet_sixteen" real,
"elite_eight" real,
"final_four" real,
"championship_game" real
);
|
SELECT COUNT("num_of_bids") FROM "record_by_conference" WHERE "conference"='Sun Belt';
|
1-10722506-6
|
Name the round of 32 in conference usa
|
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" real,
"sweet_sixteen" real,
"elite_eight" real,
"final_four" real,
"championship_game" real
);
|
SELECT "round_of_32" FROM "record_by_conference" WHERE "conference"='Conference USA';
|
1-10722506-6
|
What is the record when round of 32 is 0 and metro atlantic conference?
|
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" real,
"sweet_sixteen" real,
"elite_eight" real,
"final_four" real,
"championship_game" real
);
|
SELECT "record" FROM "record_by_conference" WHERE "round_of_32"=0 AND "conference"='Metro Atlantic';
|
1-10722506-6
|
What is the number of bids with elite eight larger than 1.0
|
CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" real,
"sweet_sixteen" real,
"elite_eight" real,
"final_four" real,
"championship_game" real
);
|
SELECT COUNT("num_of_bids") FROM "record_by_conference" WHERE "elite_eight">1.0;
|
1-10722506-6
|
Who directed the episode with production code 7aff03?
|
CREATE TABLE "table1_10749143_2" (
"series_num" real,
"season_num" 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_10749143_2" WHERE "production_code"='7AFF03';
|
1-10749143-2
|
What is the title of the episode wtih 10.34 million U.S viewers?
|
CREATE TABLE "table1_10749143_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT "title" FROM "table1_10749143_2" WHERE "u_s_viewers_millions"='10.34';
|
1-10749143-2
|
What place is the team that completed 6 races?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT "position" FROM "career_summary" WHERE "races"=6;
|
1-10748727-1
|
how much did the british formula three called "fortec motorsport" score?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT "points" FROM "career_summary" WHERE "series"='British Formula Three' AND "team_name"='Fortec Motorsport';
|
1-10748727-1
|
how many races were in 2009 with 0 wins?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT "races" FROM "career_summary" WHERE "season"='2009' AND "wins"=0;
|
1-10748727-1
|
What years did art grand prix compete?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT "season" FROM "career_summary" WHERE "team_name"='ART Grand Prix';
|
1-10748727-1
|
What year had a score of 9?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT "season" FROM "career_summary" WHERE "points"='9';
|
1-10748727-1
|
what is the greatest number of wins by japanese formula three?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
|
SELECT MAX("wins") FROM "career_summary" WHERE "series"='Japanese Formula Three';
|
1-10748727-1
|
Who took test #4?
|
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" text,
"passed" text
);
|
SELECT "test_taker" FROM "episodes" WHERE "num"=4;
|
1-10749367-3
|
What episode aired on 18 April 2007?
|
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" text,
"passed" text
);
|
SELECT MIN("num") FROM "episodes" WHERE "air_date"='18 April 2007';
|
1-10749367-3
|
Who had the challenge of night driving?
|
CREATE TABLE "episodes" (
"num" real,
"air_date" text,
"challenge" text,
"winner" text,
"test_taker" text,
"passed" text
);
|
SELECT "test_taker" FROM "episodes" WHERE "challenge"='Night Driving';
|
1-10749367-3
|
How many directors were there for the film Course Completed?
|
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("director") FROM "table1_10798928_1" WHERE "film_title_used_in_nomination"='Course Completed';
|
1-10798928-1
|
Who directed El Nido?
|
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT "director" FROM "table1_10798928_1" WHERE "original_title"='El nido';
|
1-10798928-1
|
Who directed Dulcinea?
|
CREATE TABLE "table1_10798928_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT "director" FROM "table1_10798928_1" WHERE "original_title"='Dulcinea';
|
1-10798928-1
|
What are the slovenian names of the villages that had 65.9% of slovenes in 1951?
|
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
);
|
SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1951"='65.9%';
|
1-10797463-1
|
What are the slovenian names of the villages that had 16.7% of slovenes in 1991?
|
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
);
|
SELECT "village_slovenian" FROM "references" WHERE "percent_of_slovenes_1991"='16.7%';
|
1-10797463-1
|
How many villages had 21.7% of slovenes in 1991?
|
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
);
|
SELECT COUNT("village_german") FROM "references" WHERE "percent_of_slovenes_1991"='21.7%';
|
1-10797463-1
|
what percent of slovenes did the village called čahorče in slovenian have in 1991?
|
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
);
|
SELECT "percent_of_slovenes_1991" FROM "references" WHERE "village_slovenian"='Čahorče';
|
1-10797463-1
|
What is the slovenian name for the village that in german is known as st.margarethen?
|
CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
);
|
SELECT "village_slovenian" FROM "references" WHERE "village_german"='St.Margarethen';
|
1-10797463-1
|
For games on December 20, how many points did the scoring leaders get?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "date"='December 20';
|
1-10812293-4
|
Who was the scoring leader and how many points did he get in games on December 23?
|
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
|
SELECT "high_points" FROM "game_log" WHERE "date"='December 23';
|
1-10812293-4
|
What is the pick # for the position de?
|
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "pick_num" FROM "round_three" WHERE "position"='DE';
|
1-10812938-3
|
Which player went to college at Saint Mary's?
|
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "player" FROM "round_three" WHERE "college"='Saint Mary''s';
|
1-10812938-3
|
What is the position for the player with cfl team Winnipeg blue bombers?
|
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "round_three" WHERE "cfl_team"='Winnipeg Blue Bombers';
|
1-10812938-3
|
Which player went to college at Laval?
|
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "player" FROM "round_three" WHERE "college"='Laval';
|
1-10812938-3
|
What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?
|
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "round_three" WHERE "cfl_team"='Edmonton Eskimos (via Calgary)';
|
1-10812938-3
|
What's the team of the player from St. Francis Xavier College?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "cfl_team" FROM "round_five" WHERE "college"='St. Francis Xavier';
|
1-10812938-5
|
What player is on the Montreal Alouettes CFl team?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "player" FROM "round_five" WHERE "cfl_team"='Montreal Alouettes';
|
1-10812938-5
|
What's the pick number of the player from Toronto Argonauts?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT MIN("pick_num") FROM "round_five" WHERE "cfl_team"='Toronto Argonauts';
|
1-10812938-5
|
What's the pick number of the player whose position is CB?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "pick_num" FROM "round_five" WHERE "position"='CB';
|
1-10812938-5
|
What's the pick number of the player from New Mexico?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT MAX("pick_num") FROM "round_five" WHERE "college"='New Mexico';
|
1-10812938-5
|
What player went to Ohio State College?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "player" FROM "round_five" WHERE "college"='Ohio State';
|
1-10812938-5
|
What is the minimum introduced value for the Departmental region?
|
CREATE TABLE "br_railbuses" (
"number_range" text,
"builder" text,
"introduced" real,
"no_built" real,
"region" text,
"withdrawn" real
);
|
SELECT MIN("introduced") FROM "br_railbuses" WHERE "region"='Departmental';
|
1-1081459-1
|
What is the smallest introduced value?
|
CREATE TABLE "br_railbuses" (
"number_range" text,
"builder" text,
"introduced" real,
"no_built" real,
"region" text,
"withdrawn" real
);
|
SELECT MIN("introduced") FROM "br_railbuses";
|
1-1081459-1
|
Which CFL Teams drafted an OL in 2006?
|
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "cfl_team" FROM "round_four" WHERE "position"='OL';
|
1-10812938-4
|
Which college is aligned to the Saskatchewan Roughriders?
|
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "round_four" WHERE "cfl_team"='Saskatchewan Roughriders';
|
1-10812938-4
|
What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
|
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "round_four" WHERE "cfl_team"='Hamilton Tiger-Cats (via Ottawa)';
|
1-10812938-4
|
What is the earliest pick listed in the table.
|
CREATE TABLE "round_four" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT MIN("pick_num") FROM "round_four";
|
1-10812938-4
|
What episode number had production code e4423?
|
CREATE TABLE "table1_10842344_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 MAX("no_in_season") FROM "table1_10842344_1" WHERE "production_code"='E4423';
|
1-10842344-1
|
What's the latest episode in a season where the U.S. viewers totaled 14.37 million?
|
CREATE TABLE "table1_10842344_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 MAX("no_in_season") FROM "table1_10842344_1" WHERE "u_s_viewers_millions"='14.37';
|
1-10842344-1
|
Who directed the episode "Escape"?
|
CREATE TABLE "table1_10842344_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_10842344_1" WHERE "title"='\"Escape\"';
|
1-10842344-1
|
How many seasons is the season finale on May 26, 2010?
|
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
|
SELECT COUNT("season") FROM "table1_10819266_8" WHERE "season_finale"='May 26, 2010';
|
1-10819266-8
|
What episodes are there where the season premier is September 23, 2009?
|
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
|
SELECT "episodes" FROM "table1_10819266_8" WHERE "season_premiere"='September 23, 2009';
|
1-10819266-8
|
What is the season finale for season 4?
|
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
|
SELECT "season_finale" FROM "table1_10819266_8" WHERE "season"=4;
|
1-10819266-8
|
How many season premiers have a rank of #21?
|
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
|
SELECT "season_premiere" FROM "table1_10819266_8" WHERE "rank"='#21';
|
1-10819266-8
|
What are the seasons where September 26, 2007 is the season premier?
|
CREATE TABLE "table1_10819266_8" (
"season" real,
"episodes" real,
"time_slot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
|
SELECT "tv_season" FROM "table1_10819266_8" WHERE "season_premiere"='September 26, 2007';
|
1-10819266-8
|
What max processor has a maximum memory of 256 gb?
|
CREATE TABLE "table1_10818465_1" (
"model" text,
"ru" real,
"max_processors" text,
"processor_frequency" text,
"max_memory" text,
"max_disk_capacity" text,
"ga_date" text
);
|
SELECT "max_processors" FROM "table1_10818465_1" WHERE "max_memory"='256 GB';
|
1-10818465-1
|
What is the max memory of the t5120 model?
|
CREATE TABLE "table1_10818465_1" (
"model" text,
"ru" real,
"max_processors" text,
"processor_frequency" text,
"max_memory" text,
"max_disk_capacity" text,
"ga_date" text
);
|
SELECT "max_memory" FROM "table1_10818465_1" WHERE "model"='T5120';
|
1-10818465-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.