question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When was the home team score 17.5 (107)?
CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "date" FROM "group_c" WHERE "home_team_score"='17.5 (107)';
2-16388398-3
What was the away team when the home was st kilda?
CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "away_team" FROM "group_c" WHERE "home_team"='st kilda';
2-16388398-3
Who was the away team on sunday, 13 february?
CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "away_team" FROM "group_c" WHERE "date"='sunday, 13 february';
2-16388398-3
Which Week has a Date of december 3, 2001?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "date"='december 3, 2001';
2-16780221-2
Which Week has a Opponent of tennessee titans?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "opponent"='tennessee titans';
2-16780221-2
What are the years won with a total of 282?
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 "total"=282;
2-17245540-2
What was the date when the against was 3?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "date" FROM "fa_cup" WHERE "against"=3;
2-17242260-3
What was the Against when the Opposing Team was sheffield wednesday?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "against" FROM "fa_cup" WHERE "opposing_team"='sheffield wednesday';
2-17242260-3
Which round was played in the H Venue on 29 january 1949?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "round" FROM "fa_cup" WHERE "venue"='h' AND "date"='29 january 1949';
2-17242260-3
What is the total number of Against that were played in the H Venue on 26 february 1949?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT COUNT("against") FROM "fa_cup" WHERE "venue"='h' AND "date"='26 february 1949';
2-17242260-3
What was the round for 29 January 1949, when the against was 1?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "round" FROM "fa_cup" WHERE "against"=1 AND "date"='29 january 1949';
2-17242260-3
What is the Result when the Attendance is 1,634?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "result" FROM "february" WHERE "attendance"='1,634';
2-17120964-9
On what date was Stuart Potts the Man of the Match?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "date" FROM "february" WHERE "man_of_the_match"='stuart potts';
2-17120964-9
Who was the Opponent when Terry Miles was the Man of the Match?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "opponent" FROM "february" WHERE "man_of_the_match"='terry miles';
2-17120964-9
What was the Result of the game dated 21st?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "result" FROM "february" WHERE "date"='21st';
2-17120964-9
Which Venue is listed under the Date of 21st?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "venue" FROM "february" WHERE "date"='21st';
2-17120964-9
What was the Result on the Date of 25th?
CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text );
SELECT "result" FROM "february" WHERE "date"='25th';
2-17120964-9
What was the rank when the opponent was Wisconsin (played at Wisconsin)?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "rank_num" FROM "schedule" WHERE "opponentnum"='at wisconsin';
2-17432115-1
What was the result when they played at Michigan State?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "opponentnum"='at michigan state';
2-17432115-1
Who was the opponent when the result was w24-7?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "opponentnum" FROM "schedule" WHERE "result"='w24-7';
2-17432115-1
How many were in attendance when they played vs. 12 Stanford?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "opponentnum"='vs. 12 stanford';
2-17432115-1
Which Big (>500ha) has a Micro (10ha) larger than 940, and a Department of potosí, and a Total smaller than 16,240?
CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real );
SELECT MAX("big_500ha") FROM "irrigation_infrastructure" WHERE "micro_10ha">940 AND "department"='potosí' AND "total"<'16,240';
2-17118006-1
Which Small (100ha) has a Big (>500ha) of 5,710, and a Total smaller than 36,351?
CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real );
SELECT MIN("small_100ha") FROM "irrigation_infrastructure" WHERE "big_500ha"='5,710' AND "total"<'36,351';
2-17118006-1
How much Micro (10ha) has a Big (>500ha) larger than 63,454, and a Medium (500ha) larger than 440, and a Small (100ha) smaller than 21,047?
CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real );
SELECT COUNT("micro_10ha") FROM "irrigation_infrastructure" WHERE "big_500ha">'63,454' AND "medium_500ha">440 AND "small_100ha"<'21,047';
2-17118006-1
Which Small (100ha) is the highest one that has a Big (>500ha) larger than 9,021?
CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real );
SELECT MAX("small_100ha") FROM "irrigation_infrastructure" WHERE "big_500ha">'9,021';
2-17118006-1
Which Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0?
CREATE TABLE "defence" ( "player" text, "sacks" real, "ints" real, "int_yds" real, "int_lg" real, "int_td" real, "fumb_r" real, "fumb_yds" real, "fumb_lg" real, "fumb_td" real, "fumb_f" real );
SELECT MAX("fumb_yds") FROM "defence" WHERE "fumb_f"=0 AND "int_lg"<0;
2-16912000-9
Which Fumb TD has an Int TD of 1, and a Fumb F. smaller than 1?
CREATE TABLE "defence" ( "player" text, "sacks" real, "ints" real, "int_yds" real, "int_lg" real, "int_td" real, "fumb_r" real, "fumb_yds" real, "fumb_lg" real, "fumb_td" real, "fumb_f" real );
SELECT MIN("fumb_td") FROM "defence" WHERE "int_td"=1 AND "fumb_f"<1;
2-16912000-9
What is the name of the person whose country is West Indies.
CREATE TABLE "oldest_living_test_cricketers" ( "name" text, "country" text, "date_of_birth" text, "debut" text, "last_match" text, "age_as_of_1_february_2014" text );
SELECT "name" FROM "oldest_living_test_cricketers" WHERE "country"='west indies';
2-16388723-1
What is the Pananmal Punjabi's date of birth?
CREATE TABLE "oldest_living_test_cricketers" ( "name" text, "country" text, "date_of_birth" text, "debut" text, "last_match" text, "age_as_of_1_february_2014" text );
SELECT "date_of_birth" FROM "oldest_living_test_cricketers" WHERE "name"='pananmal punjabi';
2-16388723-1
Who was the winner after 2011?
CREATE TABLE "past_wac_women_s_basketball_tournament_r" ( "year" real, "winner" text, "score" text, "opponent" text, "location" text );
SELECT "winner" FROM "past_wac_women_s_basketball_tournament_r" WHERE "year">2011;
2-16296909-1
What was the lowest year for TCU?
CREATE TABLE "past_wac_women_s_basketball_tournament_r" ( "year" real, "winner" text, "score" text, "opponent" text, "location" text );
SELECT MIN("year") FROM "past_wac_women_s_basketball_tournament_r" WHERE "winner"='tcu';
2-16296909-1
What is the score of player bill rogers?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "player"='bill rogers';
2-17231331-6
What is the country with a t7 place and a 69-68-72=209 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "place"='t7' AND "score"='69-68-72=209';
2-17231331-6
What is the place of player jim thorpe?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "player"='jim thorpe';
2-17231331-6
What is the place of player chi-chi rodríguez?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "player"='chi-chi rodríguez';
2-17231331-6
Who is the player with a 69-68-71=208 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "score"='69-68-71=208';
2-17231331-6
What state had a title of duke for the royal house of ji?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "state" FROM "vassal_states" WHERE "title"='duke' AND "royal_house"='ji';
2-17337639-10
What state had the name of wu for the royal house of ji?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "state" FROM "vassal_states" WHERE "royal_house"='ji' AND "name"='wu';
2-17337639-10
What was the name listed for the royal house of jiang and a title of duke?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "name" FROM "vassal_states" WHERE "title"='duke' AND "royal_house"='jiang';
2-17337639-10
What was the name when the state was wey?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "name" FROM "vassal_states" WHERE "state"='wey';
2-17337639-10
What was the title for the state of qin?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "title" FROM "vassal_states" WHERE "state"='qin';
2-17337639-10
What was the state that had the vassal name of li?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text );
SELECT "state" FROM "vassal_states" WHERE "name"='li';
2-17337639-10
Where was the match held that lasted 3:24?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "time"='3:24';
2-17620634-4
The match against Mark Hunt had what result?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='mark hunt';
2-17620634-4
Who was the match against at the PRIDE 31 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='pride 31';
2-17620634-4
The match that went 1 round, and had a method of submission (rear-naked choke) had what record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "method"='submission (rear-naked choke)';
2-17620634-4
Who is the player with a t7 place?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_round" WHERE "place"='t7';
2-17245540-7
What is the lowest amount of money player jim colbert has?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MIN("money") FROM "final_round" WHERE "player"='jim colbert';
2-17245540-7
What is the average Enrollment of Dickinson College?
CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT AVG("enrollment") FROM "american_division" WHERE "institution"='dickinson college';
2-16432543-1
Which institution has a nickname of Blue Hens?
CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "institution" FROM "american_division" WHERE "nickname"='blue hens';
2-16432543-1
What is the nickname of the college established in 1773?
CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "nickname" FROM "american_division" WHERE "established"=1773;
2-16432543-1
What was the time of round 2 against Taylor Mccorriston?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"='2' AND "opponent"='taylor mccorriston';
2-16349594-2
Who had the high assists against San Antonio?
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 "team"='san antonio';
2-17355628-10
What was the number of the game against Charlotte?
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 SUM("game") FROM "game_log" WHERE "team"='charlotte';
2-17355628-10
Which Money has a Score of 70-68-73-68=279?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MIN("money") FROM "final_round" WHERE "score"='70-68-73-68=279';
2-17231086-6
Which Score has a To par of +1, and a Player of masashi ozaki?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "to_par"='+1' AND "player"='masashi ozaki';
2-17231086-6
Which money has a Country of united states, and a Place of t6?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_round" WHERE "country"='united states' AND "place"='t6';
2-17231086-6
What is the 2004 value for the 2009 Grand slam tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2004" FROM "singles_performance_timeline" WHERE "2009"='grand slam tournaments';
2-16472507-3
What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2008"='a' AND "2005"='q1' AND "2004"='1r';
2-16472507-3
What is the 2005 value for the 2010 grand slam tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2005" FROM "singles_performance_timeline" WHERE "2010"='grand slam tournaments';
2-16472507-3
What is the 2003 value for the 2008 grand slam tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2003" FROM "singles_performance_timeline" WHERE "2008"='grand slam tournaments';
2-16472507-3
What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2005" FROM "singles_performance_timeline" WHERE "2011"='q2' AND "2012"='q1' AND "2003"='1r';
2-16472507-3
What is the 2009 value for the 2003 grand slam tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2009" FROM "singles_performance_timeline" WHERE "2003"='grand slam tournaments';
2-16472507-3
What was the high amount of assists before game 60?
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 "game"<60;
2-17288869-9
What date was match 5?
CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text );
SELECT "date" FROM "afc_cup" WHERE "match"=5;
2-17540458-5
What was the game score on april 2, 2008?
CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text );
SELECT "score" FROM "afc_cup" WHERE "date"='april 2, 2008';
2-17540458-5
What is the average match when the singapore armed forces played away against perak fa (malaysia)?
CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text );
SELECT AVG("match") FROM "afc_cup" WHERE "home_away"='away' AND "opponent_team"='perak fa (malaysia)';
2-17540458-5
What is the ICAO for Seewoosagur Ramgoolam airport?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "references" WHERE "airport"='seewoosagur ramgoolam airport';
2-1621742-2
What is the IATA for San Francisco airport?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "references" WHERE "airport"='san francisco airport';
2-1621742-2
Which city has an ICAO of Oejn?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "city" FROM "references" WHERE "icao"='oejn';
2-1621742-2
What is the IATA for Gatwick airport?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "references" WHERE "airport"='gatwick airport';
2-1621742-2
What is the ICAO in France with an IATA of Ory?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "references" WHERE "country"='france' AND "iata"='ory';
2-1621742-2
Which Location Attendance has a Game larger than 67, and a Team of @ charlotte?
CREATE TABLE "regular_season" ( "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 "regular_season" WHERE "game">67 AND "team"='@ charlotte';
2-17323092-8
Which High rebounds have High points of chris bosh (18)?
CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='chris bosh (18)';
2-17323092-8
Which High rebounds have High points of chris bosh (34)?
CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='chris bosh (34)';
2-17323092-8
What are Utah's high points?
CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "regular_season" WHERE "team"='utah';
2-17323092-8
What is Rinnal's title?
CREATE TABLE "list_of_state_leaders_in_the_20th_centur" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "title" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "name"='rinnal';
2-17606888-8
What title was used in 1911 bc?
CREATE TABLE "list_of_state_leaders_in_the_20th_centur" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "title" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "from"='1911 bc';
2-17606888-8
Which player from United States is in place of t6?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "country"='united states' AND "place"='t6';
2-16457250-5
Phil Mickelson has what To par?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "player"='phil mickelson';
2-16457250-5
What high assists have a game greater than 46?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "game">46;
2-17355408-6
What are the high points that have 42 as the game?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "game"=42;
2-17355408-6
What record has 46 as the game?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"=46;
2-17355408-6
WHAT IS THE PLACE WITH A SCORE OF 67-70=137?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='67-70=137';
2-17129548-4
WHAT PLAYER HAS A SCORE OF 66-73=139?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "score"='66-73=139';
2-17129548-4
WHAT PLACE WAS A SCORE 67-70=137?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='67-70=137';
2-17129548-4
WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "place"='t7' AND "player"='ian woosnam';
2-17129548-4
WHAT COUNTRY HAS A SCORE OF 68-70=138?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "score"='68-70=138';
2-17129548-4
What was the earliest week when the New Orleans Saints were the opponents?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT MIN("week") FROM "schedule" WHERE "opponent"='new orleans saints';
2-16409445-1
What was the name of the opponent that having a TV time of Bye?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "tv_time"='bye';
2-16409445-1
What is the Parameter that has the third phase of 0.50 m?
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "parameter" FROM "specifications" WHERE "3rd_stage"='0.50 m';
2-16537783-2
What is the second stage that has the third phase of 20kn?
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "2nd_stage" FROM "specifications" WHERE "3rd_stage"='20kn';
2-16537783-2
What is the third stage that has the first phase of 5,443kg?
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "3rd_stage" FROM "specifications" WHERE "1st_stage"='5,443kg';
2-16537783-2
What is the Parameter that has the third phase of 20kn?
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "parameter" FROM "specifications" WHERE "3rd_stage"='20kn';
2-16537783-2
What year did the Grizzlies play for the UNLV team?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "a" WHERE "school_club_team"='unlv';
2-16494599-1
What nationality is the forward/center position?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "nationality" FROM "a" WHERE "position"='forward/center';
2-16494599-1
What team is from the United States and plays a guard position for the Grizzlies in 2012?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "school_club_team" FROM "a" WHERE "nationality"='united states' AND "position"='guard' AND "years_for_grizzlies"='2012';
2-16494599-1
What position is the player from the United States play for the Grizzlies from 2000-2001?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "a" WHERE "nationality"='united states' AND "years_for_grizzlies"='2000-2001';
2-16494599-1
What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medal_table" WHERE "gold">0 AND "rank"='4' AND "total">4;
2-17025228-3
What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "gold"<1 AND "silver">0 AND "rank"='14' AND "nation"='afghanistan';
2-17025228-3