Yurttas/PL/DBL/postgres/F/01/Movies/Studio-cre.sql
Revision as of 00:46, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→REM REM REM Studio-cre.sql REM REM: SELECT current_schema(); SET search_path to "movies"; CREATE TABLE Studio(n...")
1/*
2REM
3REM
4REM Studio-cre.sql
5REM
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "movies";
11
12CREATE TABLE Studio(name VARCHAR(36) NOT NULL,
13 address VARCHAR(24),
14 prescn INTEGER NOT NULL,
15 PRIMARY KEY(name),
16 FOREIGN KEY(prescn) REFERENCES MovieExec(cn));