Exercise 1 : Manufacturer
A manufacturing company produces products. The following product information is stored:
product name, product ID and quantity on hand. These products are made up of many
components. Each component Each component may be used in developing many products.
Each components are also supplied by one or more suppliers. These suppliers in return,
supplied multiple components .
The following component information is kept: component ID, name, description, suppliers
who supply them, and products in which they are used.
Create an ERD to show how you would track this information.
Show entity names, primary keys, attributes for each entity, relationships between the
entities and cardinality.
Exercise 2 : Bookstore Inventory
A bookstore sells books. The following book information is stored: book title, book ISBN,
price, and quantity in stock. Each book can be written by one or more authors. Each author
may write many books. The bookstore gets its books from one or more publishers. Each
publisher can supply many books.
The following author information is kept: author ID, author name, phone number, and
books written.
The following publisher information is kept: publisher ID, publisher name, address, contact
number, and books supplied.
Create an ERD to show how you would track this information.
Show:
•
•
•
•
•
entity names
primary keys
attributes for each entity
relationships between the entities
cardinality