CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "incoming_manager" text,
  "date_of_appointment" text,
  "position_in_table" text
);

Question: WHich team had dave penney as an incoming manager
SQL: SELECT "team" FROM "managerial_changes" WHERE "incoming_manager"='Dave Penney';

Question: What was the manner of departure for notts county with an incoming manager of martin allen
SQL: SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Notts County' AND "incoming_manager"='Martin Allen';

Question: How many teams had gary megson as an incoming manager
SQL: SELECT COUNT("position_in_table") FROM "managerial_changes" WHERE "incoming_manager"='Gary Megson';

Question: who was the incoming manager for the 12th position in the table
SQL: SELECT "incoming_manager" FROM "managerial_changes" WHERE "position_in_table"='12th';