Design an EER diagram for a library as described below. Show relevant constraints.  a. Each employee has an SSN, fname, lname, and address. b. An employee is classified into one of three categories: managerial, research, and floor. Floor employees are paid by the hour and have an hourly wage rate. The other two categories have a salary. Research workers have a specialty, while managerial workers have a job title. c. Customers are identified by their card number, and also have a fname, lname, and address. d. Each book is identified by its LCN (Library of Congress Number). It has a title, and one or more authors. e. An author has as a key an author code, since fname, lname does not suffice. We also keep track of their birth date and date of death. f. Customers may check out books. We keep track of the date it was checked out, as well as the date of return if it has been returned. g. Each time a book is checked out, we want to track which employee was involved in that transaction. Checking out a book can be handled by floor or research staff, but not managerial staff. h. Each member of the floor staff has exactly one member of the managerial staff as a supervisor.   Your EER diagram of the library database. Make sure to include in your diagram the following whenever possible: Entity types and relationship types Union/Category Specialization/Generalization Cardinality constraints Discuss any assumptions and justify your EER design choices

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Design an EER diagram for a library as described below. Show relevant constraints. 

a. Each employee has an SSN, fname, lname, and address.

b. An employee is classified into one of three categories: managerial, research, and floor. Floor employees are paid by the hour and have an hourly wage rate. The other two categories have a salary. Research workers have a specialty, while managerial workers have a job title.

c. Customers are identified by their card number, and also have a fname, lname, and address.

d. Each book is identified by its LCN (Library of Congress Number). It has a title, and one or more authors.

e. An author has as a key an author code, since fname, lname does not suffice. We also keep track of their birth date and date of death.

f. Customers may check out books. We keep track of the date it was checked out, as well as the date of return if it has been returned.

g. Each time a book is checked out, we want to track which employee was involved in that transaction. Checking out a book can be handled by floor or research staff, but not managerial staff.

h. Each member of the floor staff has exactly one member of the managerial staff as a supervisor.

 

Your EER diagram of the library database. Make sure to include in your diagram the following whenever possible:

  • Entity types and relationship types
  • Union/Category
  • Specialization/Generalization
  • Cardinality constraints
  • Discuss any assumptions and justify your EER design choices
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Requirement Analysis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education