You are on page 1of 2

Creating a Relationaf Database Schema

Production tracking is e$Sential in many production situations (for ex.ample, the


pharmaceutical business, children's toys, and so on). The ER diagram below collects
critical information in production tracking. The ER diagram depicts t.he links between
man ufacturing lots (or batches),specific production u nits,and raw materials.

Produc:ID
esc

Production tracking is essential in many production situations (for ex.ample, the pharmaceutical business,
children's toys, and so on). The ER diagram below collects critical information in production tracking. The
ER diagram depicts t.he links between manufacturing lots (or batches),specific production units,and raw
materials. lot entities has attributes lotnumber, createddate,costofmaterials, entity production_unit has
attribute serialno,exactweight, producttype,productdesc and qualitytest entity raw_materials has
attributes material_id,type and unit cost lot is created from raw materials and lot and raw materials has
many to many relationship lot includes production units and lot has many production units based on this
information a) Please create a relational database structure from the ER diagram. Make sure to include
main keys and limits on referential integrity. b) Please identify an attribute in the following ER diagram
that may represent a composite attribute and explain why/how it may do so. c) The present ER diagram
has the following connection, "raw materials are utilized in 0 to many lots." Please explain how the
meaning changes in the context of manufacturing if the minimal cardinality is changed to "1" (i.e., the
connection becomes "raw materials are utilised in 1 to many quantities.") d) There are various instances
of data redundancy in the ER diagram/relational database structure. Please provide one example of a data
redundancy problem.

You might also like