question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What sport was played at the bosse field?
CREATE TABLE "former_professional_football_teams" ( "team" text, "sport" text, "played" text, "venue" text, "championships" text );
SELECT "sport" FROM "former_professional_football_teams" WHERE "venue"='bosse field';
2-17389615-6
What sport was played between the years of 2008-2010?
CREATE TABLE "former_professional_football_teams" ( "team" text, "sport" text, "played" text, "venue" text, "championships" text );
SELECT "sport" FROM "former_professional_football_teams" WHERE "played"='2008-2010';
2-17389615-6
What venue did the team, evansville bluecats play on?
CREATE TABLE "former_professional_football_teams" ( "team" text, "sport" text, "played" text, "venue" text, "championships" text );
SELECT "venue" FROM "former_professional_football_teams" WHERE "team"='evansville bluecats';
2-17389615-6
What team played between the years of 2008-2010?
CREATE TABLE "former_professional_football_teams" ( "team" text, "sport" text, "played" text, "venue" text, "championships" text );
SELECT "team" FROM "former_professional_football_teams" WHERE "played"='2008-2010';
2-17389615-6
Name the Score of craig stadler?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='craig stadler';
2-16458346-2
Name the Score that has a Place of t5 of tom watson?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "place"='t5' AND "player"='tom watson';
2-16458346-2
Name the Place with a Score of 72-68=140?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='72-68=140';
2-16458346-2
Name the Score of jack nicklaus, united states, ?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "country"='united states' AND "player"='jack nicklaus';
2-16458346-2
Name the Place of seve ballesteros?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='seve ballesteros';
2-16458346-2
Who was No. 9 when Ava was No. 4 and Addison was No. 6?
CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text );
SELECT "no_9" FROM "female_names" WHERE "no_4"='ava' AND "no_6"='addison';
2-16304563-2
What was the No. 6 name when Emma was No. 2 and Sophia was No. 3?
CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text );
SELECT "no_6" FROM "female_names" WHERE "no_2"='emma' AND "no_3"='sophia';
2-16304563-2
What was the No. 8 name when Chloe was No. 9 and Abigail was No. 7?
CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text );
SELECT "no_8" FROM "female_names" WHERE "no_9"='chloe' AND "no_7"='abigail';
2-16304563-2
What was the No. 4 name when Madison was No. 5 and Abigail was No. 9?
CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text );
SELECT "no_4" FROM "female_names" WHERE "no_5"='madison' AND "no_9"='abigail';
2-16304563-2
Which player had a to par score of +2?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_round" WHERE "to_par"='+2';
2-17162199-6
How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?
CREATE TABLE "references" ( "urban_area_locality" text, "population" real, "land_area_hectares" real, "density_inh_km" real, "code" real );
SELECT SUM("code") FROM "references" WHERE "density_inh_km"=621.68 AND "land_area_hectares">75.28;
2-16796625-1
What is the average density with a land area of 123.02, and a Code larger than 2356?
CREATE TABLE "references" ( "urban_area_locality" text, "population" real, "land_area_hectares" real, "density_inh_km" real, "code" real );
SELECT AVG("density_inh_km") FROM "references" WHERE "land_area_hectares"=123.02 AND "code">2356;
2-16796625-1
What is the average land area with a density of 815.48, and a Population larger than 411?
CREATE TABLE "references" ( "urban_area_locality" text, "population" real, "land_area_hectares" real, "density_inh_km" real, "code" real );
SELECT AVG("land_area_hectares") FROM "references" WHERE "density_inh_km"=815.48 AND "population">411;
2-16796625-1
What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"?
CREATE TABLE "doubles_finals_36_18_18" ( "outcome" text, "date" text, "location" text, "surface" text, "partnering" text, "opponent_in_final" text, "score" text );
SELECT "date" FROM "doubles_finals_36_18_18" WHERE "partnering"='francesca lubiani' AND "opponent_in_final"='yuliya beygelzimer / jennifer hopkins';
2-16776506-4
What is Score, when Outcome is "winner", when Partnering is "Nicole Sewell", and when Opponent in Final is "Victoria Davies / Kate Warne-Holland"?
CREATE TABLE "doubles_finals_36_18_18" ( "outcome" text, "date" text, "location" text, "surface" text, "partnering" text, "opponent_in_final" text, "score" text );
SELECT "score" FROM "doubles_finals_36_18_18" WHERE "outcome"='winner' AND "partnering"='nicole sewell' AND "opponent_in_final"='victoria davies / kate warne-holland';
2-16776506-4
What is Tie No., when Away Team is "Manchester United"?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "fourth_round_proper" WHERE "away_team"='manchester united';
2-17438349-4
What is Away Team, when Home Team is "Ipswich Town", and when Date is "6 February 1986"?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "fourth_round_proper" WHERE "home_team"='ipswich town' AND "date"='6 february 1986';
2-17438349-4
What is Date, when Home Team is "Luton Town"?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "fourth_round_proper" WHERE "home_team"='luton town';
2-17438349-4
What is Away Team, when Date is "25 January 1986", and when Tie No is "6"?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "fourth_round_proper" WHERE "date"='25 january 1986' AND "tie_no"='6';
2-17438349-4
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round">6;
2-17075346-20
WHAT IS THE ROUND FOR ZACH BOYCHUK?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT COUNT("round") FROM "draft_picks" WHERE "player"='zach boychuk';
2-17075346-20
WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "nationality"='canada' AND "round"<7 AND "player"='zach boychuk';
2-17075346-20
What was the date of week 8?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "week"=8;
2-16714758-1
What was the result of the September 8, 1985 game?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "date"='september 8, 1985';
2-16714758-1
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "bills_first_downs" real, "record" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "bills_first_downs"<28 AND "opponent"='oakland raiders';
2-16677887-2
Who were the Paraguay scorers on June 15, 2008?
CREATE TABLE "2008_in_paraguayan_football" ( "date" text, "venue" text, "score" text, "comp" text, "paraguay_scorers" text, "report" text );
SELECT "paraguay_scorers" FROM "2008_in_paraguayan_football" WHERE "date"='june 15, 2008';
2-17334827-6
What is the To par of the player with a t14 Finish?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "finish"='t14';
2-16514575-2
What country is player Raymond Floyd from?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "player"='raymond floyd';
2-16514575-2
What is the Year(s) won from the United States as country with a To Par of +4?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "year_s_won" FROM "made_the_cut" WHERE "country"='united states' AND "to_par"='+4';
2-16514575-2
Who is the player from the United States and a place of t2?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "country"='united states' AND "place"='t2';
2-16514667-2
What's the sum of all values in category 1 when category 3 is equal to 300?
CREATE TABLE "acute_toxicity" ( "method_of_administration_citation_needed" text, "category_1" real, "category_2" real, "category_3" text, "category_4" text, "category_5" text );
SELECT SUM("category_1") FROM "acute_toxicity" WHERE "category_3"='300';
2-170567-1
If category 1 is 0.05, what is category 3?
CREATE TABLE "acute_toxicity" ( "method_of_administration_citation_needed" text, "category_1" real, "category_2" real, "category_3" text, "category_4" text, "category_5" text );
SELECT "category_3" FROM "acute_toxicity" WHERE "category_1"=0.05;
2-170567-1
Which player has an average of 38.22?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "wickets" real, "average" real, "best_bowling" text );
SELECT "player" FROM "most_wickets" WHERE "average"=38.22;
2-16570286-3
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "wickets" real, "average" real, "best_bowling" text );
SELECT MAX("matches") FROM "most_wickets" WHERE "wickets">13 AND "team"='australia' AND "best_bowling"='5/36' AND "average"<23.33;
2-16570286-3
What is the total average for the England team when the wickets are less than 18, the best bowling is 4/138, and there are less than 3 matches?
CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "wickets" real, "average" real, "best_bowling" text );
SELECT COUNT("average") FROM "most_wickets" WHERE "team"='england' AND "wickets"<18 AND "best_bowling"='4/138' AND "matches"<3;
2-16570286-3
Which To par has a Money ($) larger than 5,500?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_leaderboard" WHERE "money">'5,500';
2-17277107-3
Which Score has a Place of 4?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "place"='4';
2-17277107-3
Which ethnic group has 5% of people categorizing religion as other?
CREATE TABLE "religious_affiliation_by_geography_and_b" ( "ethnic_group" text, "main_regions" text, "population" real, "percentage_of_total_population" text, "christians" text, "muslims" text, "other" text );
SELECT "ethnic_group" FROM "religious_affiliation_by_geography_and_b" WHERE "other"='5%';
2-16806446-2
Which ehtinc group consists of 93% muslims?
CREATE TABLE "religious_affiliation_by_geography_and_b" ( "ethnic_group" text, "main_regions" text, "population" real, "percentage_of_total_population" text, "christians" text, "muslims" text, "other" text );
SELECT "ethnic_group" FROM "religious_affiliation_by_geography_and_b" WHERE "muslims"='93%';
2-16806446-2
What is the Venue when the score was 1 – 1, and the result was 2 – 2?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "score"='1 – 1' AND "result"='2 – 2';
2-1646697-2
What is the score of the 2006 Fifa World Cup Qualification?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='2006 fifa world cup qualification';
2-1646697-2
What venue was the game held at when the Score was 3 – 0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "score"='3 – 0';
2-1646697-2
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "competition"='friendly match' AND "score"='1 – 1';
2-1646697-2
What is Race 1, when Race 4 is 1?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_1" FROM "tac_v8_supercar_showdown" WHERE "race_4"='1';
2-17001452-3
What is Race 2, when Race 1 is 30?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_2" FROM "tac_v8_supercar_showdown" WHERE "race_1"='30';
2-17001452-3
What is Race 2, when Driver is John Faulkner?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_2" FROM "tac_v8_supercar_showdown" WHERE "driver"='john faulkner';
2-17001452-3
What is Driver, when Race 2 is 14?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "driver" FROM "tac_v8_supercar_showdown" WHERE "race_2"='14';
2-17001452-3
What is Race 4, when Race 1 is 28?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_4" FROM "tac_v8_supercar_showdown" WHERE "race_1"='28';
2-17001452-3
What is Race 2, when Race 4 is 28?
CREATE TABLE "tac_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text );
SELECT "race_2" FROM "tac_v8_supercar_showdown" WHERE "race_4"='28';
2-17001452-3
What is the score of the copa libertadores group 3 competition round on 2 February 1994?
CREATE TABLE "international" ( "season" real, "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "competition_round" text );
SELECT "score" FROM "international" WHERE "competition_round"='copa libertadores group 3' AND "date"='2 february 1994';
2-17299309-6
What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?
CREATE TABLE "international" ( "season" real, "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "competition_round" text );
SELECT "score" FROM "international" WHERE "competition_round"='copa libertadores group 4' AND "away_team"='universitario' AND "date"='14 march 1972';
2-17299309-6
What is the venue of season 1983, which had alianza lima as the home team?
CREATE TABLE "international" ( "season" real, "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "competition_round" text );
SELECT "venue" FROM "international" WHERE "home_team"='alianza lima' AND "season"=1983;
2-17299309-6
What is the score of the match on 3 March 1988 at the estadio nacional?
CREATE TABLE "international" ( "season" real, "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "competition_round" text );
SELECT "score" FROM "international" WHERE "venue"='estadio nacional' AND "date"='3 march 1988';
2-17299309-6
What were the Points on December 13?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );
SELECT MAX("points") FROM "game_log" WHERE "date"='december 13';
2-17040191-6
What is the year established of North Jersey Phoenix?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" text, "established" real );
SELECT "established" FROM "current_women_s_teams" WHERE "institution"='north jersey phoenix';
2-16432543-4
What is the nickname of the school established in 2009?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" text, "established" real );
SELECT "nickname" FROM "current_women_s_teams" WHERE "established"=2009;
2-16432543-4
What is the location of the school established in 2013?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" text, "established" real );
SELECT "location" FROM "current_women_s_teams" WHERE "established"=2013;
2-16432543-4
What is the nickname of Columbia University?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" text, "established" real );
SELECT "nickname" FROM "current_women_s_teams" WHERE "institution"='columbia university';
2-16432543-4
The match against Valentijn Overeem had what method?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='valentijn overeem';
2-17430272-2
Where was the match held when the result was win, and tko as the method?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "method"='tko';
2-17430272-2
What round did the match go to when the event was Bars - Moscow vs St. Petersburg?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='bars - moscow vs st. petersburg';
2-17430272-2
With a method of tko (kick) what is the record of the match?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='tko (kick)';
2-17430272-2
What round did the match go to when tko (cut) was the method?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "method"='tko (cut)';
2-17430272-2
what is the place when the score is 68-72-77-74=291?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "place" FROM "final_round" WHERE "score"='68-72-77-74=291';
2-17290208-2
how many times is the country united states and the score 72-71-73-73=289?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT COUNT("to_par") FROM "final_round" WHERE "country"='united states' AND "score"='72-71-73-73=289';
2-17290208-2
Who is the player when the to par is more than 11 and the score is 71-71-71-79=292?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "player" FROM "final_round" WHERE "to_par">11 AND "score"='71-71-71-79=292';
2-17290208-2
what is the country when the player is bill nary?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "country" FROM "final_round" WHERE "player"='bill nary';
2-17290208-2
what is the score when the country is united states and the player is george fazio?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "score" FROM "final_round" WHERE "country"='united states' AND "player"='george fazio';
2-17290208-2
WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424?
CREATE TABLE "holders" ( "name" text, "heir_of" text, "birth" text, "ceased_to_be_duke_of_girona" text, "death" text );
SELECT "death" FROM "holders" WHERE "birth"='2 august 1424';
2-1702010-1
WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?
CREATE TABLE "holders" ( "name" text, "heir_of" text, "birth" text, "ceased_to_be_duke_of_girona" text, "death" text );
SELECT "ceased_to_be_duke_of_girona" FROM "holders" WHERE "heir_of"='peter iv';
2-1702010-1
WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?
CREATE TABLE "holders" ( "name" text, "heir_of" text, "birth" text, "ceased_to_be_duke_of_girona" text, "death" text );
SELECT "birth" FROM "holders" WHERE "ceased_to_be_duke_of_girona"='21 november 1582';
2-1702010-1
WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389?
CREATE TABLE "holders" ( "name" text, "heir_of" text, "birth" text, "ceased_to_be_duke_of_girona" text, "death" text );
SELECT "birth" FROM "holders" WHERE "death"='october 1389';
2-1702010-1
What is the total number of Laps, when Ride is Aleix Espargaro?
CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT COUNT("laps") FROM "250cc_classification" WHERE "rider"='aleix espargaro';
2-16212384-2
What was the start date for the party of LSAP with a Prime Minister of Jean-Claude Juncker?
CREATE TABLE "list_of_ministers_for_the_police_force" ( "minister" text, "party" text, "start_date" text, "end_date" text, "prime_minister" text );
SELECT "start_date" FROM "list_of_ministers_for_the_police_force" WHERE "party"='lsap' AND "prime_minister"='jean-claude juncker';
2-16620096-1
What is the County of Howard Street Tunnel?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "county" FROM "references" WHERE "name"='howard street tunnel';
2-17266403-1
What is the Location of the Bridge Built in 1869?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "location" FROM "references" WHERE "built"='1869';
2-17266403-1
What is the date Listed of the B & O Bridge in Washington?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "listed" FROM "references" WHERE "county"='washington' AND "name"='b & o bridge';
2-17266403-1
What is the date Listed of the Bridge Built CA.1876?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "listed" FROM "references" WHERE "built"='ca.1876';
2-17266403-1
What is the date Listed of the Bridge Built in 1864?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "listed" FROM "references" WHERE "built"='1864';
2-17266403-1
What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?
CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "artist" text, "televotes" real, "place" real );
SELECT COUNT("draw") FROM "result_of_national_final" WHERE "televotes">1761 AND "song"='ils sont là' AND "place"<2;
2-16792225-1
What is the lowest Place, when Televotes is 15424?
CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "artist" text, "televotes" real, "place" real );
SELECT MIN("place") FROM "result_of_national_final" WHERE "televotes"=15424;
2-16792225-1
What is the average Place, when Song is "Dis Oui"?
CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "artist" text, "televotes" real, "place" real );
SELECT AVG("place") FROM "result_of_national_final" WHERE "song"='dis oui';
2-16792225-1
What club received a DF player for free?
CREATE TABLE "first_team" ( "exit_date" text, "pos" text, "player" text, "to_club" text, "transfer_fee" text );
SELECT "to_club" FROM "first_team" WHERE "transfer_fee"='free' AND "pos"='df';
2-17370522-16
Which player was transferred to Reggina?
CREATE TABLE "first_team" ( "exit_date" text, "pos" text, "player" text, "to_club" text, "transfer_fee" text );
SELECT "player" FROM "first_team" WHERE "to_club"='reggina';
2-17370522-16
What is the exit date of the player transferred to Reggina for free?
CREATE TABLE "first_team" ( "exit_date" text, "pos" text, "player" text, "to_club" text, "transfer_fee" text );
SELECT "exit_date" FROM "first_team" WHERE "transfer_fee"='free' AND "to_club"='reggina';
2-17370522-16
What is the lowest position of pilot mario kiessling from Germany?
CREATE TABLE "overall_results" ( "position" real, "pilot" text, "country" text, "glider" text, "points" real );
SELECT MIN("position") FROM "overall_results" WHERE "country"='germany' AND "pilot"='mario kiessling';
2-17277703-1
What is the average position of pilot petr krejcirik, who has less than 11 points?
CREATE TABLE "overall_results" ( "position" real, "pilot" text, "country" text, "glider" text, "points" real );
SELECT AVG("position") FROM "overall_results" WHERE "points"<11 AND "pilot"='petr krejcirik';
2-17277703-1
What is the career SR with a 1r in 1985?
CREATE TABLE "grand_slam_singles_tournament_timeline" ( "tournament" text, "1980" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "career_sr" text );
SELECT "career_sr" FROM "grand_slam_singles_tournament_timeline" WHERE "1985"='1r';
2-17100310-1
What tournament has a 3r in 1983?
CREATE TABLE "grand_slam_singles_tournament_timeline" ( "tournament" text, "1980" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "career_sr" text );
SELECT "tournament" FROM "grand_slam_singles_tournament_timeline" WHERE "1983"='3r';
2-17100310-1
What is the 1980 value with a 1r in 1984 and a 1r in 1981?
CREATE TABLE "grand_slam_singles_tournament_timeline" ( "tournament" text, "1980" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "career_sr" text );
SELECT "1980" FROM "grand_slam_singles_tournament_timeline" WHERE "1984"='1r' AND "1981"='1r';
2-17100310-1
What is the finish of Australia?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "country"='australia';
2-17231086-1
What is the total with a +4 to par?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "total" FROM "made_the_cut" WHERE "to_par"='+4';
2-17231086-1
What country has a +3 to par?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "to_par"='+3';
2-17231086-1
What was the first year that the artist of every little thing ranked lower than 10?
CREATE TABLE "top_ten_best_selling_albums_recorded_by_" ( "rank" real, "year" real, "title" text, "artist" text, "sales" real );
SELECT MIN("year") FROM "top_ten_best_selling_albums_recorded_by_" WHERE "artist"='every little thing' AND "rank"<10;
2-17243192-1
Which Championship was louise suggs the runner-up by 3 strokes?
CREATE TABLE "wins_13" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT "championship" FROM "wins_13" WHERE "runner_s_up"='louise suggs' AND "margin"='3 strokes';
2-1635463-1
When was the most recent year that kathy whitworth was the runner-up?
CREATE TABLE "wins_13" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text );
SELECT MAX("year") FROM "wins_13" WHERE "runner_s_up"='kathy whitworth';
2-1635463-1