question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What conference does Gonzaga University play in?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "primary_conference" FROM "division_ii" WHERE "institution"='Gonzaga University';
1-16078390-2
How many Universities were founded in Tacoma, Washington?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT COUNT("founded") FROM "division_ii" WHERE "location"='Tacoma, Washington';
1-16078390-2
Which school's team has the nickname of the Wildcats?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "institution" FROM "division_ii" WHERE "team_nickname"='Wildcats';
1-16078390-2
What year was the university that is located in Ellensburg, Washington established?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT MIN("founded") FROM "division_ii" WHERE "location"='Ellensburg, Washington';
1-16078390-2
Where is the university located that's nicknamed the Wolves?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "location" FROM "division_ii" WHERE "team_nickname"='Wolves';
1-16078390-2
What is the total number of viewers where the share is 7 and the week rank is 64?
CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text );
SELECT COUNT("viewers") FROM "u_s_standard_ratings" WHERE "share"=7 AND "weekly_rank"='64';
1-16072430-1
How many episodes have a share bigger than 7.0?
CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text );
SELECT COUNT("num") FROM "u_s_standard_ratings" WHERE "share">7.0;
1-16072430-1
How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?
CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text );
SELECT COUNT("num") FROM "u_s_standard_ratings" WHERE "weekly_rank"='TBA' AND "timeslot"='8:00 P.M.';
1-16072430-1
What are the timeslot(s) for broadcast on February 22, 2008?
CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text );
SELECT "timeslot" FROM "u_s_standard_ratings" WHERE "air_date"='February 22, 2008';
1-16072430-1
What broadcast dates have a weekly rank of 73?
CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text );
SELECT COUNT("air_date") FROM "u_s_standard_ratings" WHERE "weekly_rank"='73';
1-16072430-1
When was the date of appointment for St. Johnstone's manager?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "team"='St. Johnstone';
1-16075179-6
Who was the outgoing manager for Aberdeen?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Aberdeen';
1-16075179-6
When was the date of appointment for the manager replacing Wim Jansen?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='Wim Jansen';
1-16075179-6
What is the result for salmonella spp. if you use citrate?
CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text );
SELECT COUNT("citrate") FROM "usage" WHERE "species"='Salmonella spp.';
1-16083989-1
Which species show a negative result with both voges-proskauer and indole?
CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text );
SELECT "species" FROM "usage" WHERE "voges_proskauer"='Negative' AND "indole"='Negative';
1-16083989-1
What are the results for testing the species with voges-proskauer when citrate yields a positive result?
CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text );
SELECT "voges_proskauer" FROM "usage" WHERE "citrate"='Positive';
1-16083989-1
What is the result of proteus mirabilis tested with indole?
CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text );
SELECT "indole" FROM "usage" WHERE "species"='Proteus mirabilis';
1-16083989-1
When was the show originally aired that had a TV broadcast of S07E04?
CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text );
SELECT "originalairdate" FROM "table1_16090262_1" WHERE "tv_broadcast"='S07E04';
1-16090262-1
Which title was No. 4 in season?
CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text );
SELECT "title" FROM "table1_16090262_1" WHERE "no_in_season"=4;
1-16090262-1
Who directed the show that had a TV broadcast of S07E04?
CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text );
SELECT "directed_by" FROM "table1_16090262_1" WHERE "tv_broadcast"='S07E04';
1-16090262-1
What seasons did unicaja málaga finish in 3rd?
CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "season" FROM "by_season" WHERE "3rd_place"='Unicaja Málaga';
1-16095132-6
What teams finished 3rd when limoges finished 4th?
CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "3rd_place" FROM "by_season" WHERE "4th_place"='Limoges';
1-16095132-6
What team finished in 1st when tau cerámica was in 3rd?
CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "1st_place" FROM "by_season" WHERE "3rd_place"='TAU Cerámica';
1-16095132-6
What teams finished in 3rd when panathinaikos finished 2nd?
CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text );
SELECT "3rd_place" FROM "by_season" WHERE "2nd_place"='Panathinaikos';
1-16095132-6
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?
CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text );
SELECT "mid_atlantic_south_washington_d_c" FROM "table1_16105186_2" WHERE "alaska_juneau"='90 g/mi (56 g/km)' AND "california_san_francisco"='110 g/mi (68 g/km)';
1-16105186-2
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?
CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text );
SELECT "mid_atlantic_south_washington_d_c" FROM "table1_16105186_2" WHERE "midwest_des_moines"='300 g/mi (186 g/km)';
1-16105186-2
What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?
CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text );
SELECT "u_s_national_average_electric_mix" FROM "table1_16105186_2" WHERE "midwest_des_moines"='280 g/mi (174 g/km)';
1-16105186-2
How many Ford Focus electric vehicle emission test scores were recorded in California?
CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text );
SELECT COUNT("california_san_francisco") FROM "table1_16105186_2" WHERE "vehicle"='Ford Focus Electric';
1-16105186-2
What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?
CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text );
SELECT "california_san_francisco" FROM "table1_16105186_2" WHERE "alaska_juneau"='80 g/mi (50 g/km)' AND "southeast_atlanta"='250 g/mi (155 g/km)';
1-16105186-2
What was the lowest no. of attendance on record?
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT MIN("attendance") FROM "game_log";
1-16119656-1
When was the game played if the attendance is less than 6427.0?
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "attendance"<6427.0;
1-16119656-1
How many were in attendance during the game on January 9, 1988?
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "attendance" FROM "game_log" WHERE "date"='January 9, 1988';
1-16119656-1
Where is the headquarters of the place whose abbreviation is hy?
CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text );
SELECT "headquarters" FROM "external_links" WHERE "code"='HY';
1-1610301-1
Where is the headquarters of the place whose population in 2011 was 3811738?
CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text );
SELECT "headquarters" FROM "external_links" WHERE "population_2011"=3811738;
1-1610301-1
What was the minimum population in 2011 of the district of Prakasam?
CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text );
SELECT MIN("population_2011") FROM "external_links" WHERE "district"='Prakasam';
1-1610301-1
What is the abbreviation of the district of Mahbubnagar?
CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text );
SELECT "code" FROM "external_links" WHERE "district"='Mahbubnagar';
1-1610301-1
What is the 2011 population of the district of East Godavari?
CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text );
SELECT "population_2011" FROM "external_links" WHERE "district"='East Godavari';
1-1610301-1
What is the adjusted GDP when the nominal GDP per capita is 2874?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "gdp_per_capita_nominal"=2874;
1-1610496-3
What is the adjusted GDP per capita when the population is 37.376 million?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT "gdp_per_capita_adjusted" FROM "table1_1610496_3" WHERE "population_millions"='37.376';
1-1610496-3
What is the nominal GDP per capita when the population is 63.056 million?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT MIN("gdp_per_capita_nominal") FROM "table1_1610496_3" WHERE "population_millions"='63.056';
1-1610496-3
What is the adjusted GDP when the population is 5.141 million?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "population_millions"='5.141';
1-1610496-3
What is the population in millions when the adjusted GDP is 492 billion?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT "population_millions" FROM "table1_1610496_3" WHERE "gdp_adjusted_billions"='492';
1-1610496-3
What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?
CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real );
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "gdp_nominal_billions"='8.43';
1-1610496-3
What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?
CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text );
SELECT "operating_profit_s_m" FROM "singapore_airlines_group_financial_highl" WHERE "expenditure_s_m"='12,127.8';
1-161591-2
What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?
CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text );
SELECT "expenditure_s_m" FROM "singapore_airlines_group_financial_highl" WHERE "operating_profit_s_m"='717.1';
1-161591-2
How many years was the operating profit (s$m) 717.1?
CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text );
SELECT COUNT("profit_before_taxation_s_m") FROM "singapore_airlines_group_financial_highl" WHERE "operating_profit_s_m"='717.1';
1-161591-2
Name the simplified characters for wade giles is ch'ing-yüan … i-ma
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT "simplified_characters" FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='ch''ing-yüan … i-ma';
1-16162581-1
Name the pinyin for 657 date
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT "pinyin" FROM "development_of_chinese_mind_monkey_terms" WHERE "date_ce"='657';
1-16162581-1
Name the text for 心猿意马
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT "text" FROM "development_of_chinese_mind_monkey_terms" WHERE "simplified_characters"='心猿意马';
1-16162581-1
Name the simplified charaacters being hsin-yüan … i-ma
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT "simplified_characters" FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='hsin-yüan … i-ma';
1-16162581-1
Name the total number of pinyin for hsin-yüan-i-ma
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT COUNT("pinyin") FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='hsin-yüan-i-ma';
1-16162581-1
Name the date for qíngyuán … yìmǎ
CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text );
SELECT "date_ce" FROM "development_of_chinese_mind_monkey_terms" WHERE "pinyin"='qíngyuán … yìmǎ';
1-16162581-1
Which line offers Fast to Norwood Junction?
CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text );
SELECT "line" FROM "services" WHERE "service_pattern"='Fast to Norwood Junction';
1-1612760-1
Who is the operator to Highbury & Islington?
CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text );
SELECT "operator" FROM "services" WHERE "destination"='Highbury & Islington';
1-1612760-1
How many frequency figures are given for next station service pattern?
CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text );
SELECT COUNT("frequency_per_hour") FROM "services" WHERE "service_pattern"='Next station';
1-1612760-1
Who is the operator to destination Dalston Junction?
CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text );
SELECT "operator" FROM "services" WHERE "destination"='Dalston Junction';
1-1612760-1
How many tournament wins were at Volvo Masters Andalucia?
CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT COUNT("no") FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
1-1615980-4
Who was the runner up at the Volvo Masters Andalucia?
CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "runner_s_up" FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
1-1615980-4
In what tournament was the winning score 68-67-65-66=266?
CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "table1_1615980_4" WHERE "winning_score"='68-67-65-66=266';
1-1615980-4
Name the joined for blue hose
CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );
SELECT "joined" FROM "former_conference_members" WHERE "nickname"='Blue Hose';
1-16168849-1
Name the maximum founded for blue hose
CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );
SELECT MAX("founded") FROM "former_conference_members" WHERE "nickname"='Blue Hose';
1-16168849-1
Name the maximum enrollment for st. andrews university
CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );
SELECT MAX("enrollment") FROM "former_conference_members" WHERE "institution"='St. Andrews University';
1-16168849-1
Name the current conference for 1974, 1989
CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );
SELECT "current_conference" FROM "former_conference_members" WHERE "left"='1974, 1989';
1-16168849-1
What is the total number of episodes where alexa wyatt is the writer?
CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text );
SELECT COUNT("series_num") FROM "table1_16175064_3" WHERE "writer_s"='Alexa Wyatt';
1-16175064-3
Who is the director when Chris Hawkshaw is the writer?
CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text );
SELECT "director_s" FROM "table1_16175064_3" WHERE "writer_s"='Chris Hawkshaw';
1-16175064-3
What is the season number of the episode directed by Donald Crombie and the series number is 40?
CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text );
SELECT "season_num" FROM "table1_16175064_3" WHERE "director_s"='Donald Crombie' AND "series_num"=40;
1-16175064-3
What is the released date for Super Mario 64 DS?
CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text );
SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Super Mario 64 DS';
1-1616608-2
What are the game modes for the game released in 2007?
CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text );
SELECT "game_modes" FROM "i_que_ds" WHERE "released_date"='2007';
1-1616608-2
How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?
CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text );
SELECT COUNT("western_title") FROM "i_que_ds" WHERE "chinese_title"='摸摸耀西-云中漫步';
1-1616608-2
What was the released date of Polarium?
CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text );
SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Polarium';
1-1616608-2
What game modes are there when the pinyin is zhígǎn yī bǐ ?
CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text );
SELECT "game_modes" FROM "i_que_ds" WHERE "pinyin"='Zhígǎn Yī Bǐ';
1-1616608-2
What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='6 children' AND "allowed_recipients"='no data';
1-16175217-1
What are donor payments in the country where there are 12 children to 6 families (2 per family)?
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='12 children to 6 families (2 per family)';
1-16175217-1
What is the donor payment in Belgium?
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "country"='Belgium';
1-16175217-1
What is the country where there are 8 children per donor and no data for donor payments?
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "country" FROM "table1_16175217_1" WHERE "children_per_donor"='8 children' AND "donor_payment"='no data';
1-16175217-1
What are the children per donor in the country where the allowed recipients are married or in cohabitation?
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='Married or in cohabitation';
1-16175217-1
List the possible children per donor levels for countries where the allowed recipients is no data.
CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text );
SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='no data';
1-16175217-1
Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?
CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text );
SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_neutral_site"='MU, 2-1';
1-16201038-4
Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How
CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text );
SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponents_venue"='UI, 4-1';
1-16201038-4
How many times did the team achieve an overrall record of mu, 21-19?
CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text );
SELECT COUNT("last_5_meetings") FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='MU, 21-19';
1-16201038-4
What is the record at the neutral site for when the overall record is ui, 27-16?
CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text );
SELECT "at_neutral_site" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='UI, 27-16';
1-16201038-4
What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?
CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text );
SELECT "at_opponents_venue" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "last_5_meetings"='MU, 4-1' AND "at_neutral_site"='Tied, 0-0';
1-16201038-4
What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?
CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text );
SELECT "stamp_duty_reserve_tax" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.79';
1-1618358-1
When the standard stamp duty is 367 what is the percentage over gdp?
CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text );
SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "standard_stamp_duty"='367';
1-1618358-1
When the stamp duty reserve tax is 3,669 what is the percentage over gdp?
CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text );
SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "stamp_duty_reserve_tax"='3,669';
1-1618358-1
During what years are the percentage over total tax revenue is 0.65?
CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text );
SELECT "year" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.65';
1-1618358-1
Name the total number of opponets venue for oklahoma
CREATE TABLE "record_vs_big_12_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "during_time_in_big_12" text );
SELECT COUNT("at_opponents_venue") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Oklahoma';
1-16201038-3
Name the total number of last 5 meetings for texas tech
CREATE TABLE "record_vs_big_12_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "during_time_in_big_12" text );
SELECT COUNT("last_5_meetings") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Texas Tech';
1-16201038-3
Name the total number of series sorted for when released is april 2010
CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text );
SELECT COUNT("series_sorted") FROM "series_1" WHERE "released"='April 2010';
1-1620397-2
Name the author for 6y/ae
CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text );
SELECT "author" FROM "series_1" WHERE "series_sorted"='6Y/AE';
1-1620397-2
Name the author for peri and april 2010
CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text );
SELECT "author" FROM "series_1" WHERE "featuring"='Peri' AND "released"='April 2010';
1-1620397-2
Name the released for pat mills
CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text );
SELECT "released" FROM "series_1" WHERE "author"='Pat Mills';
1-1620397-2
Name the featuring for pat mills
CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text );
SELECT "featuring" FROM "series_1" WHERE "author"='Pat Mills';
1-1620397-2
What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?
CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text );
SELECT "last_5_meetings" FROM "record_vs_sec_opponents" WHERE "overall_record"='UM, 2-1';
1-16201038-5
What is the record of wins/losses that were played at opponents venue (uf, 1-0)
CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text );
SELECT "overall_record" FROM "record_vs_sec_opponents" WHERE "at_opponents_venue"='UF, 1-0';
1-16201038-5
Who are the opponents of Missouri that have an overall record of MU, 3-1?
CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text );
SELECT "missouri_vs" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
1-16201038-5
What is the record at Columbia for the team overall record of MU, 3-1?
CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text );
SELECT "at_columbia" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
1-16201038-5
How many feet in length are there when the length is 106.1 meters?
CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text );
SELECT COUNT("length_feet") FROM "tunnels" WHERE "length_meters"='106.1';
1-16226584-1
When the kilometers from kingston is 105.4 what is the minimum amount of length in feet?
CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text );
SELECT MIN("length_feet") FROM "tunnels" WHERE "km_from_kingston"='105.4';
1-16226584-1
Which parishes have a railroad length of 51.8 meters?
CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text );
SELECT "parish" FROM "tunnels" WHERE "length_meters"='51.8';
1-16226584-1