Professional Documents
Culture Documents
Database Processing
- Case & Exercise
Jason C. H. Chen, Ph.D.
Professor of MIS
School of Business
Gonzaga University
Spokane, WA 99258 USA
chen@gonzaga.edu
Database
User Database
Application
• a. N:1
– An advisor is assigned one student; a student is assigned many advisors.
• b. 1:1
– An advisor is assigned one student; a student is assigned one advisor
• c. 5:1
– An advisor is assigned one student; a student is assigned no more than
five advisors
• d. 1:5
– An advisor is assigned no more than five students; a student is assigned
one advisor
Dr. Chen, Management Information Systems 5
3. Identify two entities in the data entry form in Figure 5-
28. What attributes are shown for each? What do you
think are the identifiers?
Fig 5-28
Dr. Chen, Management Information Systems 6
5-3. Identify two entities in the data entry form in Figure 5-28.
What attributes are shown for each? What do you think are the
identifiers?
• Entities (or Tables/Files):
– Employee; Class
• Employee attributes:
– Employee Number, First Name, Last
Name, Email
• Class attributes:
– Course Name, Course Date, Instructor,
Remarks
• Employee identifier (key):
– Employee Number
• Class identifier (key):
– Course Name & Course Date
– Why two fields? And what is it called?
– Composite Key
Dr. Chen, Management Information Systems 7
SO WHAT? (p.171)