Preview

Entity Relationship Modelling

Powerful Essays
Open Document
Open Document
1294 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Entity Relationship Modelling
Data Modeling

Introduction
Entity Relationship Modeling (ERM) a technique used to analyze & model the data in organizations using an Entity Relationship (E-R) diagram.

Database Management System 1
Isaac M Morallo – MAITE LPU - Laguna

Definitions
Entity
an aggregation of a number of data elements each data element is an attribute of the entity

Background
Introduced by Peter Chen in ‘75 now widely used You’ll find them in:
Structured Systems Analysis and Design Methodology (SSADM) Information Engineering (IE) Multiview Yourdon/DeMarco.

Entity type a class of entities with the same attributes

Relationship an association between two or more entities that is of particular interest

Why use ER Diagrams ? provides a global quick reference to an organization’s data structures. can be used individually to design an Information System’s (IS) data structure can be used with Data Flow Diagrams to provide a more comprehensive IS logical design.

ERD Development Process
Identify the entities Determine the attributes for each entity Select the primary key for each entity Establish the relationships between the entities Draw an entity model Test the relationships and the keys

A Simple Example

Identify the entities
Any entity can be classified in one of the following categories: Regular : any physical object, event, or abstract concept that we can record facts about.

STUDENTs attend COURSEs that consist of many SUBJECTs. A single SUBJECT (i.e. English) can be studied in many different COURSEs. Each STUDENT may only attend one COURSE.

Weak : any entity that depends on another entity for its existence.

Determine the Attributes
Every Entity has attributes. Attributes are characteristics that allow us to classify/describe an entity e.g., entity STUDENT has the attributes: student number name date of birth course number

Key Attributes
Certain attributes identify particular facts within an entity, these are known as KEY

You May Also Find These Documents Helpful

  • 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 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
  • 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
  • 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

    Week 4 MGMT340 Assignment

    • 538 Words
    • 3 Pages

    e. For EMPLOYEE entity, some added attributes could be Address, Date of Birth and Skill. For PROJECT entity, some added attributes could be Scope and Purpose.…

    • 538 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Chapter 4 Quiz Week 2

    • 537 Words
    • 2 Pages

    For each entity, create a list of attributes you think would be useful to describe the…

    • 537 Words
    • 2 Pages
    Better Essays
  • Good Essays

    Acme Global Consulting

    • 678 Words
    • 3 Pages

    Another advantage of having an E-R model DBMS is the components of this model. This will allow your different employee groups to distinguish the differences between these different components in the model. Some of the components are entities that represent a person, place event or an object in the real world that is modeled in the DBMS. Another component is attributes; this represents the defining qualities or properties of the entity type. One more entity is called a…

    • 678 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    An entity-relationship diagram is a specialized graphic that illustrates the relationships between entities in a database. ER diagrams often use symbols to represent three different types of information. Boxes are commonly used to represent entities. Diamonds are normally used to represent relationships and ovals are used to represent attributes…

    • 383 Words
    • 2 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

    Cis 111

    • 790 Words
    • 4 Pages

    “The benefits of using the relational model would result in an easy to use, flexible, high performance database at a low cost.” (Anita, 2010) Therefore, allowing them to participate in the entire design process of the logical construction. The relational model provides an easy and flexible way of manipulating data with a system that offers:…

    • 790 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
  • Powerful Essays

    Project Plan Inception

    • 1688 Words
    • 7 Pages

    * Attribute data give you counts representing the presence or absence of a characteristic or defect. These counts are based on the occurrence of discrete events.…

    • 1688 Words
    • 7 Pages
    Powerful 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
  • Good Essays

    8. An Artist has information details about name, address and telephone number. Every artist can have many albums, which identified by album_id. The album consists information about title and release date and can be produced in tape and VCD. A tape has number of song, while a VCD has number of track. One album can have more than one artist and composer. Composer is identified by composer id and has composer name. every artist must have a contract with one recording company only. Contract id is used to identify all contracts.…

    • 319 Words
    • 2 Pages
    Good Essays