Preview

The Entity Relationship Modeling

Good Essays
Open Document
Open Document
465 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
The Entity Relationship Modeling
Page 1

Module: Database Systems Chapter 1 The Entity Relationship Modelling The Concepts of Entity Relationship Model 1.1 Entity Types
  A group of objects with the same properties, which are identified by the enterprise as having an independent existence. Entity occurrence is referring to a unique identifiable object of an entity type.

Figure 1.0 Example of entities with a physical or conceptual existence

1.2

Relationship Type
  A set of meaningful associations among entity types. It is a set of associations between one or more participating entity types. Each relationship type is given a name that describes its function.

1.3

Relationship Occurrence
  It indicates the particular entity occurrences that are related. Consider a relationship type called ‘has’, which represents an association between branch and staff entity. Each occurrence of the ‘has’ relationship associates one branch entity occurrence with one staff entity occurrence.

Figure 1.1 A semantic net showing individual occurrences of the has relationship type

Page 2

1.4

Relationship Types
 A relationship of degree two is called binary.

Figure 1.2 An example of a binary relationship



A relationship of degree three is called ternary.

Figure 1.3 An example of a ternary relationship called registers



A relationship of degree four is called quaternary.

Figure 1.4 An example of a quaternary relationship called arranges

Page 3



A Recursive relationship is a relationship type where the same entity type participates more than once in different roles.

Figure 1.5 An example of a recursive relationship called supervises with role names supervisor and supervisee

1.5

Attributes
         A property of an entity or a relationship type. For example, a staff entity type may be described by the staffno, name, position and salary attributes. The attributes hold values that describe each entity occurrence and represent the main

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

    3. What is a foreign key? This primary key becomes a foreign key when it is repeated in another table to create a link between the tables.…

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

    5. (TCO 2) A collection of related data items that are specific to an instance of an entity, such as all the data about a specific employee, is (Points : 4)…

    • 368 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    11) A linking entity is an entity that is used to resolve a many to many relationship into two one too many relationships.…

    • 613 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    what best describes the function of a foreign key. the primary key repeated in another table to show relation…

    • 329 Words
    • 2 Pages
    Satisfactory 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
  • Satisfactory Essays

    The Entity Relationship Diagram, also known as (ERD) demonstrates the relationship between data in the new database. ERD shows the logical path that the data follows. The data model gives one understanding and the visual representation to observe the different phases of the database and determine the path the information is pulled or stored from. Learning Team D demonstrate linking the different tables in the Fleet Truck Maintenance database. The creation of the logical path predicts the flow of the data entered and the tables relationship to other tables in the database.…

    • 553 Words
    • 3 Pages
    Satisfactory 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

    3. A relationship is a group of related tables that share a common attribute. A one-to-many relationship is when there is one entity table that relates to many entities table, but not vice-a- versa.…

    • 796 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    12. Linking Entities- Linking entities are used to resolve many-to-many relationships into two one-to-many relationships.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    b. What is the degree of the Used on relationship? There are 2 degrees for the Used on relationship.…

    • 334 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Anime LIst

    • 11441 Words
    • 52 Pages

    Which of the following defines a relationship in which each occurrence of data in one entity…

    • 11441 Words
    • 52 Pages
    Good Essays
  • Satisfactory Essays

    Relational Database Paper

    • 547 Words
    • 3 Pages

    A relationship is an important component of a relational database. A relationship exists between two tables when one or more key fields from one table are matched to one or more key fields in another table. The fields in both tables usually have the same name, data type, and size. It also helps to further refine table structures and minimize redundant data.…

    • 547 Words
    • 3 Pages
    Satisfactory Essays