mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-10-09 05:46:20 +02:00
[DMDB] Notes on query processing, better summary for those, some exam notes
This commit is contained in:
1 parent
e08ee018a9
commit
9cec2e1028
17 files changed
+129
-26
No files matched your search
@@ -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