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

Question: I want the date of appointment for manner of departure being sacked
SQL: SELECT "date_of_appointment" FROM "managerial_changes" WHERE "manner_of_departure"='sacked';

Question: I want the manner of departure for 1 june 2007
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_appointment"='1 june 2007';

Question: I want the outgoing manager for craig brewster
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='craig brewster';

Question: I want the team for replaced by mark mcghee
SQL: SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='mark mcghee';

Question: I want the outgoing manager for 19 february
SQL: SELECT "outgoing_manager" FROM "managerial_changes" WHERE "date_of_appointment"='19 february';

Question: I want the team with replaced by being csaba lászló
SQL: SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='csaba lászló';