output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "school" FROM "table1_11677100_16" WHERE "player"='Ethan Bennett';
## Task Generate a SQL query to answer the following question: `What school did the player Ethan Bennett attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_16" ( "player" text, "position" text, "school" text, "hometown" tex...
SELECT "mlb_draft" FROM "table1_11677100_16" WHERE "position"='Pitcher/Infielder';
## Task Generate a SQL query to answer the following question: `What MLB Drafts have the position pitcher/infielder? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_16" ( "player" text, "position" text, "school" text, "hometown...
SELECT "position" FROM "table1_11677100_16" WHERE "hometown"='Las Vegas, NV';
## Task Generate a SQL query to answer the following question: `What positions were drafted from Las Vegas, NV?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_16" ( "player" text, "position" text, "school" text, "hometown" text...
SELECT "hometown" FROM "table1_11677100_17" WHERE "player"='Bubba Starling';
## Task Generate a SQL query to answer the following question: `What is the hometown of Bubba Starling?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_17" ( "player" text, "position" text, "school" text, "hometown" text, "mlb...
SELECT COUNT("school") FROM "table1_11677100_17" WHERE "player"='Bubba Starling';
## Task Generate a SQL query to answer the following question: `How many schools did Bubba Starling attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_17" ( "player" text, "position" text, "school" text, "hometown" text, ...
SELECT "hometown" FROM "table1_11677100_5" WHERE "school"='Athens Drive High School';
## Task Generate a SQL query to answer the following question: `What was the hometown of the player who attended Athens Drive High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_5" ( "player" text, "position" text, "schoo...
SELECT "school" FROM "table1_11677100_5" WHERE "player"='Pat Osborn';
## Task Generate a SQL query to answer the following question: `What school did Pat Osborn attend? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_5" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draf...
SELECT "hometown" FROM "table1_11677100_5" WHERE "player"='Josh Hamilton';
## Task Generate a SQL query to answer the following question: `What is Josh Hamilton's hometown?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_5" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft"...
SELECT "school" FROM "1995_team" WHERE "player"='Kerry Wood';
## Task Generate a SQL query to answer the following question: `What school does Kerry Wood play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1995_team" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" tex...
SELECT "position" FROM "1995_team" WHERE "hometown"='Germantown, TN';
## Task Generate a SQL query to answer the following question: `What's the position of the player from Germantown, TN?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1995_team" ( "player" text, "position" text, "school" text, "hometown" text, ...
SELECT "player" FROM "1995_team" WHERE "school"='Torrey Pines High School';
## Task Generate a SQL query to answer the following question: `What player goes to Torrey Pines High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1995_team" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_dr...
SELECT "position" FROM "1995_team" WHERE "player"='Kerry Wood';
## Task Generate a SQL query to answer the following question: `What position does Kerry Wood play in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1995_team" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" te...
SELECT "mlb_draft" FROM "1995_team" WHERE "player"='Shion Newton';
## Task Generate a SQL query to answer the following question: `What's Shion Newton's MLB draft result?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1995_team" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" t...
SELECT "hometown" FROM "table1_11677100_18" WHERE "position"='Pitcher' AND "school"='Saint Joseph Regional High School';
## Task Generate a SQL query to answer the following question: `What is the hometown of the pitcher who's school was Saint Joseph Regional High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_18" ( "player" text, "position" ...
SELECT "school" FROM "table1_11677100_18" WHERE "hometown"='Lake Charles, LA';
## Task Generate a SQL query to answer the following question: ` What is the school of the player from Lake Charles, LA?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_18" ( "player" text, "position" text, "school" text, "homet...
SELECT "mlb_draft" FROM "table1_11677100_18" WHERE "school"='Carl Albert High School';
## Task Generate a SQL query to answer the following question: `Where was mlb draft for the player who's school was Carl Albert High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_18" ( "player" text, "position" text, "sc...
SELECT "school" FROM "table1_11677100_18" WHERE "hometown"='Montvale, NJ';
## Task Generate a SQL query to answer the following question: `What school did the player attend who's hometown was Montvale, NJ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_18" ( "player" text, "position" text, "school" text...
SELECT "school" FROM "table1_11677100_18" WHERE "hometown"='Irvine, CA';
## Task Generate a SQL query to answer the following question: `What is the school for the player who's hometown was Irvine, CA?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_18" ( "player" text, "position" text, "school" text, ...
SELECT COUNT("position") FROM "table1_11677100_4" WHERE "school"='Spring High School';
## Task Generate a SQL query to answer the following question: `How many positions did the player from Spring High School play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_4" ( "player" text, "position" text, "school" text, ...
SELECT "player" FROM "table1_11677100_4" WHERE "hometown"='Spring, TX';
## Task Generate a SQL query to answer the following question: `What player is from Spring, Tx?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_4" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" t...
SELECT "hometown" FROM "table1_11677100_4" WHERE "school"='Brighton High School';
## Task Generate a SQL query to answer the following question: `What town is Brighton High School in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_4" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_dr...
SELECT "school" FROM "table1_11677100_7" WHERE "position"='Catcher';
## Task Generate a SQL query to answer the following question: `The catcher went to what school? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_7" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft"...
SELECT COUNT("school") FROM "table1_11677100_7" WHERE "player"='Mike Jones';
## Task Generate a SQL query to answer the following question: `How many schools did Mike Jones attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_7" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_...
SELECT "position" FROM "2012_team" WHERE "school"='Dooly County High School';
## Task Generate a SQL query to answer the following question: `What is the postion of the player listed from Dooly County High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, ...
SELECT "player" FROM "2012_team" WHERE "school"='Vista Murrieta High School';
## Task Generate a SQL query to answer the following question: `What player represented Vista Murrieta High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "...
SELECT "position" FROM "2012_team" WHERE "school"='Butler High School';
## Task Generate a SQL query to answer the following question: `What was the position of the player from Butler High School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" ...
SELECT "position" FROM "2012_team" WHERE "hometown"='Paramus, New Jersey';
## Task Generate a SQL query to answer the following question: `What position belonged to the player from Paramus, New Jersey?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown...
SELECT "hometown" FROM "2012_team" WHERE "school"='Muscle Shoals High School';
## Task Generate a SQL query to answer the following question: `What town is Muscle Shoals High School located in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "c...
SELECT "mlb_draft" FROM "table1_11677100_8" WHERE "hometown"='Apopka, FL';
## Task Generate a SQL query to answer the following question: `What pick was the player from Apopka, FL in the 2002 MLB draft` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11677100_8" ( "player" text, "position" text, "school" text, "...
SELECT "school" FROM "2010_team" WHERE "college"='South Carolina';
## Task Generate a SQL query to answer the following question: `WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, ...
SELECT "hometown" FROM "2010_team" WHERE "player"='Tony Steward';
## Task Generate a SQL query to answer the following question: `WHAT IS THE HOMETOWN OF TONY STEWARD?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ...
SELECT "position" FROM "2010_team" WHERE "school"='South Pointe High School';
## Task Generate a SQL query to answer the following question: `WHAT POSITION DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "homet...
SELECT COUNT("player") FROM "2010_team" WHERE "college"='Oregon';
## Task Generate a SQL query to answer the following question: `HOW MANY PLAYERS PLAY FOR OREGON?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); #...
SELECT "school" FROM "2010_team" WHERE "player"='Ha''Sean Clinton-Dix';
## Task Generate a SQL query to answer the following question: `WHAT SCHOOL DOES HA'SEAN CLINTON-DIX BELONG TO?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "coll...
SELECT COUNT("player") FROM "2012_team" WHERE "hometown"='Delray Beach, Florida';
## Task Generate a SQL query to answer the following question: `How many players are from Delray Beach, Florida?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "col...
SELECT COUNT("school") FROM "2012_team" WHERE "player"='Derrick Green';
## Task Generate a SQL query to answer the following question: `How many schools did Derrick Green attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" ...
SELECT "hometown" FROM "2012_team" WHERE "school"='American Heritage School';
## Task Generate a SQL query to answer the following question: `What is the hometown of the player who attended American Heritage School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, ...
SELECT COUNT("position") FROM "2012_team" WHERE "player"='Greg Bryant';
## Task Generate a SQL query to answer the following question: `How many positions does Greg Bryant play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" t...
SELECT COUNT("school") FROM "2012_team" WHERE "player"='Derrick Green';
## Task Generate a SQL query to answer the following question: `How many schools did Derrick Green attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" ...
SELECT "college" FROM "2011_team" WHERE "player"='Rushel Shell';
## Task Generate a SQL query to answer the following question: `Which college has the player Rushel Shell?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" ...
SELECT "player" FROM "2011_team" WHERE "college"='Stanford';
## Task Generate a SQL query to answer the following question: `Which players attend Stanford college?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text...
SELECT "school" FROM "2011_team" WHERE "hometown"='Aledo, Texas';
## Task Generate a SQL query to answer the following question: `Which school is in the hometown of Aledo, Texas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "col...
SELECT "school" FROM "2011_team" WHERE "player"='Zach Banner';
## Task Generate a SQL query to answer the following question: `Zach Banner is a player at which school?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" te...
SELECT COUNT("position") FROM "2011_team" WHERE "hometown"='Olney, Maryland';
## Task Generate a SQL query to answer the following question: `What position is associated with the hometown of Olney, Maryland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "homet...
SELECT "college" FROM "2011_team" WHERE "player"='John Theus';
## Task Generate a SQL query to answer the following question: `Which college does the player John Theus associate with?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text...
SELECT "player" FROM "2010_team" WHERE "hometown"='Abilene, Texas';
## Task Generate a SQL query to answer the following question: `What player's hometown is Abilene, Texas? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" ...
SELECT COUNT("player") FROM "2010_team" WHERE "hometown"='Indianapolis, Indiana';
## Task Generate a SQL query to answer the following question: `How many players are from Indianapolis, Indiana? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "co...
SELECT "position" FROM "2010_team" WHERE "player"='Charone Peake';
## Task Generate a SQL query to answer the following question: `What position is Charone Peake? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); ##...
SELECT "school" FROM "2010_team" WHERE "position"='Running back' AND "college"='Nebraska';
## Task Generate a SQL query to answer the following question: `Running back Aaron Green went to Nebraska and what high school? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometo...
SELECT "player" FROM "2010_team" WHERE "hometown"='Roebuck, South Carolina';
## Task Generate a SQL query to answer the following question: `What player's hometown is Roebuck, South Carolina? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_team" ( "player" text, "position" text, "school" text, "hometown" text, "...
SELECT "position" FROM "2012_team" WHERE "hometown"='Concord, California';
## Task Generate a SQL query to answer the following question: `what are all the positions of players who's hometown is concord, california` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text...
SELECT "player" FROM "2012_team" WHERE "school"='St. Thomas Aquinas High School';
## Task Generate a SQL query to answer the following question: `who are all the players for st. thomas aquinas high school` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" te...
SELECT "player" FROM "2012_team" WHERE "school"='Mission Viejo High School';
## Task Generate a SQL query to answer the following question: `who are all the players for mission viejo high school` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, ...
SELECT "hometown" FROM "2012_team" WHERE "school"='De La Salle High School';
## Task Generate a SQL query to answer the following question: `What is the hometown of the players for de la salle high school` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometow...
SELECT "player" FROM "2012_team" WHERE "school"='Armwood High School';
## Task Generate a SQL query to answer the following question: `who are all the players for armwood high school` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "coll...
SELECT "school" FROM "2012_team" WHERE "hometown"='Placer, California';
## Task Generate a SQL query to answer the following question: `What is the hometown of the players for placer, california` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" te...
SELECT "nba_draft" FROM "boys_basketball_players_and_coaches_of_t" WHERE "hometown"='Virginia Beach, VA';
## Task Generate a SQL query to answer the following question: `What is the nba draft for the player from the hometown of virginia beach, va?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_basketball_players_and_coaches_of_t" ( "year" text, "...
SELECT "college" FROM "boys_basketball_players_and_coaches_of_t" WHERE "school"='Camden High School';
## Task Generate a SQL query to answer the following question: `what is the college for the player who's school is camden high school?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_basketball_players_and_coaches_of_t" ( "year" text, "player"...
SELECT "year" FROM "boys_basketball_players_and_coaches_of_t" WHERE "player"='Derrick Favors';
## Task Generate a SQL query to answer the following question: `what is the year for player is derrick favors?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_basketball_players_and_coaches_of_t" ( "year" text, "player" text, "school" text, ...
SELECT COUNT("nba_draft") FROM "boys_basketball_players_and_coaches_of_t" WHERE "player"='Felipe Lopez';
## Task Generate a SQL query to answer the following question: `how many times was the player felipe lopez?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_basketball_players_and_coaches_of_t" ( "year" text, "player" text, "school" text, "...
SELECT "college" FROM "boys_basketball_players_and_coaches_of_t" WHERE "player"='Damon Bailey';
## Task Generate a SQL query to answer the following question: `what is the college for the player damon bailey?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_basketball_players_and_coaches_of_t" ( "year" text, "player" text, "school" text...
SELECT "player" FROM "boys_basketball_players_and_coaches_of_t" WHERE "college"='Direct to NBA' AND "school"='St. Vincent – St. Mary High School' AND "year"='2001-2002';
## Task Generate a SQL query to answer the following question: `what is the player who's college is listed as direct to nba, school is st. vincent – st. mary high school and the year is 2001-2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "boys_ba...
SELECT "hometown" FROM "2012_team" WHERE "college"='Louisiana State';
## Task Generate a SQL query to answer the following question: `Which hometown has the college Louisiana State?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "coll...
SELECT "college" FROM "2012_team" WHERE "hometown"='Crete, Illinois';
## Task Generate a SQL query to answer the following question: `Which college is present in the hometown of Crete, Illinois?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" ...
SELECT "school" FROM "2012_team" WHERE "player"='Thomas Tyner';
## Task Generate a SQL query to answer the following question: `Which school has the player Thomas Tyner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" t...
SELECT "school" FROM "2012_team" WHERE "hometown"='Centerville, Ohio';
## Task Generate a SQL query to answer the following question: `Which school is located in the hometown of Centerville, Ohio?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown"...
SELECT "player" FROM "2012_team" WHERE "college"='Ohio State';
## Task Generate a SQL query to answer the following question: `What player is from Ohio State college?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" tex...
SELECT "school" FROM "2012_team" WHERE "player"='Thomas Tyner';
## Task Generate a SQL query to answer the following question: `Which school is home to player Thomas Tyner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college...
SELECT "hometown" FROM "2011_team" WHERE "player"='Scott Starr';
## Task Generate a SQL query to answer the following question: `Where is scott starr from?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); ### SQL ...
SELECT "hometown" FROM "2011_team" WHERE "school"='Lincoln High School';
## Task Generate a SQL query to answer the following question: `Where is lincoln high school located?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ...
SELECT "hometown" FROM "2011_team" WHERE "player"='Shaq Thompson';
## Task Generate a SQL query to answer the following question: `Where is Shaq Thompson from?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); ### SQ...
SELECT "school" FROM "2011_team" WHERE "player"='Darius Hamilton';
## Task Generate a SQL query to answer the following question: `Where did Darius Hamilton go?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); ### S...
SELECT "hometown" FROM "2011_team" WHERE "school"='Norco High School';
## Task Generate a SQL query to answer the following question: `Where is Norco HIgh School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); ### SQL...
SELECT "height" FROM "2011_boys_team" WHERE "college"='Ohio State';
## Task Generate a SQL query to answer the following question: `What is the height of the player that went to ohio state?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_boys_team" ( "player" text, "height" text, "school" text, "hometown" ...
SELECT COUNT("nba_draft") FROM "2011_boys_team" WHERE "school"='East Side High School';
## Task Generate a SQL query to answer the following question: `Name the total number of nba drafts that went to east side high school` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_boys_team" ( "player" text, "height" text, "school" text, ...
SELECT "nba_draft" FROM "2011_boys_team" WHERE "college"='Kentucky';
## Task Generate a SQL query to answer the following question: `Name the numbers of the nba draft where the player went to kentucky` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_boys_team" ( "player" text, "height" text, "school" text, "...
SELECT "ratings" FROM "cbs_era_1979_2000" WHERE "year"=1997;
## Task Generate a SQL query to answer the following question: `What was the rating in 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit...
SELECT "lap_by_lap" FROM "cbs_era_1979_2000" WHERE "viewers"='13.4 million';
## Task Generate a SQL query to answer the following question: `Who narrated the lap-by-lap to a 13.4 million audience?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_...
SELECT "b_tzow" FROM "subdivisions" WHERE "vehlefanz"='1.800';
## Task Generate a SQL query to answer the following question: `What was the number for Bötzow where Vehlefanz is 1.800?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlefanz" te...
SELECT "vehlefanz" FROM "subdivisions" WHERE "b_renklau"='1.288';
## Task Generate a SQL query to answer the following question: `What was the number for Vehlefanz where Bärenklau is 1.288?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlefan...
SELECT "schwante" FROM "subdivisions" WHERE "b_renklau"='1.270';
## Task Generate a SQL query to answer the following question: `What was the number for Schwante where Bärenklau is 1.270?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlefanz"...
SELECT COUNT("year") FROM "subdivisions" WHERE "neu_vehlefanz"=365;
## Task Generate a SQL query to answer the following question: `How many years where Neu-Vehlefanz had a number of 365?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlefanz" tex...
SELECT COUNT("neu_vehlefanz") FROM "subdivisions" WHERE "schwante"='2.043';
## Task Generate a SQL query to answer the following question: `How many times did Neu-Vehlefanz occur when Schwante had 2.043?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlef...
SELECT COUNT("year") FROM "subdivisions" WHERE "eichst_dt"=939;
## Task Generate a SQL query to answer the following question: `How many years where Eichstädt had a number of 939?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "subdivisions" ( "year" real, "b_tzow" text, "schwante" text, "vehlefanz" text, ...
SELECT COUNT("replaced_by") FROM "managerial_changes" WHERE "date_of_appointment"='10 December 2007' AND "manner_of_departure"='Quit';
## Task Generate a SQL query to answer the following question: `How many have been replaced where the appointment date is 10 December 2007 and the manner of departure is quit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "tea...
SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='10 December 2007' AND "manner_of_departure"='Quit';
## Task Generate a SQL query to answer the following question: `What is the date of vacancy for 10 december 2007 when quit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_dep...
SELECT COUNT("manner_of_departure") FROM "managerial_changes" WHERE "outgoing_manager"='Peter Voets';
## Task Generate a SQL query to answer the following question: `How many manners of departure did peter voets have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" ...
SELECT "link_abilities" FROM "table1_11703336_1" WHERE "predecessors"='TI-85';
## Task Generate a SQL query to answer the following question: `What is the link abilities when the predecessors is ti-85?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11703336_1" ( "calculator" text, "cpu" text, "ram" text, "display_...
SELECT "cpu" FROM "table1_11703336_1" WHERE "year_released"='1993';
## Task Generate a SQL query to answer the following question: `What is the cpu of the calculator released in 1993?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11703336_1" ( "calculator" text, "cpu" text, "ram" text, "display_size" t...
SELECT "display_size" FROM "table1_11703336_1" WHERE "year_released"='1997';
## Task Generate a SQL query to answer the following question: `what is the display size for the calculator released in 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11703336_1" ( "calculator" text, "cpu" text, "ram" text, "displ...
SELECT "display_size" FROM "table1_11703336_1" WHERE "calculator"='TI-82';
## Task Generate a SQL query to answer the following question: `what is the display size for the calculator ti-82?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11703336_1" ( "calculator" text, "cpu" text, "ram" text, "display_size" te...
SELECT "cpu" FROM "table1_11703336_1" WHERE "ram"='28 KB of RAM' AND "display_size"='128×64 pixels 21×8 characters';
## Task Generate a SQL query to answer the following question: `what is the cpu for the calculator with 28 kb of ram and display size 128×64 pixels 21×8 characters?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11703336_1" ( "calculator" tex...
SELECT COUNT("series_num") FROM "table1_11715748_2" WHERE "title"='\"Interior Loft\"';
## Task Generate a SQL query to answer the following question: `How many series has the title "interior loft"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11715748_2" ( "series_num" real, "season_num" real, "title" text, "director_s"...
SELECT "director_s" FROM "table1_11715748_2" WHERE "season_num"=13;
## Task Generate a SQL query to answer the following question: `Who was the dirctor for season 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11715748_2" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "wr...
SELECT "director_s" FROM "table1_11715748_2" WHERE "title"='\"Funhouse\"';
## Task Generate a SQL query to answer the following question: `Who was the director for the title, "funhouse"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11715748_2" ( "series_num" real, "season_num" real, "title" text, "director_s...
SELECT "title" FROM "table1_11694832_1" WHERE "production_code"='3T5764';
## Task Generate a SQL query to answer the following question: `What is the episode title of the show that had a production code of 3T5764?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11694832_1" ( "no_in_series" real, "no_in_season" rea...
SELECT MIN("no_in_series") FROM "table1_11694832_1" WHERE "written_by"='Adele Lim';
## Task Generate a SQL query to answer the following question: `What is the first series number that Adele Lim wrote?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11694832_1" ( "no_in_series" real, "no_in_season" real, "title" text, "...
SELECT "u_s_viewers_millions" FROM "table1_11694832_1" WHERE "production_code"='3T5769';
## Task Generate a SQL query to answer the following question: `How many millions of U.S. viewers watched the show with a production code of 3T5769?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11694832_1" ( "no_in_series" real, "no_in_se...
SELECT "original_air_date" FROM "table1_11694832_1" WHERE "u_s_viewers_millions"='3.57';
## Task Generate a SQL query to answer the following question: `When was the show first aired that was viewed by 3.57 million U.S. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11694832_1" ( "no_in_series" real, "no_in_season" rea...
SELECT "directed_by" FROM "table1_11694832_1" WHERE "u_s_viewers_millions"='2.06';
## Task Generate a SQL query to answer the following question: `Who directed the show that was viewed by 2.06 million U.S. people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11694832_1" ( "no_in_series" real, "no_in_season" real, "tit...