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

Question: Who is the outgoing manager when the team is simurq pfc?
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Simurq PFC';

Question: How many date of appointment entries are there when the team is khazar lankaran?
SQL: SELECT COUNT("date_of_appointment") FROM "managerial_changes" WHERE "team"='Khazar Lankaran';

Question: What is the manner of departure when the replaced by is bahman hasanov?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "replaced_by"='Bahman Hasanov';