Preview

Entity Relational Diagram

Satisfactory Essays
Open Document
Open Document
2320 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Entity Relational Diagram
Entity-Relationship (E/R) Model
Dr P Sreenivasa Kumar Professor CS&E Dept I I T Madras

Entity-Relationship (E/R) Model
Widely used conceptual level data model • proposed by Peter P Chen in 1970s Data model to describe the database system at the requirements collection stage • high level description. • easy to understand for the enterprise managers. • rigorous enough to be used for system building. Concepts available in the model • entities and attributes of entities. • relationships between entities. • diagrammatic notation.

Prof P Sreenivasa Kumar Department of CS&E, IITM

2

Entities
Entity - a thing (animate or inanimate) of independent physical or conceptual existence and distinguishable. In the University database context, an individual student, faculty member, a class room, a course are entities. Entity Set or Entity TypeCollection of entities all having the same properties. Student entity set – collection of all student entities. Course entity set – collection of all course entities.

Prof P Sreenivasa Kumar Department of CS&E, IITM

3

Attributes
Each entity is described by a set of attributes/properties. student entity StudName – name of the student. RollNumber – the roll number of the student. Sex – the gender of the student etc. All entities in an Entity set/type have the same set of attributes. Chosen set of attributes – amount of detail in modeling.

Prof P Sreenivasa Kumar Department of CS&E, IITM

4

Types of Attributes (1/2)
• Simple Attributes having atomic or indivisible values. example: Dept – a string PhoneNumber – an eight digit number • Composite Attributes having several components in the value. example: Qualification with components (DegreeName, Year, UniversityName) • Derived Attributes Attribute value is dependent on some other attribute. example: Age depends on DateOf Birth. So age is a derived attribute.
Prof P Sreenivasa Kumar Department of CS&E, IITM 5

Types of Attributes (2/2)
• Single-valued

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

    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

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

    MIS Section3&4

    • 255 Words
    • 2 Pages

    10. An automated or manual file that stores information about data elements and data characteristics such as usage, physical representation, ownership, authorization, and security is the:…

    • 255 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Erp Final

    • 1471 Words
    • 5 Pages

    b. Some of the different types of master data are customer data, vendor master, material master, pricing data, HR master data, BOM, standard networks, standard WBS, work centers. Attributes are info objects that are logically subordinate to a characteristic. For instance with a COST CENTER you could assign attributes like PERSON RESPONSIBLE FOR COST CENTER or TELEPHONE NUMBER OF THE PERSON RESPONSIBLE FOR…

    • 1471 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    The cardinalities of the relationship between Room and RoomType shown in my ERD specifies that each Room is uniquely identified by a RoomId, which can be described by only one of all available RoomTypes. As such, each RoomId must be classified into a RoomType, and therefore, in accordance with entity integrity, both primary keys must not be null. Since RoomType will occur several times in the RoomTable, it should be “NotNull” as not null condition must be defined for the dependent table’s foreign key, but because of its multiple occurrence, RoomType cannot be “unique”.…

    • 367 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    System Analysis and Design

    • 13666 Words
    • 55 Pages

    Concisely define each of the following key data-modeling terms: conceptual data model, entity-relationship diagram, entity type, entity instance, attribute, candidate key, multivalued attribute, relationship, degree, cardinality, and associative entity.…

    • 13666 Words
    • 55 Pages
    Powerful Essays
  • Powerful Essays

    Every Entity has attributes. Attributes are characteristics that allow us to classify/describe an entity e.g., entity STUDENT has the attributes:…

    • 1294 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Ax 2012 Product Info Module

    • 2349 Words
    • 10 Pages

    These Attributes can be use to record and unit to measure integer or decimal the data in the following above mention type…

    • 2349 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Database I

    • 2160 Words
    • 9 Pages

    Required attribute; optional attribute. A required attribute must have a value for each entity instance, whereas an optional attribute may not have a value for every entity instance. You may give an example of degree versus major in student entity in a University student registration system – degree is mandatory attribute and major is optional.…

    • 2160 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    System Administrator page 2 of 14 Tutorial Week 7 - Class and Entity-Relationship Diagrams 2.1.2.8 Association Classes Can be applied to binary or n-ary associations. Used to capture the attributes of an…

    • 1815 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

             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…

    • 465 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Structure Query Language

    • 4327 Words
    • 18 Pages

    An attribute is a property of an entity. It describes a part of an entity. Entity could have one or more attributes.…

    • 4327 Words
    • 18 Pages
    Better Essays
  • Satisfactory Essays

    Software Engineering

    • 1405 Words
    • 6 Pages

    Entity–relationship model (ER model) in software engineering is an abstract way to describe a database. This article refers to the techniques proposed in Peter Chen's 1976 paper.An ER model is an abstract way to describe a database.…

    • 1405 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Attributes – data components of a class that provide and traits for the object of that class; also called fields, properties, and instance variables…

    • 1782 Words
    • 8 Pages
    Good Essays