question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What's the original title of the nomination title, "brecha en el silencio"?
CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text );
SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='brecha en el silencio';
2-18123274-1
What year has a nomination title of "sangrador"?
CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "film_title_used_in_nomination"='sangrador';
2-18123274-1
What year has a original title of "el tinte de la fama"?
CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='el tinte de la fama';
2-18123274-1
What's the result for director elia schneider's punto y raya?
CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text );
SELECT "result" FROM "submissions" WHERE "director"='elia schneider' AND "film_title_used_in_nomination"='punto y raya';
2-18123274-1
What is the score points when the total is 20?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "score_points" FROM "qualification" WHERE "total"='20';
2-18351792-4
What is the score points in WC Kerrville, when rank was points of 8?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "score_points" FROM "qualification" WHERE "event"='wc kerrville' AND "rank_points"='8';
2-18351792-4
What is the score points when the total is 16?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "score_points" FROM "qualification" WHERE "total"='16';
2-18351792-4
What is the score points when the rank points is 3?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "score_points" FROM "qualification" WHERE "rank_points"='3';
2-18351792-4
What is the total when the score points show Olympic bronze medalist?
CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text );
SELECT "total" FROM "qualification" WHERE "score_points"='olympic bronze medalist';
2-18351792-4
What Winning constructor has a Circuit of lasarte?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_constructor" FROM "other_grands_prix" WHERE "circuit"='lasarte';
2-18278061-2
What Date has a Winning driver of ugo sivocci?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "other_grands_prix" WHERE "winning_driver"='ugo sivocci';
2-18278061-2
What Report has a Winning driver of mario razzauti?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "report" FROM "other_grands_prix" WHERE "winning_driver"='mario razzauti';
2-18278061-2
What Date has a Circuit of cremona?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "other_grands_prix" WHERE "circuit"='cremona';
2-18278061-2
What Name has a Winning constructor of ansaldo?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "other_grands_prix" WHERE "winning_constructor"='ansaldo';
2-18278061-2
What Winning driver has a Winning constructor of sunbeam?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "other_grands_prix" WHERE "winning_constructor"='sunbeam';
2-18278061-2
What is the average total for 0 bronze?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medals_table" WHERE "bronze"<0;
2-18334562-1
What is the time entry for the track composed by ROZ, with the title "잘해봐 (good luck!!)"?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "time" FROM "track_listing" WHERE "composer_s"='roz' AND "title"='\"잘해봐 (good luck!!)\"';
2-17804206-1
How long is the track "잘해봐 (good luck!!)"?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "time" FROM "track_listing" WHERE "title"='\"잘해봐 (good luck!!)\"';
2-17804206-1
What is the title of the track with lyricist ROZ and arranger Yongmin Lee?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "title" FROM "track_listing" WHERE "lyricist_s"='roz' AND "arranger_s"='yongmin lee';
2-17804206-1
Who was the lyricist for composer ROZ on title "요리왕 (cooking? cooking!)"?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "lyricist_s" FROM "track_listing" WHERE "composer_s"='roz' AND "title"='\"요리왕 (cooking? cooking!)\"';
2-17804206-1
Who was the lyricist for composer Haewon Park?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "lyricist_s" FROM "track_listing" WHERE "composer_s"='haewon park';
2-17804206-1
What are the lengths of the tracks arranged by ROZ?
CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text );
SELECT "time" FROM "track_listing" WHERE "arranger_s"='roz';
2-17804206-1
What host city had a 2nd runner up of woon yeow?
CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text );
SELECT "host_city" FROM "list_of_titleholders_and_runners_up" WHERE "2nd_runner_up"='woon yeow';
2-18150755-1
How many years did caroline lubrez win?
CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text );
SELECT SUM("year") FROM "list_of_titleholders_and_runners_up" WHERE "winner"='caroline lubrez';
2-18150755-1
Who won after 2007 when deyra cimen was the 1st runner up?
CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text );
SELECT "winner" FROM "list_of_titleholders_and_runners_up" WHERE "year">2007 AND "1st_runner_up"='deyra cimen';
2-18150755-1
How many years was assel isabaeva the 2nd runner up?
CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text );
SELECT COUNT("year") FROM "list_of_titleholders_and_runners_up" WHERE "2nd_runner_up"='assel isabaeva';
2-18150755-1
Who was the 2nd runner up in istanbul after 1994 when veronica laskaeva was the 1st runner up?
CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text );
SELECT "2nd_runner_up" FROM "list_of_titleholders_and_runners_up" WHERE "year">1994 AND "host_city"='istanbul' AND "1st_runner_up"='veronica laskaeva';
2-18150755-1
Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT MAX("area_km_2") FROM "parishes" WHERE "official_name"='stanley' AND "population">'1,817';
2-176533-2
How much Area km 2 have a Population of 1,215?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT COUNT("area_km_2") FROM "parishes" WHERE "population"='1,215';
2-176533-2
Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "census_ranking" FROM "parishes" WHERE "population"<879 AND "area_km_2">537.62;
2-176533-2
Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2">753.06 AND "official_name"='stanley';
2-176533-2
Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT MIN("area_km_2") FROM "parishes" WHERE "official_name"='southampton' AND "population">'1,601';
2-176533-2
What is Kirkby Town's lowest lost with more than 83 goals?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MIN("lost") FROM "third_division_final_table" WHERE "team"='kirkby town' AND "goals_for">83;
2-17775406-3
What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MIN("position") FROM "third_division_final_table" WHERE "points_1"='27 2' AND "drawn"<9;
2-17775406-3
What is the goal difference number with a position of 15?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT "goal_difference" FROM "third_division_final_table" WHERE "position"=15;
2-17775406-3
What is Original Album, when English Translation is "With You"?
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "original_album" FROM "disc_1" WHERE "english_translation"='\"with you\"';
2-18079773-1
What is the Original Album, when English Translation is "What Else Will I Hear"?
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "original_album" FROM "disc_1" WHERE "english_translation"='\"what else will i hear\"';
2-18079773-1
What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "english_translation" FROM "disc_1" WHERE "lyricist_s"='giorgos moukidis' AND "original_album"='ena (new edition)';
2-18079773-1
What is Original Album, when Time is "3:39"?
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "original_album" FROM "disc_1" WHERE "time"='3:39';
2-18079773-1
What is Time, when Lyricist(s) is Giorgos Moukidis, and when English Translation is "Nowhere"?
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "time" FROM "disc_1" WHERE "lyricist_s"='giorgos moukidis' AND "english_translation"='\"nowhere\"';
2-18079773-1
What is Time, when Composer(s) is "Kyriakos Papadopoulos"?
CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text );
SELECT "time" FROM "disc_1" WHERE "composer_s"='kyriakos papadopoulos';
2-18079773-1
Who was the visitor on March 27?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "regular_season" WHERE "date"='march 27';
2-18346710-2
What was the score of the game on February 8?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "date"='february 8';
2-18346710-2
What was their record on December 4?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "regular_season" WHERE "date"='december 4';
2-18346710-2
What was the score on February 21 when the home team was the Pittsburgh Penguins?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "home"='pittsburgh penguins' AND "date"='february 21';
2-18346710-2
WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT MIN("money") FROM "final_leaderboard" WHERE "to_par">26;
2-18007033-1
WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "money"=85 AND "player"='clarence hackney';
2-18007033-1
WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT MIN("money") FROM "final_leaderboard" WHERE "score"='74-74-76-74=298';
2-18007033-1
What is the week number for the date of September 14, 1980?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "date"='september 14, 1980';
2-17643202-2
What week was the result l 14–9?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "week" FROM "schedule" WHERE "result"='l 14–9';
2-17643202-2
What is the week number with attendance of 44,132?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "attendance"='44,132';
2-17643202-2
Who was the winner for the circuit Eastern Creek Raceway?
CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text );
SELECT "winner" FROM "race_calendar" WHERE "circuit"='eastern creek raceway';
2-18124534-2
What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?
CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text );
SELECT "city_state" FROM "race_calendar" WHERE "winner"='darren hossack' AND "circuit"='phillip island grand prix circuit';
2-18124534-2
What city was the circuit of mallala motor sport park?
CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text );
SELECT "city_state" FROM "race_calendar" WHERE "circuit"='mallala motor sport park';
2-18124534-2
Which To par has a Place of t1, and a Country of india?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "place"='t1' AND "country"='india';
2-17807292-3
What is Brian Gay's place?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "player"='brian gay';
2-17807292-3
Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "country" FROM "first_round" WHERE "score"<70 AND "place"='t3' AND "player"='andrés romero';
2-17807292-3
What order year has a 30 Length (ft.) and 05.505 model?
CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text );
SELECT "order_year" FROM "fleet_roster" WHERE "length_ft"='30' AND "model"='05.505';
2-1816795-1
What builder has a 2001-02 order year?
CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text );
SELECT "builder" FROM "fleet_roster" WHERE "order_year"='2001-02';
2-1816795-1
What is the order year of obi builder and 05.505 model that is 30 feet long?
CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text );
SELECT "order_year" FROM "fleet_roster" WHERE "builder"='obi' AND "length_ft"='30' AND "model"='05.505';
2-1816795-1
What is the career of player serhiy konovalov, who has less than 1 pct.?
CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text );
SELECT "career" FROM "season_goalscorers" WHERE "pct"<1 AND "player"='serhiy konovalov';
2-18027055-6
What is the career of player andriy husyn?
CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text );
SELECT "career" FROM "season_goalscorers" WHERE "player"='andriy husyn';
2-18027055-6
What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real );
SELECT MIN("year") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "working_horses"='3900.1' AND "cows"<3852.1;
2-17652562-1
What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?
CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real );
SELECT "bulls" FROM "ukrainian_ssr_livestock_thousand_head" WHERE "oxen">113.8 AND "sheep_and_goats">4533.4 AND "cows"<3987 AND "total_horses">5056.5;
2-17652562-1
How many years had fewer than 2089.2 pigs?
CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real );
SELECT COUNT("year") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "pigs"<2089.2;
2-17652562-1
What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?
CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real );
SELECT MIN("total_horses") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "total_cattle"<6274.1 AND "oxen"<156.5 AND "bulls"='40.0' AND "cows"<3377;
2-17652562-1
What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses?
CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real );
SELECT MIN("sheep_and_goats") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "year">1931 AND "cows"<2518 AND "total_horses">2604.8;
2-17652562-1
For the game ending with a record of 31-43-2, what was the decision?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text );
SELECT "decision" FROM "game_log" WHERE "record"='31-43-2';
2-17798269-8
For the game that ended with a record of 28-35-1, what was the decision?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text );
SELECT "decision" FROM "game_log" WHERE "record"='28-35-1';
2-17798269-8
WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "opponent"='phoenix coyotes';
2-17798269-4
WHAT IS THE DECISION FOR NOVEMBER 28?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text );
SELECT "decision" FROM "game_log" WHERE "date"='november 28';
2-17798269-4
what is the mission when the location is rome?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "mission" FROM "resident_heads_of_missions" WHERE "location"='rome';
2-17915983-1
what is the mission when the head of mission is pedro blandino?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "mission" FROM "resident_heads_of_missions" WHERE "head_of_mission"='pedro blandino';
2-17915983-1
what is the location when the type is embassy and the head of mission is josé manuel castillo?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "location" FROM "resident_heads_of_missions" WHERE "type"='embassy' AND "head_of_mission"='josé manuel castillo';
2-17915983-1
what is the location when the type is embassy and the mission is panama?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "location" FROM "resident_heads_of_missions" WHERE "type"='embassy' AND "mission"='panama';
2-17915983-1
what is the mission when the location is brasilia?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "mission" FROM "resident_heads_of_missions" WHERE "location"='brasilia';
2-17915983-1
what is the type when the position is ambassador and the location is rabat?
CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text );
SELECT "type" FROM "resident_heads_of_missions" WHERE "position"='ambassador' AND "location"='rabat';
2-17915983-1
How many wins when the pct, is .848?
CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text );
SELECT "wins" FROM "season_by_season" WHERE "pct"='.848';
2-1806054-1
Which season had 34 losses?
CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text );
SELECT "season" FROM "season_by_season" WHERE "losses"='34';
2-1806054-1
What was the finish in the playoffs season?
CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text );
SELECT "finish" FROM "season_by_season" WHERE "season"='playoffs';
2-1806054-1
What is the number of wins in the playoffs league?
CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text );
SELECT "wins" FROM "season_by_season" WHERE "league"='playoffs';
2-1806054-1
What is the league with 0 losses?
CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text );
SELECT "league" FROM "season_by_season" WHERE "losses"='0';
2-1806054-1
In what place is the player with a score of 72-66-75=213?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='72-66-75=213';
2-18049082-6
From what country is the player with a score of 68-71-76=215?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='68-71-76=215';
2-18049082-6
Which player has a score of 68-69-73=210
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "score"='68-69-73=210';
2-18049082-6
Who has a finish of t66?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "player" FROM "made_the_cut" WHERE "finish"='t66';
2-18130923-1
What is Wayne Grady's total?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT SUM("total") FROM "made_the_cut" WHERE "player"='wayne grady';
2-18130923-1
What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?
CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text );
SELECT "gr_ne" FROM "by_state" WHERE "rett"='0.6%' AND "state"='tyrol';
2-18337810-1
What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%?
CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text );
SELECT "rett" FROM "by_state" WHERE "linke"='0.1%' AND "fritz"='1.3%';
2-18337810-1
What percent did GRÜNE get in the state where FRITZ got 1.3%?
CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text );
SELECT "gr_ne" FROM "by_state" WHERE "fritz"='1.3%';
2-18337810-1
What percent did LINKE get in Tyrol?
CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text );
SELECT "linke" FROM "by_state" WHERE "state"='tyrol';
2-18337810-1
What percent did STARK get in upper austria?
CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text );
SELECT "stark" FROM "by_state" WHERE "state"='upper austria';
2-18337810-1
What's the lowest against on 27/03/1971?
CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT MIN("against") FROM "1971" WHERE "date"='27/03/1971';
2-18178924-2
What venue has an against over 14, an opposing team of scotland, and a status of five nations?
CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1971" WHERE "against">14 AND "opposing_teams"='scotland' AND "status"='five nations';
2-18178924-2
What is the T4 Place Player with a Score of 71-74-66=211?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "place"='t4' AND "score"='71-74-66=211';
2-17807292-5
With a To par of –1, what is Player Henrik Stenson's Score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "to_par"='–1' AND "player"='henrik stenson';
2-17807292-5
What is the To par of the Player with a Score of 73-67-68=208?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "score"='73-67-68=208';
2-17807292-5
WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?
CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text );
SELECT "project_management" FROM "comparison_of_features" WHERE "blogs"='no' AND "xml_forms_management_and_workflow"='no' AND "enterprise_search"='no' AND "social_software"='no';
2-1779657-3
WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text );
SELECT "charting" FROM "comparison_of_features" WHERE "blogs"='no' AND "discussion"='no';
2-1779657-3
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?
CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text );
SELECT "social_software" FROM "comparison_of_features" WHERE "discussion"='no' AND "time_tracking"='no' AND "charting"='no';
2-1779657-3