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 was the replacement manager for the vacancy of 12 Dec 2009?
SQL: SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009';

Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
SQL: SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009';

Question: What team did Alireza mansourian leave?
SQL: SELECT "team" FROM "managerial_changes" WHERE "outgoing_manager"='Alireza Mansourian';

Question: Why did Majid bagherinia leave?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Majid Bagherinia';

Question: What team did a manager leave on 12 Dec 2009
SQL: SELECT "team" FROM "managerial_changes" WHERE "date_of_vacancy"='12 Dec 2009';

Question: How many teams did Farhad Kazemi leave?
SQL: SELECT COUNT("team") FROM "managerial_changes" WHERE "outgoing_manager"='Farhad Kazemi';