Preview

Huffman Trucking Entity-Relationship Model

Powerful Essays
Open Document
Open Document
1653 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Huffman Trucking Entity-Relationship Model
The Entity-Relationship Model
-------------------------------------------------
Top of Form
Bottom of Form
Database Design
Goal of design is to generate a formal specification of the database schema
Methodology:
1. Use E-R model to get a high-level graphical view of essential components of enterprise and how they are related 2. Then convert E-R diagram to SQL DDL, or whatever database model you are using
E-R Model is not SQL based. It 's not limited to any particular DBMS. It is a conceptual and semantic model – captures meanings rather than an actual implementation
The E-R Model: The enterprise is viewed as set of * Entities * Relationships among entities
Symbols used in E-R Diagram * Entity – rectangle * Attribute – oval * Relationship – diamond * Link - line

Entities and Attributes
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) * Can be person, place, event, object, concept in the real world * Can be physical object or abstraction * Ex: "John", "CSE305"
Entity Type: set of similar objects or a category of entities; they are well defined * A rectangle represents an entity set * Ex: students, courses * We often just say "entity" and mean "entity type"
Attribute: describes one aspect of an entity type; usually [and best when] single valued and indivisible (atomic) * Represented by oval on E-R diagram * Ex: name, maximum enrollment * May be multi-valued – use double oval on E-R diagram * May be composite – attribute has further structure; also use oval for composite attribute, with ovals for components connected to it by lines * May be derived – a virtual attribute, one that is computable from existing data in the database, use dashed oval. This helps reduce redundancy

Entity Types
An entity type is named and is described by set of attributes * Student:

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    5. What are entities? An entity is something that the database is concerned with, about which data can be stored, and which can have relationships with other entities.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    An entity relationship diagram (ERD) is a graphical documentation technique used in the designing of database within organizations to describe the entities and their direct relationships (Bagranoff, Simkin, & Strand, 2008). The ERD diagram consists of entities, attributes, and relationship. The entity represents a rectangular; the diamond is symbolized by describing the relationship of the entities, oval shape describes the attributes, and the lines connect all three to describe their relationship. Attached is an ERD of Kudler Fine Foods showing their existing data tables.…

    • 496 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    a database entity can be best described as: something that the something the database is concerned for, and can be added into the database…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    The entity concept is a theory concerning the nature of the group. It interprets the group to be a set…

    • 1775 Words
    • 8 Pages
    Better Essays
  • Good Essays

    Acme Global Consulting

    • 678 Words
    • 3 Pages

    One of the advantages is that the structure of an E-R model DBMS is the ease of use in that system. This allows the users of it to communicate with each other on a basis that isn’t as technical as some others, this will allow for fewer mistakes during the data entry and throughout the workforce and workday. The structure of this type of DBMS model allows software programmers and data entry employees to be able to communicate and interact with each other more easily and effectively should problems arise. This allows for a greater and more efficient workflow because the different employee groups will understand each other and be able to solve different issues that may arise within the DBMS.…

    • 678 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    substitutions: represented by italicized characters, indicating that the element is composed of characters provided by the user.…

    • 383 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Cis 515week 3

    • 1024 Words
    • 4 Pages

    In order to properly indentify the university’s requirements and create an accurate proposal, the first step should be to create and Entity Relationship Model (ERM). The ERM will provide a visual representation of the data structure of the data stores and show the relationships between the data. The following diagram displays the ERM:…

    • 1024 Words
    • 4 Pages
    Good Essays
  • Good Essays

    poop

    • 796 Words
    • 4 Pages

    2. An attribute is a property that applies to a given entity. There can be many attributes for an entity.…

    • 796 Words
    • 4 Pages
    Good 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
  • Good Essays

    Week 4 MGMT340 Assignment

    • 538 Words
    • 3 Pages

    f. TOOL could be modeled as an associative entity along with EMPLOYEES and PROJECTS. An associative entity type is one that associates the instances of one or more entity types and contains attributes that are peculiar to the relationship between those entity instances. For example, EMPLOYEES can use TOOL and PROJECT will also need TOOL. TOOL can used by EMPLOYEES for PROJECTS.…

    • 538 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Logical Design Pt. 2

    • 641 Words
    • 3 Pages

    I would like to introduce you to the concept of normalization. Normalization is used to control or reduce the amount of data redundancy and help avoid inconsistent data in your E-R Model. There are some benefits to normalization one of them is the prevention of modification anomalies in the data. Anomalies can lead to the loss of critical data in your E-R Model; normalization will help organize your data, which will prevent redundancy in your E-R Model. Normalization also maintains and establishes the integrity of your data tables and should eliminate inconsistencies in your data dependencies.…

    • 641 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Normalization it’s a process of splitting data into 2 or more entities to reduce data redundancy.…

    • 989 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Tutorial of Visio

    • 1749 Words
    • 7 Pages

    Microsoft Visio 2010 is a flexible software tool that allows users to create some diagrams and charts, providing an alternative to using traditional drawing software such as MS Paint. Entity – Relationship diagrams (ERDs) provides a more visual way to represent the design of database tables and the relationships between them. The most popular notation used in textbooks is the Crow’s Foot notation that makes identifying those relationships much easier.…

    • 1749 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    pow pow

    • 5205 Words
    • 21 Pages

    4) It is a value that is used to map the entity instance to the corresponding table row in the database.…

    • 5205 Words
    • 21 Pages
    Good Essays