question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the number of the tax supervising and conservation bill? | CREATE TABLE "1932_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MIN("meas_num") FROM "1932_general_election" WHERE "description"='Tax Supervising and Conservation Bill'; | 1-256286-23 |
How many ballot measures had a percentage yes of 52.11%? | CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("passed") FROM "1954_general_election" WHERE "pct_yes"='52.11%'; | 1-256286-39 |
What is the measure where the yes% is 44.06%? | CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "description" FROM "1954_general_election" WHERE "pct_yes"='44.06%'; | 1-256286-39 |
How many measures had a yes vote of 216545? | CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("passed") FROM "1954_general_election" WHERE "yes_votes"=216545; | 1-256286-39 |
What is the highest measure number? | CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MAX("meas_num") FROM "1954_general_election"; | 1-256286-39 |
What was the percentage of yes votes for the measure where the no votes number 199174? | CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "pct_yes" FROM "1962_general_election" WHERE "no_votes"=199174; | 1-256286-45 |
How many types are there for the measure where there were 312680 yes votes? | CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("type") FROM "1962_general_election" WHERE "yes_votes"=312680; | 1-256286-45 |
How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment? | CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("no_votes") FROM "1962_general_election" WHERE "description"='Forest Rehabilitation Debt Limit Amendment'; | 1-256286-45 |
What is the type of measure that voted on the Power Development Debt Limit Amendment? | CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "type" FROM "1962_general_election" WHERE "description"='Power Development Debt Limit Amendment'; | 1-256286-45 |
What vote passed for the measure with the description, authorizing state acceptance of certain gifts? | CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "passed" FROM "1956_general_election" WHERE "description"='Authorizing State Acceptance of Certain Gifts'; | 1-256286-40 |
How many votes passed are listed on the measure that had 390338 yes votes? | CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("passed") FROM "1956_general_election" WHERE "yes_votes"=390338; | 1-256286-40 |
What was the type when there were 175932 yes votes? | CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "type" FROM "1956_general_election" WHERE "yes_votes"=175932; | 1-256286-40 |
What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49% | CREATE TABLE "1958_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("yes_votes") FROM "1958_general_election" WHERE "no_votes"<299939.1619948521 AND "pct_yes"='66.49%'; | 1-256286-41 |
What is the description of the measure that got 78.27% yes votes? | CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "description" FROM "1970_general_election" WHERE "pct_yes"='78.27%'; | 1-256286-55 |
What is the highest measure number? | CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MAX("meas_num") FROM "1970_general_election"; | 1-256286-55 |
How many measures numbered 8 were a constitutional ammendment? | CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("const_amd") FROM "1970_general_election" WHERE "meas_num"=8; | 1-256286-55 |
How many type classifications are given to the measure with the description, calling convention to revise state constitution? | CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("type") FROM "1910_general_election" WHERE "description"='Calling Convention to revise State Constitution'; | 1-256286-5 |
What is the yes percentage in the measure that had 35270 yes votes? | CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "pct_yes" FROM "1910_general_election" WHERE "yes_votes"=35270; | 1-256286-5 |
Was the constitution amended for the measure with description , to annex part of Washington county to multnomah? | CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "const_amd" FROM "1910_general_election" WHERE "description"='To Annex Part of Washington County to Multnomah'; | 1-256286-5 |
When the no votes was 322682, what was the max meas. number? | CREATE TABLE "may_1970_primary_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MAX("meas_num") FROM "may_1970_primary_election" WHERE "no_votes"=322682; | 1-256286-54 |
Was the constitution amended on the measure described as authorizes bonds for water development fund? | CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "const_amd" FROM "may_1974_election" WHERE "description"='Authorizes bonds for water development fund'; | 1-256286-60 |
How yes votes were there for measure 4? | CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MAX("yes_votes") FROM "may_1974_election" WHERE "meas_num"=4; | 1-256286-60 |
Was the constitution amended when the percentage of yes votes was 69.82%? | CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "const_amd" FROM "may_1974_election" WHERE "pct_yes"='69.82%'; | 1-256286-60 |
What was the lowest measure number? | CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT MIN("meas_num") FROM "may_1974_election"; | 1-256286-60 |
What was the type of ballot measures if the % of yes vote is 32.47%? | CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "type" FROM "1914_general_election" WHERE "pct_yes"='32.47%'; | 1-256286-8 |
What was the type of ballot measure with the description of Department of Industry and Public Works Amendment? | CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "type" FROM "1914_general_election" WHERE "description"='Department of Industry and Public Works Amendment'; | 1-256286-8 |
How many data are there under NO vote with a description of $1500 tax exemption amendment? | CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("no_votes") FROM "1914_general_election" WHERE "description"='$1500 Tax Exemption Amendment'; | 1-256286-8 |
What is the percentage of yes when there were 218846 yes votes | CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "pct_yes" FROM "table1_256286_61" WHERE "yes_votes"=218846; | 1-256286-61 |
How many type catagories are listed when the percentage of yes is 68.91%? | CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT COUNT("type") FROM "table1_256286_61" WHERE "pct_yes"='68.91%'; | 1-256286-61 |
What is the type when yes votes are 546255? | CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "type" FROM "table1_256286_61" WHERE "yes_votes"=546255; | 1-256286-61 |
What is the measure number for the bill described as obscenity and sexual conduct bill? | CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
); | SELECT "meas_num" FROM "table1_256286_61" WHERE "description"='Obscenity and sexual conduct bill'; | 1-256286-61 |
How many points did art renner have? | CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT COUNT("points") FROM "individual_scoring_totals" WHERE "player"='Art Renner'; | 1-25647137-2 |
How many touchdowns did bill culligan have? | CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT COUNT("touchdowns") FROM "individual_scoring_totals" WHERE "player"='Bill Culligan'; | 1-25647137-2 |
What was the highest number of touchdowns by a player? | CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MAX("touchdowns") FROM "individual_scoring_totals"; | 1-25647137-2 |
How many points did robert stenberg have? | CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("points") FROM "individual_scoring_totals" WHERE "player"='Robert Stenberg'; | 1-25647137-2 |
Where was the quake that began at 14:07? | CREATE TABLE "table_of_earthquakes" (
"date" text,
"origin_time" text,
"epicentre_lat_s" text,
"epicentre_long_e" text,
"local_magnitude" text,
"location" text
); | SELECT "location" FROM "table_of_earthquakes" WHERE "origin_time"='14:07'; | 1-25643046-1 |
What was the epicenter latitude for the quake that started at 17:09? | CREATE TABLE "table_of_earthquakes" (
"date" text,
"origin_time" text,
"epicentre_lat_s" text,
"epicentre_long_e" text,
"local_magnitude" text,
"location" text
); | SELECT "epicentre_lat_s" FROM "table_of_earthquakes" WHERE "origin_time"='17:09'; | 1-25643046-1 |
When "pants on fire" is the title what is the air date? | CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
); | SELECT "original_air_date" FROM "table1_25649467_2" WHERE "title"='\"Pants on Fire\"'; | 1-25649467-2 |
When "the charlotte letter" is the title what is the air date? | CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
); | SELECT "original_air_date" FROM "table1_25649467_2" WHERE "title"='\"The Charlotte Letter\"'; | 1-25649467-2 |
When "the 37-year itch" is the title what is the lowest series number? | CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
); | SELECT MIN("series_num") FROM "table1_25649467_2" WHERE "title"='\"The 37-Year Itch\"'; | 1-25649467-2 |
When 12 is the season number how many series numbers are there? | CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
); | SELECT COUNT("series_num") FROM "table1_25649467_2" WHERE "season_num"=12; | 1-25649467-2 |
Who had the mountains classification when borut božič was the winner? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Borut Božič'; | 1-25655781-17 |
What was the team classification where andré greipel was the winner and had the points classification? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='André Greipel' AND "points_classification"='André Greipel'; | 1-25655781-17 |
How many stages are there? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
); | SELECT MAX("stage") FROM "classification_leadership"; | 1-25655781-17 |
How many sprint classifications are there where marco frapporti is the winner? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
); | SELECT COUNT("sprint_classification") FROM "classification_leadership" WHERE "winner"='Marco Frapporti'; | 1-25655781-17 |
Who was the second couple for the episode having an ITV1 ranking of 29? | CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
); | SELECT "second_couple" FROM "series_1" WHERE "itv1_weekly_ranking"=29; | 1-25664518-3 |
What is the maximum ITV1 weekly ranking? | CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
); | SELECT MAX("itv1_weekly_ranking") FROM "series_1"; | 1-25664518-3 |
What was the number of viewers for the episode having a fourth couple of Tony and Jamie? | CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
); | SELECT "viewers_millions" FROM "series_1" WHERE "fourth_couple"='Tony and Jamie'; | 1-25664518-3 |
Who was the first couple in the episode having a fourth couple of Sammy and Nat? | CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
); | SELECT "first_couple" FROM "series_1" WHERE "fourth_couple"='Sammy and Nat'; | 1-25664518-3 |
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million? | CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
); | SELECT MIN("itv1_weekly_ranking") FROM "series_1" WHERE "viewers_millions"='5.42'; | 1-25664518-3 |
What episode number in the series was viewed by 13.66 million people in the U.S.? | CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT MAX("no_in_series") FROM "table1_25668962_1" WHERE "u_s_viewers_million"='13.66'; | 1-25668962-1 |
How many million U.S. viewers watched the epiode with a production code of 1arc12? | CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "production_code"='1ARC12'; | 1-25668962-1 |
How many million U.S. viewers watched the episode with a production code of 1arc03? | CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "production_code"='1ARC03'; | 1-25668962-1 |
How many million U.S. viewers watched episode number 6 in the series? | CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "no_in_series"=6; | 1-25668962-1 |
Who directed episode number 18 in the series? | CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "directed_by" FROM "table1_25668962_1" WHERE "no_in_series"=18; | 1-25668962-1 |
How many episode numbers are there on the show whose first couple was Stuart and Pegah>? | CREATE TABLE "series_2" (
"num" real,
"airdate" text,
"no_of_couples" real,
"1st_couple" text,
"2nd_couple" text,
"3rd_couple" text,
"4th_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" text
); | SELECT COUNT("num") FROM "series_2" WHERE "1st_couple"='Stuart and Pegah'; | 1-25664518-4 |
Who were the 3rd couple that were viewed by 4.89 million viewers? | CREATE TABLE "series_2" (
"num" real,
"airdate" text,
"no_of_couples" real,
"1st_couple" text,
"2nd_couple" text,
"3rd_couple" text,
"4th_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" text
); | SELECT "3rd_couple" FROM "series_2" WHERE "viewers_millions"='4.89'; | 1-25664518-4 |
What location(s) did patrick mckenna lead the most laps? | CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "location" FROM "race_calendar_and_results" WHERE "most_laps_led"='Patrick McKenna'; | 1-25668203-2 |
How many races went for 10 rounds? | CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT COUNT("fastest_lap") FROM "race_calendar_and_results" WHERE "rnd"='10'; | 1-25668203-2 |
Who had the most laps led in monterey, california when scott rarick won the race? | CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "most_laps_led" FROM "race_calendar_and_results" WHERE "location"='Monterey, California' AND "winning_driver"='Scott Rarick'; | 1-25668203-2 |
What was the winning team when mikhail goikhberg was the winning driver? | CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "winning_team" FROM "race_calendar_and_results" WHERE "winning_driver"='Mikhail Goikhberg'; | 1-25668203-2 |
Who directed the episode with the production code 10? | CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT "directed_by" FROM "table1_25679312_2" WHERE "prod_code"=10; | 1-25679312-2 |
Who wrote the episode with production code 2? | CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT "written_by" FROM "table1_25679312_2" WHERE "prod_code"=2; | 1-25679312-2 |
Who wrote the episode with production code 5? | CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT "written_by" FROM "table1_25679312_2" WHERE "prod_code"=5; | 1-25679312-2 |
Name the number of finishes for 15 entries 15 and l'esprit d'equipe | CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
); | SELECT COUNT("finish") FROM "history" WHERE "entries"='15' AND "winning_yacht"='L''Esprit d''Equipe'; | 1-256862-1 |
Name the most legs for steinlager 2 | CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
); | SELECT MAX("legs") FROM "history" WHERE "winning_yacht"='Steinlager 2'; | 1-256862-1 |
Name the wininng yacht for 14 entries | CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
); | SELECT "winning_yacht" FROM "history" WHERE "entries"='14'; | 1-256862-1 |
What was the word for the episode that aired February 11? | CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "the_w_rd" FROM "table1_25691838_2" WHERE "original_airdate"='February 11'; | 1-25691838-2 |
What was the introductory phrase for the episode with the production bode 6026? | CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "introductory_phrase" FROM "table1_25691838_2" WHERE "production_code"=6026; | 1-25691838-2 |
What was the word on episode number 673? | CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "the_w_rd" FROM "table1_25691838_2" WHERE "episode_num"=673; | 1-25691838-2 |
Who were the guests in the episode with production code 6021? | CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "guest" FROM "table1_25691838_2" WHERE "production_code"=6021; | 1-25691838-2 |
Who were the guests on a show where the production code is 6152? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "guest" FROM "table1_25691838_12" WHERE "production_code"=6152; | 1-25691838-12 |
Who were the guests for the episode with an original airdate of december 07? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "guest" FROM "table1_25691838_12" WHERE "original_airdate"='December 07'; | 1-25691838-12 |
How many introductory phrases are there with "the wørd" is "unrequited gov"? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT COUNT("introductory_phrase") FROM "table1_25691838_12" WHERE "the_w_rd"='\"Unrequited Gov\"'; | 1-25691838-12 |
What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "the_w_rd" FROM "table1_25691838_12" WHERE "guest"='Daniel Ellsberg , William Wegman , Julie Taymor'; | 1-25691838-12 |
What is the production code of the episode with an original airdate of december 01? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "production_code" FROM "table1_25691838_12" WHERE "original_airdate"='December 01'; | 1-25691838-12 |
What is the episode # when the guests were julie nixon eisenhower and david eisenhower? | CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT MIN("episode_num") FROM "table1_25691838_12" WHERE "guest"='Julie Nixon Eisenhower and David Eisenhower'; | 1-25691838-12 |
Who were the guests on the episode that first aired August 16? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "guest" FROM "table1_25691838_8" WHERE "original_airdate"='August 16'; | 1-25691838-8 |
What was the introductory phrase on the episode production code 6101? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "introductory_phrase" FROM "table1_25691838_8" WHERE "production_code"=6101; | 1-25691838-8 |
What was the smallest production code for August 11's original episode? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT MIN("production_code") FROM "table1_25691838_8" WHERE "original_airdate"='August 11'; | 1-25691838-8 |
How many introductory phrases were there on David Finkel's guest episode? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT COUNT("introductory_phrase") FROM "table1_25691838_8" WHERE "guest"='David Finkel'; | 1-25691838-8 |
What was the minimum number of the episode that first aired August 11? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT MIN("episode_num") FROM "table1_25691838_8" WHERE "original_airdate"='August 11'; | 1-25691838-8 |
Who were the guests for August 16's original episode? | CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "guest" FROM "table1_25691838_8" WHERE "original_airdate"='August 16'; | 1-25691838-8 |
What was the introductory phrase for episode 794? | CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "introductory_phrase" FROM "november" WHERE "episode_num"=794; | 1-25691838-11 |
What date did the episode originally air on with salvatore giunta as a guest? | CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT "original_airdate" FROM "november" WHERE "guest"='Salvatore Giunta'; | 1-25691838-11 |
How many production codes were there for the episode that aired on November 15? | CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
); | SELECT COUNT("production_code") FROM "november" WHERE "original_airdate"='November 15'; | 1-25691838-11 |
What was the cylinder size of this engine that was made with only 88 pieces? | CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
); | SELECT "cylinder_size" FROM "engine_num7002" WHERE "number_built"='88'; | 1-25695027-1 |
What was the engine class that was built on 1906-08? | CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
); | SELECT "class" FROM "engine_num7002" WHERE "years_built"='1906-08'; | 1-25695027-1 |
How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson? | CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
); | SELECT "number_built" FROM "engine_num7002" WHERE "cylinder_size"='20 ½” x 26”' AND "firebox"='Belpaire' AND "valve_gear"='Stephenson'; | 1-25695027-1 |
This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when? | CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
); | SELECT "years_built" FROM "engine_num7002" WHERE "cylinder_size"='20 ½” x 26”' AND "firebox"='Radial-stay'; | 1-25695027-1 |
How many types of valves were used on this engine that was built on 1902-05? | CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
); | SELECT COUNT("valves") FROM "engine_num7002" WHERE "years_built"='1902-05'; | 1-25695027-1 |
Name the agency for santa rosa avenue | CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
); | SELECT "agency" FROM "table1_25692955_1" WHERE "south_west_terminal"='Santa Rosa Avenue'; | 1-25692955-1 |
Name the route number for rincon valley | CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
); | SELECT "route_number" FROM "table1_25692955_1" WHERE "south_west_terminal"='Rincon Valley'; | 1-25692955-1 |
Name the route number for santa rosa avenue | CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
); | SELECT "route_number" FROM "table1_25692955_1" WHERE "north_east_terminal"='Santa Rosa Avenue'; | 1-25692955-1 |
What is the original air date of the episode "Another Happy Day"? | CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
); | SELECT "original_air_date_uk" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_title"='Another Happy Day'; | 1-2570269-3 |
What is the title of the episode that aired on 13 august 1981? | CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
); | SELECT "episode_title" FROM "series_3_spearhead_in_hong_kong" WHERE "original_air_date_uk"='13 August 1981'; | 1-2570269-3 |
What is the original air date of episode 3-02? | CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
); | SELECT "original_air_date_uk" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_num"='3-02'; | 1-2570269-3 |
Who are the cast members of episode 3-04? | CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
); | SELECT "cast" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_num"='3-04'; | 1-2570269-3 |
What is the highest birth/2013 when the death/2012 is 14,1? | CREATE TABLE "table1_25703_1" (
"january_september_2013" text,
"birth_2013" real,
"birth_2012" real,
"death_2013" real,
"death_2012" text
); | SELECT MAX("birth_2013") FROM "table1_25703_1" WHERE "death_2012"='14,1'; | 1-25703-1 |
What is the highest death/2013 when the death/2012 is 12,7? | CREATE TABLE "table1_25703_1" (
"january_september_2013" text,
"birth_2013" real,
"birth_2012" real,
"death_2013" real,
"death_2012" text
); | SELECT MAX("death_2013") FROM "table1_25703_1" WHERE "death_2012"='12,7'; | 1-25703-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.