Yurttas/PL/DBL/postgres/F/01/Company-B/Manages-cre.sql
1/*
2REM
3REM
4REM Manages-cre.sql
5REM
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "companyb";
11
12CREATE TABLE Manages(employeename VARCHAR(16) NOT NULL,
13 managername VARCHAR(16),
14 PRIMARY KEY(employeename),
15 FOREIGN KEY(employeename) REFERENCES Employee(employeename),
16 FOREIGN KEY(managername) REFERENCES Employee(employeename));