question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What's team #2 in the round where team $1 is Ilisiakos?
CREATE TABLE "third_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num2" FROM "third_round" WHERE "team_num1"='Ilisiakos';
1-19130829-4
What's the team #2 in the round where team #1 is Iraklis?
CREATE TABLE "third_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num2" FROM "third_round" WHERE "team_num1"='Iraklis';
1-19130829-4
What's the 1st leg result in the round where team #1 is Iraklis?
CREATE TABLE "third_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "third_round" WHERE "team_num1"='Iraklis';
1-19130829-4
What's the 2nd leg result in the round where Panionios is team #2?
CREATE TABLE "third_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "third_round" WHERE "team_num2"='Panionios';
1-19130829-4
What's the 2nd leg result in the round where team #1 is Iraklis?
CREATE TABLE "third_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "third_round" WHERE "team_num1"='Iraklis';
1-19130829-4
What is the dma when the format is rhythmic contemporary?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT MIN("dma") FROM "stations" WHERE "format"='Rhythmic Contemporary';
1-19131921-1
Which frequency is station wlfv-fm?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT "frequency" FROM "stations" WHERE "station"='WLFV-FM';
1-19131921-1
Which station has the frequency of 107.3?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT "station" FROM "stations" WHERE "frequency"='107.3';
1-19131921-1
What is dma?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT MIN("dma") FROM "stations";
1-19131921-1
What is the dma of branding is big oldies 107.3 with the station warv-fm?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT "dma" FROM "stations" WHERE "branding"='Big Oldies 107.3' AND "station"='WARV-FM';
1-19131921-1
Which branding has the format of southern country?
CREATE TABLE "stations" ( "dma" real, "market" text, "station" text, "frequency" text, "branding" text, "format" text );
SELECT "branding" FROM "stations" WHERE "format"='Southern Country';
1-19131921-1
What is the total number of gentle personalities?
CREATE TABLE "fuxi_earlier_heaven" ( "name" text, "nature" text, "season" text, "personality" text, "family" text, "direction" text, "meaning" text );
SELECT COUNT("direction") FROM "fuxi_earlier_heaven" WHERE "personality"='Gentle';
1-1912713-2
What is the meaning of a gentle personality?
CREATE TABLE "fuxi_earlier_heaven" ( "name" text, "nature" text, "season" text, "personality" text, "family" text, "direction" text, "meaning" text );
SELECT "meaning" FROM "fuxi_earlier_heaven" WHERE "personality"='Gentle';
1-1912713-2
Who in the family has a gentle personality?
CREATE TABLE "fuxi_earlier_heaven" ( "name" text, "nature" text, "season" text, "personality" text, "family" text, "direction" text, "meaning" text );
SELECT "family" FROM "fuxi_earlier_heaven" WHERE "personality"='Gentle';
1-1912713-2
Which mission number has alternate name 1962-f01
CREATE TABLE "launches" ( "mission_no" text, "cover_name" text, "launch_date" text, "nssdc_id_no" text, "alt_name" text, "camera" text, "notes" text );
SELECT "mission_no" FROM "launches" WHERE "alt_name"='1962-F01';
1-191323-2
What are the notes of the satellite whose nssdc id number is 1959-002a?
CREATE TABLE "launches" ( "mission_no" text, "cover_name" text, "launch_date" text, "nssdc_id_no" text, "alt_name" text, "camera" text, "notes" text );
SELECT "notes" FROM "launches" WHERE "nssdc_id_no"='1959-002A';
1-191323-2
What are the alternative name/s of those satellites whose nssdc id number is 1970-054a?
CREATE TABLE "launches" ( "mission_no" text, "cover_name" text, "launch_date" text, "nssdc_id_no" text, "alt_name" text, "camera" text, "notes" text );
SELECT "alt_name" FROM "launches" WHERE "nssdc_id_no"='1970-054A';
1-191323-2
What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.
CREATE TABLE "launches" ( "mission_no" text, "cover_name" text, "launch_date" text, "nssdc_id_no" text, "alt_name" text, "camera" text, "notes" text );
SELECT "alt_name" FROM "launches" WHERE "notes"='Mission failed. Guidance system failed. No orbit.';
1-191323-2
If -750m is 46.436, what is the name of the cyclist?
CREATE TABLE "final_results" ( "rank" real, "race_number" real, "name" text, "noc" text, "250m" text, "500m" text, "750m" text, "1_000m" text );
SELECT "name" FROM "final_results" WHERE "750m"='46.436';
1-1912276-2
What is the -500 number for Theo Bos?
CREATE TABLE "final_results" ( "rank" real, "race_number" real, "name" text, "noc" text, "250m" text, "500m" text, "750m" text, "1_000m" text );
SELECT "500m" FROM "final_results" WHERE "name"='Theo Bos';
1-1912276-2
If the -250m is 18.852, what is the
CREATE TABLE "final_results" ( "rank" real, "race_number" real, "name" text, "noc" text, "250m" text, "500m" text, "750m" text, "1_000m" text );
SELECT "750m" FROM "final_results" WHERE "250m"='18.852';
1-1912276-2
If -750 is 45.505, what is the maximum rank?
CREATE TABLE "final_results" ( "rank" real, "race_number" real, "name" text, "noc" text, "250m" text, "500m" text, "750m" text, "1_000m" text );
SELECT MAX("rank") FROM "final_results" WHERE "750m"='45.505';
1-1912276-2
Where are there 25 episodes in Catfights and Brawls?
CREATE TABLE "table1_191591_5" ( "dvd_title" text, "number_of_episodes" text, "region_2" text, "region_4_au" text, "region_1_us" text );
SELECT "region_2" FROM "table1_191591_5" WHERE "number_of_episodes"='25' AND "dvd_title"='Catfights and Brawls';
1-191591-5
Name the missouri for 2002
CREATE TABLE "regional_championship" ( "year" real, "iowa" text, "kansas" text, "minnesota" text, "missouri" text, "nebraska" text, "north_south_dakota" text );
SELECT "missouri" FROM "regional_championship" WHERE "year"=2002;
1-19153842-1
How many Bangladeshi citizens are there in the borough ranked at number 7?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT MIN("bangladeshi_population") FROM "asian_population_of_london" WHERE "rank"=7;
1-19149550-9
What's the London borough with 7797 Pakistani citizens?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT "london_borough" FROM "asian_population_of_london" WHERE "pakistani_population"=7797;
1-19149550-9
How many boroughs with different ranks have a total Asian population of 33338?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT COUNT("rank") FROM "asian_population_of_london" WHERE "total_asian_population"=33338;
1-19149550-9
What's the Chinese population in the borough with 26347 Pakistanis?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT "chinese_population" FROM "asian_population_of_london" WHERE "pakistani_population"=26347;
1-19149550-9
How many Asians live in the borough with 8109 Chinese population?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT MIN("total_asian_population") FROM "asian_population_of_london" WHERE "chinese_population"=8109;
1-19149550-9
How many Bangladeshi citizens live in the borough ranked at number 14?
CREATE TABLE "asian_population_of_london" ( "rank" real, "london_borough" text, "indian_population" real, "pakistani_population" real, "bangladeshi_population" real, "chinese_population" real, "other_asian_population" real, "total_asian_population" real );
SELECT MAX("bangladeshi_population") FROM "asian_population_of_london" WHERE "rank"=14;
1-19149550-9
How many members did Africa have the year that Australia had 94615?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT "africa" FROM "chronology_of_worldwide_membership" WHERE "australia"=94615;
1-1914090-2
How many members did Europe have the year that America had 403892?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT "europe" FROM "chronology_of_worldwide_membership" WHERE "america"=403892;
1-1914090-2
What is the minimum number of members Europe had at the time Africa had 7375139?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT MIN("europe") FROM "chronology_of_worldwide_membership" WHERE "africa"=7375139;
1-1914090-2
What is the minimum number of members Africa had in 2001?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT MIN("africa") FROM "chronology_of_worldwide_membership" WHERE "year"=2001;
1-1914090-2
What is the most members Europe had when Australia had 94615?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT MAX("europe") FROM "chronology_of_worldwide_membership" WHERE "australia"=94615;
1-1914090-2
What is the latest year that Europe had 471895?
CREATE TABLE "chronology_of_worldwide_membership" ( "year" real, "worldwide" real, "africa" real, "america" real, "asia" real, "australia" real, "europe" real );
SELECT MAX("year") FROM "chronology_of_worldwide_membership" WHERE "europe"=471895;
1-1914090-2
What's the bus width (in bit) of the model whose core is 650 MHz?
CREATE TABLE "table1_19161046_1" ( "model" text, "year" text, "code_name" text, "fab_nm" real, "bus_interface" text, "transistor_count_millions" real, "memory_max_mi_b" text, "core_m_hz" real, "memory_m_hz" text, "type" text, "bus_width_bit" real, "direct_x" text, "shader_model" text, "open_gl" text, "maximum_resolution" text, "ice_q4_cooling_system" text, "notes" text );
SELECT COUNT("bus_width_bit") FROM "table1_19161046_1" WHERE "core_m_hz"=650;
1-19161046-1
What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz?
CREATE TABLE "table1_19161046_1" ( "model" text, "year" text, "code_name" text, "fab_nm" real, "bus_interface" text, "transistor_count_millions" real, "memory_max_mi_b" text, "core_m_hz" real, "memory_m_hz" text, "type" text, "bus_width_bit" real, "direct_x" text, "shader_model" text, "open_gl" text, "maximum_resolution" text, "ice_q4_cooling_system" text, "notes" text );
SELECT "direct_x" FROM "table1_19161046_1" WHERE "code_name"='RV770 PRO' AND "core_m_hz">650.0;
1-19161046-1
What are the notes recorded for the model HIS HD4850 (512MB)?
CREATE TABLE "table1_19161046_1" ( "model" text, "year" text, "code_name" text, "fab_nm" real, "bus_interface" text, "transistor_count_millions" real, "memory_max_mi_b" text, "core_m_hz" real, "memory_m_hz" text, "type" text, "bus_width_bit" real, "direct_x" text, "shader_model" text, "open_gl" text, "maximum_resolution" text, "ice_q4_cooling_system" text, "notes" text );
SELECT "notes" FROM "table1_19161046_1" WHERE "model"='HIS HD4850 (512MB)';
1-19161046-1
Who directed "Fever"?
CREATE TABLE "table1_19161605_2" ( "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_in_millions" text );
SELECT "directed_by" FROM "table1_19161605_2" WHERE "title"='\"Fever\"';
1-19161605-2
What is the original air date of "Cursed"?
CREATE TABLE "table1_19161605_2" ( "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_in_millions" text );
SELECT "original_air_date" FROM "table1_19161605_2" WHERE "title"='\"Cursed\"';
1-19161605-2
What is the original air date of "Prophecy"?
CREATE TABLE "table1_19161605_2" ( "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_in_millions" text );
SELECT "original_air_date" FROM "table1_19161605_2" WHERE "title"='\"Prophecy\"';
1-19161605-2
Who wrote the episode "Confession"?
CREATE TABLE "table1_19161605_2" ( "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_in_millions" text );
SELECT "written_by" FROM "table1_19161605_2" WHERE "title"='\"Confession\"';
1-19161605-2
What is the title of episode number 14?
CREATE TABLE "table1_19161605_2" ( "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_in_millions" text );
SELECT "title" FROM "table1_19161605_2" WHERE "num"=14;
1-19161605-2
If the net worth of fixed assets is 621, what is the current ratio?
CREATE TABLE "example_data" ( "pair_i_d" real, "survive" real, "industry" text, "current_ratio" real, "quick_ratio" real, "net_worth_to_fixed_assets" real );
SELECT "current_ratio" FROM "example_data" WHERE "net_worth_to_fixed_assets"=621;
1-19166421-1
Name the score for opponent of cleveland
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='Cleveland';
1-19169116-8
Featherstone Rovers club played a total of how many games?
CREATE TABLE "table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "pts_diff" real, "b_p" real, "points" real );
SELECT COUNT("played") FROM "table" WHERE "club"='Featherstone Rovers';
1-19179465-1
How many games were lost when the club got 34 points
CREATE TABLE "table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "pts_diff" real, "b_p" real, "points" real );
SELECT MIN("lost") FROM "table" WHERE "points"=34;
1-19179465-1
What was the B.P. of club Halifax?
CREATE TABLE "table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "pts_diff" real, "b_p" real, "points" real );
SELECT "b_p" FROM "table" WHERE "club"='Halifax';
1-19179465-1
What is the first year she played in the french open?
CREATE TABLE "women_s_doubles_14_9_titles_5_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT MIN("year") FROM "women_s_doubles_14_9_titles_5_runner_ups" WHERE "championship"='French Open';
1-1920271-2
How many times was the score 6–7(5), 6–2, 6–3?
CREATE TABLE "women_s_doubles_14_9_titles_5_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT COUNT("opponents") FROM "women_s_doubles_14_9_titles_5_runner_ups" WHERE "score"='6–7(5), 6–2, 6–3';
1-1920271-2
Who was her partner at the US Open and they were runner-up?
CREATE TABLE "mixed_doubles_8_5_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "mixed_doubles_8_5_titles_3_runner_ups" WHERE "championship"='US Open' AND "outcome"='Runner-up';
1-1920271-3
Who was her partner at the US Open and they were runner-up?
CREATE TABLE "mixed_doubles_8_5_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "mixed_doubles_8_5_titles_3_runner_ups" WHERE "outcome"='Runner-up' AND "championship"='US Open';
1-1920271-3
Who did she play with on clay?
CREATE TABLE "mixed_doubles_8_5_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "mixed_doubles_8_5_titles_3_runner_ups" WHERE "surface"='Clay';
1-1920271-3
state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9
CREATE TABLE "mixed_doubles_7_5_titles_2_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("surface") FROM "mixed_doubles_7_5_titles_2_runner_ups" WHERE "championship"='Australian Open' AND "score_in_the_final"='6–3, 4–6, 11–9';
1-1918850-2
which championship had arantxa sánchez vicario todd woodbridge as opponents in the final
CREATE TABLE "mixed_doubles_7_5_titles_2_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "mixed_doubles_7_5_titles_2_runner_ups" WHERE "opponents_in_the_final"='Arantxa Sánchez Vicario Todd Woodbridge';
1-1918850-2
what is the surface of the final which had score 6-2, 6-3
CREATE TABLE "mixed_doubles_7_5_titles_2_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "surface" FROM "mixed_doubles_7_5_titles_2_runner_ups" WHERE "score_in_the_final"='6-2, 6-3';
1-1918850-2
when were helena suková todd woodbridge the opponents in the final
CREATE TABLE "mixed_doubles_7_5_titles_2_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "year" FROM "mixed_doubles_7_5_titles_2_runner_ups" WHERE "opponents_in_the_final"='Helena Suková Todd Woodbridge';
1-1918850-2
which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner
CREATE TABLE "mixed_doubles_7_5_titles_2_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "mixed_doubles_7_5_titles_2_runner_ups" WHERE "outcome"='Winner' AND "surface"='Hard' AND "partner"='Nicole Provis' AND "opponents_in_the_final"='Helena Suková Tom Nijssen';
1-1918850-2
when was the last performance of the first performance on 11/15/1909
CREATE TABLE "table1_19189856_1" ( "performer" text, "performances" real, "category" text, "first_performance" text, "last_performance" text );
SELECT "last_performance" FROM "table1_19189856_1" WHERE "first_performance"='11/15/1909';
1-19189856-1
how many first performances where performer is wilfred engelman category:articles with hcards
CREATE TABLE "table1_19189856_1" ( "performer" text, "performances" real, "category" text, "first_performance" text, "last_performance" text );
SELECT COUNT("first_performance") FROM "table1_19189856_1" WHERE "performer"='Wilfred Engelman Category:Articles with hCards';
1-19189856-1
who was the performer that did last performance on 04/08/1963
CREATE TABLE "table1_19189856_1" ( "performer" text, "performances" real, "category" text, "first_performance" text, "last_performance" text );
SELECT "performer" FROM "table1_19189856_1" WHERE "last_performance"='04/08/1963';
1-19189856-1
what is the first performance of the last performance on 03/29/1957
CREATE TABLE "table1_19189856_1" ( "performer" text, "performances" real, "category" text, "first_performance" text, "last_performance" text );
SELECT "first_performance" FROM "table1_19189856_1" WHERE "last_performance"='03/29/1957';
1-19189856-1
what is the last performance of leon varkas category:articles with hcards
CREATE TABLE "table1_19189856_1" ( "performer" text, "performances" real, "category" text, "first_performance" text, "last_performance" text );
SELECT "last_performance" FROM "table1_19189856_1" WHERE "performer"='Leon Varkas Category:Articles with hCards';
1-19189856-1
How many different finales had the English title "Beyond the Realm of Conscience"?
CREATE TABLE "highest_rating_drama_series_of_2009" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT COUNT("finale") FROM "highest_rating_drama_series_of_2009" WHERE "english_title"='Beyond the Realm of Conscience';
1-19210674-1
What was the maximum average of the episode with a Chinese title 古靈精探b?
CREATE TABLE "highest_rating_drama_series_of_2009" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT MAX("average") FROM "highest_rating_drama_series_of_2009" WHERE "chinese_title"='古靈精探B';
1-19210674-1
How was the episode seen by 2.26 million HK viewers ranked?
CREATE TABLE "highest_rating_drama_series_of_2009" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT "rank" FROM "highest_rating_drama_series_of_2009" WHERE "hk_viewers"='2.26 million';
1-19210674-1
What is the finale number ranked at number 7?
CREATE TABLE "highest_rating_drama_series_of_2009" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT "finale" FROM "highest_rating_drama_series_of_2009" WHERE "rank"=7;
1-19210674-1
What is every conflict in Iraq?
CREATE TABLE "involvement_in_military_conflicts" ( "start_of_conflict" real, "end_of_conflict" text, "conflict" text, "continent" text, "location" text, "branches_involved" text );
SELECT "conflict" FROM "involvement_in_military_conflicts" WHERE "location"='Iraq';
1-1921-1
What is every branch involved in Afghanistan?
CREATE TABLE "involvement_in_military_conflicts" ( "start_of_conflict" real, "end_of_conflict" text, "conflict" text, "continent" text, "location" text, "branches_involved" text );
SELECT "branches_involved" FROM "involvement_in_military_conflicts" WHERE "location"='Afghanistan';
1-1921-1
Which conflicts took place in Yemen?
CREATE TABLE "involvement_in_military_conflicts" ( "start_of_conflict" real, "end_of_conflict" text, "conflict" text, "continent" text, "location" text, "branches_involved" text );
SELECT "conflict" FROM "involvement_in_military_conflicts" WHERE "location"='Yemen';
1-1921-1
How many conflicts started in Afghanistan?
CREATE TABLE "involvement_in_military_conflicts" ( "start_of_conflict" real, "end_of_conflict" text, "conflict" text, "continent" text, "location" text, "branches_involved" text );
SELECT COUNT("start_of_conflict") FROM "involvement_in_military_conflicts" WHERE "location"='Afghanistan';
1-1921-1
When did the title "secret weapons" originally air?
CREATE TABLE "table1_19229713_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_19229713_6" WHERE "title"='\"Secret Weapons\"';
1-19229713-6
How many u.s. viewers (million) have the number 16?
CREATE TABLE "table1_19229713_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_19229713_6" WHERE "num"=16;
1-19229713-6
What is the production code of the title "secret weapons"?
CREATE TABLE "table1_19229713_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_19229713_6" WHERE "title"='\"Secret Weapons\"';
1-19229713-6
How many u.s. viewers (million) have the production code of 5.09?
CREATE TABLE "table1_19229713_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_19229713_6" WHERE "production_code"='5.09';
1-19229713-6
When middle prut valley is the land formation what is the highest of which currently forests, km² ?
CREATE TABLE "natural_habitat" ( "land_formation" text, "area_km" real, "of_which_currently_forests_km" real, "pct_forests" text, "habitat_type" text );
SELECT MAX("of_which_currently_forests_km") FROM "natural_habitat" WHERE "land_formation"='Middle Prut Valley';
1-19242-5
When 312 is of which currently forests, km² what is the land formation?
CREATE TABLE "natural_habitat" ( "land_formation" text, "area_km" real, "of_which_currently_forests_km" real, "pct_forests" text, "habitat_type" text );
SELECT "land_formation" FROM "natural_habitat" WHERE "of_which_currently_forests_km"=312;
1-19242-5
When did the episode titled "The Fashion Show" air for the first time?
CREATE TABLE "table1_19236587_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_k_viewers_million" text );
SELECT "original_air_date" FROM "table1_19236587_4" WHERE "title"='\"The Fashion Show\"';
1-19236587-4
What's the series number of the episode with season number 2?
CREATE TABLE "table1_19236587_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_k_viewers_million" text );
SELECT MIN("series_no") FROM "table1_19236587_4" WHERE "season_no"=2;
1-19236587-4
What's the series number of the episode seen by 2.43 million viewers in the UK?
CREATE TABLE "table1_19236587_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_k_viewers_million" text );
SELECT "series_no" FROM "table1_19236587_4" WHERE "u_k_viewers_million"='2.43';
1-19236587-4
How many different original air dates does the episode with series number 13 have?
CREATE TABLE "table1_19236587_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_k_viewers_million" text );
SELECT COUNT("original_air_date") FROM "table1_19236587_4" WHERE "series_no"=13;
1-19236587-4
Name the number for viewers being 1.87
CREATE TABLE "table1_19229713_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT MAX("num") FROM "table1_19229713_4" WHERE "u_s_viewers_million"='1.87';
1-19229713-4
Name the production code for viewers for 1.69
CREATE TABLE "table1_19229713_4" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_19229713_4" WHERE "u_s_viewers_million"='1.69';
1-19229713-4
whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s
CREATE TABLE "table1_19246_2" ( "carrier" text, "standard" text, "frequency" text, "down" text, "up" text, "launch_date_dd_mm_yyyy" text );
SELECT "launch_date_dd_mm_yyyy" FROM "table1_19246_2" WHERE "up"='5.76 Mbit/s' AND "carrier"='Orange';
1-19246-2
With the country of Sweden and the result is out, what is the song?
CREATE TABLE "final" ( "draw" real, "country" text, "language" text, "artist" text, "song" text, "english_translation" text, "result" text );
SELECT "song" FROM "final" WHERE "result"='Out' AND "country"='Sweden';
1-19249824-1
If the English translation is hello girl, what was the language?
CREATE TABLE "final" ( "draw" real, "country" text, "language" text, "artist" text, "song" text, "english_translation" text, "result" text );
SELECT "language" FROM "final" WHERE "english_translation"='Hello girl';
1-19249824-1
What was the connection speed when launched on 07.06.2005?
CREATE TABLE "table1_19246_1" ( "carrier" text, "standard" text, "frequency" text, "connection_speed" text, "launch_date_dd_mm_yyyy" text );
SELECT "connection_speed" FROM "table1_19246_1" WHERE "launch_date_dd_mm_yyyy"='07.06.2005';
1-19246-1
When the carrier is idc, what are the frequencies?
CREATE TABLE "table1_19246_1" ( "carrier" text, "standard" text, "frequency" text, "connection_speed" text, "launch_date_dd_mm_yyyy" text );
SELECT "frequency" FROM "table1_19246_1" WHERE "carrier"='IDC';
1-19246-1
When the launch date is 14.09.2005, and the frequency is 900mhz and 1800mhz, how many carriers are there?
CREATE TABLE "table1_19246_1" ( "carrier" text, "standard" text, "frequency" text, "connection_speed" text, "launch_date_dd_mm_yyyy" text );
SELECT COUNT("carrier") FROM "table1_19246_1" WHERE "frequency"='900MHz and 1800MHz' AND "launch_date_dd_mm_yyyy"='14.09.2005';
1-19246-1
How many standards are there, when the launch date was 17.04.2006?
CREATE TABLE "table1_19246_1" ( "carrier" text, "standard" text, "frequency" text, "connection_speed" text, "launch_date_dd_mm_yyyy" text );
SELECT COUNT("standard") FROM "table1_19246_1" WHERE "launch_date_dd_mm_yyyy"='17.04.2006';
1-19246-1
Name the 2 car sets for 622
CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "3_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );
SELECT "2_car_sets" FROM "production" WHERE "total_vehicles"=622;
1-19255192-2
Name the most 3 car sets
CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "3_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );
SELECT MAX("3_car_sets") FROM "production";
1-19255192-2
Name the 4 car sets for 6 car sets being 44
CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "3_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );
SELECT MIN("4_car_sets") FROM "production" WHERE "6_car_sets"=44;
1-19255192-2
Name the least 4 car sets
CREATE TABLE "production" ( "fiscal_year" real, "2_car_sets" real, "3_car_sets" real, "4_car_sets" real, "6_car_sets" real, "8_car_sets" real, "total_vehicles" real );
SELECT MIN("4_car_sets") FROM "production";
1-19255192-2
What is the code name of the OS with Kernel version 2.6.27?
CREATE TABLE "table1_19264489_1" ( "version" text, "code_name" text, "release_date" text, "desktops" text, "servers" text, "kernel_version" text );
SELECT "code_name" FROM "table1_19264489_1" WHERE "kernel_version"='2.6.27';
1-19264489-1
When was the release date of the operating system with kernel version 2.6.31?
CREATE TABLE "table1_19264489_1" ( "version" text, "code_name" text, "release_date" text, "desktops" text, "servers" text, "kernel_version" text );
SELECT "release_date" FROM "table1_19264489_1" WHERE "kernel_version"='2.6.31';
1-19264489-1
What is the status of the desktop version of the OS with kernel version 2.6.31?
CREATE TABLE "table1_19264489_1" ( "version" text, "code_name" text, "release_date" text, "desktops" text, "servers" text, "kernel_version" text );
SELECT "desktops" FROM "table1_19264489_1" WHERE "kernel_version"='2.6.31';
1-19264489-1
How many servers have a kernel version 3.11?
CREATE TABLE "table1_19264489_1" ( "version" text, "code_name" text, "release_date" text, "desktops" text, "servers" text, "kernel_version" text );
SELECT COUNT("servers") FROM "table1_19264489_1" WHERE "kernel_version"='3.11';
1-19264489-1
Name the % for core moldova being 4.36%
CREATE TABLE "cultural_and_ethnic_composition" ( "self_identification" text, "moldovan_census" real, "pct_core_moldova" text, "transnistrian_census" real, "pct_transnistria_bender" text, "total" real, "pct" text );
SELECT "pct" FROM "cultural_and_ethnic_composition" WHERE "pct_core_moldova"='4.36%';
1-19260-1