CH6 Problems 10
CH6 Problems 10
Functional Dependencies:
3NF:
Table 1 (CLIENT):
CLIENT_NUM is the primary key, and all client-related information is stored here.
Table 2 (CONTRACT):
CONTRACT_NUMBER is the primary key, and it stores the contract-specific details with a
foreign key relationship to CLIENT_NUM.
Table 3 (CONSULTANT):
Table 4 (CONTRACT_CONSULTANT):
This table resolves the many-to-many relationship between contracts and consultants, with
a composite key of CONTRACT_NUMBER and CONSULTANT_NUM.
Table 5 (CONTRACT_CLASS):
This table stores the consulting services (classes) provided under each contract.
ERD:
CLIENT has a 1:M, relationship with CONTRACT because each client can sign multiple
contracts.
CONTRACT_CONSULTANT table resolves the many-to-many relationship between
CONTRACT and CONSULTANT.
CONTRACT_CLASS stores the consulting services related to each contract.