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: What is Aberdeen team's date of vacancy?
SQL: SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "team"='aberdeen';

Question: What is Motherwell Team's manner of departure?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='motherwell';

Question: What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?
SQL: SELECT "date_of_appointment" FROM "managerial_changes" WHERE "manner_of_departure"='resigned' AND "replaced_by"='sandy clark';

Question: What manner of departure was Dick Advocaat replaced by?
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "replaced_by"='dick advocaat';