Preview

Construction of a Relational Database Using an EER Model

Powerful Essays
Open Document
Open Document
1797 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Construction of a Relational Database Using an EER Model
constructing of Relational Database using an EER Model

4.1 The steps involved in the design of relational database are

1) Developing the conceptual model – Drawing the ER/ EER diagram 2) Transforming the Conceptual model into a set of relations – relational schema and 3) Normalizing the relations.
Once ER / EER model has been developed for the application , ER/ EER diagram can be mapped into a relational model .
ER/ EER diagram consists of the following components. 1) Entities (Strong , Weak) with attributes 2) Attributes may be Single, Simple, composite or multi valued attributes 3) Relationships with cardinality ratios (1:1, 1:N, N: M) 4) Ternary relationship 5) In the case of EER diagram, concept of generalization, categorization and aggregation
4.2 Translation of EER diagram into a set of relations includes the translation of 1) Strong Entity 2) Weak Entity 3) Multi valued attributes 4) Unary relationship 5) Binary relationships (1:1 and 1:M) 6) M: N relationships 7) Ternary relationship 8) Associative entity 9) Generalization / Specialization 10) Categorization (union) and 11) Aggregation

The transformation includes the translation of all the above components in the following steps 4.2.1 Translation of Entity Strong Entity : Each strong entity in the ER / EER diagram will be a relation on translation. The attributes of the entities will be automatically the attributes of the relation. One of the attributes which has unique and single value will be the primary key of the relation. Weak Entity: Each weak entity will also be translated into a relation. The attributes will be the attributes of the relation By definition the existence of weak entity depends upon the other strong entity. Known as Owner entity This characteristic is reflected in fixing the primary key of the relation corresponding to the weak entity. The primary key will be a

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

    2. (2 pts) Draw the ERD for the following scenario. The only attribute you need to include is the IDENTIFIER. Be careful with your cardinality.…

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

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    4. ERDs- (Entity Relation Diagram) One common method of depicting entities and relations in a diagram.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The hierarchy flow of information can be presented by creating Entity relationship diagram that will allow any end users to see the process of data flow and to understand the importance of a structured database. There are four widely used symbols that enable ERD to…

    • 762 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The Entity Relationship Diagram (ERD) will show the affiliation between the data and the database. The new database will allow managers within Huffman Trucking to generate up-to-date reports for Fleet Truck Maintenance. Smith Systems Consulting did not create a database so Team B is constructing Entity-Relationship Diagrams for the Fleet Truck…

    • 690 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
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    Then the functional dependency A → C (which follows from 1 and 3 by the axiom of transitivity) is a transitive dependency.…

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

    The Baptist Anti-Slavery

    • 1249 Words
    • 5 Pages

    The “Constitution of the Baptist Anti-Slavery Society,” formed on December 12, 1839, is a document that gives theological rationale for the organization of this Christian abolitionist society, and more generally for why Christians—particularly Baptists—need to be involved in the abolitionist movement to end slavery. The Constitution is composed of three central parts: 1) an opening statement on the urgent need for the immediate abolition of slavery; 2) nine articles that organizes the practices, structure, and officers of the Society; 3) an address to the Baptist churches of Providence that more fully explains the need and logic of the Society’s purpose.…

    • 1249 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Cis 111

    • 790 Words
    • 4 Pages

    The purpose of the E-R diagram is to provide an organization with a simple drawing that can be used to describe the organization’s data. The E-R model consists of three primary components…

    • 790 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Database for Scheduling

    • 528 Words
    • 3 Pages

    In the Entity-Relationship Diagram (ERD), we start by identifying the entities. In this instance we will use Instructors and Courses as are entities. Next we will identify how they relate to one another. In this model the Instructors and Courses will relate by Instructor ID and Course ID. Once we have a good ERD we need to review it for normalization which is done automatically in software like Microsoft Access. Once both of these are satisfied we can create the database and check for errors. (Shelly & Rosenblatt, 2012).…

    • 528 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Cis 276

    • 374 Words
    • 2 Pages

    7.What is an ER diagram? An entity-relationship (E-R) diagram represents a database visually by using a rectangle for each entity that includes the entity’s name above the rectangle and the entity’s columns inside the rectangle, using a line to connect two entities that have a relationship, and placing a dot at the end of a line to indicate the “many” part…

    • 374 Words
    • 2 Pages
    Satisfactory Essays