Professional Documents
Culture Documents
Assignment - Problem Set-Week2
Assignment - Problem Set-Week2
Date:5/15/2023
2
Chapter 4
Problems 9:
Problem 17:
The primary key and the foreign key of the table given below are:
Problem 18:
Yes, these forms show the integrity of the machine. Equipment Integrity Statement
duplicated data. It also ensures that the primary key of each record matches the identity of the
table is unique and cannot be empty or null.
4
Problem 19:
Here the BASE and TYPE tables have no foreign key values. Hence the table
Do not show referential integrity.
Problem 20:
Explain:
A candidate key is a column or set of columns that uniquely identifies a record
See additional data. A table can have multiple candidate keys. Candidate keys are
Unique and refers to the primary key. Because TRUCK_NUM is the primary key of TRUCK
table, TRUCK_SERIAL_NUM can be the primary key. So that may be the key to the candidate.
So the candidate key for the TRUCK table is TRUCK_SERIAL_NUM.
5
Problem 21:
The following table lists the superkeys and secondary keys for each table.
6
Problem 22: