Preview

Entity Relationship

Good Essays
Open Document
Open Document
431 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Entity Relationship
A Computer Retail Company Inventory Database

In this project, we will discuss a computer retail company inventory database. This project focuses on the merchandise inventory, including the production, warehouse storage, store stock, and customer purchase of the merchandise. 1. ER model
Figure 1 shows the ER mode of this database project. Its entities includes the product (merchandise, includes laptop and desktop subclass), manufacturer, warehouse, store and customer. It also has the manufacturer-make, product-in-store, product-in-warehouse, and customer-order relationships. 1.1 Entities.
This project focuses on the product (or merchandise) entity. Its attributes include item number, model, type, price and quantity. The item number distinguishes every item, and we choose it as the primary key of product entity. Here quantity is a derived attribute, whose value can be calculated from the sum of item quantity at store and warehouse. Product can be divided into two disjoint subclass, laptop and desktop. We assume the computer retail company only sell computer, includes laptop and desktop.
Another entity is the manufacturer of the product (computer in this case). It has the attributes of the manufacturer name, ID, address, and telephone. Manufacturer ID is the primary key.
The company is consisted of some warehouses and stores. The store attributes include store_no, address, and telephone. The store_no is primary key. Similar to store, warehouse has the ware_no as primary key, and other attributes include address and telephone.
The last entity is customer, described by customer name, customer number, and payment. Customer number is the primary key. 1.2 Relations
Besides these entities, the model also includes 5 relations.
First, manufacturer makes product. We assume that one manufacturer can make many products for the company, and one product can only be made by one manufacturer.
Second, warehouses provide merchandise to stores. We assume

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1. Entities in the conceptual model eventually are converted to tables in the database, and the attributes convert to the fields within the tables. Given this information, list the attributes (fields) found in the supplier table.…

    • 314 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It2640 Week 5 Appendix B

    • 632 Words
    • 3 Pages

    Entities for this database application will include a Customer, Products, Orders, Sales Rep and Shipping table. The attributes for the following tables are as follows:…

    • 632 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    3. Consider a table of data about employees. Which of the following fields are keys? Which one would you choose as the primary key? Employee ID Why? Because it is a unique number assigned to each employee.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    13. Domain Entities- Domain entities are the entities that relate directly to the business of the database. In a database to track customer orders, for instance, domain entities would probably include ones like…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Entities are defined as a person, place, thing, or event in which data is collected and stored. Each entity is a unique and distinct object that may be a physical or abstract object within the real world (Coronel, Morris, & Rob, pg. 34). Entities of a database for a college that needs to keep track of students and courses would be students, professors, courses, classes, room, and enrollment status. These entities will be used to format the data within the database so that each student and course is accounted for. Attributes are characteristics of an entity, such as a name, phone number, or address (Coronel, Morris, & Rob, pg. 34). Attributes for the college database would include student first and last name, student phone number, student address, student identification number, student grade point average, student course major, and student classes to describe the student entity. The professor entity would be described by professor…

    • 906 Words
    • 3 Pages
    Good Essays
  • Best Essays

    Termpaper

    • 4159 Words
    • 22 Pages

    The given Departmental Store Database will have retail sales which gives the information regarding the store sales transactions in which the sales sale process consists of a customer having the purchase to a store.…

    • 4159 Words
    • 22 Pages
    Best Essays
  • Better Essays

    In the following paragraphs LTA will discuss the database architecture briefly and primary keys, which play a vital role in an Entity-Relational Database. The discussions of the different types of mistakes that are made in the design phase that led to a poor database design are also discussed. Mistakes include the lack of careful planning, proper normalization of data, poor naming conventions, lack of sufficient documentation and extensive testing. The ERD for the database will be revealed along with the choice of the program to manage the database and allow for versatility for various platforms, applications, and features.…

    • 2033 Words
    • 9 Pages
    Better Essays
  • Good Essays

    As explained earlier in this document, the entities and attributes were already created by Smith’s Systems Consulting, but gave no details on how they would be used in the database. In order to fully explain how the entities and…

    • 728 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Entity: an object that is involved in the enterprise and that be distinguished from other objects. (not shown in the ER diagram--is an instance)…

    • 1653 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    StudyModeUpload

    • 2671 Words
    • 24 Pages

    65. Write the SQL code to create the table structures for the entities shown in Figure P7.65. The structures should contain the attributes specified in the ERD. Use data types that would be appropriate for the data that will need to be stored in each attribute. Enforce primary key and foreign key constraints as indicated by the ERD.…

    • 2671 Words
    • 24 Pages
    Powerful Essays
  • Satisfactory Essays

    Advanced Modeling 1 Objectives    Gain an understanding of more advanced modeling techniques Understand primary key selection Learn how to build a physical database from a logical model 2 Agenda  …

    • 600 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    In a database model, each object that we want to track in the database is known as entitiy. For example, in a college database there might be several entities which is known as set of similar objects. Some of the entities in college database are:…

    • 688 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Advertising and Kodak

    • 269 Words
    • 2 Pages

    An entity would be a customers name, and the attributes would be their address, purchase history. An entity could also be an age group. Attributes could include specific age, where they are from, what they purchase, what they would like to purchase.…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 3

    • 754 Words
    • 4 Pages

    makes the physical database available for different logical views. makes the logical database available for different analytical views. makes the physical database available for different analytical views. makes the relational database available for different analytical views.…

    • 754 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Cis515

    • 3200 Words
    • 13 Pages

    There are several important steps to consider when designing a database, as a well-designed database should be deployed and not only support the accuracy and integrity of business information but also avoid redundant data and assist with has enterprise level reporting tasked. If we analyze the transactions carried out in each store we can produce a list of the principal entities which are involved with a store based transaction:…

    • 3200 Words
    • 13 Pages
    Powerful Essays