Yurttas/PL/DBL/postgres/F/01/SPJ/Shipments-cre.sql
Jump to navigation
Jump to search
1/*
2REM
3REM
4REM Shipments-cre.sql
5REM
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "spj";
11
12CREATE TABLE Shipments(sn VARCHAR(4) NOT NULL,
13 pn VARCHAR(4) NOT NULL,
14 jn VARCHAR(4) NOT NULL,
15 quantity INTEGER,
16 PRIMARY KEY(sn,pn,jn));