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

This commit is contained in:
2026-07-30 17:58:58 +02:00
parent e08ee018a9
commit 9cec2e1028
17 changed files with 129 additions and 26 deletions
+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)
);