CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text
);

Question: Who is the captain of the manchester city team?
SQL: SELECT "captain" FROM "personnel_and_kits" WHERE "team"='manchester city';

Question: Which captain's manager is Joe Royle?
SQL: SELECT "captain" FROM "personnel_and_kits" WHERE "manager"='joe royle';