question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity?
CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text );
SELECT COUNT("calculated_activity_bq") FROM "notes" WHERE "specimen_weight_size"='1000 g / 8.79 cm';
1-26211058-1
If the new points were 5760, what is the RK?
CREATE TABLE "men_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT "rk" FROM "men_s_singles" WHERE "new_points"=5760;
1-26218783-6
How many times is player Stanislas Wawrinka on the list?
CREATE TABLE "men_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT COUNT("points_defending") FROM "men_s_singles" WHERE "player"='Stanislas Wawrinka';
1-26218783-6
If the points won were 90 and the points defending were 45, what are the new points?
CREATE TABLE "men_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT "new_points" FROM "men_s_singles" WHERE "points_defending"=45 AND "points_won"=90;
1-26218783-6
how many time was points 6675?
CREATE TABLE "women_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT COUNT("points_won") FROM "women_s_singles" WHERE "points"=6675;
1-26218783-7
What is the lowest points won from player victoria azarenka?
CREATE TABLE "women_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT MIN("points_won") FROM "women_s_singles" WHERE "player"='Victoria Azarenka';
1-26218783-7
What is the status when sd is 15?
CREATE TABLE "women_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT "status" FROM "women_s_singles" WHERE "sd"=15;
1-26218783-7
What is the highest sd when the status is second round lost to iveta benešová?
CREATE TABLE "women_s_singles" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );
SELECT MAX("sd") FROM "women_s_singles" WHERE "status"='Second round lost to Iveta Benešová';
1-26218783-7
How many clubs were founded in the westfalenstadion stadium?
CREATE TABLE "table1_26218124_1" ( "name" text, "original_club" text, "stadium" text, "city" text, "country" text, "sport" text, "founded" real, "reason_for_foundation_with_source" text );
SELECT COUNT("founded") FROM "table1_26218124_1" WHERE "stadium"='Westfalenstadion';
1-26218124-1
Which club was originally named hapoel katamon jerusalem f.c.?
CREATE TABLE "table1_26218124_1" ( "name" text, "original_club" text, "stadium" text, "city" text, "country" text, "sport" text, "founded" real, "reason_for_foundation_with_source" text );
SELECT "original_club" FROM "table1_26218124_1" WHERE "name"='Hapoel Katamon Jerusalem F.C.';
1-26218124-1
How many clubs were founded in belo horizonte?
CREATE TABLE "table1_26218124_1" ( "name" text, "original_club" text, "stadium" text, "city" text, "country" text, "sport" text, "founded" real, "reason_for_foundation_with_source" text );
SELECT COUNT("founded") FROM "table1_26218124_1" WHERE "city"='Belo Horizonte';
1-26218124-1
Which club was originally named the newcastle falcons?
CREATE TABLE "table1_26218124_1" ( "name" text, "original_club" text, "stadium" text, "city" text, "country" text, "sport" text, "founded" real, "reason_for_foundation_with_source" text );
SELECT "original_club" FROM "table1_26218124_1" WHERE "name"='Newcastle Falcons';
1-26218124-1
What is the minimum number of f/laps?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT MIN("f_laps") FROM "career_summary";
1-26222468-1
How many seasons have points totals of N/A?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT COUNT("season") FROM "career_summary" WHERE "points"='N/A';
1-26222468-1
What is the maximum number of wins?
CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );
SELECT MAX("wins") FROM "career_summary";
1-26222468-1
How many production codes does "number one" have?
CREATE TABLE "table1_2623498_2" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT MAX("prod_code") FROM "table1_2623498_2" WHERE "title"='\"Number One\"';
1-2623498-2
Who wrote "the new Ron"?
CREATE TABLE "table1_2623498_2" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "written_by" FROM "table1_2623498_2" WHERE "title"='\"The New Ron\"';
1-2623498-2
How many different starts had an average finish of 17.9?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("starts") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='17.9';
1-2622469-1
What were the wins of 1983?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "wins" FROM "nascar_sprint_cup_series" WHERE "year"=1983;
1-2622469-1
Which episodes in season 3 were written by Mark Drop?
CREATE TABLE "table1_2623498_4" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "season_episode_num" FROM "table1_2623498_4" WHERE "written_by"='Mark Drop';
1-2623498-4
How many directors were there for season 3 episode 1?
CREATE TABLE "table1_2623498_4" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT COUNT("directed_by") FROM "table1_2623498_4" WHERE "season_episode_num"='1';
1-2623498-4
How many times did the episode "team impossible" originally air?
CREATE TABLE "table1_2623498_4" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT COUNT("original_air_date") FROM "table1_2623498_4" WHERE "title"='\"Team Impossible\"';
1-2623498-4
what is the number where the player was jimmy demaret
CREATE TABLE "wins_9" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT "54_holes" FROM "wins_9" WHERE "runner_s_up"='Jimmy Demaret';
1-262383-1
what is the space where the next one was mike turnesa
CREATE TABLE "wins_9" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT "margin" FROM "wins_9" WHERE "runner_s_up"='Mike Turnesa';
1-262383-1
what is the space where the next winner is skee riegel
CREATE TABLE "wins_9" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT "margin" FROM "wins_9" WHERE "runner_s_up"='Skee Riegel';
1-262383-1
what is the old English name of Saturday?
CREATE TABLE "table1_2624098_1" ( "modern_english_day_name" text, "old_english_day_name" text, "english_day_name_meaning" text, "glossed_from_latin_day_name" text, "latin_day_name_meaning" text );
SELECT "old_english_day_name" FROM "table1_2624098_1" WHERE "modern_english_day_name"='Saturday';
1-2624098-1
how mant different day names in old English were coined from the Latin day name "dies iovis"?
CREATE TABLE "table1_2624098_1" ( "modern_english_day_name" text, "old_english_day_name" text, "english_day_name_meaning" text, "glossed_from_latin_day_name" text, "latin_day_name_meaning" text );
SELECT COUNT("old_english_day_name") FROM "table1_2624098_1" WHERE "glossed_from_latin_day_name"='Dies Iovis';
1-2624098-1
how many different meanings does Wednesday have?
CREATE TABLE "table1_2624098_1" ( "modern_english_day_name" text, "old_english_day_name" text, "english_day_name_meaning" text, "glossed_from_latin_day_name" text, "latin_day_name_meaning" text );
SELECT COUNT("english_day_name_meaning") FROM "table1_2624098_1" WHERE "modern_english_day_name"='Wednesday';
1-2624098-1
what is the English meaning of the old English name "sæturnesdæg"?
CREATE TABLE "table1_2624098_1" ( "modern_english_day_name" text, "old_english_day_name" text, "english_day_name_meaning" text, "glossed_from_latin_day_name" text, "latin_day_name_meaning" text );
SELECT "english_day_name_meaning" FROM "table1_2624098_1" WHERE "old_english_day_name"='Sæturnesdæg';
1-2624098-1
what is the meaning of the latin day name "dies saturni"?
CREATE TABLE "table1_2624098_1" ( "modern_english_day_name" text, "old_english_day_name" text, "english_day_name_meaning" text, "glossed_from_latin_day_name" text, "latin_day_name_meaning" text );
SELECT "latin_day_name_meaning" FROM "table1_2624098_1" WHERE "glossed_from_latin_day_name"='Dies Saturni';
1-2624098-1
Which opponents conference has the result L, 62-10?
CREATE TABLE "charleston_southern_vs_fbs_schools" ( "year" real, "fbs_opponent" text, "result" text, "opponents_conference" text, "opponents_head_coach" text, "charleston_southerns_head_coach" text );
SELECT "opponents_conference" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 62-10';
1-26240481-1
Who was the opponents head coach with the result L, 56-6?
CREATE TABLE "charleston_southern_vs_fbs_schools" ( "year" real, "fbs_opponent" text, "result" text, "opponents_conference" text, "opponents_head_coach" text, "charleston_southerns_head_coach" text );
SELECT "opponents_head_coach" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 56-6';
1-26240481-1
Who is Charleston Southerns head coach where the result is L, 56-6?-
CREATE TABLE "charleston_southern_vs_fbs_schools" ( "year" real, "fbs_opponent" text, "result" text, "opponents_conference" text, "opponents_head_coach" text, "charleston_southerns_head_coach" text );
SELECT "charleston_southerns_head_coach" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 56-6';
1-26240481-1
Who played FBS where the result was L, 62-3?
CREATE TABLE "charleston_southern_vs_fbs_schools" ( "year" real, "fbs_opponent" text, "result" text, "opponents_conference" text, "opponents_head_coach" text, "charleston_southerns_head_coach" text );
SELECT "fbs_opponent" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 62-3';
1-26240481-1
When was alfred university founded?
CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "enrollment" text, "joined" real, "left" real, "current_conference" text );
SELECT MAX("founded") FROM "former_members" WHERE "institution"='Alfred University';
1-262476-3
Name where bethany college is
CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "enrollment" real, "joined" real );
SELECT "location" FROM "current_members" WHERE "institution"='Bethany College';
1-262476-1
Name the location for golden tornadoes
CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "enrollment" real, "joined" real );
SELECT "location" FROM "current_members" WHERE "nickname"='Golden Tornadoes';
1-262476-1
Name the number of locations for geneva college
CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "enrollment" real, "joined" real );
SELECT COUNT("location") FROM "current_members" WHERE "institution"='Geneva College';
1-262476-1
Name the enrollment for tomcats
CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "enrollment" real, "joined" real );
SELECT "enrollment" FROM "current_members" WHERE "nickname"='Tomcats';
1-262476-1
How many season 4 appearances are there by Mrs. Jennifer Knight?
CREATE TABLE "character_appearances" ( "character" text, "played_by" text, "season_1" real, "season_2" real, "season_3" real, "season_4" real, "first_appearance" text );
SELECT MIN("season_4") FROM "character_appearances" WHERE "character"='Mrs. Jennifer Knight';
1-26240046-1
How many season 3 appearances by Morgan the Dog?
CREATE TABLE "character_appearances" ( "character" text, "played_by" text, "season_1" real, "season_2" real, "season_3" real, "season_4" real, "first_appearance" text );
SELECT MAX("season_3") FROM "character_appearances" WHERE "played_by"='Morgan the Dog';
1-26240046-1
What episode was the first appearance of the character who appears 7 times in season 4?
CREATE TABLE "character_appearances" ( "character" text, "played_by" text, "season_1" real, "season_2" real, "season_3" real, "season_4" real, "first_appearance" text );
SELECT "first_appearance" FROM "character_appearances" WHERE "season_4"=7;
1-26240046-1
How many season 3 appearances by the character played by Stefan Van Ray?
CREATE TABLE "character_appearances" ( "character" text, "played_by" text, "season_1" real, "season_2" real, "season_3" real, "season_4" real, "first_appearance" text );
SELECT MIN("season_3") FROM "character_appearances" WHERE "played_by"='Stefan van Ray';
1-26240046-1
What is the first appearance of the character played by Obdul Reid?
CREATE TABLE "character_appearances" ( "character" text, "played_by" text, "season_1" real, "season_2" real, "season_3" real, "season_4" real, "first_appearance" text );
SELECT "first_appearance" FROM "character_appearances" WHERE "played_by"='Obdul Reid';
1-26240046-1
What was the primary conference when joining the cslf for the institution that was founded in 1894
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text, "primary_conference_when_joining_the_csfl" text );
SELECT "primary_conference_when_joining_the_csfl" FROM "current_members" WHERE "founded"=1894;
1-262501-1
what was the primary conference when joining the csfl for the institution that joined in 2004-05?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text, "primary_conference_when_joining_the_csfl" text );
SELECT "primary_conference_when_joining_the_csfl" FROM "current_members" WHERE "joined"='2004-05';
1-262501-1
How may results had the theme inspirational?
CREATE TABLE "performances" ( "episode" text, "theme" text, "song_choice" text, "original_recording_artist" text, "order_num" text, "result" text );
SELECT COUNT("result") FROM "performances" WHERE "theme"='Inspirational';
1-26250151-1
Which episode had Lavern Baker?
CREATE TABLE "performances" ( "episode" text, "theme" text, "song_choice" text, "original_recording_artist" text, "order_num" text, "result" text );
SELECT "episode" FROM "performances" WHERE "original_recording_artist"='LaVern Baker';
1-26250151-1
What was the order # or Erma Franklin?
CREATE TABLE "performances" ( "episode" text, "theme" text, "song_choice" text, "original_recording_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances" WHERE "original_recording_artist"='Erma Franklin';
1-26250151-1
who is the original artist for the song " rhiannon "?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "original_artist" FROM "performances_results" WHERE "song_choice"='\" Rhiannon \"';
1-26250145-1
What is the theme for the original artist Alicia Keys?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "theme" FROM "performances_results" WHERE "original_artist"='Alicia Keys';
1-26250145-1
How many times is the original artist Alicia keys?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT COUNT("result") FROM "performances_results" WHERE "original_artist"='Alicia Keys';
1-26250145-1
What is the order # for the original artist sarah mclachlan?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances_results" WHERE "original_artist"='Sarah McLachlan';
1-26250145-1
WHat is the them for the order #2?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "theme" FROM "performances_results" WHERE "order_num"='2';
1-26250145-1
When pointers are the nickname what is the type?
CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_population" text, "founded" real, "type" text, "undergraduate_enrollment" real, "joined" text );
SELECT "type" FROM "current_members" WHERE "nickname"='Pointers';
1-262495-1
When falcons are the nickname what is the type?
CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_population" text, "founded" real, "type" text, "undergraduate_enrollment" real, "joined" text );
SELECT "type" FROM "current_members" WHERE "nickname"='Falcons';
1-262495-1
When 9386 is the undergraduate enrollment what is the nickname?
CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_population" text, "founded" real, "type" text, "undergraduate_enrollment" real, "joined" text );
SELECT "nickname" FROM "current_members" WHERE "undergraduate_enrollment"=9386;
1-262495-1
What was the choice of song where the original artist was Stevie Wonder?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "song_choice" FROM "performances" WHERE "original_artist"='Stevie Wonder';
1-26250189-1
What was Katie's order number when the theme was The Rolling Stones?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances" WHERE "theme"='The Rolling Stones';
1-26250189-1
Who was the original artist of the chosen song when the theme was The Rolling Stones?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "original_artist" FROM "performances" WHERE "theme"='The Rolling Stones';
1-26250189-1
Who was the original artist of the First solo theme?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "original_artist" FROM "performances_results" WHERE "theme"='First Solo';
1-26250155-1
What is the number of song choices where the original artist was Bright Eyes?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT COUNT("song_choice") FROM "performances_results" WHERE "original_artist"='Bright Eyes';
1-26250155-1
Who was the original artist of the group performance theme?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "original_artist" FROM "performances_results" WHERE "theme"='Group Performance';
1-26250155-1
What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances_results" WHERE "theme"='Billboard Hot 100 Hits' AND "original_artist"='Sixpence None the Richer';
1-26250155-1
What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?
CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT COUNT("week_num") FROM "performances_results" WHERE "theme"='Billboard Hot 100 Hits' AND "order_num"='3' AND "original_artist"='Sixpence None the Richer';
1-26250155-1
How many joined the Warriors?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text );
SELECT COUNT("joined") FROM "current_members" WHERE "nickname"='Warriors';
1-262508-1
How many joined when the enrollment was 1150 in Sioux City, Iowa?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text );
SELECT "joined" FROM "current_members" WHERE "enrollment"=1150 AND "location"='Sioux City, Iowa';
1-262508-1
What is Briar Cliff University's nickname?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text );
SELECT "nickname" FROM "current_members" WHERE "institution"='Briar Cliff University';
1-262508-1
What is the nickname of the institution from Concordia University, Nebraska?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text );
SELECT "nickname" FROM "current_members" WHERE "institution"='Concordia University, Nebraska';
1-262508-1
Where the week # is Top 12, what is the result?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "performances" WHERE "week_num"='Top 12';
1-26250253-1
How many results are there with the theme Group Round?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT COUNT("result") FROM "performances" WHERE "theme"='Group Round';
1-26250253-1
Who is the original artist of the song choice " Under My Thumb "?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "original_artist" FROM "performances" WHERE "song_choice"='\" Under My Thumb \"';
1-26250253-1
How many themes are there where the order # is 9?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT COUNT("theme") FROM "performances" WHERE "order_num"='9';
1-26250253-1
The order # is what for the week # Top 10?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances" WHERE "week_num"='Top 10';
1-26250253-1
The original artist The Temptations has what week #?
CREATE TABLE "performances" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "week_num" FROM "performances" WHERE "original_artist"='The Temptations';
1-26250253-1
Name the total number of founded for public and 780 enrollment
CREATE TABLE "past_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" text, "current_conference" text );
SELECT COUNT("founded") FROM "past_members" WHERE "type"='Public' AND "enrollment"='780';
1-262505-1
Name the founded for school closed in 2005
CREATE TABLE "past_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" text, "current_conference" text );
SELECT "founded" FROM "past_members" WHERE "current_conference"='school closed in 2005';
1-262505-1
what is the nickname that joined 1902 1?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );
SELECT "nickname" FROM "current_members" WHERE "joined"='1902 1';
1-262527-1
what type of institution is ottawa university?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );
SELECT "type" FROM "current_members" WHERE "institution"='Ottawa University';
1-262527-1
what is the total number of nicknames for southwestern college?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );
SELECT COUNT("nickname") FROM "current_members" WHERE "institution"='Southwestern College';
1-262527-1
what type was joined in 1902 5?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );
SELECT "type" FROM "current_members" WHERE "joined"='1902 5';
1-262527-1
what is the institution located in north newton, kansas?
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );
SELECT "institution" FROM "current_members" WHERE "location"='North Newton, Kansas';
1-262527-1
Name the place that was founded in 1920
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "institution" FROM "current_members" WHERE "founded"=1920;
1-262560-1
Name the type that joined 2007
CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" real, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "type" FROM "current_members" WHERE "joined"=2007;
1-262560-1
how many series had 6.55 u.s. viewers (million) and were directed by pete michels
CREATE TABLE "table1_26259391_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_million" text );
SELECT COUNT("no_in_series") FROM "table1_26259391_1" WHERE "u_s_viewers_million"='6.55' AND "directed_by"='Pete Michels';
1-26259391-1
how many series have production code 8acx05
CREATE TABLE "table1_26259391_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_million" text );
SELECT "no_in_series" FROM "table1_26259391_1" WHERE "production_code"='8ACX05';
1-26259391-1
how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith
CREATE TABLE "table1_26259391_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_million" text );
SELECT COUNT("u_s_viewers_million") FROM "table1_26259391_1" WHERE "written_by"='Chris Sheridan & Danny Smith';
1-26259391-1
which production codes were written by andrew goldberg
CREATE TABLE "table1_26259391_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_million" text );
SELECT "production_code" FROM "table1_26259391_1" WHERE "written_by"='Andrew Goldberg';
1-26259391-1
Which production code had original air dated february20,2011
CREATE TABLE "table1_26259391_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_million" text );
SELECT "production_code" FROM "table1_26259391_1" WHERE "original_air_date"='February20,2011';
1-26259391-1
What school joined the conference in 1996-97 and left it in 2011-12?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "institution" FROM "former_members" WHERE "joined"='1996-97' AND "left"='2011-12';
1-262560-2
What location has a school with enrollment of 850?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "location" FROM "former_members" WHERE "enrollment"=850;
1-262560-2
How many schools left in 2002-03?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT COUNT("location") FROM "former_members" WHERE "left"='2002-03';
1-262560-2
Which city has a school where the nickname is Pioneers?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "location" FROM "former_members" WHERE "nickname"='Pioneers';
1-262560-2
What type of school has the nickname the Oilers?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT "type" FROM "former_members" WHERE "nickname"='Oilers';
1-262560-2
How many locations have a school that is nicknamed the Panthers?
CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "nickname" text, "primary_conference_when_joining_the_msfa" text, "current_primary_conference" text );
SELECT COUNT("location") FROM "former_members" WHERE "nickname"='Panthers';
1-262560-2
How many sprints classifications were associated with an overall winner of Joaquin Rodriguez?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "sprints_classification" text, "team_classification" text );
SELECT COUNT("sprints_classification") FROM "classification_leadership" WHERE "winner"='Joaquin Rodriguez';
1-26257223-13
Who led team classification during the stage whose winner was Chris Horner?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "sprints_classification" text, "team_classification" text );
SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='Chris Horner';
1-26257223-13
Who led sprints classification when Chris Horner led general classification?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "sprints_classification" text, "team_classification" text );
SELECT "sprints_classification" FROM "classification_leadership" WHERE "general_classification"='Chris Horner';
1-26257223-13
What are all the report for the Belgian Grand Prix?
CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "report" FROM "grands_prix" WHERE "grand_prix"='Belgian Grand Prix';
1-26258348-4
How many winning constructor catagories are there when Mark Webber had the fastest lap?
CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT COUNT("winning_constructor") FROM "grands_prix" WHERE "fastest_lap"='Mark Webber';
1-26258348-4