Question: Logical database schema, with the following annotations Default value, range control, null value control, referential integrity Example: Staff (staff No, lastName,branchNo) primary key staff No
- Logical database schema, with the following annotations
- Default value, range control, null value control, referential integrity
- Example:
Staff (staff No, lastName,branchNo)
primary key staff No NOT NULL (obviously UNIQUE)
foreign key branchNo, references Branch(branchNo) branchNo NOT NULL
Branch (branchNo, address, manager Id, state)
primary key branchNo NOT NULL
foreign key manager Id references Staff(staff No) state DEFAULT "NSW"
CONSTRAINT (0 < managerID < 50 AND state=QLD)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
