Beruflich Dokumente
Kultur Dokumente
Task One
Your Manager has asked you to create an E.R diagram of a hotel chain called Bed and Breakfast
(B&B). B&B consists of many hotel branches around the country. Each hotel has a variety of rooms
and each room has a different price depending of the type of room it is. B&B would like to keep
information on their guests so that they can send them letters and email about special offers.
Task Two
An order (from a customer) is made up of many order lines. Each line is used to order something
different.
SAMPLE DATA
Order_No Order_Date Total_Cost OrderLineNo Part_No Qty Cust_No
0123 1 June $110 1 P23 3 C33
0123 1 June $110 2 P34 4 C33
0144 8 June $55 1 P34 2 C33
Task Three
Would your ERD change if there were a customer name in the sample data?
Task Four
Tiny College
1. Tiny College is divided into several schools: a school of business, a school of arts and
sciences, a school of education, and a school of applied sciences. Each school is
administered by a dean who is a teacher.
2. Each school is composed of several departments. For example, the school of business
has an accounting department, a management/marketing department, an
economics/finance department, and a computer information systems department.
6. Each teacher may teach up to four classes; each class is a section of a course.
7. A student may enroll in several classes but may only take each class only once during
any given enrollment period.
8. Each department has several students whose major is offered by the department.
9. Each student has an advisor in his or her department; each advisor counsels several
students. An advisor is also a teacher.
10. Each staff member and student has a login for the school’s intranet system. They are
both users of the system however staff and students have different information in the
system.