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

Question: WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG?
SQL: SELECT "date_of_appointment" FROM "managerial_changes" WHERE "position_in_table"='pre-season' AND "replaced_by"='thomas thomasberg';

Question: WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
SQL: SELECT "date_of_appointment" FROM "managerial_changes" WHERE "team"='ac horsens';

Question: WHAT TEAM HAS 12TH TABLE POSITION AND REPLACED BY OVE PEDERSEN?
SQL: SELECT "team" FROM "managerial_changes" WHERE "position_in_table"='12th' AND "replaced_by"='ove pedersen';