CREATE TABLE "team_players_drafted_into_the_nba" (
  "year" real,
  "round" real,
  "pick" real,
  "player" text,
  "nba_club" text
);

Question: What is the pick number later than round 1, for Reyshawn Terry?
SQL: SELECT AVG("pick") FROM "team_players_drafted_into_the_nba" WHERE "round">1 AND "player"='reyshawn terry';

Question: What round was the player Ty Lawson with a pick earlier than 18?
SQL: SELECT AVG("round") FROM "team_players_drafted_into_the_nba" WHERE "player"='ty lawson' AND "pick"<18;

Question: What is the pick number for Danny Green in a round less than 2?
SQL: SELECT COUNT("pick") FROM "team_players_drafted_into_the_nba" WHERE "player"='danny green' AND "round"<2;

Question: What is the pick number in a year earlier than 2009, with a round higher than 1?
SQL: SELECT COUNT("pick") FROM "team_players_drafted_into_the_nba" WHERE "year"<2009 AND "round">1;