Description

QUESTION #1: Production tracking is important in many manufacturing environments (e.g., the pharmaceuticals industry, children’s toys, etc.). The following ER diagram captures important information in the tracking of production. Specifically, the ER diagram captures relationships between production lots (or batches), individual production units, and raw materials. Please convert the ER diagram into a relational database schema. Be certain to indicate primary keys and referential integrity constraint.Develop an EER model for the following situation:

  • A technology company provides offerings to its customers.
  • Offerings are of two separate types: products and services.
  • Offerings are identified by an offering ID and an attribute of description.
  • In addition, products are described by product name, standard price, and date of first release.
  • Services are described by name of the company’s unit responsible for the service and conditions of service.
  • There are repair, maintenance, and other types of services.
  • A repair service has a cost and is the repair of some product.
  • A maintenance service has an hourly rate.
  • Fortunately, some products never require repair.
  • However, there are many potential repair services for a product.
  • A customer may purchase an offering, and the company needs to keep track of when the offering was purchased and the contact person for that offering with the customer.
  • Unfortunately, not all offerings are purchased.
  • Customers are identified by customer ID and have descriptive data of name, address, and phone number.

midtermq.png