question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which mix artists have shlomo as artist 1?
CREATE TABLE "table1_23649244_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "guitar_part" text, "level" text );
SELECT "mix_artist" FROM "table1_23649244_1" WHERE "artist_1"='Shlomo';
1-23649244-1
How many season had Melgar as a champion?
CREATE TABLE "professional_league_1951_present" ( "season" real, "champion" text, "count" real, "runners_up" text, "third_place" text, "top_scorer" text, "top_scorers_club" text, "goals" text );
SELECT COUNT("season") FROM "professional_league_1951_present" WHERE "champion"='Melgar';
1-23647668-2
What year was the season with the top scoring club being Sporting Cristal and the champion was Universitario?
CREATE TABLE "professional_league_1951_present" ( "season" real, "champion" text, "count" real, "runners_up" text, "third_place" text, "top_scorer" text, "top_scorers_club" text, "goals" text );
SELECT "season" FROM "professional_league_1951_present" WHERE "top_scorers_club"='Sporting Cristal' AND "champion"='Universitario';
1-23647668-2
Who was in third place in the 1980 season?
CREATE TABLE "professional_league_1951_present" ( "season" real, "champion" text, "count" real, "runners_up" text, "third_place" text, "top_scorer" text, "top_scorers_club" text, "goals" text );
SELECT "third_place" FROM "professional_league_1951_present" WHERE "season"=1980;
1-23647668-2
Name the open cup for usl pdl for did not qualify
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "open_cup" FROM "year_by_year" WHERE "league"='USL PDL' AND "playoffs"='Did not qualify';
1-2365150-1
Name the total number of open cup for 1996
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT COUNT("open_cup") FROM "year_by_year" WHERE "year"=1996;
1-2365150-1
Name the open cup for division finals
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "open_cup" FROM "year_by_year" WHERE "playoffs"='Division Finals';
1-2365150-1
Name the position for 2.16
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "position" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.16';
1-23670057-1
Name the number for 1.96 height
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='1.96';
1-23670057-1
Name the height for number 7
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "no"=7;
1-23670057-1
name the player for number 5
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "no"=5;
1-23670057-1
Identify every player's height in meters if the player is exactly 6' 07" tall in feet
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "height_f"='6'' 07\"';
1-23670057-4
For all players playing at the center, list the height in feet.
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "height_f" FROM "fiba_euro_basket_2009_squads" WHERE "position"='Center';
1-23670057-4
Display the serial numbers for the players who play at the center.
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "position"='Center';
1-23670057-4
What is the date of birth for basket baller called ido kozikaro
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT MAX("year_born") FROM "fiba_euro_basket_2009_squads" WHERE "player"='Ido Kozikaro';
1-23670057-4
How many positions are available for players who are 6' 07"?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT COUNT("position") FROM "fiba_euro_basket_2009_squads" WHERE "height_f"='6'' 07\"';
1-23670057-4
How tall is the basket ball player lior eliyahu in meters?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Lior Eliyahu';
1-23670057-4
What was the average score for the couple that had 4 dances?
CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points_earned" real, "number_of_dances" real, "average" text );
SELECT "average" FROM "averages" WHERE "number_of_dances"=4;
1-23662356-3
How many averages were listed for the couple who had 12 dances?
CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points_earned" real, "number_of_dances" real, "average" text );
SELECT COUNT("average") FROM "averages" WHERE "number_of_dances"=12;
1-23662356-3
How many total points were earned from the couple that averaged 29.0 points?
CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points_earned" real, "number_of_dances" real, "average" text );
SELECT MAX("total_points_earned") FROM "averages" WHERE "average"='29.0';
1-23662356-3
What album was the song It's going so badly on?
CREATE TABLE "table1_23667534_1" ( "episode_title" text, "song_s_title" text, "writer" text, "singer_s" text, "album_s" text );
SELECT "album_s" FROM "table1_23667534_1" WHERE "song_s_title"='It''s Going So Badly';
1-23667534-1
What album was the song My Chariot on?
CREATE TABLE "table1_23667534_1" ( "episode_title" text, "song_s_title" text, "writer" text, "singer_s" text, "album_s" text );
SELECT "album_s" FROM "table1_23667534_1" WHERE "song_s_title"='My Chariot';
1-23667534-1
Who sand He's Bigfoot?
CREATE TABLE "table1_23667534_1" ( "episode_title" text, "song_s_title" text, "writer" text, "singer_s" text, "album_s" text );
SELECT "singer_s" FROM "table1_23667534_1" WHERE "song_s_title"='He''s Bigfoot';
1-23667534-1
What album was the song Shimmy Jimmy from the episode titled Toy to the world on?
CREATE TABLE "table1_23667534_1" ( "episode_title" text, "song_s_title" text, "writer" text, "singer_s" text, "album_s" text );
SELECT "album_s" FROM "table1_23667534_1" WHERE "episode_title"='Toy to the World' AND "song_s_title"='Shimmy Jimmy';
1-23667534-1
which players have a height of 2.07m?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.07';
1-23670057-5
Which clubs have players with height 2.14m?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "current_club" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.14';
1-23670057-5
Which players were born in 1983 and play as forward position?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "year_born"=1983 AND "position"='Forward';
1-23670057-5
What is every current club for the player Artūrs Štālbergs?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "current_club" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Artūrs Štālbergs';
1-23670057-7
How many players have a height of 2.07?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT COUNT("player") FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.07';
1-23670057-7
What is the latest year born when the current club is Barons LMT?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT MAX("year_born") FROM "fiba_euro_basket_2009_squads" WHERE "current_club"='Barons LMT';
1-23670057-7
How many current clubs have the player Aigars Vitols?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT COUNT("current_club") FROM "fiba_euro_basket_2009_squads" WHERE "player"='Aigars Vitols';
1-23670057-7
What is every year born for height of 1.88?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "year_born" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='1.88';
1-23670057-7
What is every number when the player is Aigars Vitols?
CREATE TABLE "fiba_euro_basket_2009_squads" ( "no" real, "player" text, "height_m" text, "height_f" text, "position" text, "year_born" real, "current_club" text );
SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Aigars Vitols';
1-23670057-7
Name the most high schools for 31851
CREATE TABLE "enrollment" ( "year" text, "district_wide" real, "high_schools" real, "middle_schools" real, "elementary_schools" real, "other_programs_adjustments" real );
SELECT MAX("high_schools") FROM "enrollment" WHERE "district_wide"=31851;
1-2367847-2
Name the most district wide for 1639 other programs
CREATE TABLE "enrollment" ( "year" text, "district_wide" real, "high_schools" real, "middle_schools" real, "elementary_schools" real, "other_programs_adjustments" real );
SELECT MAX("district_wide") FROM "enrollment" WHERE "other_programs_adjustments"=1639;
1-2367847-2
Name the total number of elementary schools for 31851
CREATE TABLE "enrollment" ( "year" text, "district_wide" real, "high_schools" real, "middle_schools" real, "elementary_schools" real, "other_programs_adjustments" real );
SELECT COUNT("elementary_schools") FROM "enrollment" WHERE "district_wide"=31851;
1-2367847-2
Name the most middle schools for 2005-2006
CREATE TABLE "enrollment" ( "year" text, "district_wide" real, "high_schools" real, "middle_schools" real, "elementary_schools" real, "other_programs_adjustments" real );
SELECT MAX("middle_schools") FROM "enrollment" WHERE "year"='2005-2006';
1-2367847-2
If the polling average in July 2009 was 7.2%, what was it in May 2009?
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT "may_2009" FROM "average_polling" WHERE "jul_2009"='7.2%';
1-23680576-2
What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT "aug_2008" FROM "average_polling" WHERE "sep_2008"='5.0%';
1-23680576-2
How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT COUNT("oct_2008") FROM "average_polling" WHERE "aug_2008"='30.8%';
1-23680576-2
Name the party/s when the polling percentage was 6.3% in Dec 2008.
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT "party" FROM "average_polling" WHERE "dec_2008"='6.3%';
1-23680576-2
What was the polling percentage in Jul 2009 when the Parliament Election result of 2005 was 6.5%?
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT "jul_2009" FROM "average_polling" WHERE "result_parliam_election_2005"='6.5%';
1-23680576-2
What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?
CREATE TABLE "average_polling" ( "party" text, "result_parliam_election_2005" text, "result_county_elections_2007" text, "aug_2008" text, "sep_2008" text, "oct_2008" text, "nov_2008" text, "dec_2008" text, "jan_2009" text, "feb_2009" text, "mar_2009" text, "apr_2009" text, "may_2009" text, "...
SELECT "nov_2008" FROM "average_polling" WHERE "aug_2008"='1.7%';
1-23680576-2
What is the week 32 result when week 33 is 31.9%?
CREATE TABLE "average_polling" ( "party" text, "week_32" text, "week_33" text, "week_34" text, "week_35" text, "week_36" text, "week_37" text );
SELECT "week_32" FROM "average_polling" WHERE "week_33"='31.9%';
1-23680576-3
List all week 37 results when week 33 is 14.3%.
CREATE TABLE "average_polling" ( "party" text, "week_32" text, "week_33" text, "week_34" text, "week_35" text, "week_36" text, "week_37" text );
SELECT "week_37" FROM "average_polling" WHERE "week_33"='14.3%';
1-23680576-3
List the full amount of week 36 results when week 32 is 13.2%.
CREATE TABLE "average_polling" ( "party" text, "week_32" text, "week_33" text, "week_34" text, "week_35" text, "week_36" text, "week_37" text );
SELECT COUNT("week_36") FROM "average_polling" WHERE "week_32"='13.2%';
1-23680576-3
On what year was the local government area with a surface of 4563 square kilometers established?
CREATE TABLE "table1_23685890_2" ( "local_government_area" text, "type" text, "major_town" text, "land_area_km" text, "pop_2006" real, "density_km_2" real, "towns" real, "est" real );
SELECT "est" FROM "table1_23685890_2" WHERE "land_area_km"='4563';
1-23685890-2
Which major town is located within the Outback Areas Community Development Trust?
CREATE TABLE "table1_23685890_2" ( "local_government_area" text, "type" text, "major_town" text, "land_area_km" text, "pop_2006" real, "density_km_2" real, "towns" real, "est" real );
SELECT "major_town" FROM "table1_23685890_2" WHERE "local_government_area"='Outback Areas Community Development Trust';
1-23685890-2
How many towns exist on the government area with a surface of 110 square kilometers?
CREATE TABLE "table1_23685890_2" ( "local_government_area" text, "type" text, "major_town" text, "land_area_km" text, "pop_2006" real, "density_km_2" real, "towns" real, "est" real );
SELECT MIN("towns") FROM "table1_23685890_2" WHERE "land_area_km"='110';
1-23685890-2
What type of local government area is Yalata?
CREATE TABLE "table1_23685890_2" ( "local_government_area" text, "type" text, "major_town" text, "land_area_km" text, "pop_2006" real, "density_km_2" real, "towns" real, "est" real );
SELECT "type" FROM "table1_23685890_2" WHERE "local_government_area"='Yalata';
1-23685890-2
What was the 2006 population count of the local government area where Coober Pedy is located?
CREATE TABLE "table1_23685890_2" ( "local_government_area" text, "type" text, "major_town" text, "land_area_km" text, "pop_2006" real, "density_km_2" real, "towns" real, "est" real );
SELECT "pop_2006" FROM "table1_23685890_2" WHERE "major_town"='Coober Pedy';
1-23685890-2
During what week was the game attended by 20114 people?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT MAX("week") FROM "schedule" WHERE "attendance"=20114;
1-23685152-2
What was the record in game played on July 28?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "record" FROM "schedule" WHERE "date"='July 28';
1-23685152-2
What was the record in the game against Eskimos?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "record" FROM "schedule" WHERE "opponent"='Eskimos';
1-23685152-2
Whose WSOP earnings were $36,372?
CREATE TABLE "2012" ( "name" text, "starting_chip_count" real, "wsop_bracelets" real, "wsop_cashes" real, "wsop_earnings" text, "final_place" text, "prize" text );
SELECT "name" FROM "2012" WHERE "wsop_earnings"='$36,372';
1-23696862-6
The person who had 0 WSOP earnings had how man WSOP cashes?
CREATE TABLE "2012" ( "name" text, "starting_chip_count" real, "wsop_bracelets" real, "wsop_cashes" real, "wsop_earnings" text, "final_place" text, "prize" text );
SELECT "wsop_cashes" FROM "2012" WHERE "wsop_earnings"='0';
1-23696862-6
Who had 2 WSOP cashes and was 6th in final place?
CREATE TABLE "2012" ( "name" text, "starting_chip_count" real, "wsop_bracelets" real, "wsop_cashes" real, "wsop_earnings" text, "final_place" text, "prize" text );
SELECT "name" FROM "2012" WHERE "wsop_cashes"=2 AND "final_place"='6th';
1-23696862-6
What is the smallest amount of WSOP bracelets anyone had?
CREATE TABLE "2012" ( "name" text, "starting_chip_count" real, "wsop_bracelets" real, "wsop_cashes" real, "wsop_earnings" text, "final_place" text, "prize" text );
SELECT MIN("wsop_bracelets") FROM "2012";
1-23696862-6
The person who had $126,796 WSOP earnings had how many WSOP cashes?
CREATE TABLE "2012" ( "name" text, "starting_chip_count" real, "wsop_bracelets" real, "wsop_cashes" real, "wsop_earnings" text, "final_place" text, "prize" text );
SELECT "wsop_cashes" FROM "2012" WHERE "wsop_earnings"='$126,796';
1-23696862-6
What is the high 10 profile number when the high profile is 80?
CREATE TABLE "table1_237036_2" ( "level" text, "luma_samples_s" real, "macroblocks_s" real, "luma_samples" real, "macroblocks" real, "baseline_extended_and_main_profiles" real, "high_profile" real, "high_10_profile" real, "examples_for_high_resolution_highest_frame_rate_max_stored_frames_toggle_additi...
SELECT MAX("high_10_profile") FROM "table1_237036_2" WHERE "high_profile"=80;
1-237036-2
What is the baseline extended and main profiles when level is 1.3?
CREATE TABLE "table1_237036_2" ( "level" text, "luma_samples_s" real, "macroblocks_s" real, "luma_samples" real, "macroblocks" real, "baseline_extended_and_main_profiles" real, "high_profile" real, "high_10_profile" real, "examples_for_high_resolution_highest_frame_rate_max_stored_frames_toggle_additi...
SELECT MIN("baseline_extended_and_main_profiles") FROM "table1_237036_2" WHERE "level"='1.3';
1-237036-2
What level has 11880 macroblocks and high 10 profile is 6000?
CREATE TABLE "table1_237036_2" ( "level" text, "luma_samples_s" real, "macroblocks_s" real, "luma_samples" real, "macroblocks" real, "baseline_extended_and_main_profiles" real, "high_profile" real, "high_10_profile" real, "examples_for_high_resolution_highest_frame_rate_max_stored_frames_toggle_additi...
SELECT "level" FROM "table1_237036_2" WHERE "macroblocks_s"=11880 AND "high_10_profile"=6000;
1-237036-2
What are the luma samples at level 1.3?
CREATE TABLE "table1_237036_2" ( "level" text, "luma_samples_s" real, "macroblocks_s" real, "luma_samples" real, "macroblocks" real, "baseline_extended_and_main_profiles" real, "high_profile" real, "high_10_profile" real, "examples_for_high_resolution_highest_frame_rate_max_stored_frames_toggle_additi...
SELECT "luma_samples_s" FROM "table1_237036_2" WHERE "level"='1.3';
1-237036-2
What is the high 10 profile when high profile is 160?
CREATE TABLE "table1_237036_2" ( "level" text, "luma_samples_s" real, "macroblocks_s" real, "luma_samples" real, "macroblocks" real, "baseline_extended_and_main_profiles" real, "high_profile" real, "high_10_profile" real, "examples_for_high_resolution_highest_frame_rate_max_stored_frames_toggle_additi...
SELECT "high_10_profile" FROM "table1_237036_2" WHERE "high_profile"=160;
1-237036-2
What is the original air date if the ratings is 1.92 million?
CREATE TABLE "table1_23705843_1" ( "episode" text, "director" text, "writer" text, "original_air_date" text, "ratings_millions" text );
SELECT "original_air_date" FROM "table1_23705843_1" WHERE "ratings_millions"='1.92';
1-23705843-1
What is the name of the writer when the ratings was 2.61 million?
CREATE TABLE "table1_23705843_1" ( "episode" text, "director" text, "writer" text, "original_air_date" text, "ratings_millions" text );
SELECT "writer" FROM "table1_23705843_1" WHERE "ratings_millions"='2.61';
1-23705843-1
What date did the episode "the killing (part two)" originally air?
CREATE TABLE "table1_2370579_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text );
SELECT "originalairdate" FROM "table1_2370579_1" WHERE "title"='\"The Killing (part two)\"';
1-2370579-1
Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)?
CREATE TABLE "table1_2370579_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text );
SELECT "directed_by" FROM "table1_2370579_1" WHERE "written_by"='Tony O''Grady (pseudonym of Brian Clemens)';
1-2370579-1
What is the production number for episode 23?
CREATE TABLE "table1_2370579_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text );
SELECT MIN("prod_num") FROM "table1_2370579_1" WHERE "episode_num"=23;
1-2370579-1
What month and year was "storm warning (part one)" filmed?
CREATE TABLE "table1_2370579_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text );
SELECT "filmed" FROM "table1_2370579_1" WHERE "title"='\"Storm Warning (part one)\"';
1-2370579-1
What is the colloquial translation of (s)he will sing?
CREATE TABLE "future_tense" ( "aromanian_gramustean_farshirot" text, "romanian_archaic" text, "romanian_colloquial" text, "romanian_modern" text, "english" text );
SELECT "romanian_colloquial" FROM "future_tense" WHERE "english"='(s)he will sing';
1-23710609-2
What was the date of the game played in El Paso, Texas?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT "date" FROM "bowl_games" WHERE "city"='El Paso, Texas';
1-23718905-6
How many different matchup/results appear in San Diego, California?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT COUNT("matchup_results") FROM "bowl_games" WHERE "city"='San Diego, California';
1-23718905-6
How many different items appear in the television column when the results where Iowa State 14, Minnesota 13?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT COUNT("television") FROM "bowl_games" WHERE "matchup_results"='Iowa State 14, Minnesota 13';
1-23718905-6
How many different items appear in he attendance column at Sun Devil Stadium?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT COUNT("attendance") FROM "bowl_games" WHERE "stadium"='Sun Devil Stadium';
1-23718905-6
In what bowl game was the result Oklahoma 31, Stanford 27?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT "bowl_game" FROM "bowl_games" WHERE "matchup_results"='Oklahoma 31, Stanford 27';
1-23718905-6
What was the television that was dated December 28, 2009?
CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "matchup_results" text, "attendance" real, "payout_us" text );
SELECT "television" FROM "bowl_games" WHERE "date"='December 28, 2009';
1-23718905-6
Which rank has a 2009 revenue of $296,000,000?
CREATE TABLE "manufacturer_s_worldwide_ranking" ( "rank" real, "company_name" text, "2008_rank" text, "2009_revenue" text, "north_american_brands" text, "world_headquarters" text, "country" text );
SELECT "rank" FROM "manufacturer_s_worldwide_ranking" WHERE "2009_revenue"='$296,000,000';
1-237199-1
Which country has doosan infracore as then company name?
CREATE TABLE "manufacturer_s_worldwide_ranking" ( "rank" real, "company_name" text, "2008_rank" text, "2009_revenue" text, "north_american_brands" text, "world_headquarters" text, "country" text );
SELECT "country" FROM "manufacturer_s_worldwide_ranking" WHERE "company_name"='Doosan Infracore';
1-237199-1
How many north american brands have world headquarters in sagamihara?
CREATE TABLE "manufacturer_s_worldwide_ranking" ( "rank" real, "company_name" text, "2008_rank" text, "2009_revenue" text, "north_american_brands" text, "world_headquarters" text, "country" text );
SELECT COUNT("north_american_brands") FROM "manufacturer_s_worldwide_ranking" WHERE "world_headquarters"='Sagamihara';
1-237199-1
Which company name has headquarters in nagaokakyo, kyoto?
CREATE TABLE "manufacturer_s_worldwide_ranking" ( "rank" real, "company_name" text, "2008_rank" text, "2009_revenue" text, "north_american_brands" text, "world_headquarters" text, "country" text );
SELECT "company_name" FROM "manufacturer_s_worldwide_ranking" WHERE "world_headquarters"='Nagaokakyo, Kyoto';
1-237199-1
Which company name has a 2008 rank of n/a?
CREATE TABLE "manufacturer_s_worldwide_ranking" ( "rank" real, "company_name" text, "2008_rank" text, "2009_revenue" text, "north_american_brands" text, "world_headquarters" text, "country" text );
SELECT COUNT("company_name") FROM "manufacturer_s_worldwide_ranking" WHERE "2008_rank"='N/A';
1-237199-1
what is the bore where the vehicle code is t214?
CREATE TABLE "engines" ( "vehicle_code" text, "bore_mm" text, "stroke_mm" text, "capacity_cm_3" real, "compression_ratio" text, "torque_n_m" real, "power_hp" real );
SELECT "bore_mm" FROM "engines" WHERE "vehicle_code"='T214';
1-23722304-2
what is the compression ratio whre the torque is 208?
CREATE TABLE "engines" ( "vehicle_code" text, "bore_mm" text, "stroke_mm" text, "capacity_cm_3" real, "compression_ratio" text, "torque_n_m" real, "power_hp" real );
SELECT "compression_ratio" FROM "engines" WHERE "torque_n_m"=208;
1-23722304-2
what is the vehicle code where the bore is 79.4?
CREATE TABLE "engines" ( "vehicle_code" text, "bore_mm" text, "stroke_mm" text, "capacity_cm_3" real, "compression_ratio" text, "torque_n_m" real, "power_hp" real );
SELECT "vehicle_code" FROM "engines" WHERE "bore_mm"='79.4';
1-23722304-2
what is the stroke where the vehicle code is t211?
CREATE TABLE "engines" ( "vehicle_code" text, "bore_mm" text, "stroke_mm" text, "capacity_cm_3" real, "compression_ratio" text, "torque_n_m" real, "power_hp" real );
SELECT "stroke_mm" FROM "engines" WHERE "vehicle_code"='T211';
1-23722304-2
What was the rating/share for 18-49 for the episode that had 5.90 million viewers?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "rating_share_18_49" FROM "season_1_2010" WHERE "viewers_millions"='5.90';
1-23730973-5
What was the title of episode 3?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "episode" FROM "season_1_2010" WHERE "no"=3;
1-23730973-5
What number episode had a rating of 4.7?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT MIN("no") FROM "season_1_2010" WHERE "rating"='4.7';
1-23730973-5
What was the share for the "Lisa Kudrow" episode?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT MIN("share") FROM "season_1_2010" WHERE "episode"='\"Lisa Kudrow\"';
1-23730973-5
What was the rating for the episode that had 5.90 million viewers?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT "rating" FROM "season_1_2010" WHERE "viewers_millions"='5.90';
1-23730973-5
What number episode had a 4.2 rating?
CREATE TABLE "season_1_2010" ( "no" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_timeslot" real, "rank_night" real );
SELECT MIN("no") FROM "season_1_2010" WHERE "rating"='4.2';
1-23730973-5
What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?
CREATE TABLE "by_year" ( "year" real, "winner_number_of_titles" text, "runners_up" text, "top_team_in_regular_season_points" text, "top_scorer_points" text, "winning_coach" text );
SELECT COUNT("winning_coach") FROM "by_year" WHERE "top_team_in_regular_season_points"='Kansas City Spurs (110 points)';
1-237757-3
If the top team in regular season (points) is the New York Cosmos (200 points), what is the winner (number of titles)?
CREATE TABLE "by_year" ( "year" real, "winner_number_of_titles" text, "runners_up" text, "top_team_in_regular_season_points" text, "top_scorer_points" text, "winning_coach" text );
SELECT "winner_number_of_titles" FROM "by_year" WHERE "top_team_in_regular_season_points"='New York Cosmos (200 points)';
1-237757-3
If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?
CREATE TABLE "by_year" ( "year" real, "winner_number_of_titles" text, "runners_up" text, "top_team_in_regular_season_points" text, "top_scorer_points" text, "winning_coach" text );
SELECT "winner_number_of_titles" FROM "by_year" WHERE "runners_up"='Fort Lauderdale Strikers';
1-237757-3
How many figures for Other in the district where the GN division is 95?
CREATE TABLE "table1_23777640_1" ( "administrative_district" text, "ds_divisions" real, "gn_divisions" real, "total_area_km_2" real, "land_area_km_2" real, "sri_lankan_tamil" real, "sri_lankan_moors" real, "sinhalese" real, "indian_tamil" real, "other" real, "total" real, "population_density_km_...
SELECT COUNT("other") FROM "table1_23777640_1" WHERE "gn_divisions"=95;
1-23777640-1
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
CREATE TABLE "in_operation" ( "rank" real, "operators_name" text, "technology" text, "subscribers_in_millions" text, "ownership" text, "market_share" text );
SELECT "market_share" FROM "in_operation" WHERE "technology"='CDMA EVDO GSM EDGE HSPA+';
1-23801721-1
What was the rank of operator whose technology is CDMA EVDO?
CREATE TABLE "in_operation" ( "rank" real, "operators_name" text, "technology" text, "subscribers_in_millions" text, "ownership" text, "market_share" text );
SELECT MIN("rank") FROM "in_operation" WHERE "technology"='CDMA EVDO';
1-23801721-1
What was the production code for the episode directed by Michael Morris?
CREATE TABLE "table1_23793770_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT MIN("production_code") FROM "table1_23793770_1" WHERE "directed_by"='Michael Morris';
1-23793770-1
What is the title the episode directed by Allison Liddi-Brown?
CREATE TABLE "table1_23793770_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_23793770_1" WHERE "directed_by"='Allison Liddi-Brown';
1-23793770-1