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 Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.
CREATE TABLE "standings" ( "nation" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "blank_ends" FROM "standings" WHERE "ends_won"<39 AND "ends_lost">35 AND "stolen_ends"=4;
2-1543845-3
Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "20_questions" FROM "1995" WHERE "interview_subject"='camille paglia';
2-1566850-6
Who was the Centerfold Model on 5-95?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "centerfold_model" FROM "1995" WHERE "date"='5-95';
2-1566850-6
Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "20_questions" FROM "1995" WHERE "cover_model"='kimberley conrad hefner';
2-1566850-6
Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "centerfold_model" FROM "1995" WHERE "cover_model"='julie lynn cialini';
2-1566850-6
Who was the Interview Subject when the Centerfold Model was Melissa Deanne Holliday?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "interview_subject" FROM "1995" WHERE "centerfold_model"='melissa deanne holliday';
2-1566850-6
Who was the 20 Questions section aimed at when Centerfold Model was Rachel Jeán Marteen?
CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text );
SELECT "20_questions" FROM "1995" WHERE "centerfold_model"='rachel jeán marteen';
2-1566850-6
What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" text );
SELECT AVG("jersey_num") FROM "list_of_united_states_national_ice_hocke" WHERE "name"='steve griffith' AND "weight_kg"<84;
2-15715109-14
What was the lowest Weight (kg) for a player that had Jersey #10?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" text );
SELECT MIN("weight_kg") FROM "list_of_united_states_national_ice_hocke" WHERE "jersey_num"=10;
2-15715109-14
How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" text );
SELECT COUNT("height_cm") FROM "list_of_united_states_national_ice_hocke" WHERE "jersey_num"<16 AND "name"='mark fusco';
2-15715109-14
What was the title of the episode that martin worth wrote the story for?
CREATE TABLE "series_4" ( "episode" real, "title" text, "story" text, "adapted_by" text, "director" text, "airdate" text, "exists" text );
SELECT "title" FROM "series_4" WHERE "story"='martin worth';
2-15739098-4
In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]?
CREATE TABLE "doubles_13_9_titles_4_runners_up" ( "outcome" text, "year" text, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "year" FROM "doubles_13_9_titles_4_runners_up" WHERE "outcome"='runner-up' AND "score"='4–6, 6–4, [8–10]';
2-1551805-9
On what surface was the game played that had a score of 4–6, 6–4, [8–10]?
CREATE TABLE "doubles_13_9_titles_4_runners_up" ( "outcome" text, "year" text, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_13_9_titles_4_runners_up" WHERE "score"='4–6, 6–4, [8–10]';
2-1551805-9
What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "caps" FROM "players" WHERE "province_club"='example' AND "position"='prop' AND "player"='sam walters';
2-16110123-2
What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "position" FROM "players" WHERE "date_of_birth_age"='example' AND "player"='mark spencer';
2-16110123-2
What is Player, when Caps is Example, and when Position is Center?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "player" FROM "players" WHERE "caps"='example' AND "position"='center';
2-16110123-2
What is Caps, when Province / Club is DRFC, and when Position is Center?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "caps" FROM "players" WHERE "province_club"='drfc' AND "position"='center';
2-16110123-2
What is Position, when Caps is Example, and When Player is Shane Kelly?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "position" FROM "players" WHERE "caps"='example' AND "player"='shane kelly';
2-16110123-2
What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?
CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text );
SELECT "position" FROM "players" WHERE "province_club"='example' AND "date_of_birth_age"='example' AND "player"='michael elumeze';
2-16110123-2
What is the average number played of the team with 1 drawn and 24 against?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("played") FROM "campeonato_paulista" WHERE "drawn"=1 AND "against"=24;
2-15389424-1
What is the highest lost number of the team with less than 14 points and less than 18 played?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("lost") FROM "campeonato_paulista" WHERE "points"<14 AND "played"<18;
2-15389424-1
Which team had 1 position?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT "team" FROM "campeonato_paulista" WHERE "position"=1;
2-15389424-1
What is the lowest number of played of the team with 18 points and a position greater than 5?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("played") FROM "campeonato_paulista" WHERE "points"=18 AND "position">5;
2-15389424-1
What is the total number of points of the team with less than 4 drawn and an against of 34?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("points") FROM "campeonato_paulista" WHERE "drawn"<4 AND "against"=34;
2-15389424-1
What is the average number of drawn with a difference of 17 and 22 points?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("drawn") FROM "campeonato_paulista" WHERE "difference"='17' AND "points"=22;
2-15389424-1
What is the team that has forward-center as a position?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "school_club_team" FROM "s" WHERE "position"='forward-center';
2-15621965-17
What team does Kenny Smith play for?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "school_club_team" FROM "s" WHERE "player"='kenny smith';
2-15621965-17
What years was Lebanon the nationality?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "years_in_orlando" FROM "s" WHERE "nationality"='lebanon';
2-15621965-17
Which margin of victory has cyber agent ladies as the tournament?
CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "lpga_of_japan_tour_5" WHERE "tournament"='cyber agent ladies';
2-15422496-5
What date has yani tseng as the runner (s)-up?
CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "lpga_of_japan_tour_5" WHERE "runner_s_up"='yani tseng';
2-15422496-5
What is the margin of victory that has masters gc ladies as the tournament?
CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "lpga_of_japan_tour_5" WHERE "tournament"='masters gc ladies';
2-15422496-5
What is the date that has yani tseng as the runner (s)-up?
CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "lpga_of_japan_tour_5" WHERE "runner_s_up"='yani tseng';
2-15422496-5
What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament?
CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "lpga_of_japan_tour_5" WHERE "margin_of_victory"='2 strokes' AND "tournament"='cyber agent ladies';
2-15422496-5
What is the highest Poles with a win that is smaller than 0?
CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "pos" text );
SELECT MAX("poles") FROM "career_results" WHERE "wins"<0;
2-15568742-1
What is the headphone model with a plastic construction and a prestige headphone class?
CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "succeeded_by" text );
SELECT "headphone_model" FROM "past_production" WHERE "construction"='plastic' AND "headphone_class"='prestige';
2-1601027-2
What earpads does the headphone with plastic contruction and was succeeded by igrado have?
CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "succeeded_by" text );
SELECT "earpads" FROM "past_production" WHERE "construction"='plastic' AND "succeeded_by"='igrado';
2-1601027-2
What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325?
CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "succeeded_by" text );
SELECT "earpads" FROM "past_production" WHERE "construction"='plastic' AND "sensitivity_d_b"='unknown' AND "succeeded_by"='sr325';
2-1601027-2
What is the headphone model which was succeeded by sr325?
CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "termination" text, "succeeded_by" text );
SELECT "headphone_model" FROM "past_production" WHERE "succeeded_by"='sr325';
2-1601027-2
What regulations have hudson as the winning constructor?
CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text );
SELECT "regulations" FROM "results" WHERE "winning_constructor"='hudson';
2-15470199-1
What regulations have carlos arzani as the winning driver?
CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text );
SELECT "regulations" FROM "results" WHERE "winning_drivers"='carlos arzani';
2-15470199-1
What is the latest year that has ferrari 166 fl as the winning constructor?
CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text );
SELECT MAX("year") FROM "results" WHERE "winning_constructor"='ferrari 166 fl';
2-15470199-1
What is the city of license that has lp as the class?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "city_of_license" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "class"='lp';
2-1575253-1
What is the identifier that has 50,000 watts of power?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "identifier" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "power"='50,000 watts';
2-1575253-1
What RECNet has 40 watts of power and temagami as the city of license?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "rec_net" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "power"='40 watts' AND "city_of_license"='temagami';
2-1575253-1
What city of license has A as a class, and cbec-fm as the identifier?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "city_of_license" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "class"='a' AND "identifier"='cbec-fm';
2-1575253-1
What RECNet has elk lake as the city of license?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "rec_net" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "city_of_license"='elk lake';
2-1575253-1
What frequency has temagami as the city of license?
CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "frequency" FROM "s_rebroadcaster_of_cbcs_fm" WHERE "city_of_license"='temagami';
2-1575253-1
What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?
CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real );
SELECT MAX("current_branch_opened") FROM "smaller_branches" WHERE "neighborhood"='w. portland park';
2-16123317-1
What is the First Branch Opened, when Branch is Belmont Library?
CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real );
SELECT "first_branch_opened" FROM "smaller_branches" WHERE "branch"='belmont library';
2-16123317-1
What is Neighborhood, when Branch is Hollywood Library?
CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real );
SELECT "neighborhood" FROM "smaller_branches" WHERE "branch"='hollywood library';
2-16123317-1
What is Current Branch Opened, when Branch is Midland Library?
CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real );
SELECT "current_branch_opened" FROM "smaller_branches" WHERE "branch"='midland library';
2-16123317-1
Which player has the fewest assists and played 2 games or fewer?
CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real );
SELECT MIN("assists") FROM "assists" WHERE "games"<2;
2-16050349-9
What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?
CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" real, "november" real, "december" real, "annual_additions_in_millions" real, "average_monthly_additions_in_millions" real );
SELECT COUNT("march") FROM "monthly_mobile_subscriber_additions" WHERE "january"<8.77 AND "december">1.69 AND "average_monthly_additions_in_millions"<5.35 AND "year"<2004;
2-15945862-1
What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?
CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" real, "november" real, "december" real, "annual_additions_in_millions" real, "average_monthly_additions_in_millions" real );
SELECT COUNT("november") FROM "monthly_mobile_subscriber_additions" WHERE "february">8.53 AND "march"=20.21 AND "september"<7.9;
2-15945862-1
What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?
CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" real, "november" real, "december" real, "annual_additions_in_millions" real, "average_monthly_additions_in_millions" real );
SELECT SUM("december") FROM "monthly_mobile_subscriber_additions" WHERE "july"=0.36 AND "february">0.35000000000000003;
2-15945862-1
What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?
CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" real, "november" real, "december" real, "annual_additions_in_millions" real, "average_monthly_additions_in_millions" real );
SELECT COUNT("july") FROM "monthly_mobile_subscriber_additions" WHERE "october"<8.05 AND "december">4.46 AND "november">6.79;
2-15945862-1
What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February?
CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" real, "november" real, "december" real, "annual_additions_in_millions" real, "average_monthly_additions_in_millions" real );
SELECT COUNT("october") FROM "monthly_mobile_subscriber_additions" WHERE "september"<2.48 AND "year">2002 AND "june">1.42 AND "february"<7.44;
2-15945862-1
What is the Catalog with a Region that is europe?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "region"='europe';
2-15845800-3
What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?
CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" real, "sfc_in_g_k_n_s" real, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real );
SELECT MAX("sfc_in_g_k_n_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "engine_type"='rolls-royce/snecma olympus 593' AND "sfc_in_lb_lbf_h"<1.195;
2-15944-5
What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?
CREATE TABLE "may" ( "week_of" text, "tier" text, "winner" text, "runner_up" text, "semi_finalists" text );
SELECT "winner" FROM "may" WHERE "week_of"='8 may' AND "semi_finalists"='helena suková mary pierce' AND "runner_up"='conchita martínez patricia tarabini';
2-15866312-5
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
CREATE TABLE "may" ( "week_of" text, "tier" text, "winner" text, "runner_up" text, "semi_finalists" text );
SELECT "week_of" FROM "may" WHERE "semi_finalists"='sandrine testud yone kamio';
2-15866312-5
In what Season was Colin Miller (TAS) the Player?
CREATE TABLE "most_wickets_in_a_season" ( "rank" text, "s_wicket" text, "player" text, "matches" text, "season" text );
SELECT "season" FROM "most_wickets_in_a_season" WHERE "player"='colin miller (tas)';
2-1585656-19
What Rank has a 65 s Wicket?
CREATE TABLE "most_wickets_in_a_season" ( "rank" text, "s_wicket" text, "player" text, "matches" text, "season" text );
SELECT "rank" FROM "most_wickets_in_a_season" WHERE "s_wicket"='65';
2-1585656-19
Which result featured the Indianapolis Colts as opponents?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "tv_time" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "opponent"='indianapolis colts';
2-15399991-3
Whose Name has a Date of reclassification of 2003-04-01 (merge into shizuoka )?
CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text );
SELECT "name" FROM "former_special_cities_now_core_or_design" WHERE "date_of_reclassification"='2003-04-01 (merge into shizuoka )';
2-1585609-2
WHich Japanese has a Prefecture of iwate?
CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text );
SELECT "japanese" FROM "former_special_cities_now_core_or_design" WHERE "prefecture"='iwate';
2-1585609-2
Which Date of designation has a Name of kurume?
CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text );
SELECT "date_of_designation" FROM "former_special_cities_now_core_or_design" WHERE "name"='kurume';
2-1585609-2
What kind of Japanese has a Region of tōhoku?
CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text );
SELECT "japanese" FROM "former_special_cities_now_core_or_design" WHERE "region"='tōhoku';
2-1585609-2
WHose Name has a Region of kansai on 2012-04-01 ( core city )?
CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text );
SELECT "name" FROM "former_special_cities_now_core_or_design" WHERE "region"='kansai' AND "date_of_reclassification"='2012-04-01 ( core city )';
2-1585609-2
What is the Position with a Birthdate that is august 17, 1980?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "1998_1999_team" text );
SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "birthdate"='august 17, 1980';
2-15715109-23
Which capacity has a purple and white colors?
CREATE TABLE "references" ( "residence_hall" text, "established" real, "rector" text, "campus" text, "capacity" real, "colors" text, "mascot" text );
SELECT "capacity" FROM "references" WHERE "colors"='purple and white';
2-15873547-1
How many households have a median family income of $60,400?
CREATE TABLE "virginia_counties_and_cities_ranked_by_p" ( "county_or_city" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "number_of_households" FROM "virginia_counties_and_cities_ranked_by_p" WHERE "median_family_income"='$60,400';
2-1607156-1
What county of city has more than 9,505 households with a median household income greater than $94,880?
CREATE TABLE "virginia_counties_and_cities_ranked_by_p" ( "county_or_city" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "county_or_city" FROM "virginia_counties_and_cities_ranked_by_p" WHERE "number_of_households">'9,505' AND "median_household_income"='$94,880';
2-1607156-1
What is the average weight of the player with a height of 180 cm and plays the d position?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_rights_if_any" text );
SELECT AVG("weight_kg") FROM "list_of_united_states_national_ice_hocke" WHERE "height_cm"=180 AND "position"='d';
2-15715109-53
What is the birthplace of the player with Calgary Flames NHL rights, plays the f position, and has a height taller than 175 cm?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_rights_if_any" text );
SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "position"='f' AND "height_cm">175 AND "nhl_rights_if_any"='calgary flames';
2-15715109-53
What is the 2008-09 team of the player who plays the f position and has NHL rights with the New Jersey Devils?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_rights_if_any" text );
SELECT "2008_09_team" FROM "list_of_united_states_national_ice_hocke" WHERE "position"='f' AND "nhl_rights_if_any"='new jersey devils';
2-15715109-53
What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?
CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text );
SELECT "resting_potential_m_v" FROM "comparison_of_action_potentials_a_ps_fro" WHERE "ap_duration_ms"='1.0' AND "cell_type"='median giant fiber';
2-156998-1
Which animal has a resting potential of −60?
CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text );
SELECT "animal" FROM "comparison_of_action_potentials_a_ps_fro" WHERE "resting_potential_m_v"='−60';
2-156998-1
Which animal has an AP duration of 1.0 and a conduction speed of 7–30?
CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text );
SELECT "animal" FROM "comparison_of_action_potentials_a_ps_fro" WHERE "ap_duration_ms"='1.0' AND "conduction_speed_m_s"='7–30';
2-156998-1
What AP increase has an AP duration of 0.75?
CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text );
SELECT "ap_increase_m_v" FROM "comparison_of_action_potentials_a_ps_fro" WHERE "ap_duration_ms"='0.75';
2-156998-1
Which cell type has a conduction speed of 35?
CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text );
SELECT "cell_type" FROM "comparison_of_action_potentials_a_ps_fro" WHERE "conduction_speed_m_s"='35';
2-156998-1
What was the total matches that ranked above 10?
CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT SUM("matches") FROM "england" WHERE "rank">10;
2-1590321-70
What was the total amount of matches for Alan Shearer?
CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT COUNT("matches") FROM "england" WHERE "name"='alan shearer';
2-1590321-70
What is the average goals for Jimmy Greaves, and matches more than 516?
CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT AVG("goals") FROM "england" WHERE "name"='jimmy greaves' AND "matches">516;
2-1590321-70
What was the total number of matches for Nat Lofthouse, ranking higher than 7?
CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT COUNT("matches") FROM "england" WHERE "name"='nat lofthouse' AND "rank">7;
2-1590321-70
What is the highest rank for Nat Lofthouse, and goals more than 255?
CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT MAX("rank") FROM "england" WHERE "name"='nat lofthouse' AND "goals">255;
2-1590321-70
What is the location/state that has adelaide international raceway as the circuit?
CREATE TABLE "calendar" ( "round" text, "circuit" text, "location_state" text, "date" text, "winner" text );
SELECT "location_state" FROM "calendar" WHERE "circuit"='adelaide international raceway';
2-15407016-1
What is the name of the director for the episode titled "homewrecker for the holidays"?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "directed_by" FROM "episodes" WHERE "title"='\"homewrecker for the holidays\"';
2-159923-1
What is the Original air date for the episode with a Production code of 07-00-107?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "original_air_date" FROM "episodes" WHERE "production_code"='07-00-107';
2-159923-1
What is the name of the director of the episode written by robin schwartz & robert tarlow?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "directed_by" FROM "episodes" WHERE "written_by"='robin schwartz & robert tarlow';
2-159923-1
What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "original_air_date" FROM "episodes" WHERE "directed_by"='lev l. spiro' AND "production_code"='07-00-109';
2-159923-1
What is the name of the writer for the episode with an Original air date of october 9, 2000?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "written_by" FROM "episodes" WHERE "original_air_date"='october 9, 2000';
2-159923-1
What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001?
CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "title" FROM "episodes" WHERE "written_by"='terri hughes & ron milbauer' AND "original_air_date"='march 6, 2001';
2-159923-1
What time or retired does Scott Dixon have?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "driver"='scott dixon';
2-15412219-2
Which driver has a grid bigger than 3 and a time of +62.6 secs?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "grid">3 AND "time_retired"='+62.6 secs';
2-15412219-2
Who drives for Newman-Haas Racing with a time of 1:51:47.260?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "team"='newman-haas racing' AND "time_retired"='1:51:47.260';
2-15412219-2
Which driver had less than 65 laps for Sigma Autosport?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "laps"<65 AND "team"='sigma autosport';
2-15412219-2
Which game modes have Pinyin of chāojí mǎlìōu shìjiè?
CREATE TABLE "i_que_game_boy_advance" ( "chinese_title" text, "pinyin" text, "released_date" real, "genre" text, "game_modes" text );
SELECT "game_modes" FROM "i_que_game_boy_advance" WHERE "pinyin"='chāojí mǎlìōu shìjiè';
2-1616608-1
What is the sum of Population (1 July 2005 est.), when Area (km²) is less than 5,131, when Population density (per km²) is less than 180, when Subdivisions is Parishes, and when Capital is Roseau?
CREATE TABLE "sovereign_states" ( "name" text, "subdivisions" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" real, "capital" text );
SELECT SUM("population_1_july_2005_est") FROM "sovereign_states" WHERE "area_km"<'5,131' AND "population_density_per_km"<180 AND "subdivisions"='parishes' AND "capital"='roseau';
2-160659-1
What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0?
CREATE TABLE "sovereign_states" ( "name" text, "subdivisions" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" real, "capital" text );
SELECT MIN("population_1_july_2005_est") FROM "sovereign_states" WHERE "population_density_per_km"=0;
2-160659-1