question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
How many new pageants does Aruba have?
|
CREATE TABLE "replaced_pageants" (
"country_territory" text,
"former_pageant" text,
"last_competed" real,
"new_pageant" text,
"franchise_since" real
);
|
SELECT COUNT("new_pageant") FROM "replaced_pageants" WHERE "country_territory"='Aruba';
|
1-14308895-2
|
which is the new pageant from spain?
|
CREATE TABLE "replaced_pageants" (
"country_territory" text,
"former_pageant" text,
"last_competed" real,
"new_pageant" text,
"franchise_since" real
);
|
SELECT "new_pageant" FROM "replaced_pageants" WHERE "country_territory"='Spain';
|
1-14308895-2
|
Who was the away team when Carlton was the home team?
|
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "away_team" FROM "round_16" WHERE "home_team"='Carlton';
|
1-14312471-1
|
what is the number of teams where conmebol 1996 did not qualify?
|
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
|
SELECT COUNT("team") FROM "argentine_clubs_in_international_competi" WHERE "conmebol_1996"='did not qualify';
|
1-14310205-1
|
what is the racing club where copa libertadores 1997?
|
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
|
SELECT "copa_libertadores_1997" FROM "argentine_clubs_in_international_competi" WHERE "team"='Racing Club';
|
1-14310205-1
|
what is th copa libertadores 1997 is qf?
|
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
|
SELECT "copa_libertadores_1997" FROM "argentine_clubs_in_international_competi" WHERE "supercopa_1996"='QF';
|
1-14310205-1
|
What's the maximum crowd when scg is the ground?
|
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT MAX("crowd") FROM "round_19" WHERE "ground"='SCG';
|
1-14312471-4
|
What are the away teams when they scored 5.11 (41)?
|
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "away_team" FROM "round_19" WHERE "away_team_score"='5.11 (41)';
|
1-14312471-4
|
What are the ground when the away team scored 6.9 (45)?
|
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "ground" FROM "round_19" WHERE "away_team_score"='6.9 (45)';
|
1-14312471-4
|
What are the ground where the crowd totals 19929?
|
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "ground" FROM "round_19" WHERE "crowd"=19929;
|
1-14312471-4
|
Name the home team for manuka oval
|
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "home_team" FROM "round_18" WHERE "ground"='Manuka Oval';
|
1-14312471-3
|
Name the away team score for richmond
|
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "away_team_score" FROM "round_18" WHERE "away_team"='Richmond';
|
1-14312471-3
|
Who made the report when the home team is north Melbourne?
|
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "report" FROM "round_22" WHERE "home_team"='North Melbourne';
|
1-14312471-7
|
Who played Richmond at home?
|
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "home_team" FROM "round_22" WHERE "away_team"='Richmond';
|
1-14312471-7
|
Who has the home ground Aami stadium?
|
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
|
SELECT "home_team" FROM "round_22" WHERE "ground"='AAMI Stadium';
|
1-14312471-7
|
Who were all candidate when incumbent was D. Wyatt Aiken?
|
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "south_carolina" WHERE "incumbent"='D. Wyatt Aiken';
|
1-1431467-4
|
How many incumbents for the district of South Carolina 5?
|
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("incumbent") FROM "south_carolina" WHERE "district"='South Carolina 5';
|
1-1431467-4
|
Who was everyone first elected when incumbent was John J. Hemphill?
|
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "first_elected" FROM "south_carolina" WHERE "incumbent"='John J. Hemphill';
|
1-1431467-4
|
When the girls singles is lindaweni fanetri what is the mixed doubled?
|
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
|
SELECT "mixed_doubles" FROM "juniors" WHERE "girls_singles"='Lindaweni Fanetri';
|
1-14319023-2
|
When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?
|
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
|
SELECT "boys_doubles" FROM "juniors" WHERE "girls_doubles"='Ayu Pratiwi Anggi Widia';
|
1-14319023-2
|
When mixed doubles is didit juang indrianto yayu rahayu what is the most current year?
|
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
|
SELECT MAX("year") FROM "juniors" WHERE "mixed_doubles"='Didit Juang Indrianto Yayu Rahayu';
|
1-14319023-2
|
When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles?
|
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
|
SELECT "boys_singles" FROM "juniors" WHERE "mixed_doubles"='Danny Bawa Chrisnanta Debby Susanto';
|
1-14319023-2
|
When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles?
|
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
|
SELECT "mixed_doubles" FROM "juniors" WHERE "girls_doubles"='Anneke Feinya Agustin Wenny Setiawati';
|
1-14319023-2
|
Name the total number of publishers for flushed away
|
CREATE TABLE "table1_14325653_2" (
"year_ceremony" text,
"video_game" text,
"publisher_s" text,
"platform_s_a" text,
"result" text
);
|
SELECT COUNT("publisher_s") FROM "table1_14325653_2" WHERE "video_game"='Flushed Away';
|
1-14325653-2
|
Name the publisher for resident evil 4
|
CREATE TABLE "table1_14325653_2" (
"year_ceremony" text,
"video_game" text,
"publisher_s" text,
"platform_s_a" text,
"result" text
);
|
SELECT "publisher_s" FROM "table1_14325653_2" WHERE "video_game"='Resident Evil 4';
|
1-14325653-2
|
What is the highest total number?
|
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
|
SELECT MAX("totalnum") FROM "table1_14330096_4";
|
1-14330096-4
|
How many of the episodes have Roger Goldby as the director?
|
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
|
SELECT "totalnum" FROM "table1_14330096_4" WHERE "director"='Roger Goldby';
|
1-14330096-4
|
Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?
|
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
|
SELECT "title" FROM "table1_14330096_4" WHERE "director"='Patrick Lau' AND "writer"='Lisa Holdsworth';
|
1-14330096-4
|
What is the Closure date of Hunterston B
|
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
|
SELECT MIN("accounting_closure_date") FROM "current_agr_reactors" WHERE "agr_power_station"='Hunterston B';
|
1-143352-1
|
How many power stations are connected to grid at Heysham 2
|
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
|
SELECT COUNT("connected_to_grid") FROM "current_agr_reactors" WHERE "agr_power_station"='Heysham 2';
|
1-143352-1
|
What year did construction start at Heysham 1
|
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
|
SELECT "construction_started" FROM "current_agr_reactors" WHERE "agr_power_station"='Heysham 1';
|
1-143352-1
|
When did construction start on the Power station with a net MWE of 1190
|
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
|
SELECT MIN("construction_started") FROM "current_agr_reactors" WHERE "net_m_we"=1190;
|
1-143352-1
|
Name the most extra points for john heston
|
CREATE TABLE "scoring_leaders" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("extra_points") FROM "scoring_leaders" WHERE "player"='John Heston';
|
1-14341967-2
|
Who scored the most points?
|
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("points") FROM "michigan_63_oberlin_0";
|
1-14342367-11
|
What position did Joe Maddock play?
|
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "position" FROM "michigan_63_oberlin_0" WHERE "player"='Joe Maddock';
|
1-14342367-11
|
How many extra points did Paul Jones score?
|
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT COUNT("extra_points") FROM "michigan_63_oberlin_0" WHERE "player"='Paul Jones';
|
1-14342367-11
|
How many points did Albert Herrnstein make?
|
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "points" FROM "michigan_86_ohio_state_0" WHERE "player"='Albert Herrnstein';
|
1-14342367-7
|
What positions did Paul Jones play?
|
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "position" FROM "michigan_86_ohio_state_0" WHERE "player"='Paul Jones';
|
1-14342367-7
|
What is the least amount of field goals made by a player?
|
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MIN("field_goals") FROM "michigan_86_ohio_state_0";
|
1-14342367-7
|
How many extra points did Paul Dickey received
|
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
|
SELECT MAX("extra_points_1_point") FROM "scoring_summary" WHERE "player"='Paul Dickey';
|
1-14342367-15
|
How many 5 points field goals is minimum
|
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
|
SELECT MIN("field_goals_5_points") FROM "scoring_summary";
|
1-14342367-15
|
How many player with total points of 75
|
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
|
SELECT COUNT("player") FROM "scoring_summary" WHERE "total_points"=75;
|
1-14342367-15
|
Name the most field goals
|
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("field_goals") FROM "michigan_65_ohio_normal_0";
|
1-14342480-5
|
Name the number of points for right halfback and starter being yes
|
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT COUNT("points") FROM "michigan_65_ohio_normal_0" WHERE "position"='Right halfback' AND "starter"='yes';
|
1-14342480-5
|
Na,e the number of field goals for right tackle
|
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT COUNT("field_goals") FROM "michigan_65_ohio_normal_0" WHERE "position"='Right tackle';
|
1-14342480-5
|
Name the most extra points for right halfback
|
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("extra_points") FROM "michigan_65_ohio_normal_0" WHERE "position"='Right halfback';
|
1-14342480-5
|
What positions does Tom Hammond play?
|
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "position" FROM "michigan_48_ohio_northern_0" WHERE "player"='Tom Hammond';
|
1-14342592-3
|
What positions does Hal Weeks play?
|
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "position" FROM "michigan_48_ohio_northern_0" WHERE "player"='Hal Weeks';
|
1-14342592-3
|
How many points does Clark have?
|
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "points" FROM "michigan_48_ohio_northern_0" WHERE "player"='Clark';
|
1-14342592-3
|
How many points did the player who was right guard score?
|
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT COUNT("points") FROM "michigan_72_american_medical_school_0" WHERE "position"='Right guard';
|
1-14342592-7
|
Was there a starter when 3 touchdowns were scored?
|
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT "starter" FROM "michigan_72_american_medical_school_0" WHERE "touchdowns"=3;
|
1-14342592-7
|
How many touchdowns were there when Heston was in play?
|
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("touchdowns") FROM "michigan_72_american_medical_school_0" WHERE "player"='Heston';
|
1-14342592-7
|
How many maximum points were there when the left tackle was played and there were 5 extra points?
|
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
|
SELECT MAX("points") FROM "michigan_72_american_medical_school_0" WHERE "position"='Left tackle' AND "extra_points"=5;
|
1-14342592-7
|
Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?
|
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
|
SELECT COUNT("uk_co_presenter") FROM "presenters" WHERE "co_presenter"='Joe Swash' AND "comedian"='Russell Kane';
|
1-14345690-15
|
What series have Caroline Flack as a main presenter?
|
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
|
SELECT "series" FROM "presenters" WHERE "main_presenter"='Caroline Flack';
|
1-14345690-15
|
Who is the co-presenter of the series Seven (2007)?
|
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
|
SELECT "co_presenter" FROM "presenters" WHERE "series"='Seven (2007)';
|
1-14345690-15
|
Who is the main presenter of the series Twelve (2012)?
|
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
|
SELECT "main_presenter" FROM "presenters" WHERE "series"='Twelve (2012)';
|
1-14345690-15
|
Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)?
|
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
|
SELECT "uk_co_presenter" FROM "presenters" WHERE "co_presenter"='Joe Swash' AND "series"='Eleven (2011)';
|
1-14345690-15
|
What position did Nell McAndrew finish?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "finished" FROM "series_1_2002" WHERE "celebrity"='Nell McAndrew';
|
1-14345690-2
|
Who was the champion boxer?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "celebrity" FROM "series_1_2002" WHERE "famous_for"='Champion boxer';
|
1-14345690-2
|
When did Darren Day enter?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "entered" FROM "series_1_2002" WHERE "celebrity"='Darren Day';
|
1-14345690-2
|
What position did Tara Palmer-Tomkinson finish?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "finished" FROM "series_1_2002" WHERE "celebrity"='Tara Palmer-Tomkinson';
|
1-14345690-2
|
When did the 4th finisher enter?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "entered" FROM "series_1_2002" WHERE "finished"='4th';
|
1-14345690-2
|
When did Darren Day enter?
|
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "entered" FROM "series_1_2002" WHERE "celebrity"='Darren Day';
|
1-14345690-2
|
How many people finished 9th?
|
CREATE TABLE "series_2_2003" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT COUNT("exited") FROM "series_2_2003" WHERE "finished"='9th';
|
1-14345690-3
|
What was the least amount of camp mates?
|
CREATE TABLE "series_details" (
"series" text,
"presenters" text,
"start_date" text,
"end_date" text,
"days_in_camp" real,
"camp_mates" real,
"winner" text,
"highest_viewers_millions" text,
"lowest_viewers_millions" text,
"average_viewers_millions" text
);
|
SELECT MIN("camp_mates") FROM "series_details";
|
1-14345690-1
|
Who directed series #4 that was teleplayed by David Simon?
|
CREATE TABLE "table1_14346353_1" (
"series_num" real,
"title" text,
"story_by" text,
"teleplay_by" text,
"directed_by" text,
"original_air_date" text
);
|
SELECT COUNT("directed_by") FROM "table1_14346353_1" WHERE "teleplay_by"='David Simon' AND "series_num"=4;
|
1-14346353-1
|
What is the title of series #1?
|
CREATE TABLE "table1_14346353_1" (
"series_num" real,
"title" text,
"story_by" text,
"teleplay_by" text,
"directed_by" text,
"original_air_date" text
);
|
SELECT "title" FROM "table1_14346353_1" WHERE "series_num"=1;
|
1-14346353-1
|
What is the finished place where exited is day 11?
|
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "finished" FROM "table1_14345690_5" WHERE "exited"='Day 11';
|
1-14345690-5
|
Who is the famous for that finished 2nd?
|
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "famous_for" FROM "table1_14345690_5" WHERE "finished"='2nd';
|
1-14345690-5
|
What is the famous for where the finished is 5th?
|
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "famous_for" FROM "table1_14345690_5" WHERE "finished"='5th';
|
1-14345690-5
|
What is the exited day where the celebrity is vic reeves?
|
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "exited" FROM "table1_14345690_5" WHERE "celebrity"='Vic Reeves';
|
1-14345690-5
|
what is the celebrity where the finished is 5th?
|
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
|
SELECT "celebrity" FROM "table1_14345690_5" WHERE "finished"='5th';
|
1-14345690-5
|
When was incumbent John Thomas Wilson first elected?
|
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
|
SELECT "first_elected" FROM "ohio" WHERE "incumbent"='John Thomas Wilson';
|
1-1434788-5
|
Who were the candidates in the election where John Beatty was the incumbent?
|
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "ohio" WHERE "incumbent"='John Beatty';
|
1-1434788-5
|
Who was the incumbent in the Ohio 16 district?
|
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 16';
|
1-1434788-5
|
What is the average for the team with n/a in 1992 and 37 in 1992-93?
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT "average" FROM "relegation" WHERE "1991_92"='N/A' AND "1992_93"='37';
|
1-14368332-1
|
What is the result in 91-92 for the team with a 1.053 average?
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT "1991_92" FROM "relegation" WHERE "average"='1.053';
|
1-14368332-1
|
What is the 92'-93 result for the team with 55 in 91'-92?
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT "1992_93" FROM "relegation" WHERE "1991_92"='55';
|
1-14368332-1
|
What is the average for the team with 39 in 1991-92?
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT "average" FROM "relegation" WHERE "1991_92"='39';
|
1-14368332-1
|
Name the birth date for shirt number 7
|
CREATE TABLE "team_roster_season_2012_13" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
|
SELECT "birth_date" FROM "team_roster_season_2012_13" WHERE "shirt_no"=7;
|
1-14363116-1
|
Name the maximum height for yury berezhko
|
CREATE TABLE "team_roster_season_2012_13" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
|
SELECT MAX("height") FROM "team_roster_season_2012_13" WHERE "player"='Yury Berezhko';
|
1-14363116-1
|
Name the least points where 1989-90 is 31
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1989_90" text,
"1990_91" text,
"1991_1992" real
);
|
SELECT MIN("points") FROM "relegation" WHERE "1989_90"='31';
|
1-14390413-1
|
Name the 1991-1992 for river plate
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1989_90" text,
"1990_91" text,
"1991_1992" real
);
|
SELECT "1991_1992" FROM "relegation" WHERE "team"='River Plate';
|
1-14390413-1
|
Which models can perform flops(@ 200mhz) is 3.2
|
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" text,
"open_gl_es" text,
"gflops_200_m_hz" text,
"frequency" real
);
|
SELECT "model" FROM "table1_1439045_5" WHERE "gflops_200_m_hz"='3.2';
|
1-1439045-5
|
Which version of opengl is used by model sgx520?
|
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" text,
"open_gl_es" text,
"gflops_200_m_hz" text,
"frequency" real
);
|
SELECT "open_gl_es" FROM "table1_1439045_5" WHERE "model"='SGX520';
|
1-1439045-5
|
What is the die size(mm 2) for model sgx531?
|
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" text,
"open_gl_es" text,
"gflops_200_m_hz" text,
"frequency" real
);
|
SELECT "die_size_mm_2_1" FROM "table1_1439045_5" WHERE "model"='SGX531';
|
1-1439045-5
|
Name the total number of 1991-92 for 1992-93 for 44
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT COUNT("1991_92") FROM "relegation" WHERE "1992_93"='44';
|
1-14371754-1
|
Name the team for average 1.026 for 1991-92 being 40
|
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
|
SELECT "team" FROM "relegation" WHERE "average"='1.026' AND "1991_92"='40';
|
1-14371754-1
|
Name the economic class for punong barangay being antonio b. gangan
|
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
|
SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Antonio B. Gangan';
|
1-1440338-1
|
Name the economic class for arnold g. apalla
|
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
|
SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Arnold G. Apalla';
|
1-1440338-1
|
Name the economic class for artemoio m. baymosa
|
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
|
SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Artemoio M. Baymosa';
|
1-1440338-1
|
Name the total number of 1stm when 2nd m is 125.5
|
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
|
SELECT COUNT("1st_m") FROM "kuopio" WHERE "2nd_m"='125.5';
|
1-14407512-23
|
Name the overall wc points rank for 2nd m for 122.5
|
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
|
SELECT "overall_wc_points_rank" FROM "kuopio" WHERE "2nd_m"='122.5';
|
1-14407512-23
|
Name the number of nationality is tom hilde
|
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
|
SELECT COUNT("nationality") FROM "kuopio" WHERE "name"='Tom Hilde';
|
1-14407512-23
|
What was the original air date (atv) of the episode "Recall to Service"?
|
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
|
SELECT "original_air_date_atv" FROM "table1_1439096_1" WHERE "title"='\"Recall to Service\"';
|
1-1439096-1
|
Who was the director of the episode originally aired on 26 October 1969?
|
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
|
SELECT "director" FROM "table1_1439096_1" WHERE "original_air_date_atv"='26 October 1969';
|
1-1439096-1
|
What is the lowest production number?
|
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
|
SELECT MIN("production_no") FROM "table1_1439096_1";
|
1-1439096-1
|
What is the title of the episode with the original air date of 28 September 1969?
|
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
|
SELECT "title" FROM "table1_1439096_1" WHERE "original_air_date_atv"='28 September 1969';
|
1-1439096-1
|
What was the original air date (atv) of episode 1?
|
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
|
SELECT "original_air_date_atv" FROM "table1_1439096_1" WHERE "episode_no"=1;
|
1-1439096-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.