Yurttas/PL/DBL/postgres/F/01/Bank/Client-cre.sql

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM
 4REM Client-cre.sql
 5REM
 6REM
 7*/
 8
 9SELECT current_schema();
10SET search_path to "bank";
11
12CREATE TABLE Client(customername VARCHAR(16) NOT NULL,
13                    bankername VARCHAR(16) NOT NULL,
14        PRIMARY KEY(customername),
15        FOREIGN KEY(customername) REFERENCES Customer(customername));