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 density when simplified shows 南山区?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" text, "density" text );
SELECT "density" FROM "subdivisions" WHERE "simplified"='南山区';
2-1834138-2
What is the pinyin when the simplified shows 南山区?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" text, "density" text );
SELECT "pinyin" FROM "subdivisions" WHERE "simplified"='南山区';
2-1834138-2
What country does Greg Norman represent?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "player"='greg norman';
2-18148933-1
What years won have a total of 286?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "year_s_won" FROM "made_the_cut" WHERE "total"=286;
2-18148933-1
Which player had a total of 295?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "player" FROM "made_the_cut" WHERE "total"=295;
2-18148933-1
What is the To par when there was a total of 291?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "total"=291;
2-18148933-1
What is the year of daylight service when the builder was Alco?
CREATE TABLE "locomotives" ( "builder" text, "model" text, "years_of_daylight_service" text, "retired" text, "current_disposition" text );
SELECT "years_of_daylight_service" FROM "locomotives" WHERE "builder"='alco';
2-1782027-2
What is 2006-07 Season, when Team is "KF Fushë Kosova"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "2006_07_season" FROM "teams" WHERE "team"='kf fushë kosova';
2-17725947-1
What is 2006-07 Season, when Stadium Capacity is "0 2,500"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "2006_07_season" FROM "teams" WHERE "stadium_capacity"='0 2,500';
2-17725947-1
What is Stadium Capacity, when 2006-07 Season is "12th"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "stadium_capacity" FROM "teams" WHERE "2006_07_season"='12th';
2-17725947-1
What is Stadium, when Club Home City is "Peć", and when 2006-07 Season is "1st"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "stadium" FROM "teams" WHERE "club_home_city"='peć' AND "2006_07_season"='1st';
2-17725947-1
What is Club Home City, when Stadium Capacity is "0 2,500"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "club_home_city" FROM "teams" WHERE "stadium_capacity"='0 2,500';
2-17725947-1
What is Stadium, when Stadium Capacity is "10,000", and when Team is "KF Drita"?
CREATE TABLE "teams" ( "team" text, "club_home_city" text, "2006_07_season" text, "stadium" text, "stadium_capacity" text );
SELECT "stadium" FROM "teams" WHERE "stadium_capacity"='10,000' AND "team"='kf drita';
2-17725947-1
What is Year(s) Won, when Total is "145", and when Country is "United States"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "year_s_won" FROM "missed_the_cut" WHERE "total"=145 AND "country"='united states';
2-18122130-3
What is the lowest To par, when Total is greater than 148, and when Year(s) Won is "1959 , 1968 , 1974"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MIN("to_par") FROM "missed_the_cut" WHERE "total"<148 AND "year_s_won"='1959 , 1968 , 1974';
2-18122130-3
What is Country, when To par is "1", and when Player is "Seve Ballesteros"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "to_par"=1 AND "player"='seve ballesteros';
2-18122130-3
What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT SUM("total") FROM "missed_the_cut" WHERE "year_s_won"='1966 , 1970 , 1978' AND "to_par"<4;
2-18122130-3
What is Country, when Total is less than 148, and when Player is "Gary Player"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "total"<148 AND "player"='gary player';
2-18122130-3
What is To par, when Total is less than 148, and when Country is "South Africa"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "to_par" FROM "missed_the_cut" WHERE "total"<148 AND "country"='south africa';
2-18122130-3
What is the average age at appointment of those attached to security?
CREATE TABLE "political_assistants" ( "romanised_name" text, "chinese_name" text, "age_at_appointment" real, "foreign_nationality" text, "portfolio_attachment" text, "govt_salary" text );
SELECT AVG("age_at_appointment") FROM "political_assistants" WHERE "portfolio_attachment"='security';
2-17964087-2
What was the distance of the race on saturday, august 23?
CREATE TABLE "schedule" ( "stage" text, "route" text, "distance" text, "date" text, "winner" text );
SELECT "distance" FROM "schedule" WHERE "date"='saturday, august 23';
2-17672485-1
Who was the winner of the race that had a distance of 175.6km?
CREATE TABLE "schedule" ( "stage" text, "route" text, "distance" text, "date" text, "winner" text );
SELECT "winner" FROM "schedule" WHERE "distance"='175.6km';
2-17672485-1
Who won the race on wednesday, august 27?
CREATE TABLE "schedule" ( "stage" text, "route" text, "distance" text, "date" text, "winner" text );
SELECT "winner" FROM "schedule" WHERE "date"='wednesday, august 27';
2-17672485-1
What is the distance of the maldegem > brussels route?
CREATE TABLE "schedule" ( "stage" text, "route" text, "distance" text, "date" text, "winner" text );
SELECT "distance" FROM "schedule" WHERE "route"='maldegem > brussels';
2-17672485-1
Who was the winner of the mechelen > mechelen route?
CREATE TABLE "schedule" ( "stage" text, "route" text, "distance" text, "date" text, "winner" text );
SELECT "winner" FROM "schedule" WHERE "route"='mechelen > mechelen';
2-17672485-1
What IMAP sharing options exist for software with a web UI?
CREATE TABLE "comparison" ( "name" text, "mail_transfer_agent" text, "mail_storage_type" text, "imap_server" text, "imap_shared" text, "calendar_format" text, "calendar_shared" text, "im_server" text, "web_dav" text, "web_ui" text, "contacts_shared" text, "files_shared" text, "web_admin_ui" text );
SELECT "imap_shared" FROM "comparison" WHERE "web_ui"='web ui';
2-1779657-5
What's the total for the wc belgrade event with 10 rank points?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "total" FROM "qualification" WHERE "event"='wc belgrade' AND "rank_points"='10';
2-18351792-6
That's the total for rank points of olympic gold medalist?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "total" FROM "qualification" WHERE "rank_points"='olympic gold medalist';
2-18351792-6
Who's the shooter with score points of defending champion?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "shooter" FROM "qualification" WHERE "score_points"='defending champion';
2-18351792-6
Who's the shooter with a total of 25?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "shooter" FROM "qualification" WHERE "total"='25';
2-18351792-6
Who's the shooter with 13 score points and 10 rank points?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "shooter" FROM "qualification" WHERE "score_points"='13' AND "rank_points"='10';
2-18351792-6
What is the highest points when the top goal scorer was Khaled Msakni (10), and the final standing is less than 12?
CREATE TABLE "championship_of_tunisia" ( "season" real, "years" text, "final_standing" real, "points" real, "top_goal_scorer" text );
SELECT MAX("points") FROM "championship_of_tunisia" WHERE "top_goal_scorer"='khaled msakni (10)' AND "final_standing"<12;
2-17670155-1
What is the final standing in 1981–82?
CREATE TABLE "championship_of_tunisia" ( "season" real, "years" text, "final_standing" real, "points" real, "top_goal_scorer" text );
SELECT "final_standing" FROM "championship_of_tunisia" WHERE "years"='1981–82';
2-17670155-1
Which event had 4th place and took place in the year 2007?
CREATE TABLE "quake_iv" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "event" FROM "quake_iv" WHERE "position"='4th' AND "year"=2007;
2-18327117-2
What runner-up has 4 & 3 as the score, with michael bonallack as the winner?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "runner_up" FROM "winners" WHERE "score"='4 & 3' AND "winner"='michael bonallack';
2-18186640-1
What venue has 3 & 2 as the score, and 1965 as the year?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "venue" FROM "winners" WHERE "score"='3 & 2' AND "year"='1965';
2-18186640-1
What runner-up has 2008 as the year?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "runner_up" FROM "winners" WHERE "year"='2008';
2-18186640-1
What winner has royal st george's golf club as the venue, and 1969 as the year?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "winner" FROM "winners" WHERE "venue"='royal st george''s golf club' AND "year"='1969';
2-18186640-1
What runner-up has 1925 as the year?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "runner_up" FROM "winners" WHERE "year"='1925';
2-18186640-1
What year has John Davies as the runner-up, with warren humphreys as the winner?
CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "year" FROM "winners" WHERE "runner_up"='john davies' AND "winner"='warren humphreys';
2-18186640-1
What country is the player who scored 27 goals from?
CREATE TABLE "segunda_divisi_n" ( "ranking" text, "nationality" text, "name" text, "years" text, "goals" real );
SELECT "nationality" FROM "segunda_divisi_n" WHERE "goals"=27;
2-18136583-6
For the player that scored 27 goals, what years did he score them?
CREATE TABLE "segunda_divisi_n" ( "ranking" text, "nationality" text, "name" text, "years" text, "goals" real );
SELECT "years" FROM "segunda_divisi_n" WHERE "goals"=27;
2-18136583-6
In what place(s) did the player(s) with a total less than 282 finish?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "total"<282;
2-18009462-2
In what place did Nick Faldo, who had more than 284 points and a to par score of +5, finish?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "total">284 AND "to_par"='+5' AND "player"='nick faldo';
2-18009462-2
When did Prime Minister Agathe Uwilingiyimana's mandate end?
CREATE TABLE "list" ( "name_a" text, "country" text, "office" text, "mandate_start" text, "mandate_end" text, "term_length" text );
SELECT "mandate_end" FROM "list" WHERE "office"='prime minister' AND "name_a"='agathe uwilingiyimana';
2-17784652-1
What is the power output for class 5?
CREATE TABLE "current_rolling_stock" ( "class" text, "introduced" text, "number_in_class" real, "number_in_service" real, "power_output_k_w" real );
SELECT "power_output_k_w" FROM "current_rolling_stock" WHERE "number_in_class"=5;
2-18217231-2
Which class has a power output larger than 700 and a class of 48?
CREATE TABLE "current_rolling_stock" ( "class" text, "introduced" text, "number_in_class" real, "number_in_service" real, "power_output_k_w" real );
SELECT "class" FROM "current_rolling_stock" WHERE "power_output_k_w">700 AND "number_in_class"=48;
2-18217231-2
What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7?
CREATE TABLE "ap_poll" ( "preseason" text, "week_1_sept_7" text, "week_2_sept_14" text, "week_3_sept_21" text, "week_4_sept_28" text, "week_5_oct_5" text, "week_6_oct_12" text, "week_7_oct_19" text, "week_8_oct_26" text, "week_9_nov_2" text, "week_10_nov_9" text, "week_11_nov_16" text, "week_12_nov_23" text, "week_13_nov_30" text, "week_14_dec_7" text, "week_15_final_jan_5" text );
SELECT "week_8_oct_26" FROM "ap_poll" WHERE "week_7_oct_19"='syarcuse (4-2)';
2-17849134-1
What is the Week 1 result of Colorado State?
CREATE TABLE "ap_poll" ( "preseason" text, "week_1_sept_7" text, "week_2_sept_14" text, "week_3_sept_21" text, "week_4_sept_28" text, "week_5_oct_5" text, "week_6_oct_12" text, "week_7_oct_19" text, "week_8_oct_26" text, "week_9_nov_2" text, "week_10_nov_9" text, "week_11_nov_16" text, "week_12_nov_23" text, "week_13_nov_30" text, "week_14_dec_7" text, "week_15_final_jan_5" text );
SELECT "week_1_sept_7" FROM "ap_poll" WHERE "preseason"='colorado state';
2-17849134-1
Who is the incumbent for the Colorado 4 district?
CREATE TABLE "colorado" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "incumbent" FROM "colorado" WHERE "district"='colorado 4';
2-1805191-7
What district is the incumbent Republican and the incumbent retired to run for governor democratic gain?
CREATE TABLE "colorado" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "district" FROM "colorado" WHERE "party"='republican' AND "results"='retired to run for governor democratic gain';
2-1805191-7
In Colorado 6 district what is the party?
CREATE TABLE "colorado" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "party" FROM "colorado" WHERE "district"='colorado 6';
2-1805191-7
Which tournament had a clay surface and a score of 6–1, 3–6, 6–2?
CREATE TABLE "doubles_titles_23" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "tournament" FROM "doubles_titles_23" WHERE "surface"='clay' AND "score_in_the_final"='6–1, 3–6, 6–2';
2-1828666-2
How many days had a score of 4–6, 4–6?
CREATE TABLE "doubles_titles_23" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("date") FROM "doubles_titles_23" WHERE "score_in_the_final"='4–6, 4–6';
2-1828666-2
What was the To Par of Tiger Woods who won in 1988?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_won" real, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "year_won"=1988;
2-18026889-2
What is the team sites entry for Microsoft Sharepoint?
CREATE TABLE "comparison_of_targets" ( "name" text, "public" text, "intranet" text, "extranet" text, "personal_sites" text, "team_sites" text, "developer" text );
SELECT "team_sites" FROM "comparison_of_targets" WHERE "name"='microsoft sharepoint';
2-1779657-4
If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?
CREATE TABLE "comparison_of_targets" ( "name" text, "public" text, "intranet" text, "extranet" text, "personal_sites" text, "team_sites" text, "developer" text );
SELECT "extranet" FROM "comparison_of_targets" WHERE "intranet"='yes' AND "name"='microsoft exchange server';
2-1779657-4
What is the team sites entry that has a public entry of No and a developer entry of Yes?
CREATE TABLE "comparison_of_targets" ( "name" text, "public" text, "intranet" text, "extranet" text, "personal_sites" text, "team_sites" text, "developer" text );
SELECT "team_sites" FROM "comparison_of_targets" WHERE "public"='no' AND "developer"='yes';
2-1779657-4
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?
CREATE TABLE "comparison_of_targets" ( "name" text, "public" text, "intranet" text, "extranet" text, "personal_sites" text, "team_sites" text, "developer" text );
SELECT "name" FROM "comparison_of_targets" WHERE "public"='yes' AND "personal_sites"='no' AND "team_sites"='no';
2-1779657-4
What is the name of the entry that has a developer entry of Yes and a personal sites entry of No?
CREATE TABLE "comparison_of_targets" ( "name" text, "public" text, "intranet" text, "extranet" text, "personal_sites" text, "team_sites" text, "developer" text );
SELECT "name" FROM "comparison_of_targets" WHERE "developer"='yes' AND "personal_sites"='no';
2-1779657-4
What Line has Ohakune Junction as its NIMT?
CREATE TABLE "connecting_lines" ( "line_name" text, "date_closed" text, "nimt_junction" text, "terminus" text, "length" text );
SELECT "line_name" FROM "connecting_lines" WHERE "nimt_junction"='ohakune junction';
2-1799173-1
What line has Newmarket Junction terminus?
CREATE TABLE "connecting_lines" ( "line_name" text, "date_closed" text, "nimt_junction" text, "terminus" text, "length" text );
SELECT "line_name" FROM "connecting_lines" WHERE "terminus"='newmarket junction';
2-1799173-1
What terminus is 3.5km in lenght?
CREATE TABLE "connecting_lines" ( "line_name" text, "date_closed" text, "nimt_junction" text, "terminus" text, "length" text );
SELECT "terminus" FROM "connecting_lines" WHERE "length"='3.5km';
2-1799173-1
What line has Junction of Huntly NIMT
CREATE TABLE "connecting_lines" ( "line_name" text, "date_closed" text, "nimt_junction" text, "terminus" text, "length" text );
SELECT "line_name" FROM "connecting_lines" WHERE "nimt_junction"='huntly';
2-1799173-1
What is the average final with an all around greater than 19.35 and a total over 40?
CREATE TABLE "finals_3_balls_3_hoops" ( "place" real, "nation" text, "all_around" real, "final" real, "total" real );
SELECT AVG("final") FROM "finals_3_balls_3_hoops" WHERE "all_around">19.35 AND "total">40;
2-18170681-11
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
CREATE TABLE "finals_3_balls_3_hoops" ( "place" real, "nation" text, "all_around" real, "final" real, "total" real );
SELECT SUM("final") FROM "finals_3_balls_3_hoops" WHERE "place">2 AND "nation"='finland' AND "all_around">18.9;
2-18170681-11
What is the place of the player with £140,000 and a 68-68-75-68=279 score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "money"='140,000' AND "score"='68-68-75-68=279';
2-18009462-7
What is the country of player stuart appleby, who has a t1 place?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_round" WHERE "place"='t1' AND "player"='stuart appleby';
2-18009462-7
What is the place of player sergio garcía, who has £77,500?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "money"='77,500' AND "player"='sergio garcía';
2-18009462-7
What is the to par of the player with a 73-70-70-65=278 score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "to_par" FROM "final_round" WHERE "score"='73-70-70-65=278';
2-18009462-7
Who is the player with £140,000?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "player" FROM "final_round" WHERE "money"='140,000';
2-18009462-7
What is Date, when Time is "56.49"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "date" FROM "men" WHERE "time"='56.49';
2-18020762-4
What is Event, when Date is "19 December 2009"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "event" FROM "men" WHERE "date"='19 december 2009';
2-18020762-4
What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "time" FROM "men" WHERE "meet"='duel in the pool' AND "date"='19 december 2009';
2-18020762-4
What is the Location, when Event is "100m Butterfly"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "location" FROM "men" WHERE "event"='100m butterfly';
2-18020762-4
What is Date, when Meet is "World Championships", when Nationality is "United States", and when Time is "1:46.68"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "date" FROM "men" WHERE "meet"='world championships' AND "nationality"='united states' AND "time"='1:46.68';
2-18020762-4
What is Event, when Meet is "World Championships", and when Time is "20.51"?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "event" FROM "men" WHERE "meet"='world championships' AND "time"='20.51';
2-18020762-4
What is the highest number of households with a median household income of $31,176, and a population of 25,607?
CREATE TABLE "missouri_counties_ranked_by_per_capita_i" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT MAX("number_of_households") FROM "missouri_counties_ranked_by_per_capita_i" WHERE "median_household_income"='$31,176' AND "population"<'25,607';
2-1828018-1
What is the median household income for Cape Girardeau?
CREATE TABLE "missouri_counties_ranked_by_per_capita_i" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "median_household_income" FROM "missouri_counties_ranked_by_per_capita_i" WHERE "county"='cape girardeau';
2-1828018-1
What is the median household income with 4,527 houses, and a median family income of $71,009?
CREATE TABLE "missouri_counties_ranked_by_per_capita_i" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "median_household_income" FROM "missouri_counties_ranked_by_per_capita_i" WHERE "number_of_households">'4,527' AND "median_family_income"='$71,009';
2-1828018-1
Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers?
CREATE TABLE "third_format" ( "cover_date" text, "story_title" text, "writer_s" text, "letterer_s" text, "colourist_s" text );
SELECT "colourist_s" FROM "third_format" WHERE "letterer_s"='albers' AND "story_title"='broken glass (part 3)';
2-18305523-3
What is the Cover Date of the Story Title Spacehikers (Part 2)?
CREATE TABLE "third_format" ( "cover_date" text, "story_title" text, "writer_s" text, "letterer_s" text, "colourist_s" text );
SELECT "cover_date" FROM "third_format" WHERE "story_title"='spacehikers (part 2)';
2-18305523-3
What is the Story Title that has Albers as the Letterer?
CREATE TABLE "third_format" ( "cover_date" text, "story_title" text, "writer_s" text, "letterer_s" text, "colourist_s" text );
SELECT "story_title" FROM "third_format" WHERE "letterer_s"='albers';
2-18305523-3
Who are the drivers with 133 laps in OC class?
CREATE TABLE "official_results" ( "class" text, "team" text, "drivers" text, "laps" real, "qual_pos" real );
SELECT "drivers" FROM "official_results" WHERE "laps"=133 AND "class"='oc';
2-17742516-2
What are the most laps for the Qual position of 7 in the OC class?
CREATE TABLE "official_results" ( "class" text, "team" text, "drivers" text, "laps" real, "qual_pos" real );
SELECT MAX("laps") FROM "official_results" WHERE "class"='oc' AND "qual_pos"=7;
2-17742516-2
What are Perkins Engineering's fewest laps?
CREATE TABLE "official_results" ( "class" text, "team" text, "drivers" text, "laps" real, "qual_pos" real );
SELECT MIN("laps") FROM "official_results" WHERE "team"='perkins engineering';
2-17742516-2
Which class has a Qual position of 30?
CREATE TABLE "official_results" ( "class" text, "team" text, "drivers" text, "laps" real, "qual_pos" real );
SELECT "class" FROM "official_results" WHERE "qual_pos"=30;
2-17742516-2
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "release_date" FROM "zune_hd_applications" WHERE "version"='1.0' AND "category"='utilities' AND "developer"='microsoft' AND "title"='msn money';
2-18138132-2
What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "release_date" FROM "zune_hd_applications" WHERE "category"='utilities' AND "developer"='microsoft' AND "title"='chord finder';
2-18138132-2
What Developer has a Release date of 2010-12-16, and a Title of facebook?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "developer" FROM "zune_hd_applications" WHERE "release_date"='2010-12-16' AND "title"='facebook';
2-18138132-2
What Title has a Version of 1.0.0.3?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "title" FROM "zune_hd_applications" WHERE "version"='1.0.0.3';
2-18138132-2
What Version has a Title of alarm clock?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "version" FROM "zune_hd_applications" WHERE "title"='alarm clock';
2-18138132-2
What Version has a Developer of dino games, and a Title of metronome?
CREATE TABLE "zune_hd_applications" ( "title" text, "developer" text, "category" text, "release_date" text, "version" text );
SELECT "version" FROM "zune_hd_applications" WHERE "developer"='dino games' AND "title"='metronome';
2-18138132-2
Where did Wales play?
CREATE TABLE "1981" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1981" WHERE "opposing_teams"='wales';
2-18178608-2
What venue has 19 against?
CREATE TABLE "1981" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1981" WHERE "against"=19;
2-18178608-2
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
CREATE TABLE "2005_broadway_revival" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text );
SELECT "award_ceremony" FROM "2005_broadway_revival" WHERE "nominee"='sarah travis' AND "category"='best orchestrations';
2-1794747-7
What is the most current year signed for separation of † and a separation year of 1997?
CREATE TABLE "list_of_male_capital_artists_singers" ( "english_name" text, "chinese_name" text, "year_signed" real, "year_separated" text, "reason_for_separation" text );
SELECT MAX("year_signed") FROM "list_of_male_capital_artists_singers" WHERE "reason_for_separation"='†' AND "year_separated"='1997';
2-18316619-1
What is the Chinese name for the English name Andy Lau?
CREATE TABLE "list_of_male_capital_artists_singers" ( "english_name" text, "chinese_name" text, "year_signed" real, "year_separated" text, "reason_for_separation" text );
SELECT "chinese_name" FROM "list_of_male_capital_artists_singers" WHERE "english_name"='andy lau';
2-18316619-1
What year was Wilfred Lau separated because Capital stopped recording music?
CREATE TABLE "list_of_male_capital_artists_singers" ( "english_name" text, "chinese_name" text, "year_signed" real, "year_separated" text, "reason_for_separation" text );
SELECT "year_separated" FROM "list_of_male_capital_artists_singers" WHERE "reason_for_separation"='capital stopped recording music' AND "english_name"='wilfred lau';
2-18316619-1
What is the English name for the Chinese name of 蘇永康 later than 1974?
CREATE TABLE "list_of_male_capital_artists_singers" ( "english_name" text, "chinese_name" text, "year_signed" real, "year_separated" text, "reason_for_separation" text );
SELECT "english_name" FROM "list_of_male_capital_artists_singers" WHERE "year_signed">1974 AND "chinese_name"='蘇永康';
2-18316619-1