mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-09-10 19:15:25 +02:00
[DMDB] Notes on query processing, better summary for those, some exam notes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
CREATE TABLE TableName (
|
||||
Attribute integer,
|
||||
OtherAttribute varchar (30),
|
||||
NextAttribute character (2) default "AP", -- default value, if unset on insert
|
||||
PRIMARY KEY (Attribute) -- primary key, as in RA
|
||||
Attribute integer UNIQUE,
|
||||
OtherAttribute varchar(30) NOT NULL, -- Not null
|
||||
NextAttribute character(2) default "AP", -- default value, if unset on insert
|
||||
PRIMARY KEY (Attribute), -- primary key, as in RA
|
||||
CHECK (Attribute > 1)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user