CREATE TABLE INQUIRIES_REGISTRY3_BCK_1sem_0809 LIKE INQUIRIES_REGISTRY3;

ALTER TABLE INQUIRIES_REGISTRY3_BCK_1sem_0809 DROP KEY `KEY_EXECUTION_PERIOD`;
ALTER TABLE INQUIRIES_REGISTRY3_BCK_1sem_0809 DROP KEY `KEY_ROOT_DOMAIN_OBJECT`;
ALTER TABLE INQUIRIES_REGISTRY3_BCK_1sem_0809 DROP KEY `KEY_STUDENT`;

INSERT INQUIRIES_REGISTRY3_BCK_1sem_0809 SELECT * FROM INQUIRIES_REGISTRY3;



CREATE TABLE INQUIRIES_TEACHER3_BCK_1sem_0809 LIKE INQUIRIES_TEACHER3;

ALTER TABLE INQUIRIES_TEACHER3_BCK_1sem_0809 DROP KEY `KEY_INQUIRIES_COURSE3`;
ALTER TABLE INQUIRIES_TEACHER3_BCK_1sem_0809 DROP KEY `KEY_NON_AFFILIATED_TEACHER`;
ALTER TABLE INQUIRIES_TEACHER3_BCK_1sem_0809 DROP KEY `KEY_ROOT_DOMAIN_OBJECT`;
ALTER TABLE INQUIRIES_TEACHER3_BCK_1sem_0809 DROP KEY `KEY_TEACHER`;

INSERT INQUIRIES_TEACHER3_BCK_1sem_0809 SELECT * FROM INQUIRIES_TEACHER3;



CREATE TABLE INQUIRIES_COURSE3_BCK_1sem_0809 LIKE INQUIRIES_COURSE3;

ALTER TABLE INQUIRIES_COURSE3_BCK_1sem_0809 DROP KEY `KEY_EXECUTION_COURSE`;
ALTER TABLE INQUIRIES_COURSE3_BCK_1sem_0809 DROP KEY `KEY_EXECUTION_DEGREE_COURSE`;
ALTER TABLE INQUIRIES_COURSE3_BCK_1sem_0809 DROP KEY `KEY_ROOT_DOMAIN_OBJECT`;
ALTER TABLE INQUIRIES_COURSE3_BCK_1sem_0809 DROP KEY `KEY_INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3`;

INSERT INQUIRIES_COURSE3_BCK_1sem_0809 SELECT * FROM INQUIRIES_COURSE3;




CREATE TABLE INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3_BCK_1sem_0809 LIKE INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3;

ALTER TABLE INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3_BCK_1sem_0809 DROP KEY `KEY_ROOT_DOMAIN_OBJECT`;

INSERT INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3_BCK_1sem_0809 SELECT * FROM INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3;



delete from INQUIRIES_REGISTRY3;

delete from INQUIRIES_TEACHER3;

delete from INQUIRIES_COURSE3;

delete from INQUIRIES_DEMOGRAPHICAL_AND_ACADEMICAL3;


