CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);

Question: WHo was the outgoing manager for the team of fc carl zeiss jena?
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='fc carl zeiss jena';

Question: What team did the manager come from who departed due to an end of tenure as caretaker?
SQL: SELECT "team" FROM "managerial_changes" WHERE "manner_of_departure"='end of tenure as caretaker';

Question: What was the date of appointment for the replaced manager, reiner geyer?
SQL: SELECT "date_of_appointment" FROM "managerial_changes" WHERE "replaced_by"='reiner geyer';

Question: What was the date of vacancy after the outgoing manager, ralf santelli departed?
SQL: SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='ralf santelli';

Question: Who was the outgoing manager who departed due to fc energie cottbus purchased rights?
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "manner_of_departure"='fc energie cottbus purchased rights';