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

Question: What is the name of team with Palmeiras 4-2 portuguesa as the last match?
SQL: SELECT "team" FROM "managerial_changes" WHERE "last_match"='palmeiras 4-2 portuguesa';

Question: What was the manner of departure replaced by tita?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "replaced_by"='tita';

Question: What is the name of the last match that had a sacked manner of departure and a geninho outgoing manner?
SQL: SELECT "last_match" FROM "managerial_changes" WHERE "manner_of_departure"='sacked' AND "outgoing_manager"='geninho';

Question: What is the last match with a vacancy date of round 2 and Ney Franco as outgoing manager?
SQL: SELECT "last_match" FROM "managerial_changes" WHERE "date_of_vacancy"='round 2' AND "outgoing_manager"='ney franco';

Question: What is the last match with a resigned manner of departure and a round 1 date of vacancy?
SQL: SELECT "last_match" FROM "managerial_changes" WHERE "manner_of_departure"='resigned' AND "date_of_vacancy"='round 1';