CREATE TABLE DIRECTORY
(
CHILD_FOLDER VARCHAR2 (100)
,PARENT_FOLDER VARCHAR2 (100)
,PERMISSION VARCHAR2 (100);
);
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('COMPANY_HQ', NULL, 'F');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('HR', 'COMPANY_HQ');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('IT', 'COMPANY_HQ');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('FINANCE', 'COMPANY_HQ');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('DEVELOPMENT', 'IT', 'W');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('TEST', 'IT');
INSERT INTO DIRECTORY (CHILD_FOLDER, PARENT_FOLDER) VALUES ('SUPPORT', 'IT');
|