CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manage" text,
  "manner" text,
  "date_of_vacancy" text,
  "incoming_manager" text,
  "date_of_appointment" text
);

Question: Who was the outgoing manager when the incoming manager was joão pereira?
SQL: SELECT "outgoing_manage" FROM "managerial_changes" WHERE "incoming_manager"='João Pereira';

Question: What team(s) had an outgoing manager of joão alves?
SQL: SELECT "team" FROM "managerial_changes" WHERE "outgoing_manage"='João Alves';

Question: What day did the job open up when bogićević was outgoing?
SQL: SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manage"='Bogićević';