question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When the railroad length is 362 feet how many miles is it from kingston?
CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text );
SELECT "mi_from_kingston" FROM "tunnels" WHERE "length_feet"=362;
1-16226584-1
Which parishes have the highworth railroad?
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 "name"='Highworth';
1-16226584-1
Which railroad is 112.6 kilometers from kingston?
CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text );
SELECT "name" FROM "tunnels" WHERE "km_from_kingston"='112.6';
1-16226584-1
Name the most number for new england blazers
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT MAX("num") FROM "game_log" WHERE "opponent"='New England Blazers';
1-16227492-1
Name the most attendance
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log";
1-16227492-1
Name the most attendance for number 4
CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "num"=4;
1-16227492-1
What is the preliminary average when the semifinal average is 8.834 (3) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "preliminary_average" FROM "final_competition" WHERE "semifinal_average"='8.834 (3)';
1-16268026-3
What is the interview when preliminary average is 8.662 (3) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "interview" FROM "final_competition" WHERE "preliminary_average"='8.662 (3)';
1-16268026-3
What state has a semifinal average of 8.538 (8) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "state" FROM "final_competition" WHERE "semifinal_average"='8.538 (8)';
1-16268026-3
What state has an interview of 8.313 (8) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "state" FROM "final_competition" WHERE "interview"='8.313 (8)';
1-16268026-3
What is the semifinal average where the preliminary average is 9.084 (1) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "semifinal_average" FROM "final_competition" WHERE "preliminary_average"='9.084 (1)';
1-16268026-3
What is the swimsuit when evening gown is 8.774 (6) ?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "swimsuit" FROM "final_competition" WHERE "evening_gown"='8.774 (6)';
1-16268026-3
What is the population density of the Capital Region of Denmark?
CREATE TABLE "table1_16278602_1" ( "danish_name" text, "english_name" text, "seat_of_administration" text, "largest_city" text, "population_january_1_2008" real, "area_km" real, "pop_density_per_km" text );
SELECT "pop_density_per_km" FROM "table1_16278602_1" WHERE "english_name"='Capital Region of Denmark';
1-16278602-1
In the region where Roskilde is the largest city, what is the seat of administration?
CREATE TABLE "table1_16278602_1" ( "danish_name" text, "english_name" text, "seat_of_administration" text, "largest_city" text, "population_january_1_2008" real, "area_km" real, "pop_density_per_km" text );
SELECT "seat_of_administration" FROM "table1_16278602_1" WHERE "largest_city"='Roskilde';
1-16278602-1
What is the minimum population of the region in which Roskilde is the largest city?
CREATE TABLE "table1_16278602_1" ( "danish_name" text, "english_name" text, "seat_of_administration" text, "largest_city" text, "population_january_1_2008" real, "area_km" real, "pop_density_per_km" text );
SELECT MIN("population_january_1_2008") FROM "table1_16278602_1" WHERE "largest_city"='Roskilde';
1-16278602-1
How many languages for the 2001 (74th) awards?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "language_s" text, "director" text, "result" text );
SELECT COUNT("language_s") FROM "submissions" WHERE "year_ceremony"='2001 (74th)';
1-16254861-1
What was the result for the 2009 (82nd) awards?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "language_s" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "year_ceremony"='2009 (82nd)';
1-16254861-1
Name the original title for the counterfeiters
CREATE TABLE "table1_16255245_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director_s" text, "result" text );
SELECT "original_title" FROM "table1_16255245_1" WHERE "film_title_used_in_nomination"='The Counterfeiters';
1-16255245-1
Name the year for spiele leben
CREATE TABLE "table1_16255245_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director_s" text, "result" text );
SELECT "year_ceremony" FROM "table1_16255245_1" WHERE "original_title"='Spiele Leben';
1-16255245-1
Name the film title for wohin und zurück - welcome in vienna
CREATE TABLE "table1_16255245_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director_s" text, "result" text );
SELECT "film_title_used_in_nomination" FROM "table1_16255245_1" WHERE "original_title"='Wohin und zurück - Welcome in Vienna';
1-16255245-1
Name the language for kunar
CREATE TABLE "provinces_of_afghanistan" ( "province" text, "map_num" real, "iso_3166_2_af" text, "centers" text, "population" real, "area_km" real, "language" text, "notes" text, "u_n_region" text );
SELECT "language" FROM "provinces_of_afghanistan" WHERE "province"='Kunar';
1-16278349-1
Name the notes for samangan
CREATE TABLE "provinces_of_afghanistan" ( "province" text, "map_num" real, "iso_3166_2_af" text, "centers" text, "population" real, "area_km" real, "language" text, "notes" text, "u_n_region" text );
SELECT "notes" FROM "provinces_of_afghanistan" WHERE "province"='Samangan';
1-16278349-1
Name the un region for 3314000 population
CREATE TABLE "provinces_of_afghanistan" ( "province" text, "map_num" real, "iso_3166_2_af" text, "centers" text, "population" real, "area_km" real, "language" text, "notes" text, "u_n_region" text );
SELECT "u_n_region" FROM "provinces_of_afghanistan" WHERE "population"=3314000;
1-16278349-1
Name the area for map # 24
CREATE TABLE "provinces_of_afghanistan" ( "province" text, "map_num" real, "iso_3166_2_af" text, "centers" text, "population" real, "area_km" real, "language" text, "notes" text, "u_n_region" text );
SELECT "area_km" FROM "provinces_of_afghanistan" WHERE "map_num"=24;
1-16278349-1
Name the un region for 378000 population
CREATE TABLE "provinces_of_afghanistan" ( "province" text, "map_num" real, "iso_3166_2_af" text, "centers" text, "population" real, "area_km" real, "language" text, "notes" text, "u_n_region" text );
SELECT "u_n_region" FROM "provinces_of_afghanistan" WHERE "population"=378000;
1-16278349-1
NJame the total number of population for towns/villages for 217
CREATE TABLE "table1_16278825_1" ( "name_of_county" text, "county_seat" text, "area_km" real, "population" real, "population_density" real, "towns_villages" real );
SELECT COUNT("population") FROM "table1_16278825_1" WHERE "towns_villages"=217;
1-16278825-1
Name the towns/villages for budapest
CREATE TABLE "table1_16278825_1" ( "name_of_county" text, "county_seat" text, "area_km" real, "population" real, "population_density" real, "towns_villages" real );
SELECT "towns_villages" FROM "table1_16278825_1" WHERE "county_seat"='Budapest';
1-16278825-1
Name the least area for vas
CREATE TABLE "table1_16278825_1" ( "name_of_county" text, "county_seat" text, "area_km" real, "population" real, "population_density" real, "towns_villages" real );
SELECT MIN("area_km") FROM "table1_16278825_1" WHERE "name_of_county"='Vas';
1-16278825-1
When the year was 1992, what were the points won?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "foursomes_w_l_h" text, "fourballs_w_l_h" text, "points_won" text, "points_pct" text );
SELECT "points_won" FROM "solheim_cup_record" WHERE "year"='1992';
1-1628607-5
When the foursome was w-l-h is 1–0–0 won w/ p. creamer 3&2, what was the points %?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "foursomes_w_l_h" text, "fourballs_w_l_h" text, "points_won" text, "points_pct" text );
SELECT "points_pct" FROM "solheim_cup_record" WHERE "foursomes_w_l_h"='1–0–0 won w/ P. Creamer 3&2';
1-1628607-5
What was the foursome's record in 2002?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "foursomes_w_l_h" text, "fourballs_w_l_h" text, "points_won" text, "points_pct" text );
SELECT "foursomes_w_l_h" FROM "solheim_cup_record" WHERE "year"='2002';
1-1628607-5
What was the length time of the 3.5 release?
CREATE TABLE "external_links" ( "title" text, "series" text, "release" text, "featuring" text, "writer" text, "director" text, "length" text, "timeline" text, "release_date" text );
SELECT "length" FROM "external_links" WHERE "release"='3.5';
1-16279520-1
What is the title of the 1.1 realease?
CREATE TABLE "external_links" ( "title" text, "series" text, "release" text, "featuring" text, "writer" text, "director" text, "length" text, "timeline" text, "release_date" text );
SELECT "title" FROM "external_links" WHERE "release"='1.1';
1-16279520-1
Under what series was the 3.5 release?
CREATE TABLE "external_links" ( "title" text, "series" text, "release" text, "featuring" text, "writer" text, "director" text, "length" text, "timeline" text, "release_date" text );
SELECT "series" FROM "external_links" WHERE "release"='3.5';
1-16279520-1
What is the releases number under Season 2?
CREATE TABLE "external_links" ( "title" text, "series" text, "release" text, "featuring" text, "writer" text, "director" text, "length" text, "timeline" text, "release_date" text );
SELECT "release" FROM "external_links" WHERE "timeline"='Season 2';
1-16279520-1
Who was the director of the audiobook released August 31, 2009?
CREATE TABLE "external_links" ( "title" text, "series" text, "release" text, "featuring" text, "writer" text, "director" text, "length" text, "timeline" text, "release_date" text );
SELECT "director" FROM "external_links" WHERE "release_date"='August 31, 2009';
1-16279520-1
What is the capital of Bungoma county?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT "capital" FROM "table1_16278894_1" WHERE "county"='Bungoma';
1-16278894-1
What is the capital of Uasin Gishu county?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT "capital" FROM "table1_16278894_1" WHERE "county"='Uasin Gishu';
1-16278894-1
In what former province was the area 694.9 kilometers squared?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT "former_province" FROM "table1_16278894_1" WHERE "area_km_2"='694.9';
1-16278894-1
How many numbers were listed under area with a population of 240075 as of 2009?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT COUNT("area_km_2") FROM "table1_16278894_1" WHERE "population_census_2009"=240075;
1-16278894-1
What was the population in Kisumu county as of 2009?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT "population_census_2009" FROM "table1_16278894_1" WHERE "county"='Kisumu';
1-16278894-1
What capital's county had a population of 730129 as of 2009?
CREATE TABLE "table1_16278894_1" ( "code" real, "county" text, "former_province" text, "area_km_2" text, "population_census_2009" real, "capital" text );
SELECT "capital" FROM "table1_16278894_1" WHERE "population_census_2009"=730129;
1-16278894-1
Name the dates for margin of victory being 5 strokes
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "tournament_location" text, "purse_us" real, "winners_share" text );
SELECT COUNT("dates") FROM "winners" WHERE "margin_of_victory"='5 strokes';
1-1628792-1
Name the champion for london hunt and country club ( london , on )
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "tournament_location" text, "purse_us" real, "winners_share" text );
SELECT "champion" FROM "winners" WHERE "tournament_location"='London Hunt and Country Club ( London , ON )';
1-1628792-1
What was the evening gown score for the woman who scored 7.600 (9) in her interview?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "evening_gown" FROM "final_competition" WHERE "interview"='7.600 (9)';
1-16323766-3
What was the swimsuit score for the one who had a semifinal average of 8.759 (5)?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "swimsuit" FROM "final_competition" WHERE "semifinal_average"='8.759 (5)';
1-16323766-3
What was the evening gown score for the one who had a preliminary average of 8.121 (8)?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "evening_gown" FROM "final_competition" WHERE "preliminary_average"='8.121 (8)';
1-16323766-3
What was the preliminary average for the one who had a semifinal average of 8.966 (3)?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "preliminary_average" FROM "final_competition" WHERE "semifinal_average"='8.966 (3)';
1-16323766-3
What was the preliminary average for Miss Mississippi?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "preliminary_average" FROM "final_competition" WHERE "state"='Mississippi';
1-16323766-3
What was the preliminary average for Miss Maryland?
CREATE TABLE "final_competition" ( "state" text, "preliminary_average" text, "interview" text, "swimsuit" text, "evening_gown" text, "semifinal_average" text );
SELECT "preliminary_average" FROM "final_competition" WHERE "state"='Maryland';
1-16323766-3
What day was the gross sales $1,271,451?
CREATE TABLE "table1_16331025_2" ( "dates_mdy" text, "position" real, "gross_sales" text, "tickets_sold_available" text, "sellout_pct" text );
SELECT "dates_mdy" FROM "table1_16331025_2" WHERE "gross_sales"='$1,271,451';
1-16331025-2
What is the sellout % when the gross sales is $1,727,400?
CREATE TABLE "table1_16331025_2" ( "dates_mdy" text, "position" real, "gross_sales" text, "tickets_sold_available" text, "sellout_pct" text );
SELECT "sellout_pct" FROM "table1_16331025_2" WHERE "gross_sales"='$1,727,400';
1-16331025-2
Who many dates are in position 9 and the sellout is 81%?
CREATE TABLE "table1_16331025_2" ( "dates_mdy" text, "position" real, "gross_sales" text, "tickets_sold_available" text, "sellout_pct" text );
SELECT COUNT("dates_mdy") FROM "table1_16331025_2" WHERE "position"=9 AND "sellout_pct"='81%';
1-16331025-2
What is the position of tickets sold/available when the sellout is 82%?
CREATE TABLE "table1_16331025_2" ( "dates_mdy" text, "position" real, "gross_sales" text, "tickets_sold_available" text, "sellout_pct" text );
SELECT COUNT("tickets_sold_available") FROM "table1_16331025_2" WHERE "sellout_pct"='82%';
1-16331025-2
Name the probably futures for गरेस् gares 'may you do'
CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text );
SELECT "probable_future" FROM "finite_forms_of_garnu_to_do" WHERE "imperative"='गरेस् gares ''may you do''';
1-16337329-5
Name the imperative for गरिस् garis 'you did'
CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text );
SELECT "imperative" FROM "finite_forms_of_garnu_to_do" WHERE "past_habitual"='गरिस् garis ''you did''';
1-16337329-5
Name the past habitual for गर्छस् garchas 'you (will) do'
CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text );
SELECT "past_habitual" FROM "finite_forms_of_garnu_to_do" WHERE "probable_future"='गर्छस् garchas ''you (will) do''';
1-16337329-5
Name the past habitual for गर्छ garcha 'he does'
CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text );
SELECT "past_habitual" FROM "finite_forms_of_garnu_to_do" WHERE "probable_future"='गर्छ garcha ''he does''';
1-16337329-5
Name the injunctive for गर्यो garyo 'he did'
CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text );
SELECT "injunctive" FROM "finite_forms_of_garnu_to_do" WHERE "past_habitual"='गर्यो garyo ''he did''';
1-16337329-5
How many years did he have an average finish of 29.2?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("winnings") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='29.2';
1-1637041-2
How many years did he finish in 59th?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("avg_start") FROM "nascar_sprint_cup_series" WHERE "position"='59th';
1-1637041-2
How many instances do you see the year 2003?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("starts") FROM "nascar_sprint_cup_series" WHERE "year"=2003;
1-1637041-2
What is the maximum number of top 10s when he finished in 63rd?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MAX("top_10") FROM "nascar_sprint_cup_series" WHERE "position"='63rd';
1-1637041-2
What are the average start(s) when he had $1,663,868?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "avg_start" FROM "nascar_sprint_cup_series" WHERE "winnings"='$1,663,868';
1-1637041-2
What was the position in the season when the average start is 9.2?
CREATE TABLE "nascar_camping_world_truck_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 "position" FROM "nascar_camping_world_truck_series" WHERE "avg_start"='9.2';
1-1637041-6
What is the average start for the season with $7,220 in winnings?
CREATE TABLE "nascar_camping_world_truck_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 "avg_start" FROM "nascar_camping_world_truck_series" WHERE "winnings"='$7,220';
1-1637041-6
What are the winnings for the season where the average finish is 11.1?
CREATE TABLE "nascar_camping_world_truck_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 "winnings" FROM "nascar_camping_world_truck_series" WHERE "avg_finish"='11.1';
1-1637041-6
What is the maximum number of wins in the season with 22 starts?
CREATE TABLE "nascar_camping_world_truck_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_camping_world_truck_series" WHERE "starts"=22;
1-1637041-6
What is the all home when all games percentage is .484?
CREATE TABLE "final_standings" ( "team" text, "acc_regular_season" text, "acc_pct" text, "acc_home" text, "acc_road" text, "all_games" text, "all_games_pct" text, "all_home" text, "all_road" text, "all_neutral" text );
SELECT "all_home" FROM "final_standings" WHERE "all_games_pct"='.484';
1-16372244-1
What is the acc percentage when all games percentage is .484?
CREATE TABLE "final_standings" ( "team" text, "acc_regular_season" text, "acc_pct" text, "acc_home" text, "acc_road" text, "all_games" text, "all_games_pct" text, "all_home" text, "all_road" text, "all_neutral" text );
SELECT "acc_pct" FROM "final_standings" WHERE "all_games_pct"='.484';
1-16372244-1
What is the all games for Maryland?
CREATE TABLE "final_standings" ( "team" text, "acc_regular_season" text, "acc_pct" text, "acc_home" text, "acc_road" text, "all_games" text, "all_games_pct" text, "all_home" text, "all_road" text, "all_neutral" text );
SELECT "all_games" FROM "final_standings" WHERE "team"='Maryland';
1-16372244-1
What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "kalamazoo_azo" FROM "average_domestic_passenger_fares_for_cap" WHERE "saginaw_mbs"='$481.39';
1-1637981-7
When Lansing's fare is $433.59, what is the Detroit fare?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "detroit_dtw" FROM "average_domestic_passenger_fares_for_cap" WHERE "lansing_lan"='$433.59';
1-1637981-7
At a Saginaw fare of $470.47, what is the fare to Lansing?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "lansing_lan" FROM "average_domestic_passenger_fares_for_cap" WHERE "saginaw_mbs"='$470.47';
1-1637981-7
During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "kalamazoo_azo" FROM "average_domestic_passenger_fares_for_cap" WHERE "lansing_lan"='$433.59';
1-1637981-7
When Saginaw's fare is $470.47, what was the fare to Grand Rapids?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "grand_rapids_grr" FROM "average_domestic_passenger_fares_for_cap" WHERE "saginaw_mbs"='$470.47';
1-1637981-7
When Grand Rapids's fare was $377.29, what is the fare to Detroit?
CREATE TABLE "average_domestic_passenger_fares_for_cap" ( "year" real, "lansing_lan" text, "detroit_dtw" text, "grand_rapids_grr" text, "flint_fnt" text, "kalamazoo_azo" text, "saginaw_mbs" text );
SELECT "detroit_dtw" FROM "average_domestic_passenger_fares_for_cap" WHERE "grand_rapids_grr"='$377.29';
1-1637981-7
Name the maximum enrollment for niagara university
CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text );
SELECT MAX("enrollment") FROM "membership" WHERE "school"='Niagara University';
1-16383772-1
Name the primary conference for st. bonaventure university
CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text );
SELECT "primary_conference" FROM "membership" WHERE "school"='St. Bonaventure University';
1-16383772-1
Name the total number of nicknames for st. bonaventure university
CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text );
SELECT COUNT("nickname") FROM "membership" WHERE "school"='St. Bonaventure University';
1-16383772-1
Name the total number of affiliation for enrollment being 14898
CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text );
SELECT COUNT("affiliation") FROM "membership" WHERE "enrollment"=14898;
1-16383772-1
what was the ACC home game record for the team who's ACC winning percentage was .813?
CREATE TABLE "final_standings" ( "team" text, "acc_regular_season" text, "acc_pct" text, "acc_home" text, "acc_road" text, "all_games" text, "all_games_pct" text, "all_home" text, "all_road" text, "all_neutral" text );
SELECT "acc_home" FROM "final_standings" WHERE "acc_pct"='.813';
1-16372911-1
Who directed the totle "tjockare än vatten"?
CREATE TABLE "table1_16384596_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT "directed_by" FROM "table1_16384596_4" WHERE "title"='\"Tjockare än vatten\"';
1-16384596-4
Who wrote the episode for s02 e07?
CREATE TABLE "table1_16384596_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT "written_by" FROM "table1_16384596_4" WHERE "broadcast_order"='S02 E07';
1-16384596-4
Who directed the episode for s02 e08?
CREATE TABLE "table1_16384596_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT "directed_by" FROM "table1_16384596_4" WHERE "broadcast_order"='S02 E08';
1-16384596-4
Who directed the episode with the production code 209?
CREATE TABLE "table1_16384596_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT "directed_by" FROM "table1_16384596_4" WHERE "production_code"=209;
1-16384596-4
How many schools have the team nickname bobcats?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT COUNT("institution") FROM "current_teams" WHERE "team_nickname"='Bobcats';
1-16384648-2
Which city has the team nickname bearcats?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT "location" FROM "current_teams" WHERE "team_nickname"='Bearcats';
1-16384648-2
What year did the university of Pittsburgh school join the hockey league?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT "joined_tschl" FROM "current_teams" WHERE "institution"='University of Pittsburgh';
1-16384648-2
What's the earliest year anybody joined the hockey league?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT MIN("joined_tschl") FROM "current_teams";
1-16384648-2
Which city has the cincinnati hockey website?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT "location" FROM "current_teams" WHERE "team_website"='Cincinnati Hockey';
1-16384648-2
For the flyers, what's the minimum capacity?
CREATE TABLE "current_teams" ( "institution" text, "location" text, "team_nickname" text, "joined_tschl" real, "home_arena" text, "capacity" real, "team_website" text );
SELECT MIN("capacity") FROM "current_teams" WHERE "team_nickname"='Flyers';
1-16384648-2
Name the number of pinyin where simplified is 河西区
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT COUNT("pinyin") FROM "subdivisions" WHERE "simplified"='河西区';
1-1638437-2
Name the pinyin for where population is 44617
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "pinyin" FROM "subdivisions" WHERE "population"=44617;
1-1638437-2
Name the pinyin for 487 area
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "pinyin" FROM "subdivisions" WHERE "area"='487';
1-1638437-2
Name the traditional for population 74779
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "traditional" FROM "subdivisions" WHERE "population"=74779;
1-1638437-2
Name the english name for 崖城镇
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "english_name" FROM "subdivisions" WHERE "simplified"='崖城镇';
1-1638437-2
Name the date for richmond
CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "date" FROM "1st_round" WHERE "away_team"='Richmond';
1-16387700-1
Name the most crowd for saturday 16 february
CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "1st_round" WHERE "date"='Saturday 16 February';
1-16387700-1
What home team played the West Coast away team?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text );
SELECT "home_team" FROM "round_of_16" WHERE "away_team"='West Coast';
1-16388230-1