What is the contract length when rejected is the status?
CREATE TABLE "contracts" (
  "nat" text,
  "name" text,
  "status" text,
  "contract_length" text,
  "expiry_date" real,
  "source" text
);
SELECT "contract_length" FROM "contracts" WHERE "status"='rejected';