Vous êtes sur la page 1sur 2

Assignment 1 Entity - Relationship, Relational Models

A database used in an order-entry system is to contain information about customers, items, and orders. The following information is to be included: For each customer: Customer number (Unique) Valid Ship-to address (several per customer) Balance Credit limit Discount For each order: Heading information: customer #, ship-to address, date of order Detail lines (several per order), each given item number, quantity ordered For each item: Item number (unique) Manufacturing plants Quantity on hand at each plant Stock danger level for each plant Item description For internal processing reasons a quantity outstanding value is associated with each detail line of each order. This value is initially set equal to the quantity of the item ordered & is (progressively) reduced to zero as partial shipments are made. Design a ER diagram. (Make semantic assumptions that seem necessary)

Assignment 2 Entity - Relationship, Relational Models


You are required to design a database containing information on university libraries. The information that the database should contain are as following: Students study at campuses. A student may study at several campuses. University libraries are situated in campuses. Students can borrow books from certain libraries only. Books have identity numbers - each library maintains its own set of identity numbers. Each book belongs to a library. Students can order books using inter-library loan. This can be useful if a student wishes to borrow books from a distant library, or a library where s/he is not a member. The student orders the books through a library where s/he is a member.

Vous aimerez peut-être aussi