Professional Documents
Culture Documents
TABLES
• Example 1:
UNIQUE constraint
EMPLOYEES
…
INSERT INTO
Allowed
Not allowed:
already exists
DEPARTMENTS
PRIMARY KEY
…
Not allowed INSERT INTO
(null value)
Not allowed
(50 already exists)
PRIMARY
KEY
…
EMPLOYEES
FOREIGN
KEY
… Not allowed
INSERT INTO (9 does not
exist)
Allowed