CREATE TABLE "2007_rugby_world_cup_squads" (
  "player" text,
  "position" text,
  "date_of_birth_age" text,
  "caps" real,
  "club_province" text
);

Question: What player is a lock with 1 cap?
SQL: SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "position"='lock' AND "caps"=1;

Question: What position does ceri sweeney with under 87 caps of the newport gwent dragons play?
SQL: SELECT "position" FROM "2007_rugby_world_cup_squads" WHERE "club_province"='newport gwent dragons' AND "caps"<87 AND "player"='ceri sweeney';

Question: What player has 12 caps?
SQL: SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "caps"=12;