Preview

Er Diagram

Satisfactory Essays
Open Document
Open Document
405 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Er Diagram
Entity Relationship Diagram - ERD

Database – is a large data repository that stores a shared collection of logically data.

A database can be modeled as: A collection of entities and relationship among entities.

What is Entity Relationship Diagram?

An entity-relationship (ER) diagram is a specialized graphic diagram that illustrates the relationships between entities in a database, simply it illustrates the logical structure of databases.

ER diagrams often use symbols to represent different types of information.

Rectangles represent entity.
Diamonds represent relationship.
Lines link attributes to entity and entity to relationship.
Ellipses represent attributes
Double ellipses represent multivalued attributes.
Dashed ellipses denote derived attributes.
Underline indicates primary key attributes

An entity
Is an object that exists and is distinguishable from other objects
An entity is an object or concept about which you want to store information.
“An entity is a business object that represents a group, or category of data.”
Example: person, company, event, plant

An entity set is a set of entities of the same type that share the same properties.
Example: set of all persons, companies, trees, holidays

Weak Entity

A weak entity is an entity that must defined by a foreign key relationship with another entity as it cannot be uniquely identified by its own attributes alone.

An entity set that does not have a primary key is referred to as a weak entity set.

Entities have attributes
An attribute defines and builds an entity.
An attribute is a sub-group of information within an entity.

Example: people have names and addresses

Key attribute

A key attribute is the unique, distinguishing characteristic of the entity. For example, an employee's social security number might be the employee's key attribute.

Multivalued attribute
A multivalued attribute can have more than one value. For example, an employee entity can have multiple skill

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

    4. (TCO 2) A field or set of fields used to uniquely identify a record in a table 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

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

    Database Concepts Pt2520

    • 326 Words
    • 2 Pages

    19. FALSE A natural key is a key that consists of one or more attributes that naturally belongs to the entity.…

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

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

    True False

    • 378 Words
    • 2 Pages

    18. A candidate key is any attribute or combination of attributes that might make a primary key.…

    • 378 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Database Sql Server

    • 328 Words
    • 2 Pages

    A natural key is a key that consists of one or more attributes that naturally belongs to the entity. False…

    • 328 Words
    • 2 Pages
    Satisfactory Essays