question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What length was won by Roger McCluskey?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "length" text, "race_name" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "length" FROM "schedule_and_results" WHERE "winning_driver"='Roger McCluskey';
1-22669816-1
What rounds did Phoenix International Raceway host?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "length" text, "race_name" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "rnd" FROM "schedule_and_results" WHERE "track"='Phoenix International Raceway';
1-22669816-1
What are the lengths hosted by Pocono International Raceway?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "length" text, "race_name" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "length" FROM "schedule_and_results" WHERE "track"='Pocono International Raceway';
1-22669816-1
What lengths did Phoenix International Raceway host?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "length" text, "race_name" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "length" FROM "schedule_and_results" WHERE "track"='Phoenix International Raceway';
1-22669816-1
Name the location attendance for score being l 83–118 (ot)
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "score"='L 83–118 (OT)';
1-22669044-7
Name the high assists for december 9
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "date"='December 9';
1-22669044-7
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );
SELECT COUNT("winner") FROM "classification_leadership" WHERE "team_classification"='Kelme-Costa Blanca' AND "combativity_award"='Jacky Durand';
1-2267345-2
Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );
SELECT "general_classification" FROM "classification_leadership" WHERE "young_rider_classification"='Salvatore Commesso' AND "winner"='Erik Dekker';
1-2267345-2
What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text );
SELECT COUNT("team_classification") FROM "classification_leadership" WHERE "young_rider_classification"='Salvatore Commesso' AND "combativity_award"='Jacky Durand';
1-2267345-2
In what round did Al Unser win at Wisconsin State Fair Park Speedway?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT MIN("rnd") FROM "schedule_and_results" WHERE "winning_driver"='Al Unser' AND "track"='Wisconsin State Fair Park Speedway';
1-22673872-1
How many races are in College Station, Texas and won by Johnny Rutherford?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT COUNT("race_name") FROM "schedule_and_results" WHERE "location"='College Station, Texas' AND "winning_driver"='Johnny Rutherford';
1-22673872-1
What was the name of the race that Al Unser had the pole position?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "race_name" FROM "schedule_and_results" WHERE "pole_position"='Al Unser';
1-22673872-1
What is the name of the track for the International 500 mile Sweepstakes race?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "track" FROM "schedule_and_results" WHERE "race_name"='International 500 Mile Sweepstakes';
1-22673872-1
Which locations did Gordon Johncock hold the pole position?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text );
SELECT "location" FROM "schedule_and_results" WHERE "pole_position"='Gordon Johncock';
1-22673872-1
What classifications does Fish Rap live! has?
CREATE TABLE "contemporary_humor_magazines" ( "title" text, "language" text, "country" text, "years_published" text, "frequency" text, "medium" text, "classification" text );
SELECT "classification" FROM "contemporary_humor_magazines" WHERE "title"='Fish Rap Live!';
1-2266990-2
How many races took place on October 1?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT COUNT("race_name") FROM "schedule_and_results" WHERE "date"='October 1';
1-22673956-1
How many types of tracks are there on the Phoenix International raceway?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT COUNT("type") FROM "schedule_and_results" WHERE "track"='Phoenix International Raceway';
1-22673956-1
Daily Empress Indy Silverstone took place on which round?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT MAX("rnd") FROM "schedule_and_results" WHERE "race_name"='Daily Empress Indy Silverstone';
1-22673956-1
How many races took place on the Indianapolis Motor Speedway track?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT COUNT("race_name") FROM "schedule_and_results" WHERE "track"='Indianapolis Motor Speedway';
1-22673956-1
What driver achieved a 3:50:12 race time?
CREATE TABLE "table1_2267465_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "driver" FROM "table1_2267465_1" WHERE "race_time"='3:50:12';
1-2267465-1
Can you tell me the manufacturer behind Race Hill Farm Team?
CREATE TABLE "table1_2267465_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "manufacturer" FROM "table1_2267465_1" WHERE "team"='Race Hill Farm Team';
1-2267465-1
How many laps have a 3:34:26 race time?
CREATE TABLE "table1_2267465_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT COUNT("laps") FROM "table1_2267465_1" WHERE "race_time"='3:34:26';
1-2267465-1
What's the average mph of 1964?
CREATE TABLE "table1_2267465_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "average_speed_mph" FROM "table1_2267465_1" WHERE "year"='1964';
1-2267465-1
Whose is the manufacturer for team Ranier-Lundy?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "manufacturer" FROM "table1_2268216_1" WHERE "team"='Ranier-Lundy';
1-2268216-1
In what year was the average speed 92.68?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "year" FROM "table1_2268216_1" WHERE "average_speed_mph"='92.68';
1-2268216-1
How many years was Pontiac the manufacturer for Joe Gibbs Racing?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT COUNT("year") FROM "table1_2268216_1" WHERE "team"='Joe Gibbs Racing' AND "manufacturer"='Pontiac';
1-2268216-1
What is the date for the race that had the time of 2:43:19?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "date" FROM "table1_2268216_1" WHERE "race_time"='2:43:19';
1-2268216-1
How many average speeds are listed in the year 2003?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT COUNT("average_speed_mph") FROM "table1_2268216_1" WHERE "year"='2003';
1-2268216-1
What team had a race time of 2:53:57?
CREATE TABLE "table1_2268216_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" real, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "team" FROM "table1_2268216_1" WHERE "race_time"='2:53:57';
1-2268216-1
Name the sprint classification being alejandro valverde
CREATE TABLE "riders_jersey_progress_table" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "sprint_classification" text, "team_classification" text );
SELECT "sprint_classification" FROM "riders_jersey_progress_table" WHERE "winner"='Alejandro Valverde';
1-22713796-14
Name the stage for no award
CREATE TABLE "riders_jersey_progress_table" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "sprint_classification" text, "team_classification" text );
SELECT "stage" FROM "riders_jersey_progress_table" WHERE "mountains_classification"='no award';
1-22713796-14
Name the total number of stage for lloyd mondory
CREATE TABLE "riders_jersey_progress_table" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "sprint_classification" text, "team_classification" text );
SELECT COUNT("stage") FROM "riders_jersey_progress_table" WHERE "mountains_classification"='Lloyd Mondory';
1-22713796-14
Name the most stage for alejandro valverde and astana greg henderson
CREATE TABLE "riders_jersey_progress_table" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "sprint_classification" text, "team_classification" text );
SELECT MAX("stage") FROM "riders_jersey_progress_table" WHERE "general_classification"='Alejandro Valverde' AND "team_classification"='Astana' AND "winner"='Greg Henderson';
1-22713796-14
When the Border Conference was held, who was the tournament winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_winner" FROM "conference_winners_and_tournaments" WHERE "conference"='Border Conference';
1-22733636-1
When Princeton was the regular season winner, who was the tournament winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_winner" FROM "conference_winners_and_tournaments" WHERE "regular_season_winner"='Princeton';
1-22733636-1
When Wyoming won the regular season, who was the conference player of the year?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "conference_player_of_the_year" FROM "conference_winners_and_tournaments" WHERE "regular_season_winner"='Wyoming';
1-22733636-1
How long has Mel Daniels been playing?
CREATE TABLE "roster" ( "number" real, "name" text, "position" text, "height" text, "experience" text, "college" text );
SELECT "experience" FROM "roster" WHERE "name"='Mel Daniels';
1-22719663-3
What position did the player from San Jose State play?
CREATE TABLE "roster" ( "number" real, "name" text, "position" text, "height" text, "experience" text, "college" text );
SELECT "position" FROM "roster" WHERE "college"='San Jose State';
1-22719663-3
What was the number of the player that was 6-6?
CREATE TABLE "roster" ( "number" real, "name" text, "position" text, "height" text, "experience" text, "college" text );
SELECT "number" FROM "roster" WHERE "height"='6-6';
1-22719663-3
If the song choice is Coba and the order number is 10, what is the result?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "performances_and_result" WHERE "order_num"='10' AND "song_choice"='Coba';
1-22736523-1
What is the result if Coba is the song choice?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "performances_and_result" WHERE "song_choice"='Coba';
1-22736523-1
If Coba is the song choice, what is the order number?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "performances_and_result" WHERE "song_choice"='Coba';
1-22736523-1
If Crazy In Love is the song choice, what is the theme?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "theme" FROM "performances_and_result" WHERE "song_choice"='Crazy In Love';
1-22736523-1
For week number of the top 40, what was the results?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "performances_and_result" WHERE "week_num"='Top 40';
1-22736523-1
For week of top 9, what were the results?
CREATE TABLE "performances_and_result" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "result" FROM "performances_and_result" WHERE "week_num"='Top 9';
1-22736523-1
The city of Birmingham is what type of location?
CREATE TABLE "group_membership" ( "city" text, "county" text, "region" text, "local_authority" text, "type" text, "population" real, "urban_area" real, "metropolitan_area" real );
SELECT "type" FROM "group_membership" WHERE "city"='Birmingham';
1-2273738-1
Leeds City Council is the local authority for what type of location?
CREATE TABLE "group_membership" ( "city" text, "county" text, "region" text, "local_authority" text, "type" text, "population" real, "urban_area" real, "metropolitan_area" real );
SELECT "type" FROM "group_membership" WHERE "local_authority"='Leeds City Council';
1-2273738-1
Tyne and Wear County has what total membership for their metropolitan area?
CREATE TABLE "group_membership" ( "city" text, "county" text, "region" text, "local_authority" text, "type" text, "population" real, "urban_area" real, "metropolitan_area" real );
SELECT "metropolitan_area" FROM "group_membership" WHERE "county"='Tyne and Wear';
1-2273738-1
What is the total membership for the metropolitan area in the city of Manchester?
CREATE TABLE "group_membership" ( "city" text, "county" text, "region" text, "local_authority" text, "type" text, "population" real, "urban_area" real, "metropolitan_area" real );
SELECT MAX("metropolitan_area") FROM "group_membership" WHERE "city"='Manchester';
1-2273738-1
Who was the runner-up (a) if K. P. Ramalingam won the election?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "runner_up_a" FROM "list_of_elected_m_ps" WHERE "winner"='K. P. Ramalingam';
1-22752982-5
When 1 (5) is the races what is the team name?
CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" real, "pos" text );
SELECT "team_name" FROM "summary" WHERE "races"='1 (5)';
1-22737506-1
When 19th is the position what is the highest amount of poles?
CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" real, "pos" text );
SELECT MAX("poles") FROM "summary" WHERE "pos"='19th';
1-22737506-1
When 86 is the amount of points what is the position?
CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" real, "pos" text );
SELECT "pos" FROM "summary" WHERE "points"=86;
1-22737506-1
Name the most margin for nco party and p. ramachandran won
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT MAX("margin") FROM "list_of_elected_m_ps" WHERE "party"='NCO' AND "winner"='P. Ramachandran';
1-22754310-1
Name the party a for m. s. k. sathiyendran runner up
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party_a" FROM "list_of_elected_m_ps" WHERE "runner_up_a"='M. S. K. Sathiyendran';
1-22754310-1
Name the party a for sriperumbudur
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party_a" FROM "list_of_elected_m_ps" WHERE "constituency"='Sriperumbudur';
1-22754310-1
Name the total number of runner up a for perambalur
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT COUNT("runner_up_a") FROM "list_of_elected_m_ps" WHERE "constituency"='Perambalur';
1-22754310-1
Name the constituency for 175130
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "constituency" FROM "list_of_elected_m_ps" WHERE "margin"=175130;
1-22754310-1
How many margins have a winner of S. Singaravadivel?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT COUNT("margin") FROM "list_of_elected_m_ps" WHERE "winner"='S. Singaravadivel';
1-22753439-1
How many winners have a runner-up of A. Karthikeyan?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT COUNT("winner") FROM "list_of_elected_m_ps" WHERE "runner_up_a"='A. Karthikeyan';
1-22753439-1
What is every party with a winner of P. Chidambaram?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party_a" FROM "list_of_elected_m_ps" WHERE "winner"='P. Chidambaram';
1-22753439-1
What is every party A with a constituency of Tiruchendur?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party_a" FROM "list_of_elected_m_ps" WHERE "constituency"='Tiruchendur';
1-22753439-1
Who is the constituency when the runner-up was d. Venugopal?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "constituency" FROM "list_of_elected_m_ps" WHERE "runner_up_a"='D. Venugopal';
1-22753245-1
What is the party where the constituency is 10. Tindivanam?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party" FROM "list_of_elected_m_ps" WHERE "constituency"='10. Tindivanam';
1-22753245-1
What is the party when the constituency is 1. Chennai North?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "party" FROM "list_of_elected_m_ps" WHERE "constituency"='1. Chennai North';
1-22753245-1
How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT COUNT("margin") FROM "list_of_elected_m_ps" WHERE "party"='Indian National Congress' AND "winner"='L. Adaikalaraj c';
1-22753245-1
What is the margin when k. balathandayutham is the winner?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT MAX("margin") FROM "list_of_elected_m_ps" WHERE "winner"='K. Balathandayutham';
1-22754491-1
What is the margin when periyakulam is the constituency?
CREATE TABLE "list_of_elected_m_ps" ( "constituency" text, "winner" text, "party" text, "margin" real, "runner_up_a" text, "party_a" text );
SELECT "margin" FROM "list_of_elected_m_ps" WHERE "constituency"='Periyakulam';
1-22754491-1
Who had the pole position in the August 15, 1981 race?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT "pole_position" FROM "schedule_and_results" WHERE "date"='August 15, 1981';
1-22765887-1
Which track was used on September 12, 1981?
CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "type" text, "pole_position" text, "winning_driver" text );
SELECT "track" FROM "schedule_and_results" WHERE "date"='September 12, 1981';
1-22765887-1
Name the park and ride for university of washington
CREATE TABLE "stations_under_construction" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" real, "transit_connections" text, "park_and_ride" text );
SELECT "park_and_ride" FROM "stations_under_construction" WHERE "city_neighborhood"='University of Washington';
1-22771048-3
Name the extension for university of washington
CREATE TABLE "stations_under_construction" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" real, "transit_connections" text, "park_and_ride" text );
SELECT "extension" FROM "stations_under_construction" WHERE "city_neighborhood"='University of Washington';
1-22771048-3
Name the least projected opening
CREATE TABLE "stations_under_construction" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" real, "transit_connections" text, "park_and_ride" text );
SELECT MIN("projected_opening") FROM "stations_under_construction";
1-22771048-3
Name the transit connections for capitol hill u
CREATE TABLE "stations_under_construction" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" real, "transit_connections" text, "park_and_ride" text );
SELECT "transit_connections" FROM "stations_under_construction" WHERE "station"='Capitol Hill U';
1-22771048-3
Name the park and ride for roosevelt u
CREATE TABLE "stations_under_construction" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" real, "transit_connections" text, "park_and_ride" text );
SELECT "park_and_ride" FROM "stations_under_construction" WHERE "station"='Roosevelt U';
1-22771048-3
How many park and rides are proposed for Overlake Village?
CREATE TABLE "planned_or_proposed_stations" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" text, "park_and_ride" text, "funded_by_st2" text );
SELECT COUNT("park_and_ride") FROM "planned_or_proposed_stations" WHERE "station"='Overlake Village';
1-22771048-4
How many neighborhoods have a station proposed at a Hospital?
CREATE TABLE "planned_or_proposed_stations" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" text, "park_and_ride" text, "funded_by_st2" text );
SELECT COUNT("city_neighborhood") FROM "planned_or_proposed_stations" WHERE "station"='Hospital';
1-22771048-4
What are all the City/Neighborhoods whose extension is East Link and proposed parking lot status is yes and whose proposed station is Overlake transit Center?
CREATE TABLE "planned_or_proposed_stations" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" text, "park_and_ride" text, "funded_by_st2" text );
SELECT "city_neighborhood" FROM "planned_or_proposed_stations" WHERE "extension"='East Link' AND "park_and_ride"='Yes' AND "station"='Overlake Transit Center';
1-22771048-4
What is the funded by st2 status of the Redondo/Star Lake station?
CREATE TABLE "planned_or_proposed_stations" ( "station" text, "extension" text, "city_neighborhood" text, "projected_opening" text, "park_and_ride" text, "funded_by_st2" text );
SELECT "funded_by_st2" FROM "planned_or_proposed_stations" WHERE "station"='Redondo/Star Lake';
1-22771048-4
What are the transit connections from Pioneer Square U?
CREATE TABLE "stations" ( "station" text, "line_s" text, "city_neighborhood" text, "year_opened" real, "transit_connections" text, "park_and_ride" text );
SELECT "transit_connections" FROM "stations" WHERE "station"='Pioneer Square U';
1-22771048-2
What's the transit connection in Columbia City, Seattle?
CREATE TABLE "stations" ( "station" text, "line_s" text, "city_neighborhood" text, "year_opened" real, "transit_connections" text, "park_and_ride" text );
SELECT "transit_connections" FROM "stations" WHERE "city_neighborhood"='Columbia City, Seattle';
1-22771048-2
For small patent type of protections, what type of PCT route is available?
CREATE TABLE "availability_and_names" ( "country" text, "type_of_protection" text, "maximum_term" text, "pct_route_available" text, "conversion_from_patent_application" text );
SELECT "pct_route_available" FROM "availability_and_names" WHERE "type_of_protection"='small patent';
1-2279413-1
In Tonga, what is the conversion from patent application?
CREATE TABLE "availability_and_names" ( "country" text, "type_of_protection" text, "maximum_term" text, "pct_route_available" text, "conversion_from_patent_application" text );
SELECT "conversion_from_patent_application" FROM "availability_and_names" WHERE "country"='Tonga';
1-2279413-1
For short patent type of protections, what type of PCT route is available?
CREATE TABLE "availability_and_names" ( "country" text, "type_of_protection" text, "maximum_term" text, "pct_route_available" text, "conversion_from_patent_application" text );
SELECT "pct_route_available" FROM "availability_and_names" WHERE "type_of_protection"='short patent';
1-2279413-1
In Tangier Zone, what is the PCT route availibility?
CREATE TABLE "availability_and_names" ( "country" text, "type_of_protection" text, "maximum_term" text, "pct_route_available" text, "conversion_from_patent_application" text );
SELECT "pct_route_available" FROM "availability_and_names" WHERE "country"='Tangier Zone';
1-2279413-1
When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications?
CREATE TABLE "availability_and_names" ( "country" text, "type_of_protection" text, "maximum_term" text, "pct_route_available" text, "conversion_from_patent_application" text );
SELECT "conversion_from_patent_application" FROM "availability_and_names" WHERE "maximum_term"='10 years' AND "pct_route_available"='Yes';
1-2279413-1
What was the result against the team which the Cowboys have a 6-2 record against?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT "result" FROM "schedule" WHERE "record"='6-2';
1-22801331-1
What is the fewest points opponents have scored when the Cowboys score 36?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT MIN("opponents") FROM "schedule" WHERE "cowboys_points"=36;
1-22801331-1
How many opponents have a 1-0 record against the Cowboys?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT "opponents" FROM "schedule" WHERE "record"='1-0';
1-22801331-1
What game was held against a team with a 6-3 record against the Cowboys?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT "game" FROM "schedule" WHERE "record"='6-3';
1-22801331-1
How many names have a country of civ?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text, "source" text );
SELECT COUNT("name") FROM "in" WHERE "country"='CIV';
1-22810095-8
Who moved from Northampton Town?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text, "source" text );
SELECT "name" FROM "in" WHERE "moving_from"='Northampton Town';
1-22810095-8
Where did Kisnorbo move from?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text, "source" text );
SELECT "moving_from" FROM "in" WHERE "name"='Kisnorbo';
1-22810095-8
What is the name of the player when n is 28?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text, "source" text );
SELECT "name" FROM "in" WHERE "n"=28;
1-22810095-8
How much was the transfer fee when n is 2?
CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text, "source" text );
SELECT "transfer_fee" FROM "in" WHERE "n"=2;
1-22810095-8
What player is 24 years old?
CREATE TABLE "loans_in" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "name" FROM "loans_in" WHERE "age"=24;
1-22810095-9
Name the ted morris memorial trophy for november 22, 2008
CREATE TABLE "table1_228149_1" ( "game" text, "date" text, "champion" text, "score" text, "runner_up" text, "stadium" text, "city" text, "ted_morris_memorial_trophy_game_mvp" text, "bruce_coulter_award" text );
SELECT "ted_morris_memorial_trophy_game_mvp" FROM "table1_228149_1" WHERE "date"='November 22, 2008';
1-228149-1
Name the ted morris memorial trophy 34th game
CREATE TABLE "table1_228149_1" ( "game" text, "date" text, "champion" text, "score" text, "runner_up" text, "stadium" text, "city" text, "ted_morris_memorial_trophy_game_mvp" text, "bruce_coulter_award" text );
SELECT "ted_morris_memorial_trophy_game_mvp" FROM "table1_228149_1" WHERE "game"='34th';
1-228149-1
Nam the total number for bruce coulter award for 9th game
CREATE TABLE "table1_228149_1" ( "game" text, "date" text, "champion" text, "score" text, "runner_up" text, "stadium" text, "city" text, "ted_morris_memorial_trophy_game_mvp" text, "bruce_coulter_award" text );
SELECT COUNT("bruce_coulter_award") FROM "table1_228149_1" WHERE "game"='9th';
1-228149-1
Name the bruce coulter award for forrest kennerd
CREATE TABLE "table1_228149_1" ( "game" text, "date" text, "champion" text, "score" text, "runner_up" text, "stadium" text, "city" text, "ted_morris_memorial_trophy_game_mvp" text, "bruce_coulter_award" text );
SELECT "bruce_coulter_award" FROM "table1_228149_1" WHERE "ted_morris_memorial_trophy_game_mvp"='Forrest Kennerd';
1-228149-1