You have been hired by a warehousing company with multiple warehouse facilities in a metropolitan area to perform the logical design of a database to manage their roster of available temporary workers and their subsequent assignments to fill workforce needs. The temporary workers are needed on a seasonal basis to fill a number of job roles such as forklift driver, van driver, loading dock worker, inventory clerk, etc. Each warehouse facility is configured with two different work areas in which inventory may be received or shipped: receiving operations and shipping operations. Here are the requirements that you have identified after interviewing company management:
- The company would like to record and maintain complete information on each temporary worker, including full name, home address, mailing address (which may or may not differ from the home address), preferred and secondary telephone numbers, email address, date of birth, gender.
- They would also like to maintain information on each temporary worker’s work shift availability in terms of days of the week (Monday through Sunday) and work shift (mornings, afternoons, and/or evenings on the specified days). Workers may specify availability for one or more shifts during those days.
- In addition, they will need to maintain complete information on each temporary worker’s job certifications. A temporary worker must be certified for a job role by completing a required training program for that role and can be certified to perform one or more job roles (see job role examples in the opening paragraph above). For job certifications, the company would like to maintain the identification of the certification, identification of the temporary worker participating in the certification training, the dates of certification training (certification training ranges from 4 to 16 hours depending on the type of certification), the certification trainer’s identification, and a pass/fail designation for the temporary worker completing the certification training. The company would also like to maintain complete information on available job role certification training program courses.
- Temporary workers are also allowed to specify prioritized work area location preferences for one or more warehouse locations.
- Finally, they have stated the requirement for maintaining a complete record of each temporary worker’s assignments, including warehouse location and work area assignment, date worked, shift(s) worked, and job role(s) filled by shift.
The company intends to use the completed database design to support the identification of temporary workers to fill needed assignments and to produce comprehensive reports on the use of temporary workers.
In a Microsoft Word document, provide a complete integrated set of normalized (3NF required) relations, using the format displayed in Figure 9.3e on page 318 (note that entities are in all caps, attribute names with multiple words are connected by an underline character joining each word (for example, “Student_ID”), primary keys are underlined and listed first within the attributes) in Third Normal Form (see pages 321-324 for complete information on the normalization process).
An Example of Normalization:
Here is a relatively simplistic example of a normalization process:
An “un-normalized” relation:
STUDENT(Last_Name, First_Name, Course_Name, Instructor_Name, Semester, Year)
There are multiple problems here: multiple students could have the same last name, course name might occur many times within the table and could be entered incorrectly or misspelled in some records, instructor name might occur many times within the table and could be entered incorrectly or misspelled in some records, semester name might occur many times within the table and could be entered incorrectly or misspelled in some records.
The “normalized” version in Third Normal Form:
STUDENT(Student_ID, Last_Name, First_Name)
INSTRUCTOR(Instructor_ID, Last_Name, First_Name)
SEMESTER(Semester_ID, Term, Year)