question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the domestic box office for the film that had a foreign box office of $26,600,000?
CREATE TABLE "lifetime_grosses" ( "year" real, "film" text, "budget" text, "domestic_box_office" text, "foreign_box_office" text, "total" text, "us_dvd_sales" text, "total_with_dvd_sales" text );
SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "foreign_box_office"='$26,600,000';
1-2203760-4
What was the domestic box office for "House on Haunted Hill"?
CREATE TABLE "lifetime_grosses" ( "year" real, "film" text, "budget" text, "domestic_box_office" text, "foreign_box_office" text, "total" text, "us_dvd_sales" text, "total_with_dvd_sales" text );
SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "film"='House on Haunted Hill';
1-2203760-4
What was the budget for "Thirteen Ghosts"?
CREATE TABLE "lifetime_grosses" ( "year" real, "film" text, "budget" text, "domestic_box_office" text, "foreign_box_office" text, "total" text, "us_dvd_sales" text, "total_with_dvd_sales" text );
SELECT "budget" FROM "lifetime_grosses" WHERE "film"='Thirteen Ghosts';
1-2203760-4
What is every school for the Adelaide location?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "school_colors" text );
SELECT "school" FROM "current_member_schools" WHERE "location"='Adelaide';
1-22043925-1
How many values for founded when enrollment is 850?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "school_colors" text );
SELECT COUNT("founded") FROM "current_member_schools" WHERE "enrolment"=850;
1-22043925-1
What is every denomination for the school Seymour college?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "school_colors" text );
SELECT "denomination" FROM "current_member_schools" WHERE "school"='Seymour College';
1-22043925-1
Event number 38m was held on which date?
CREATE TABLE "2011_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "date" FROM "2011_events" WHERE "event_num"='38M';
1-22050544-3
Who won the $109 no limit hold'em w/rebuys [turbo]?
CREATE TABLE "2011_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "winner" FROM "2011_events" WHERE "event"='$109 No Limit Hold''em w/rebuys [Turbo]';
1-22050544-3
Which event had 25,883 entries?
CREATE TABLE "2011_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "event" FROM "2011_events" WHERE "entries"='25,883';
1-22050544-3
How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?
CREATE TABLE "2011_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "event"='$16.50 Fixed-Limit Badugi';
1-22050544-3
How many elapsed times were recorded for the game that had a prize pool of $1,678,200?
CREATE TABLE "2011_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "prize_pool"='$1,678,200';
1-22050544-3
What year did jaroslav vojtek category:articles with hcards Direct?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "slovak_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "director"='Jaroslav Vojtek Category:Articles with hCards';
1-22032599-1
What was the result for Gypsy?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "slovak_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='Gypsy';
1-22032599-1
HOw many films did martin repka category:articles with hcards direct?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "slovak_title" text, "director" text, "result" text );
SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "director"='Martin Repka Category:Articles with hCards';
1-22032599-1
What was the result for City of the Sun?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "slovak_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='City of the Sun';
1-22032599-1
What was the language for the movie "Late Bloomers"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director" text, "result" text );
SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Late Bloomers';
1-22034853-1
How many original titles were listed as "If the Sun Never Returns"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director" text, "result" text );
SELECT COUNT("original_title") FROM "submissions" WHERE "film_title_used_in_nomination"='If the Sun Never Returns';
1-22034853-1
What was the language of "Mein Name Ist Bach"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director" text, "result" text );
SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Mein Name Ist Bach';
1-22034853-1
What was the year for the film "Vitus"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Vitus';
1-22034853-1
How many films are titled "Dans la Ville Blanche"?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "director" text, "result" text );
SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "original_title"='Dans la ville blanche';
1-22034853-1
How many of the writers had 5.35 viewers?
CREATE TABLE "table1_22053239_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_millions" text );
SELECT COUNT("written_by") FROM "table1_22053239_1" WHERE "u_s_viewers_millions"='5.35';
1-22053239-1
What was the elapsed time for the championship that had $9,377.42 in prize money?
CREATE TABLE "2012_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "elapsed_time" FROM "2012_events" WHERE "prize"='$9,377.42';
1-22050544-4
Who won a prize pool of $61,100?
CREATE TABLE "2012_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "winner" FROM "2012_events" WHERE "prize_pool"='$61,100';
1-22050544-4
What was the prize pool for the event number 27H?
CREATE TABLE "2012_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "prize_pool" FROM "2012_events" WHERE "event_num"='27H';
1-22050544-4
What is the event name with the number 8M?
CREATE TABLE "2012_events" ( "date" text, "event_num" text, "event" text, "winner" text, "prize" text, "entries" text, "prize_pool" text, "elapsed_time" text );
SELECT "event" FROM "2012_events" WHERE "event_num"='8M';
1-22050544-4
Name the total number 1980 mil for soviet union
CREATE TABLE "population" ( "country" text, "area_000s" text, "1950_mil" text, "1970_mil" text, "1980_mil" text, "1985_mil" text, "annual_growth_1950_1985" text, "density_1980" text );
SELECT COUNT("1980_mil") FROM "population" WHERE "country"='Soviet Union';
1-22071705-6
Name the country for 37.23 1985
CREATE TABLE "population" ( "country" text, "area_000s" text, "1950_mil" text, "1970_mil" text, "1980_mil" text, "1985_mil" text, "annual_growth_1950_1985" text, "density_1980" text );
SELECT "country" FROM "population" WHERE "1985_mil"='37.23';
1-22071705-6
Name the country for 2.16
CREATE TABLE "population" ( "country" text, "area_000s" text, "1950_mil" text, "1970_mil" text, "1980_mil" text, "1985_mil" text, "annual_growth_1950_1985" text, "density_1980" text );
SELECT "country" FROM "population" WHERE "1970_mil"='2.16';
1-22071705-6
How many languages have elles as the film title used in nomination?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "languages" text, "director" text, "result" text );
SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Elles';
1-22073745-1
How many languages is refractaire as the film title used in nomination?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "languages" text, "director" text, "result" text );
SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Refractaire';
1-22073745-1
How many languages have le roman de renart as the original title?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "languages" text, "director" text, "result" text );
SELECT COUNT("languages") FROM "submissions" WHERE "original_title"='Le Roman de Renart';
1-22073745-1
Who is the director of the original title perl oder pica?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "languages" text, "director" text, "result" text );
SELECT "director" FROM "submissions" WHERE "original_title"='Perl oder Pica';
1-22073745-1
What is the result of the 2005 (78th) year ceremony?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "languages" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "year_ceremony"='2005 (78th)';
1-22073745-1
What is the title that has 14.59 u.s. viewers (millions)?
CREATE TABLE "table1_22078691_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='14.59';
1-22078691-2
How many number of series have the title "call of silence"?
CREATE TABLE "table1_22078691_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "no_in_series" FROM "table1_22078691_2" WHERE "title"='\"Call of Silence\"';
1-22078691-2
What is the title that had 13.59 u.s. viewers (millions)?
CREATE TABLE "table1_22078691_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='13.59';
1-22078691-2
If the earning amount is $309,886, what is the money list ranking?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "3rds" real, "top_10s" real, "best_finish" text, "earnings" text, "money_list_rank" real, "scoring_average" text );
SELECT "money_list_rank" FROM "lpga_tour_career_summary" WHERE "earnings"='309,886';
1-22081847-1
What was the maximum number of wins?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "3rds" real, "top_10s" real, "best_finish" text, "earnings" text, "money_list_rank" real, "scoring_average" text );
SELECT MAX("wins") FROM "lpga_tour_career_summary";
1-22081847-1
If the year is 2010, what was the average score?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "3rds" real, "top_10s" real, "best_finish" text, "earnings" text, "money_list_rank" real, "scoring_average" text );
SELECT "scoring_average" FROM "lpga_tour_career_summary" WHERE "year"=2010;
1-22081847-1
How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
CREATE TABLE "race_calendar" ( "event" real, "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT COUNT("event") FROM "race_calendar" WHERE "fastest_lap"='Tim Macrow' AND "pole_position"='Joey Foster';
1-22083044-2
What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?
CREATE TABLE "race_calendar" ( "event" real, "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT "winning_team" FROM "race_calendar" WHERE "circuit"='Queensland Raceway' AND "fastest_lap"='Tim Macrow';
1-22083044-2
What's the series number of the episode whose writer is David North?
CREATE TABLE "table1_22078972_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "written_by"='David North';
1-22078972-2
What's the series number of the episode seen by 17.04 million people in the US?
CREATE TABLE "table1_22078972_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='17.04';
1-22078972-2
What's the title of the episode first seen by 18.15 million people in the US?
CREATE TABLE "table1_22078972_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='18.15';
1-22078972-2
How many millions of people in the US saw the episode with series number 103?
CREATE TABLE "table1_22078972_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_22078972_2" WHERE "no_in_series"=103;
1-22078972-2
What number episode in the series was watched by 15.89 million U.S. viewers?
CREATE TABLE "table1_22078906_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "u_s_viewers_millions" text );
SELECT "no_in_series" FROM "table1_22078906_2" WHERE "u_s_viewers_millions"='15.89';
1-22078906-2
What is the title of the episode directed by William Webb?
CREATE TABLE "table1_22078906_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_22078906_2" WHERE "directed_by"='William Webb';
1-22078906-2
How many millions of U.S. viewers watched the episode titled "Once a Hero"?
CREATE TABLE "table1_22078906_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_22078906_2" WHERE "title"='\"Once a Hero\"';
1-22078906-2
Who wrote the episode titled "In the Dark"?
CREATE TABLE "table1_22078906_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "u_s_viewers_millions" text );
SELECT "written_by" FROM "table1_22078906_2" WHERE "title"='\"In the Dark\"';
1-22078906-2
What was the final score when River Plate was the runner-up?
CREATE TABLE "finals" ( "season" text, "champion" text, "runner_up" text, "result" text, "league_mvp" text, "finals_mvp" text, "winning_coach" text );
SELECT "result" FROM "finals" WHERE "runner_up"='River Plate';
1-2208838-2
What was spent per voter when total amount spent was 210,280,000?
CREATE TABLE "campaign_expenses" ( "candidate_party" text, "amount_raised_php" text, "amount_spent_php" text, "votes" real, "spent_per_vote_php" text, "spent_per_voter_php" text );
SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "amount_spent_php"='210,280,000';
1-22097588-9
What was spent per voter when the spent per vote was 20.07?
CREATE TABLE "campaign_expenses" ( "candidate_party" text, "amount_raised_php" text, "amount_spent_php" text, "votes" real, "spent_per_vote_php" text, "spent_per_voter_php" text );
SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "spent_per_vote_php"='20.07';
1-22097588-9
Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?
CREATE TABLE "table1_22123920_4" ( "dates_mdy" text, "gross_sales" text, "tickets_sold_available" text, "shows_sellout" text, "sellout_pct" text );
SELECT "shows_sellout" FROM "table1_22123920_4" WHERE "sellout_pct"='75%';
1-22123920-4
During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
CREATE TABLE "table1_22123920_4" ( "dates_mdy" text, "gross_sales" text, "tickets_sold_available" text, "shows_sellout" text, "sellout_pct" text );
SELECT "tickets_sold_available" FROM "table1_22123920_4" WHERE "gross_sales"='$2,628,457';
1-22123920-4
Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?
CREATE TABLE "table1_22123920_4" ( "dates_mdy" text, "gross_sales" text, "tickets_sold_available" text, "shows_sellout" text, "sellout_pct" text );
SELECT "dates_mdy" FROM "table1_22123920_4" WHERE "gross_sales"='$2,877,906';
1-22123920-4
What year and the corresponding ceremony was the english titled movie "time out" submitted?
CREATE TABLE "table1_22102732_1" ( "year_ceremony" text, "english_title" text, "spanish_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "table1_22102732_1" WHERE "english_title"='Time Out';
1-22102732-1
How many english titles were directed by carlos moreno?
CREATE TABLE "table1_22102732_1" ( "year_ceremony" text, "english_title" text, "spanish_title" text, "director" text, "result" text );
SELECT COUNT("english_title") FROM "table1_22102732_1" WHERE "director"='Carlos Moreno';
1-22102732-1
How many years was their W/L/D record 13:10:0?
CREATE TABLE "honour_roll" ( "year" real, "w_l_d" text, "position" text, "chairman" text, "ceo" text, "coach" text, "captain" text, "vice_captain" text, "best_and_fairest" text, "leading_goalkicker" text );
SELECT COUNT("chairman") FROM "honour_roll" WHERE "w_l_d"='13:10:0';
1-22106-3
What is the rank # of kelli miller the winning pitcher?
CREATE TABLE "table1_22098274_1" ( "date" text, "time" text, "opponent" text, "ranknum" text, "site" text, "result" text, "attendance" text, "winning_pitcher" text, "losing_pitcher" text );
SELECT "ranknum" FROM "table1_22098274_1" WHERE "winning_pitcher"='Kelli Miller';
1-22098274-1
How many number of site have May 1, 2004 as the date?
CREATE TABLE "table1_22098274_1" ( "date" text, "time" text, "opponent" text, "ranknum" text, "site" text, "result" text, "attendance" text, "winning_pitcher" text, "losing_pitcher" text );
SELECT COUNT("site") FROM "table1_22098274_1" WHERE "date"='May 1, 2004';
1-22098274-1
At what time is the site usf softball field • tampa, fl and w4-0 is the result?
CREATE TABLE "table1_22098274_1" ( "date" text, "time" text, "opponent" text, "ranknum" text, "site" text, "result" text, "attendance" text, "winning_pitcher" text, "losing_pitcher" text );
SELECT "time" FROM "table1_22098274_1" WHERE "site"='USF Softball Field • Tampa, FL' AND "result"='W4-0';
1-22098274-1
What was the result for the film with the English name of Morning Undersea?
CREATE TABLE "table1_22118197_1" ( "year_ceremony" text, "english_title" text, "portuguese_title" text, "director" text, "result" text );
SELECT "result" FROM "table1_22118197_1" WHERE "english_title"='Morning Undersea';
1-22118197-1
What was the result of the film with the Portuguese title, Um Filme Falado?
CREATE TABLE "table1_22118197_1" ( "year_ceremony" text, "english_title" text, "portuguese_title" text, "director" text, "result" text );
SELECT "result" FROM "table1_22118197_1" WHERE "portuguese_title"='Um Filme Falado';
1-22118197-1
What is the Portuguese name of the film who's English title is, Belle Toujours?
CREATE TABLE "table1_22118197_1" ( "year_ceremony" text, "english_title" text, "portuguese_title" text, "director" text, "result" text );
SELECT "portuguese_title" FROM "table1_22118197_1" WHERE "english_title"='Belle Toujours';
1-22118197-1
What is every result for the ceremony year of 2007 (80th)?
CREATE TABLE "submissions" ( "year_ceremony" text, "english_title" text, "vietnamese_title" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "year_ceremony"='2007 (80th)';
1-22128871-1
What is every English title for the result of nominee?
CREATE TABLE "submissions" ( "year_ceremony" text, "english_title" text, "vietnamese_title" text, "director" text, "result" text );
SELECT "english_title" FROM "submissions" WHERE "result"='Nominee';
1-22128871-1
How many directors have vietnamese titles of Gate, Gate, Paragate?
CREATE TABLE "submissions" ( "year_ceremony" text, "english_title" text, "vietnamese_title" text, "director" text, "result" text );
SELECT COUNT("director") FROM "submissions" WHERE "vietnamese_title"='Gate, gate, paragate';
1-22128871-1
What is every ceremony year for the result of nominee?
CREATE TABLE "submissions" ( "year_ceremony" text, "english_title" text, "vietnamese_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "result"='Nominee';
1-22128871-1
Who was the pilot of max altitude of 55.9 miles?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT "pilot" FROM "table1_221315_3" WHERE "max_altitude_miles"='55.9';
1-221315-3
What is the highest number of fai space flights when max mach is 5.65?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT MAX("fai_space_flights") FROM "table1_221315_3" WHERE "max_mach"='5.65';
1-221315-3
What was the maximum altitude for Neil Armstrong?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT "max_altitude_miles" FROM "table1_221315_3" WHERE "pilot"='Neil Armstrong';
1-221315-3
How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT COUNT("max_speed_mph") FROM "table1_221315_3" WHERE "usaf_space_flights"=1 AND "total_flights"=34;
1-221315-3
What were all USAF space flights when the aximum speed was 3822?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT "usaf_space_flights" FROM "table1_221315_3" WHERE "max_speed_mph"=3822;
1-221315-3
What was the max mach when the maximum speed was 3887?
CREATE TABLE "table1_221315_3" ( "pilot" text, "organization" text, "total_flights" real, "usaf_space_flights" real, "fai_space_flights" real, "max_mach" text, "max_speed_mph" real, "max_altitude_miles" text );
SELECT "max_mach" FROM "table1_221315_3" WHERE "max_speed_mph"=3887;
1-221315-3
What is the record for the away leg in round 1 and aggregate 2-0?
CREATE TABLE "european_record" ( "season" text, "round" real, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "away_leg" FROM "european_record" WHERE "round"=1 AND "aggregate"='2-0';
1-2214582-1
Name the parishes for beira baixa province
CREATE TABLE "table1_221375_1" ( "district" text, "municipalities" real, "parishes" real, "province_of_1936" text, "region" text );
SELECT COUNT("parishes") FROM "table1_221375_1" WHERE "province_of_1936"='Beira Baixa Province';
1-221375-1
Name the most municipalities for alto alentejo province (partly ribatejo)
CREATE TABLE "table1_221375_1" ( "district" text, "municipalities" real, "parishes" real, "province_of_1936" text, "region" text );
SELECT MAX("municipalities") FROM "table1_221375_1" WHERE "province_of_1936"='Alto Alentejo Province (partly Ribatejo)';
1-221375-1
Name province of 1936 viana do castelo
CREATE TABLE "table1_221375_1" ( "district" text, "municipalities" real, "parishes" real, "province_of_1936" text, "region" text );
SELECT "province_of_1936" FROM "table1_221375_1" WHERE "district"='Viana do Castelo';
1-221375-1
What was the score when the partner is Rafael Osuna?
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "score" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';
1-2215159-2
What was the outcome of the game when the partner is Rafael Osuna?
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "outcome" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';
1-2215159-2
What is the surface of the French Championships?
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "championship"='French Championships';
1-2215159-2
How many outcomes were there for matches played with Chuck McKinley on grass in 1962?
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT COUNT("outcome") FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "surface"='Grass' AND "partner"='Chuck McKinley' AND "year"=1962;
1-2215159-2
What was the home leg score against partizani tirana?
CREATE TABLE "european_record" ( "season" real, "round" real, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "home_leg" FROM "european_record" WHERE "opponents"='Partizani Tirana';
1-2214582-3
What round did they face fc st. gallen?
CREATE TABLE "european_record" ( "season" real, "round" real, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT COUNT("round") FROM "european_record" WHERE "opponents"='FC St. Gallen';
1-2214582-3
What was the home leg score against fc schalke 04?
CREATE TABLE "european_record" ( "season" real, "round" real, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text );
SELECT "home_leg" FROM "european_record" WHERE "opponents"='FC Schalke 04';
1-2214582-3
How many dfb-pokal did kevin-prince boateng have?
CREATE TABLE "goalscorers" ( "player" text, "bundesliga" real, "dfb_pokal" real, "uefa_intertoto_cup" real, "uefa_cup" real, "dfb_ligapokal" real, "total" real );
SELECT COUNT("dfb_pokal") FROM "goalscorers" WHERE "player"='Kevin-Prince Boateng';
1-22167196-1
Who is the head coach when Miami University is the championship game opponent?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT "head_coach" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';
1-22165661-3
What is the location when 2-1 is the score?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT "location" FROM "conference_tournament_championships" WHERE "score"='2-1';
1-22165661-3
What is the conference when Ferris State is the championship game opponent?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT "conference" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Ferris State';
1-22165661-3
What is the location of the 1999 tournament?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT "location" FROM "conference_tournament_championships" WHERE "tournament"=1999;
1-22165661-3
How many scores are there when the championship game opponent is Miami University?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT COUNT("score") FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';
1-22165661-3
Who is the head coach for the score of 4-3?
CREATE TABLE "conference_tournament_championships" ( "tournament" real, "conference" text, "championship_game_opponent" text, "score" text, "location" text, "head_coach" text );
SELECT "head_coach" FROM "conference_tournament_championships" WHERE "score"='4-3';
1-22165661-3
What is the bleeding time when the platelet count is decreased or unaffected?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased or unaffected';
1-221653-1
What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Factor X deficiency as seen in amyloid purpura';
1-221653-1
How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT COUNT("platelet_count") FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';
1-221653-1
What is the bleeding time for the disseminated intravascular coagulation condition?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT COUNT("bleeding_time") FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Disseminated intravascular coagulation';
1-221653-1
What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';
1-221653-1
What is the platelet count when partial thromboplastin time and bleeding time are unaffected?
CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );
SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Unaffected' AND "bleeding_time"='Unaffected';
1-221653-1
What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?
CREATE TABLE "new_zealand_tv2" ( "episode_number" real, "title" text, "original_airing" text, "timeslot" text, "viewers" real, "top_50_ranking" real, "scripted_show_ranking" real );
SELECT MIN("top_50_ranking") FROM "new_zealand_tv2" WHERE "title"='The God-Why-Don''t-You-Love-Me Blues';
1-22170495-7
Which episodes originally aired on April 19, 2010?
CREATE TABLE "new_zealand_tv2" ( "episode_number" real, "title" text, "original_airing" text, "timeslot" text, "viewers" real, "top_50_ranking" real, "scripted_show_ranking" real );
SELECT "title" FROM "new_zealand_tv2" WHERE "original_airing"='April 19, 2010';
1-22170495-7