Professional Documents
Culture Documents
Eer Diagram Exercises
Eer Diagram Exercises
Exercise 1
The requirements for the part of the UNIVERSITY database:
1- The database keeps track of three types of people: employees, alumni, and students. A
person in the system can belong to at least one or more of these types. Each person has a
name, SSN, gender, address, and birth date.
2- Each 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.
3- 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.
4- Each student has a major department.
5- Each faculty has a rank, whereas each staff member has a staff position.
6- Student assistants are classified further as either research assistants or teaching assistants,
and the percent of time that they work is recorded in the database.
7- Research assistants have the current course they work on.
8- Students are further classified as either graduate or undergraduate, with the specific
attributes degree program (M.S., Ph.D., M.B.A., and so on) for graduate students and class
(freshman, sophomore, and so on) for undergraduates. A student can not be graduate and
undergraduate at the same time.
The online site has members who are identified by a unique member id and are described by
an email address, their name, a password, their home address, and a phone number.
User accounts are categorized as buyer and seller. A member is a buyer or a seller, can not
be both of them at the same time.
A buyer has a shipping address recorded in the database. A seller has a bank account
number and routing number recorded in the database.
Items are placed by a seller for sale and are identified by a unique item number assigned by
the system. Items are also described by an item title, an item description, a starting bid
price, bidding increment, the start date of the auction, and the end date of the auction.
Buyers make bids for items they are interested in. A bidding price and time of bid placement
is recorded. The person at the end of the auction with the highest bid price is declared the
winner and a transaction between the buyer and the seller may proceed soon after.