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