question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What surface was used when she played with Remi Tezuka?
CREATE TABLE "doubles_18_7_11" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_18_7_11" WHERE "partner"='remi tezuka';
2-14851245-3
What Results has the Record of 28-12?
CREATE TABLE "ncaa_tournament_results" ( "year" real, "record" text, "seed" text, "region" text, "results" text );
SELECT "results" FROM "ncaa_tournament_results" WHERE "record"='28-12';
2-14609295-5
What Results has a Seed #12 and a Year that's smaller than 1996
CREATE TABLE "ncaa_tournament_results" ( "year" real, "record" text, "seed" text, "region" text, "results" text );
SELECT "results" FROM "ncaa_tournament_results" WHERE "seed"='#12' AND "year"<1996;
2-14609295-5
What's the highest Year with the Record of 18-12?
CREATE TABLE "ncaa_tournament_results" ( "year" real, "record" text, "seed" text, "region" text, "results" text );
SELECT MAX("year") FROM "ncaa_tournament_results" WHERE "record"='18-12';
2-14609295-5
What's the highest Year with the Region of Southeast?
CREATE TABLE "ncaa_tournament_results" ( "year" real, "record" text, "seed" text, "region" text, "results" text );
SELECT MAX("year") FROM "ncaa_tournament_results" WHERE "region"='southeast';
2-14609295-5
What Record has a Year that's larger than 2012?
CREATE TABLE "ncaa_tournament_results" ( "year" real, "record" text, "seed" text, "region" text, "results" text );
SELECT "record" FROM "ncaa_tournament_results" WHERE "year">2012;
2-14609295-5
What is the Laker's record when they played against Kansas City Kings?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "opponent"='kansas city kings';
2-13671343-3
Name the pronunciation for 傳
CREATE TABLE "old_chinese" ( "word" text, "pronunciation_a" text, "meaning_a" text, "pronunciation_b" text, "meaning_b" text );
SELECT "pronunciation_a" FROM "old_chinese" WHERE "word"='傳';
2-151830-3
Name the pronunciation for meaning of king
CREATE TABLE "old_chinese" ( "word" text, "pronunciation_a" text, "meaning_a" text, "pronunciation_b" text, "meaning_b" text );
SELECT "pronunciation_a" FROM "old_chinese" WHERE "meaning_a"='king';
2-151830-3
Name the word with pronunciation b of *sɨks
CREATE TABLE "old_chinese" ( "word" text, "pronunciation_a" text, "meaning_a" text, "pronunciation_b" text, "meaning_b" text );
SELECT "word" FROM "old_chinese" WHERE "pronunciation_b"='*sɨks';
2-151830-3
Name the pronunciation for meaning b of border, frontier
CREATE TABLE "old_chinese" ( "word" text, "pronunciation_a" text, "meaning_a" text, "pronunciation_b" text, "meaning_b" text );
SELECT "pronunciation_b" FROM "old_chinese" WHERE "meaning_b"='border, frontier';
2-151830-3
Name the pronunciation b for meaning of grind
CREATE TABLE "old_chinese" ( "word" text, "pronunciation_a" text, "meaning_a" text, "pronunciation_b" text, "meaning_b" text );
SELECT "pronunciation_b" FROM "old_chinese" WHERE "meaning_a"='grind';
2-151830-3
What is the 2008 value that was 2nd in 2006?
CREATE TABLE "grand_prix_de_futsal" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2013" text, "total" real );
SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2006"='2nd';
2-13802189-7
What is the average total that is 1st in 2010?
CREATE TABLE "grand_prix_de_futsal" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2013" text, "total" real );
SELECT AVG("total") FROM "grand_prix_de_futsal" WHERE "2010"='1st';
2-13802189-7
What is the 2008 value with a 7 in 2010?
CREATE TABLE "grand_prix_de_futsal" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2013" text, "total" real );
SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2010"='7';
2-13802189-7
What is the Location for the woodburn dragstrip?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "name" text, "location" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text );
SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='woodburn dragstrip';
2-14688681-2
What State has an Opened (closing date if defunct) that shows 1960?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "name" text, "location" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text );
SELECT "state" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "opened_closing_date_if_defunct"='1960';
2-14688681-2
What is the Location for the route 66 raceway?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "name" text, "location" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text );
SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='route 66 raceway';
2-14688681-2
What is the Location for the newington international airport?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "name" text, "location" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text );
SELECT "location" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "name"='newington international airport';
2-14688681-2
What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "name" text, "location" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text );
SELECT "name" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "opened_closing_date_if_defunct"='1995' AND "length"='miles (m)' AND "state"='illinois';
2-14688681-2
What is the Score with an Opponent that is amanda brown brenda remilton?
CREATE TABLE "doubles_7_4_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "score" FROM "doubles_7_4_3" WHERE "opponents"='amanda brown brenda remilton';
2-15061083-3
What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?
CREATE TABLE "doubles_7_4_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "score" FROM "doubles_7_4_3" WHERE "outcome"='runner-up' AND "partner"='elizabeth little';
2-15061083-3
Who was the pitcher on June 8, 1961?
CREATE TABLE "four_consecutive_home_runs_by_a_team_in_" ( "team" text, "date" text, "opponent" text, "pitcher" text, "inn" text, "venue" text );
SELECT "pitcher" FROM "four_consecutive_home_runs_by_a_team_in_" WHERE "date"='june 8, 1961';
2-13669614-14
What team had the record asscoiated with the 9th inning?
CREATE TABLE "four_consecutive_home_runs_by_a_team_in_" ( "team" text, "date" text, "opponent" text, "pitcher" text, "inn" text, "venue" text );
SELECT "team" FROM "four_consecutive_home_runs_by_a_team_in_" WHERE "inn"='9th';
2-13669614-14
In what venue did the Boston Red Sox play in?
CREATE TABLE "four_consecutive_home_runs_by_a_team_in_" ( "team" text, "date" text, "opponent" text, "pitcher" text, "inn" text, "venue" text );
SELECT "venue" FROM "four_consecutive_home_runs_by_a_team_in_" WHERE "team"='boston red sox';
2-13669614-14
Who was the pitcher with the record recorded in the 7th inning?
CREATE TABLE "four_consecutive_home_runs_by_a_team_in_" ( "team" text, "date" text, "opponent" text, "pitcher" text, "inn" text, "venue" text );
SELECT "pitcher" FROM "four_consecutive_home_runs_by_a_team_in_" WHERE "inn"='7th';
2-13669614-14
When David E. Finley was the incumbent what was the result?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "result" FROM "south_carolina" WHERE "incumbent"='david e. finley';
2-1365841-5
When someone was first elected in 1898 what was the result?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "result" FROM "south_carolina" WHERE "first_elected"='1898';
2-1365841-5
What party has an incumbent of Stanyarne Wilson?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "party" FROM "south_carolina" WHERE "incumbent"='stanyarne wilson';
2-1365841-5
When the incumbent was William Elliott, what was the result?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "result" FROM "south_carolina" WHERE "incumbent"='william elliott';
2-1365841-5
What is the 8:00 that has da vinci's inquest as the 9:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "8_00" FROM "wednesday" WHERE "9_00"='da vinci''s inquest';
2-15184672-4
What 10:00 has party of five as 9:30?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "10_00" FROM "wednesday" WHERE "9_30"='party of five';
2-15184672-4
What 9:00 has entertainment tonight as 7:00?
CREATE TABLE "wednesday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "9_00" FROM "wednesday" WHERE "7_00"='entertainment tonight';
2-15184672-4
Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "opponents" FROM "results" WHERE "score"='2-1' AND "competition"='pl' AND "date"='december 22, 2006';
2-14998347-1
Date of april 3, 2007 had what score?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "score" FROM "results" WHERE "date"='april 3, 2007';
2-14998347-1
Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "date" FROM "results" WHERE "competition"='pl' AND "score"='1-1' AND "opponents"='kelantan';
2-14998347-1
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "competition" FROM "results" WHERE "venue"='klfa stadium, cheras' AND "score"='3-3';
2-14998347-1
Opponents of police, and a Venue of selayang municipal council stadium had what date?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "date" FROM "results" WHERE "opponents"='police' AND "venue"='selayang municipal council stadium';
2-14998347-1
Competition of fa cup rd 1 had what venue?
CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text );
SELECT "venue" FROM "results" WHERE "competition"='fa cup rd 1';
2-14998347-1
Who was the visiting team on January 27?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "game_log" WHERE "date"='january 27';
2-14458999-2
What is the home team that played on February 25?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "game_log" WHERE "date"='february 25';
2-14458999-2
Name the date with chicago visiting
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "november" WHERE "visitor"='chicago';
2-14208941-3
Name the home with chicago visiting
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "november" WHERE "visitor"='chicago';
2-14208941-3
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "apps" real, "avge" real, "career" text );
SELECT MAX("apps") FROM "top_goalscorers" WHERE "goals">63 AND "avge"=0.45;
2-15278857-2
What is the total avge of John Hall, who has less than 63 goals?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "apps" real, "avge" real, "career" text );
SELECT COUNT("avge") FROM "top_goalscorers" WHERE "name"='john hall' AND "goals"<63;
2-15278857-2
When did Kim Thompson win with 278 score?
CREATE TABLE "winners" ( "year" real, "champion" text, "venue" text, "location" text, "score" text );
SELECT SUM("year") FROM "winners" WHERE "score"='278' AND "champion"='kim thompson';
2-13649804-1
Where did Steve Gotsche win?
CREATE TABLE "winners" ( "year" real, "champion" text, "venue" text, "location" text, "score" text );
SELECT "venue" FROM "winners" WHERE "champion"='steve gotsche';
2-13649804-1
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
CREATE TABLE "completed_buildings" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "built" real );
SELECT SUM("rank") FROM "completed_buildings" WHERE "built"<2007 AND "building"='howard johnson hotel bucharest';
2-14374150-1
What is the Height (m/ft) for bucharest Built in 2009, and a Rank of 13?
CREATE TABLE "completed_buildings" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "built" real );
SELECT "height_m_ft" FROM "completed_buildings" WHERE "city"='bucharest' AND "built"=2009 AND "rank"=13;
2-14374150-1
What city is the bucharest tower center (btc) located in?
CREATE TABLE "completed_buildings" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "built" real );
SELECT "city" FROM "completed_buildings" WHERE "building"='bucharest tower center (btc)';
2-14374150-1
What is the name of the building in Bucharest with a rank of less than 12?
CREATE TABLE "completed_buildings" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "built" real );
SELECT "building" FROM "completed_buildings" WHERE "city"='bucharest' AND "rank"<12;
2-14374150-1
What city was the building built in 1988?
CREATE TABLE "completed_buildings" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "built" real );
SELECT "city" FROM "completed_buildings" WHERE "built"=1988;
2-14374150-1
What is the score of the Boston Bruins game from April 11?
CREATE TABLE "boston_bruins_4_hartford_whalers_2" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "boston_bruins_4_hartford_whalers_2" WHERE "home"='boston bruins' AND "date"='april 11';
2-14057447-7
What is the record of the Hartford Whalers home team with the April 13 game date?
CREATE TABLE "boston_bruins_4_hartford_whalers_2" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "boston_bruins_4_hartford_whalers_2" WHERE "home"='hartford whalers' AND "date"='april 13';
2-14057447-7
What is the score of the visiting Hartford Whalers game from April 11?
CREATE TABLE "boston_bruins_4_hartford_whalers_2" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "boston_bruins_4_hartford_whalers_2" WHERE "visitor"='hartford whalers' AND "date"='april 11';
2-14057447-7
Which Passengers have Carriers of air canada?
CREATE TABLE "busiest_international_routes_from_portla" ( "rank" real, "airport" text, "metropolitan_area" text, "passengers" real, "carriers" text );
SELECT "passengers" FROM "busiest_international_routes_from_portla" WHERE "carriers"='air canada';
2-152498-3
Which Metropolitan area has Passengers larger than 130,903, and a Rank of 4?
CREATE TABLE "busiest_international_routes_from_portla" ( "rank" real, "airport" text, "metropolitan_area" text, "passengers" real, "carriers" text );
SELECT "metropolitan_area" FROM "busiest_international_routes_from_portla" WHERE "passengers">'130,903' AND "rank"=4;
2-152498-3
Which Metropolitan area has an Airport of toronto pearson international airport?
CREATE TABLE "busiest_international_routes_from_portla" ( "rank" real, "airport" text, "metropolitan_area" text, "passengers" real, "carriers" text );
SELECT "metropolitan_area" FROM "busiest_international_routes_from_portla" WHERE "airport"='toronto pearson international airport';
2-152498-3
What is the link for january 31 – february 3, 2011?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "liberal" real, "green" real );
SELECT "link" FROM "opinion_polls" WHERE "date_of_polling"='january 31 – february 3, 2011';
2-14276269-1
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "liberal" real, "green" real );
SELECT "date_of_polling" FROM "opinion_polls" WHERE "polling_firm"='forum research' AND "green"=7 AND "liberal"<30;
2-14276269-1
Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "liberal" real, "green" real );
SELECT "polling_firm" FROM "opinion_polls" WHERE "link"='html' AND "liberal"<36 AND "green"<8 AND "date_of_polling"='september 26–28, 2011';
2-14276269-1
What june 21–22, 2011 polling has green smaller than 13?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_of_polling" text, "link" text, "liberal" real, "green" real );
SELECT "polling_firm" FROM "opinion_polls" WHERE "green"<13 AND "date_of_polling"='june 21–22, 2011';
2-14276269-1
What is listed under the Years as tallest, that has Floors of 31?
CREATE TABLE "timeline_of_tallest_skyscrapers_in_afric" ( "name" text, "city" text, "years_as_tallest" text, "metres" real, "feet" real, "floors" real );
SELECT "years_as_tallest" FROM "timeline_of_tallest_skyscrapers_in_afric" WHERE "floors"=31;
2-14669089-2
What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8?
CREATE TABLE "timeline_of_tallest_skyscrapers_in_afric" ( "name" text, "city" text, "years_as_tallest" text, "metres" real, "feet" real, "floors" real );
SELECT MIN("floors") FROM "timeline_of_tallest_skyscrapers_in_afric" WHERE "feet">262 AND "name"='standard bank building' AND "metres">138.8;
2-14669089-2
What is the sum of Metres wiht a Feet that's smaller than 196?
CREATE TABLE "timeline_of_tallest_skyscrapers_in_afric" ( "name" text, "city" text, "years_as_tallest" text, "metres" real, "feet" real, "floors" real );
SELECT COUNT("metres") FROM "timeline_of_tallest_skyscrapers_in_afric" WHERE "feet"<196;
2-14669089-2
What is the lowest week number that there was a game on October 23, 1977 with less than 68,977 people attending?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );
SELECT MIN("week") FROM "schedule" WHERE "attendance"<'68,977' AND "date"='october 23, 1977';
2-14945608-1
What is the highest weight of the position scrum half?
CREATE TABLE "2008_2009_squad" ( "player" text, "position" text, "height_m" real, "weight_kg" real, "years" text );
SELECT MAX("weight_kg") FROM "2008_2009_squad" WHERE "position"='scrum half';
2-14844461-2
What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?
CREATE TABLE "engines" ( "engine" text, "type" text, "displacement" text, "power" text, "torque" text );
SELECT "power" FROM "engines" WHERE "torque"='n·m (lb·ft) at1,500rpm';
2-1415652-1
Which torque value is associated with the 1.3 16V multijet engine?
CREATE TABLE "engines" ( "engine" text, "type" text, "displacement" text, "power" text, "torque" text );
SELECT "torque" FROM "engines" WHERE "engine"='1.3 16v multijet';
2-1415652-1
What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("against") FROM "torneio_rio_s_o_paulo" WHERE "drawn"<2 AND "points"=10 AND "lost"<4;
2-15220905-2
What is the average position with an against value less than 11?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("position") FROM "torneio_rio_s_o_paulo" WHERE "against"<11;
2-15220905-2
What is the largest value for lost with a position greater than 10?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("lost") FROM "torneio_rio_s_o_paulo" WHERE "position">10;
2-15220905-2
What is the total of all against values for the Corinthians with less than 3 lost?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("against") FROM "torneio_rio_s_o_paulo" WHERE "team"='corinthians' AND "lost"<3;
2-15220905-2
What is the lowest against value with less than 9 points and more than 6 lost?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("against") FROM "torneio_rio_s_o_paulo" WHERE "points"<9 AND "lost">6;
2-15220905-2
What tournament located is mississippi was nov 5
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );
SELECT "tournament" FROM "tournament_results" WHERE "date"='nov 5' AND "location"='mississippi';
2-14583266-1
what is the 1st prize for may 21
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real );
SELECT SUM("1st_prize") FROM "tournament_results" WHERE "date"='may 21';
2-14583266-1
Who is the director of the game with HIroshi Sato as the producer on the GBA platform?
CREATE TABLE "group_no_4" ( "title" text, "year" real, "platform_s" text, "director" text, "producer" text );
SELECT "director" FROM "group_no_4" WHERE "producer"='hiroshi sato' AND "platform_s"='gba';
2-13951061-4
Who is the director of Last Window: The Secret of Cape West 3?
CREATE TABLE "group_no_4" ( "title" text, "year" real, "platform_s" text, "director" text, "producer" text );
SELECT "director" FROM "group_no_4" WHERE "title"='last window: the secret of cape west 3';
2-13951061-4
What is the platform of the 2010 game with Shuichiro Nishiya as director?
CREATE TABLE "group_no_4" ( "title" text, "year" real, "platform_s" text, "director" text, "producer" text );
SELECT "platform_s" FROM "group_no_4" WHERE "year"=2010 AND "director"='shuichiro nishiya';
2-13951061-4
Which Opponent is on October of 29?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "opponent" FROM "regular_season" WHERE "october"=29;
2-14305802-2
WHich October has a Record of 1–0–0?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("october") FROM "regular_season" WHERE "record"='1–0–0';
2-14305802-2
Which Opponent has a October larger than 20 with a Score of 2–2?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "opponent" FROM "regular_season" WHERE "october">20 AND "score"='2–2';
2-14305802-2
What year was the margin of victory 9 strokes and the purse under $2,750,000?
CREATE TABLE "lpga_major_championship" ( "year" real, "dates" text, "venue" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "purse" real, "winner_s_share" real );
SELECT AVG("year") FROM "lpga_major_championship" WHERE "margin_of_victory"='9 strokes' AND "purse"<'2,750,000';
2-1520559-1
What year was the score 269?
CREATE TABLE "lpga_major_championship" ( "year" real, "dates" text, "venue" text, "champion" text, "country" text, "score" real, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "purse" real, "winner_s_share" real );
SELECT COUNT("year") FROM "lpga_major_championship" WHERE "score"=269;
2-1520559-1
What is the average number of points for a team in the 250cc class with fewer than 0 wins?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "wins"<0;
2-14890412-3
What is the smallest number of points for a 1981 team?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "year"=1981;
2-14890412-3
What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "points"<32 AND "class"='350cc' AND "rank"='8th';
2-14890412-3
What was the rank of the 1983 team in the 250cc class?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "rank" FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "year"=1983;
2-14890412-3
Which district has joseph t. johnson as an incumbent?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "district" FROM "south_carolina" WHERE "incumbent"='joseph t. johnson';
2-1365780-7
What was the result for james o'h. patterson when first elected in 1904?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "result" FROM "south_carolina" WHERE "first_elected"='1904' AND "incumbent"='james o''h. patterson';
2-1365780-7
Which party was re-elected in south carolina 5 district?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "party" FROM "south_carolina" WHERE "result"='re-elected' AND "district"='south carolina 5';
2-1365780-7
Which party was joseph t. johnson in?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "party" FROM "south_carolina" WHERE "incumbent"='joseph t. johnson';
2-1365780-7
Which party was first elected in 1898?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "party" FROM "south_carolina" WHERE "first_elected"='1898';
2-1365780-7
Which district won when first elected in 1900?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "district" FROM "south_carolina" WHERE "first_elected"='1900';
2-1365780-7
How many wins did the player who earned $6,607,562 have?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT SUM("wins") FROM "leaders" WHERE "earnings"='6,607,562';
2-14611644-4
What is the average earnings made by Greg Norman?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT AVG("earnings") FROM "leaders" WHERE "player"='greg norman';
2-14611644-4
what city has a game of friendly and an opponent of tunisia?
CREATE TABLE "1973" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "city" FROM "1973" WHERE "type_of_game"='friendly' AND "opponent"='tunisia';
2-14305653-51
what are the results of the opponent of spain?
CREATE TABLE "1973" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "results" FROM "1973" WHERE "opponent"='spain';
2-14305653-51
what results are dated december 19?
CREATE TABLE "1973" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "results" FROM "1973" WHERE "date"='december 19';
2-14305653-51
what city has the results of 4:2?
CREATE TABLE "1973" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );
SELECT "city" FROM "1973" WHERE "results"='4:2';
2-14305653-51