1 / 5

Case Study: Requirements for the part of the UNIVERSITY database

Case Study: Requirements for the part of the UNIVERSITY database. The database Keeps track of three types of people: employees, alumni, and students, A person can belong to one, two, or all three of these types. Each person has a name, SSN, sex, address, and birth date.

Download Presentation

Case Study: Requirements for the part of the UNIVERSITY database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Case Study: Requirements for the part of the UNIVERSITY database • The database Keeps track of three types of people: employees, alumni, and students, A person can belong to one, two, or all three of these types. Each person has a name, SSN, sex, address, and birth date. • Every employee has a salary, and there are three types of employees: faculty, staff, and student assistants. Each employee belongs to exactly one of these types. For each alumnus, a record of the degree or degrees that he or she earned at the university is kept. Including the name of the degree, the year granted, and the major department. Each student has a major department. • Each faculty has a rank, whereas each staff member has a staff position. Student assistants are classified further as either research assistants of teaching assistants, and the percent of time that they work is recorded in the database. Research assistants have their research project stored, whereas teaching assistants have the current course they work on. • Students are further classified as either graduate or undergraduate, with the specific attributes degree program (M.S.,PH.D) and class (freshman, sophomore, and so on), respectively. Introduction to Databases

  2. Specialization / Generalization Lattice Example (UNIVERSITY) Introduction to Databases

  3. Summary of EER notations (1) ATTRIBUTE ENTITY KEY ATTRIBUTE WEAK ENTITY MULTI-VALUED RELATIONSHIP COMPOSITE IDENTIFYING RELATIONSHIP DERIVED Introduction to Databases

  4. Summary of EER notations (2) R E1 E2 TOTAL PARTICIPATION OF E2 IN R 1 M CARDINALITY RATION (min,max) PARTICIPATION CONSTRAINTS Introduction to Databases

  5. Summary of EER notations (2) d Disjoint constraint o Non-Disjoint constraint (Overlap) Total Participation Optional Participation Introduction to Databases

More Related