Uploaded by Alvis Yip

TUT1

advertisement
INT3027 Web Database Design and Implementation
Tutorial 1
Case Study
Temporary Employment Corporation (TEC) places temporary workers in companies
during peak periods. TEC's manager gives you the following description of the
business:
•
•
•
•
•
•
TEC has a list of companies that request workers. Specifically, the list
contains company codes and company names.
Each time a company requests an employee, TEC makes an entry in the
Opening folder. This folder contains an opening number, company code,
starting date, ending date, hourly pay and qualification code. Each opening
requires only one specific qualification.
TEC has a file of candidates who are willing to work. The file contains
candidate numbers and candidate names.
Each candidate may have earned several qualifications in some particular
years. Each qualification may be earned by more than one candidate. (For
example, it is possible for more than one candidate to earn a BEd degree in
2018 OR a PGDE degree in 2019. And clearly it is also possible that a
candidate may have earned both a BEd in 2018 and a PGDE in 2019)
When a candidate matches the qualification of an opening, (s)he may be given
the job, and an entry is made in the Placement Record folder. This folder
contains a placement number, placement starting date, opening number,
candidate number, and total hours worked.
TEC uses special codes to describe a candidate's qualifications for an opening.
Below is a sample list of codes:
CODE
CLERK
PRG-JAVA
PRG-C++
DBA-SQL
SYS-1
SYS-2
DESCRIPTION
General clerking work
Programmer, Java
Programmer, C++
Database Administrator, SQL Server
Systems Analyst, level 1
Systems Analyst, level 2
TEC's management wants to keep track of the following entities:
l
l
l
l
l
COMPANY
OPENING
QUALIFICATION
CANDIDATE
PLACEMENT
Given this information, identify all possible relationships and draw the Crow’s Foot
E-R diagram for this enterprise. You should also resolve all M:N relationships in
the diagram. Upload the completed ER diagram to Moodle and write down all group
member names on the diagram.
Download