Vous êtes sur la page 1sur 2

Jose Escanio-Santos

Prof. Eddy
November 23, 2018

Plow Masters Case


1. The four steps in designing logical design are first to ensure that the logical data model
has been made to suit all the applications and reports and contain normalized data
tables. Second, the tables will need to be merged in to one single logical data model.
Then the ER model must be converted to the normalized data table. Compare the ER
model data to the logical data design to ensure there are no problems while merging the
data into one logical table.
2. A many to many relationship exists between the customer and the services provided
because one customer is offer many services and services are offered to many
customers.
A many to many relationship exists between the services provided and the removal
technician because the technician provides the service or many services, while one
service can be done by one or many technicians.
A one to one relationship exists between equipment and a technician because the
equipment is only maintained by a single technician.

3. For the CUSTOMER table the attributes would be CustomerID, Name, Address
For the ServiceProvided table the attributes would be ServiceProvidedID,
ServiceProviderName, ServiceType, City, State
For the RemovalTechnician table the attributes would be TechnicianID, Name, Address
For the Equipment table the attributes would be EquipmentInvID, Name,
EquipmentType

Integrity Control Examples


Default Value: in the ServiceProvided table, the field named city and state will receive a
default value.
Input Mask: In EquipmentInventory, the field named EquipmentType will take a masked
value.
Referential Integrity: CustomerID is a foreign key in the RemovalTechnician Table.
Null Value: None of the fields in these tables would contain a null value.

4.
The guidelines for choosing indexes include indentifying that the key should be unique so that it
is able to be a primary key for the table. Foreign keys are created to speed up the data retrieval
process. Then the non-keys are identified to avoid anyone trying to use them to retrieve data.
The Primary keys would be:
CustomerID
ServiceProvidedID
TechnicianID
EquipmentInvID
The Foreign key would be:
CustomerID in the ServiceProvided Table

Vous aimerez peut-être aussi