[DMDB] Notes on query processing, better summary for those, some exam notes

This commit is contained in:
janishutz committed 2026-07-30 17:58:58 +02:00
1 parent e08ee018a9
commit 9cec2e1028
17 files changed
+129 -26

No files matched your search

+5 -4
View File
@@ -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)
);