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: Which team had an outgoing manager of Behtash Fariba?
SQL: SELECT "team" FROM "managerial_changes" WHERE "outgoing_manager"='Behtash Fariba';

Question: Which team had a manager who was replaced by Faraz Kamalvand?
SQL: SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='Faraz Kamalvand';

Question: Which outgoing manager was replaced by Jafar Fatahi?
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='Jafar Fatahi';

Question: Which team had a manager replaced by Ebrahim Talebi?
SQL: SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='Ebrahim Talebi';

Question: What was the date in which Behtash Fariba left his team?
SQL: SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Behtash Fariba';

Question: What was the manner of leaving the team for the manager of Gostaresh Foolad?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Gostaresh Foolad';