In: Computer Science
Given the information below, create the fully labeled Crow's Foot ERD using a specialization hierarchy where appropriate (use Visio). The ERD must contain all primary keys, foreign keys, and main attributes. Business rules are defined as follows: A small company sells products on-line. Each product is supplied by one supplier. Each supplier delivers only one product. Each product belongs to one of the following categories: Books, Movies, or CDs. All products have common attributes - a product code, a title and a price- and attributes that are unique for each group of products. The list of such attributes includes but is not limited to the following: the publisher name (books), the format (movies), and the rating (CDs). In addition, customers may purchase a book (hardcover or paperback) or its' electronic version. For regular books, the company wants to record the number of pages per book. For electronic books, the format and the size of the file must be recorded.