question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What the production code for the episode with 16.10 U.S. viewers? | 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 MAX("production_code") FROM "table1_23793770_1" WHERE "u_s_viewers_millions"='16.10'; | 1-23793770-1 |
what is the episode title on original air date of September 30, 2007? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "title" FROM "ratings" WHERE "original_airing"='September 30, 2007'; | 1-23799417-2 |
What is the rating if the rating/share (18-49) is 3.6? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "rating" FROM "ratings" WHERE "rating_share_18_49"='3.6'; | 1-23799417-2 |
What is the rating/share total number if the total viewers is 12.75 million? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT COUNT("rating_share_18_49") FROM "ratings" WHERE "total_viewers_in_millions"='12.75'; | 1-23799417-2 |
If the rating is 9.1, what was the total viewers? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "total_viewers_in_millions" FROM "ratings" WHERE "rating"='9.1'; | 1-23799417-2 |
What was the reating share when the total viewers was 11.49 million? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "rating_share_18_49" FROM "ratings" WHERE "total_viewers_in_millions"='11.49'; | 1-23793770-2 |
What was the name of the show that had 10.47 million total viewers? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "title" FROM "ratings" WHERE "total_viewers_in_millions"='10.47'; | 1-23793770-2 |
How many shows had 12.46 total viewers? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT COUNT("title") FROM "ratings" WHERE "total_viewers_in_millions"='12.46'; | 1-23793770-2 |
What episode had 10.47 total viewers? | CREATE TABLE "ratings" (
"episode_number_production_number" text,
"title" text,
"original_airing" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"total_viewers_in_millions" text
); | SELECT "title" FROM "ratings" WHERE "total_viewers_in_millions"='10.47'; | 1-23793770-2 |
If the establishment is 49319, what is the sales, receipts or shipments maximum amount? | CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
); | SELECT MAX("sales_receipts_or_shipments_1_000") FROM "table1_23802822_1" WHERE "establishments"=49319; | 1-23802822-1 |
If the annual payroll is 21173895, what is the establishments? | CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
); | SELECT "establishments" FROM "table1_23802822_1" WHERE "annual_payroll_1_000"=21173895; | 1-23802822-1 |
What is the sector is the establishment is 110313? | CREATE TABLE "table1_23802822_1" (
"sector" text,
"establishments" real,
"sales_receipts_or_shipments_1_000" real,
"annual_payroll_1_000" real,
"paid_employees" real
); | SELECT "sector" FROM "table1_23802822_1" WHERE "establishments"=110313; | 1-23802822-1 |
How many different Leagues had average attendance of 3589? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
); | SELECT COUNT("league") FROM "year_by_year" WHERE "avg_attendance"=3589; | 1-2380212-1 |
How many people saw the 3rd, Central regular season on average? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
); | SELECT MIN("avg_attendance") FROM "year_by_year" WHERE "regular_season"='3rd, Central'; | 1-2380212-1 |
What League was played in 2007? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
); | SELECT "league" FROM "year_by_year" WHERE "year"=2007; | 1-2380212-1 |
When was the average attendance 789? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" real
); | SELECT MIN("year") FROM "year_by_year" WHERE "avg_attendance"=789; | 1-2380212-1 |
what is the score in fg-fga if in ft-fta is 16-21 | CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"blk" real,
"stl" real,
"pts" real,
"avg_pts" text
); | SELECT "fg_fga" FROM "player_stats" WHERE "ft_fta"='16-21'; | 1-23817012-6 |
if the 3fg-fga is 1-20 what is the number in ft pct | CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"blk" real,
"stl" real,
"pts" real,
"avg_pts" text
); | SELECT COUNT("ft_pct") FROM "player_stats" WHERE "3_fg_fga"='1-20'; | 1-23817012-6 |
in the ft pct .667 what is the number of gp-gs | CREATE TABLE "player_stats" (
"player" text,
"gp_gs" text,
"min_avg" text,
"fg_fga" text,
"fg_pct" text,
"3_fg_fga" text,
"3_fg_pct" text,
"ft_fta" text,
"ft_pct" text,
"reb" real,
"ast" real,
"blk" real,
"stl" real,
"pts" real,
"avg_pts" text
); | SELECT COUNT("gp_gs") FROM "player_stats" WHERE "ft_pct"='.667'; | 1-23817012-6 |
Name the team number 1 for san lorenzo | CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_num1" FROM "matches" WHERE "team_num2"='San Lorenzo'; | 1-23812628-1 |
Name the team #2 for river plate | CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_num2" FROM "matches" WHERE "team_num1"='River Plate'; | 1-23812628-1 |
Name the points for zamora | CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "points" FROM "matches" WHERE "team_num1"='Zamora'; | 1-23812628-1 |
Name the 2nd leg for boca juniors | CREATE TABLE "matches" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "matches" WHERE "team_num1"='Boca Juniors'; | 1-23812628-1 |
What is every media type for the Psychedelic Trance genre? | CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
); | SELECT "media_type" FROM "list_of_works_sampling_spectrasonics" WHERE "genre"='Psychedelic Trance'; | 1-23829490-1 |
Who is every composer for the media named Hall of Dreams? | CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
); | SELECT "composer" FROM "list_of_works_sampling_spectrasonics" WHERE "name_of_the_media"='Hall Of Dreams'; | 1-23829490-1 |
What is every media type for the Dub genre? | CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
); | SELECT "media_type" FROM "list_of_works_sampling_spectrasonics" WHERE "genre"='Dub'; | 1-23829490-1 |
What is every media type for the World genre? | CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
); | SELECT "media_type" FROM "list_of_works_sampling_spectrasonics" WHERE "genre"='World'; | 1-23829490-1 |
What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre? | CREATE TABLE "list_of_works_sampling_spectrasonics" (
"music_library" text,
"year" real,
"media_type" text,
"name_of_the_media" text,
"composition_name" text,
"composer" text,
"genre" text
); | SELECT "composition_name" FROM "list_of_works_sampling_spectrasonics" WHERE "music_library"='Heart of Asia' AND "media_type"='Album' AND "genre"='Trance'; | 1-23829490-1 |
What was the '{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' if '_{\mathrm{h,cp}} = \frac{c_\mathrm{aq}}{p}' is 7.8 × 10−4? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT "k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" FROM "table1_238199_1" WHERE "k_mathrm_h_cp_frac_c_mathrm_aq_p"='7.8 × 10−4'; | 1-238199-1 |
What was the equation if k_{\mathrm{h,px}} = \frac{p}{x} is 12.30 × 10? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT "equation" FROM "table1_238199_1" WHERE "k_mathrm_h_px_frac_p_x"='12.30 × 10'; | 1-238199-1 |
What wast the 'k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' of CO 2? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT "k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" FROM "table1_238199_1" WHERE "equation"='CO 2'; | 1-238199-1 |
How many "k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}i if its 'k_{\mathrm{h,px}} = \frac{p}{x}' is 14.97 × 10? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT COUNT("k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas") FROM "table1_238199_1" WHERE "k_mathrm_h_px_frac_p_x"='14.97 × 10'; | 1-238199-1 |
What was the equation if k_{\mathrm{h,pc}} = \frac{p}{c_\mathrm{aq}} is 2222.22? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT "equation" FROM "table1_238199_1" WHERE "k_mathrm_h_pc_frac_p_c_mathrm_aq"='2222.22'; | 1-238199-1 |
What is the 'k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' of O 2? | CREATE TABLE "table1_238199_1" (
"equation" text,
"k_mathrm_h_pc_frac_p_c_mathrm_aq" text,
"k_mathrm_h_cp_frac_c_mathrm_aq_p" text,
"k_mathrm_h_px_frac_p_x" text,
"k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" text
); | SELECT "k_mathrm_h_cc_frac_c_mathrm_aq_c_mathrm_gas" FROM "table1_238199_1" WHERE "equation"='O 2'; | 1-238199-1 |
what percentage is brooklyn when manhattan is 15.5%? | CREATE TABLE "general_election" (
"2009_general_election" text,
"party" text,
"manhattan" text,
"the_bronx" text,
"brooklyn" text,
"queens" text,
"staten_island" text,
"total" real,
"pct" text
); | SELECT "brooklyn" FROM "general_election" WHERE "manhattan"='15.5%'; | 1-23837321-4 |
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT "qld_cup_premierships" FROM "previous_teams" WHERE "home_ground"='Dairy Farmers Stadium'; | 1-2383498-4 |
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT "first_year_in_qld_cup" FROM "previous_teams" WHERE "home_ground"='Corbett Park, Crosby Park, Lang Park, ANZ Stadium'; | 1-2383498-4 |
What is the home ground if team is Sunshine Coast Falcons? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT "home_ground" FROM "previous_teams" WHERE "team"='Sunshine Coast Falcons'; | 1-2383498-4 |
What is the QLD Cup Premierships if team is Gold Coast Vikings? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT "qld_cup_premierships" FROM "previous_teams" WHERE "team"='Gold Coast Vikings'; | 1-2383498-4 |
What is every team in the location of Port Moresby? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT "team" FROM "previous_teams" WHERE "location"='Port Moresby'; | 1-2383498-4 |
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001? | CREATE TABLE "previous_teams" (
"team" text,
"location" text,
"home_ground" text,
"first_year_in_qld_cup" real,
"last_year_in_qld_cup" real,
"qld_cup_premierships" text
); | SELECT COUNT("last_year_in_qld_cup") FROM "previous_teams" WHERE "qld_cup_premierships"='1996, 2001'; | 1-2383498-4 |
What are the Wycombe Wanderers when 1 January 2010 is 23 July 2009 and df is gk? | CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
); | SELECT "wycombe_wanderers" FROM "transfers" WHERE "1_january_2010"='23 July 2009' AND "df"='GK'; | 1-23835213-2 |
What are the undisclosed when Adam Hinshelwood is Ricky Newman? | CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
); | SELECT "undisclosed" FROM "transfers" WHERE "adam_hinshelwood"='Ricky Newman'; | 1-23835213-2 |
What is the df when Adam Hinshelwood is Junior Mendes? | CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
); | SELECT "df" FROM "transfers" WHERE "adam_hinshelwood"='Junior Mendes'; | 1-23835213-2 |
What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United? | CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
); | SELECT "undisclosed" FROM "transfers" WHERE "aldershot_town"='Aldershot Town' AND "wycombe_wanderers"='Oxford United'; | 1-23835213-2 |
What is the undisclosed when Wycombe Wanderers is unattached? | CREATE TABLE "transfers" (
"1_january_2010" text,
"df" text,
"adam_hinshelwood" text,
"aldershot_town" text,
"wycombe_wanderers" text,
"undisclosed" text
); | SELECT "undisclosed" FROM "transfers" WHERE "wycombe_wanderers"='Unattached'; | 1-23835213-2 |
Who is the head coach for the team that plays at Altrincham Ice Dome? | CREATE TABLE "current_teams" (
"team" text,
"city_area" text,
"arena" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "head_coach" FROM "current_teams" WHERE "arena"='Altrincham Ice Dome'; | 1-2384331-1 |
What arena does the team play at that has Michael Wales as the captain? | CREATE TABLE "current_teams" (
"team" text,
"city_area" text,
"arena" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "arena" FROM "current_teams" WHERE "captain"='Michael Wales'; | 1-2384331-1 |
List all themes from the top 9. | CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
); | SELECT "theme" FROM "american_idol_performances" WHERE "week_num"='Top 9'; | 1-23871828-1 |
In what week was the original singer Whitney Houston. | CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
); | SELECT "week_num" FROM "american_idol_performances" WHERE "original_artist"='Whitney Houston'; | 1-23871828-1 |
Name the song for safe result #8. | CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
); | SELECT "song_choice" FROM "american_idol_performances" WHERE "result"='Safe' AND "order_num"=8; | 1-23871828-1 |
List the song chose for the British Invasion. | CREATE TABLE "american_idol_performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" real,
"result" text
); | SELECT "song_choice" FROM "american_idol_performances" WHERE "theme"='British Invasion'; | 1-23871828-1 |
Name the stops for stations 36 | CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
); | SELECT "stops" FROM "circumvesuviana" WHERE "stations"=36; | 1-2385460-1 |
Name the number of lines for porta nolana - ottaviano- sarno | CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
); | SELECT COUNT("lines") FROM "circumvesuviana" WHERE "route"='Porta Nolana - Ottaviano- Sarno'; | 1-2385460-1 |
Name the travel time for porta nolana - nola - baiano | CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
); | SELECT "travel_time" FROM "circumvesuviana" WHERE "route"='Porta Nolana - Nola - Baiano'; | 1-2385460-1 |
Name the number of stations for 15 minutes travel time | CREATE TABLE "circumvesuviana" (
"lines" text,
"opening" real,
"traction" text,
"length" text,
"stations" real,
"route" text,
"stops" real,
"travel_time" text
); | SELECT COUNT("stations") FROM "circumvesuviana" WHERE "travel_time"='15 minutes'; | 1-2385460-1 |
How big (in km2) is Persarmenia? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT "area_km" FROM "see_also" WHERE "province_ashkharh"='Persarmenia'; | 1-23887174-1 |
What's the center of the Artsakh province? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT "center" FROM "see_also" WHERE "province_ashkharh"='Artsakh'; | 1-23887174-1 |
How many different provinces is Baghaberd the center of? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT COUNT("province_ashkharh") FROM "see_also" WHERE "center"='Baghaberd'; | 1-23887174-1 |
How big is the province with the Armenian name of փայտակարան? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT MIN("area_km") FROM "see_also" WHERE "armenian_name"='Փայտակարան'; | 1-23887174-1 |
What's the center of the province that spreads out on 23860 km2? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT "center" FROM "see_also" WHERE "area_km"=23860; | 1-23887174-1 |
How many different numbers of cantons does the province with the Armenian name վասպուրական have? | CREATE TABLE "see_also" (
"province_ashkharh" text,
"armenian_name" text,
"area_km" real,
"number_of_cantons_gavars" real,
"center" text
); | SELECT COUNT("number_of_cantons_gavars") FROM "see_also" WHERE "armenian_name"='Վասպուրական'; | 1-23887174-1 |
what are the seasons for no 3? | CREATE TABLE "table1_23886181_1" (
"no" text,
"football_club" text,
"continent" text,
"associated_football_club" text,
"seasons" text,
"racing_drivers" text
); | SELECT "seasons" FROM "table1_23886181_1" WHERE "no"='3'; | 1-23886181-1 |
what are the maximum wins where the poles are 2? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT MAX("wins") FROM "nascar_sprint_cup_series" WHERE "poles"=2; | 1-2387790-1 |
What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə? | CREATE TABLE "examples_of_different_pronunciation" (
"original" text,
"ipa_lisbon" text,
"ipa_rio_de_janeiro" text,
"ipa_s_o_paulo" text,
"ipa_santiago_de_compostela" text,
"translation" text
); | SELECT "translation" FROM "examples_of_different_pronunciation" WHERE "ipa_rio_de_janeiro"='ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə'; | 1-23915-4 |
What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə? | CREATE TABLE "examples_of_different_pronunciation" (
"original" text,
"ipa_lisbon" text,
"ipa_rio_de_janeiro" text,
"ipa_s_o_paulo" text,
"ipa_santiago_de_compostela" text,
"translation" text
); | SELECT "translation" FROM "examples_of_different_pronunciation" WHERE "ipa_s_o_paulo"='dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə'; | 1-23915-4 |
Which frequency is DYMY? | CREATE TABLE "easy_rock_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "frequency" FROM "easy_rock_stations" WHERE "callsign"='DYMY'; | 1-23910822-1 |
What is the frequency when radio station branding is 106.3 energy fm naga? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT "frequency" FROM "table1_23915973_1" WHERE "branding"='106.3 Energy FM Naga'; | 1-23915973-1 |
What is the callsign when power kw is 25kw? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT "callsign" FROM "table1_23915973_1" WHERE "power_k_w"='25kW'; | 1-23915973-1 |
What is the frequency when callsign is dxru-fm? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT "frequency" FROM "table1_23915973_1" WHERE "callsign"='DXRU-FM'; | 1-23915973-1 |
What is the radio station branding when the power km is 5kw? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT "branding" FROM "table1_23915973_1" WHERE "power_k_w"='5kW'; | 1-23915973-1 |
What is the coverage when power kw is 25kw? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT "coverage" FROM "table1_23915973_1" WHERE "power_k_w"='25kW'; | 1-23915973-1 |
How many power kw have a frequency of 93.7 mhz? | CREATE TABLE "table1_23915973_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
); | SELECT COUNT("power_k_w") FROM "table1_23915973_1" WHERE "frequency"='93.7 MHz'; | 1-23915973-1 |
Who were all the writers whose episodes had 0.97 million viewers? | CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "written_by" FROM "table1_23918997_1" WHERE "u_s_viewers_million"='0.97'; | 1-23918997-1 |
How many directors worked on the episode written by Brent Fletcher & Miranda Kwok? | CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT COUNT("directed_by") FROM "table1_23918997_1" WHERE "written_by"='Brent Fletcher & Miranda Kwok'; | 1-23918997-1 |
What was the title of the episode directed by Rowan Woods? | CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "title" FROM "table1_23918997_1" WHERE "directed_by"='Rowan Woods'; | 1-23918997-1 |
How many episodes were viewed by 1.29 million people? | CREATE TABLE "table1_23918997_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT COUNT("no") FROM "table1_23918997_1" WHERE "u_s_viewers_million"='1.29'; | 1-23918997-1 |
Who was the writer for the episode originally airing on March 1, 2004? | CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "written_by" FROM "table1_23916272_6" WHERE "original_air_date"='March 1, 2004'; | 1-23916272-6 |
List the title for the season episode number of 8. | CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "title" FROM "table1_23916272_6" WHERE "season_num"=8; | 1-23916272-6 |
Who directed the "Out with the Old, in with the new" episode? | CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "directed_by" FROM "table1_23916272_6" WHERE "title"='\"Out with the Old, in with the New\"'; | 1-23916272-6 |
Who was the director for the episode originally airing September 29, 2003? | CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "directed_by" FROM "table1_23916272_6" WHERE "original_air_date"='September 29, 2003'; | 1-23916272-6 |
What is the highest series number of the episode "Til Death do us part-and make it soon"? | CREATE TABLE "table1_23916272_6" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT MAX("series_num") FROM "table1_23916272_6" WHERE "title"='\"Til Death Do Us Part-And Make It Soon\"'; | 1-23916272-6 |
Name the original air date for harry hannigan directed by adam weissman | CREATE TABLE "table1_23937219_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT "original_air_date" FROM "table1_23937219_2" WHERE "written_by"='Harry Hannigan' AND "directed_by"='Adam Weissman'; | 1-23937219-2 |
How many people directed "through the looking glass"? | CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT COUNT("directed_by") FROM "table1_23937219_3" WHERE "title"='\"Through The Looking Glass\"'; | 1-23937219-3 |
How many people directed episode 7 In the season? | CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT COUNT("directed_by") FROM "table1_23937219_3" WHERE "season_num"=7; | 1-23937219-3 |
How many original air dates were there for the episode with production code 212? | CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT COUNT("original_air_date") FROM "table1_23937219_3" WHERE "prod_code"=212; | 1-23937219-3 |
What is the production code for "road trip (aka "the kiss")"? | CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT "prod_code" FROM "table1_23937219_3" WHERE "title"='\"Road Trip (aka \"The Kiss\")\"'; | 1-23937219-3 |
What is the production code for episode 31 in the series? | CREATE TABLE "table1_23937219_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
); | SELECT MIN("prod_code") FROM "table1_23937219_3" WHERE "series_num"=31; | 1-23937219-3 |
How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT COUNT("season") FROM "table1_23927423_4" WHERE "relegated_from_league"='Barking Birmingham & Solihull Stourbridge'; | 1-23927423-4 |
Who was relegated to league if Barking Birmingham & Solihull Stourbridge were relegated from league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT "relegated_to_league" FROM "table1_23927423_4" WHERE "relegated_from_league"='Barking Birmingham & Solihull Stourbridge'; | 1-23927423-4 |
How many were the minimum team that participated in the league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT MIN("teams") FROM "table1_23927423_4"; | 1-23927423-4 |
How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT MAX("teams") FROM "table1_23927423_4" WHERE "relegated_to_league"='Cornish All Blacks Pertemps Bees'; | 1-23927423-4 |
Who was promoted to the league when Coventry was relegated to the league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT "promoted_to_league" FROM "table1_23927423_4" WHERE "relegated_to_league"='Coventry'; | 1-23927423-4 |
How many were promoted from the league when Esher was relegated to the league? | CREATE TABLE "table1_23927423_4" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
); | SELECT COUNT("promoted_from_league") FROM "table1_23927423_4" WHERE "relegated_to_league"='Esher'; | 1-23927423-4 |
What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197? | CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best... | SELECT MIN("08_09_gp_jgp_2nd") FROM "ice_dancing" WHERE "ws_points"=3197; | 1-23938357-7 |
What is the number of 07-08 oi best values associated with 08-09 i/o bests of exactly 202? | CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best... | SELECT COUNT("07_08_oi_best") FROM "ice_dancing" WHERE "08_09_i_o_best"=202; | 1-23938357-7 |
What is the smallest 07-08 oi best value? | CREATE TABLE "ice_dancing" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best... | SELECT MIN("07_08_oi_best") FROM "ice_dancing"; | 1-23938357-7 |
Name the number of partners for 5-7, 6-7 (5-7) | CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT COUNT("partner") FROM "doubles_7_2_titles_5_runners_up" WHERE "score"='5-7, 6-7 (5-7)'; | 1-23944006-4 |
Name the surface for cara black rennae stubbs | CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_7_2_titles_5_runners_up" WHERE "opponents"='Cara Black Rennae Stubbs'; | 1-23944006-4 |
Name the score for san diego | CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "doubles_7_2_titles_5_runners_up" WHERE "championship"='San Diego'; | 1-23944006-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.