question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the number of date for stephen curry , dorell wright (27)
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 COUNT("date") FROM "game_log" WHERE "high_points"='Stephen Curry , Dorell Wright (27)';
1-27755784-11
Name the high rebounds for 77 game
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_rebounds" FROM "game_log" WHERE "game"=77;
1-27755784-11
What was the record after the game on November 10?
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 "record" FROM "game_log" WHERE "date"='November 10';
1-27755784-6
What is the score when the hight points is Monta Ellis (29)?
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 "score" FROM "game_log" WHERE "high_points"='Monta Ellis (29)';
1-27755784-8
How many teams have hight points listed as David Lee (31)?
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 COUNT("team") FROM "game_log" WHERE "high_points"='David Lee (31)';
1-27755784-8
What is the record when the high points is listed as Stephen Curry (32)?
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 "record" FROM "game_log" WHERE "high_points"='Stephen Curry (32)';
1-27755784-8
What is the record when the date is January 7?
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 "record" FROM "game_log" WHERE "date"='January 7';
1-27755784-8
What is the date when the team is listed as New Orleans?
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 "date" FROM "game_log" WHERE "team"='New Orleans';
1-27755784-8
What was the team where Darren Collison (7) scored high assists?
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 "team" FROM "game_log" WHERE "high_assists"='Darren Collison (7)';
1-27756164-11
When did the Roy Hibbert (27) did the high points?
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 "date" FROM "game_log" WHERE "high_points"='Roy Hibbert (27)';
1-27756164-2
In how many different games did Roy Hibbert (16) did the most high rebounds?
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 COUNT("game") FROM "game_log" WHERE "high_rebounds"='Roy Hibbert (16)';
1-27756164-2
What was the score of the game in which Danny Granger (30) did the high points?
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 "score" FROM "game_log" WHERE "high_points"='Danny Granger (30)';
1-27756164-2
Who scored the most points when the Bucks played against Houston?
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_points" FROM "game_log" WHERE "team"='Houston';
1-27756014-6
What date was game number 22 on?
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 "date" FROM "game_log" WHERE "game"=22;
1-27756014-6
How many people scored the most points during the game on December 10?
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 COUNT("high_points") FROM "game_log" WHERE "date"='December 10';
1-27756014-6
When the team is chicago what is the location attendence?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "team"='Chicago';
1-27756164-8
What is the score when the team is Orlando?
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 COUNT("score") FROM "game_log" WHERE "team"='Orlando';
1-27756164-8
What was the score in the game on March 26?
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 "score" FROM "game_log" WHERE "date"='March 26';
1-27756572-10
What was the record when the Clippers played Philadelphia?
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 "record" FROM "game_log" WHERE "team"='Philadelphia';
1-27756572-10
What location and attendance were there for game 5?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "game"=5;
1-27756474-2
Which game did rudy gay (12) have the highest points?
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 "game" FROM "game_log" WHERE "high_points"='Rudy Gay (12)';
1-27756474-2
How many high assists where there for the team of caja laboral?
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 COUNT("high_assists") FROM "game_log" WHERE "team"='Caja Laboral';
1-27756474-2
Which game did marc gasol (10) have the high rebounds?
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 "game" FROM "game_log" WHERE "high_rebounds"='Marc Gasol (10)';
1-27756474-2
Who had the high assists on october 6?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "date"='October 6';
1-27756474-2
Name the total number of high assists for fedexforum 11,283
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 COUNT("high_assists") FROM "game_log" WHERE "location_attendance"='FedExForum 11,283';
1-27756474-6
Name the most game for us airways center 16,470
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 MIN("game") FROM "game_log" WHERE "location_attendance"='US Airways Center 16,470';
1-27756474-6
Who and what were the high points player for the game against Detroit?
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_points" FROM "game_log" WHERE "team"='Detroit';
1-27756572-6
How many times did the Centurions play the Rhein Fire?
CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT COUNT("game_site") FROM "table1_27764201_2" WHERE "opponent"='Rhein Fire';
1-27764201-2
Where did the Centurions play the Hamburg Sea Devils?
CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "game_site" FROM "table1_27764201_2" WHERE "opponent"='Hamburg Sea Devils';
1-27764201-2
What time was the kickoff against the Frankfurt Galaxy?
CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT "kickoff" FROM "table1_27764201_2" WHERE "opponent"='Frankfurt Galaxy';
1-27764201-2
How many total catches did the player with no. 46 have?
CREATE TABLE "notes" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT COUNT("catches") FROM "notes" WHERE "no"=46;
1-27770426-1
How did the manager who was replaced by Jakob Michelsen depart?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "replaced_by"='Jakob Michelsen';
1-27782699-3
What was the AB team's position in table?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "position_in_table" FROM "managerial_changes" WHERE "team"='AB';
1-27782699-3
On what date did Kim Fogh replace the previous manager?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "replaced_by"='Kim Fogh';
1-27782699-3
What was the vacancy date for Thomas Thomasberg?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Thomas Thomasberg';
1-27782699-3
Which manager was replaced by Thomas Thomasberg?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='Thomas Thomasberg';
1-27782699-3
How many total dismissals did the player for Guyana have?
CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT MAX("total_dismissals") FROM "table1_27771406_1" WHERE "club"='Guyana';
1-27771406-1
The player for what club had 2 tests?
CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT "club" FROM "table1_27771406_1" WHERE "tests"=2;
1-27771406-1
What is the most amount of stumpings any player had?
CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT MAX("stumpings") FROM "table1_27771406_1";
1-27771406-1
What club did Cyril Christiani play for?
CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT "club" FROM "table1_27771406_1" WHERE "player"='Cyril Christiani';
1-27771406-1
How many catches did Clifford McWatt have?
CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real );
SELECT MIN("catches") FROM "table1_27771406_1" WHERE "player"='Clifford McWatt';
1-27771406-1
Name the points for top tens being 24 and ownder david pearson
CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text );
SELECT "points_margin" FROM "by_season" WHERE "top_tens"=24 AND "owner"='David Pearson';
1-27786562-1
Name the starts for bobby labonte
CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text );
SELECT "starts" FROM "by_season" WHERE "driver"='Bobby Labonte';
1-27786562-1
Name the poles for season 2006
CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text );
SELECT "poles" FROM "by_season" WHERE "season"=2006;
1-27786562-1
What was the production code of the episode no. 55 in the series?
CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_27776266_1" WHERE "no_in_series"=55;
1-27776266-1
What was the production code of the episode with an audience of 14.79 million in the US?
CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_27776266_1" WHERE "u_s_viewers_million"='14.79';
1-27776266-1
Who directed the episode with an audience of 14.11 million?
CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_27776266_1" WHERE "u_s_viewers_million"='14.11';
1-27776266-1
What was the title of the episode with a production code of 3x6404?
CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "title" FROM "table1_27776266_1" WHERE "production_code"='3X6404';
1-27776266-1
Which school players have a number of 255
CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_ten" WHERE "pick"=255;
1-2781227-10
what educational institute does wes swinson attend
CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_ten" WHERE "player"='Wes Swinson';
1-2781227-10
which part on the team does rick schuhwerk play
CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_ten" WHERE "player"='Rick Schuhwerk';
1-2781227-10
For college/junior/club team is brandon wheat kings (whl) mention all the player name
CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_four" WHERE "college_junior_club_team"='Brandon Wheat Kings (WHL)';
1-2781227-4
For player is jamal mayers mention the minimum pick
CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT MIN("pick") FROM "round_four" WHERE "player"='Jamal Mayers';
1-2781227-4
For player is john jakopin mention the total number of position
CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("position") FROM "round_four" WHERE "player"='John Jakopin';
1-2781227-4
For nhl team is san jose sharks mention all the college/junior/club team
CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_four" WHERE "nhl_team"='San Jose Sharks';
1-2781227-4
For player is adam wiesel mention all the college/junior/club team
CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_four" WHERE "player"='Adam Wiesel';
1-2781227-4
How many values are displayed under pick for Vlastimil Kroupa?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("pick") FROM "round_two" WHERE "player"='Vlastimil Kroupa';
1-2781227-2
How many positions does Janne Niinimaa play?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("position") FROM "round_two" WHERE "player"='Janne Niinimaa';
1-2781227-2
How many teams does Lee Sorochan play for?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("college_junior_club_team") FROM "round_two" WHERE "player"='Lee Sorochan';
1-2781227-2
What player belongs to the Chicago Blackhawks?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_two" WHERE "nhl_team"='Chicago Blackhawks';
1-2781227-2
How many teams does Maxim Bets play for?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("nhl_team") FROM "round_two" WHERE "player"='Maxim Bets';
1-2781227-2
What was the minimum pick by the Florida Panthers?
CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT MIN("pick") FROM "round_eleven" WHERE "nhl_team"='Florida Panthers';
1-2781227-11
What NHL team picked Ryan Meade for the draft?
CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_seven" WHERE "player"='Ryan Meade';
1-2781227-7
What college team did Ryan Golden come from?
CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_seven" WHERE "player"='Ryan Golden';
1-2781227-7
How many different nationalities is pick number 179?
CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("nationality") FROM "round_seven" WHERE "pick"=179;
1-2781227-7
What college team did the pick for Pittsburgh Penguins come from?
CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_seven" WHERE "nhl_team"='Pittsburgh Penguins';
1-2781227-7
What NHL team picked Tom White?
CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_seven" WHERE "player"='Tom White';
1-2781227-7
How many weeks in the top 10 was spent by a song performed by Peter Kay?
CREATE TABLE "2009_peaks" ( "entry_date_a" text, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_in_top_10" real );
SELECT MAX("weeks_in_top_10") FROM "2009_peaks" WHERE "artist"='Peter Kay';
1-27813010-2
How long has the longest song spent in the top 10?
CREATE TABLE "2009_peaks" ( "entry_date_a" text, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_in_top_10" real );
SELECT MAX("weeks_in_top_10") FROM "2009_peaks";
1-27813010-2
What college/junior/club team did dmitri gorenko play for?
CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_nine" WHERE "player"='Dmitri Gorenko';
1-2781227-9
What position does krylja sovetov (russia) play?
CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_nine" WHERE "college_junior_club_team"='Krylja Sovetov (Russia)';
1-2781227-9
What position(s) does barrie moore play?
CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_nine" WHERE "player"='Barrie Moore';
1-2781227-9
How many pac-12 sports are shown for california polytechnic state university?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT COUNT("pac_12_sports") FROM "affiliate_members" WHERE "institution"='California Polytechnic State University';
1-27816698-2
When was the institution in boise, idaho founded?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT "founded" FROM "affiliate_members" WHERE "location"='Boise, Idaho';
1-27816698-2
Which conference did boise state university play at?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT "current_conference" FROM "affiliate_members" WHERE "institution"='Boise State University';
1-27816698-2
When was the Titans founded?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT MAX("founded") FROM "affiliate_members" WHERE "nickname"='Titans';
1-27816698-2
Which institution was founded in 1932?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT "institution" FROM "affiliate_members" WHERE "founded"=1932;
1-27816698-2
Which institution was located in bakersfield, california?
CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text );
SELECT "institution" FROM "affiliate_members" WHERE "location"='Bakersfield, California';
1-27816698-2
Name the least games played for 6 points
CREATE TABLE "player_statistics" ( "shirt_number" real, "player_name" text, "games_played" real, "total_points" real, "2_points" real, "3_points" real, "free_throw" real );
SELECT MIN("games_played") FROM "player_statistics" WHERE "total_points"=6;
1-27816332-2
who is the manufacturer is no.50?
CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "no" real, "manufacturer" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text );
SELECT "manufacturer" FROM "by_season" WHERE "no"=50;
1-27821519-1
Which episodes did Katie Palmer write?
CREATE TABLE "table1_27823058_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "title" FROM "table1_27823058_1" WHERE "written_by"='Katie Palmer';
1-27823058-1
What's the highest series number ?
CREATE TABLE "table1_27823058_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT MAX("series_num") FROM "table1_27823058_1";
1-27823058-1
when changsha 長沙 is the commandery what is the commandery capital?
CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real );
SELECT "commandery_capital" FROM "territories_of_eastern_wu" WHERE "commandery"='Changsha 長沙';
1-278229-1
When yidu 宜都 is the commandery what is the lowest number of countries?
CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real );
SELECT MIN("no_of_counties") FROM "territories_of_eastern_wu" WHERE "commandery"='Yidu 宜都';
1-278229-1
When nanhai 南海 is the commandery what is the commandery capital?
CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real );
SELECT "commandery_capital" FROM "territories_of_eastern_wu" WHERE "commandery"='Nanhai 南海';
1-278229-1
When zhang'an county 章安縣 is the commandery capital what is the province?
CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real );
SELECT "province" FROM "territories_of_eastern_wu" WHERE "commandery_capital"='Zhang''an County 章安縣';
1-278229-1
When gaoliang 高涼 is the commandery what is the commandery capital?
CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real );
SELECT "commandery_capital" FROM "territories_of_eastern_wu" WHERE "commandery"='Gaoliang 高涼';
1-278229-1
What is the title of episode number 9-10?
CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_27832075_2" WHERE "episode_num"='9-10';
1-27832075-2
How many million U.S. viewers wtched episode 69 of the series?
CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_27832075_2" WHERE "series_num"=69;
1-27832075-2
Who directed episode number 23 in the season?
CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "directed_by" FROM "table1_27832075_2" WHERE "episode_num"='23';
1-27832075-2
What is the name of episode number 12 of the season?
CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_27832075_2" WHERE "episode_num"='12';
1-27832075-2
What are all the Riders whose best-conditioned horse is Basia?
CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text );
SELECT "rider_names" FROM "world_championship_winners" WHERE "best_conditioned_horse"='Basia';
1-27833186-1
What was the distance (in miles) of the championship were the winning horse was Koona?
CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text );
SELECT "distance_miles" FROM "world_championship_winners" WHERE "horse_name"='Koona';
1-27833186-1
Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?
CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text );
SELECT "rider_names" FROM "world_championship_winners" WHERE "location"='Euer Valley, CA' AND "horse_name"='Magic Sirocco';
1-27833186-1
How many different riders are there that won riding Omr Tsunami?
CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text );
SELECT COUNT("rider_names") FROM "world_championship_winners" WHERE "horse_name"='OMR Tsunami';
1-27833186-1
What was the total distance (in miles) of the championship where the best conditioned horse was Freedom?
CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text );
SELECT "distance_miles" FROM "world_championship_winners" WHERE "best_conditioned_horse"='Freedom';
1-27833186-1
Who directed the episoede titled "sex, losers, and videotape"?
CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "directed_by" FROM "table1_27833469_1" WHERE "title"='\"Sex, Losers, and Videotape\"';
1-27833469-1
How many series numbers are there when there were 15.8 u.s. viewers (millions)?
CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT COUNT("series_num") FROM "table1_27833469_1" WHERE "u_s_viewers_millions"='15.8';
1-27833469-1
What is the title of the episode number 11 of the season?
CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_27833469_1" WHERE "season_num"='11';
1-27833469-1
What is the air date of the episode titled "boardroom and a parked place"?
CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_27833469_1" WHERE "title"='\"Boardroom and a Parked Place\"';
1-27833469-1