System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar
|
|
- Phoebe Jennings
- 5 years ago
- Views:
Transcription
1 1 System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar
2 Overview DATABASE ARCHITECTURE 2 External level concerned with the way individual users see the data PROJECT 1 Conceptual level can be regarded as a community user view a formal description of data of interest to the organization Internal level concerned with the way in which the data is actually stored
3 Overview 3 Level Database Design 3 PROJECT 1 Conceptual Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary to represent the reality and capture business data requirements Logical Design Transforming ERD to relational model: tables, keys (constraints), etc. Physical Design Creating the database and other supporting structures based on a specific DBMS
4 Overview General These tools are not specific to either structured analysis or OO analysis. Use-cases Use-case diagrams 4 Activity diagrams Data object diagrams Swimlane diagrams analysis model tools Structured Analysis ERD diagrams Data flow diagrams Class diagrams Process specifications (Process narrative) Packages CRC cards OO Analysis Sequence Diagrams
5 Overview 5 Modeling Tools: Structured Analysis: Data object diagrams Models data elements ERD diagrams Attributes Relationships Structured Analysis Data flow diagrams Models processes that Process specifications transform data (Process narrative)
6 6 Entity-Relationship Diagram Proposed by Dr. Peter Chen in 1970s A conceptual model A pictorial representation of the information that can be captured by a database Allows database professionals to describe an overall design concisely yet accurately Major elements : i. Entity (with attributes and identifier) ii. Relationship * Most of Entity-Relationship Diagram can be easily transformed into the relational schema
7 ERD An Example Of Entity-Relationship Diagram 7
8 ERD An Example Of Entity-Relationship Diagram 8 Attributes : نام دانشجو شماره دانشجوئي نام استاد مدرک Entity : دانشجو استاد گروه درسی درس تاريخ تولد نيمسال شماره گروه شماره درس نام درس Relationship : ارائه دارد تعداد واحد شماره درس
9 ERD 9
10 10
11 ERD i.entity 11 It is a real world item / concept that can exist on it s own It may be an object with physical existence ( person, house) or it may be an object with conceptual existence (company,job, university course) Entity class (entity set) is a structural description of things that share common attributes Entity instance is the occurrence of a particular entity
12 ERD (Entity) Entity set 12 Collection of entities of a particular entity type in a database at any point of time is called entity set An entity set is a set of entities with common attributes Entity set is usually referred to by same name as the entity type Entity type is represented as rectangle enclosing the type name which is singular noun. Entity type
13 ERD (Entity) Entity type (Attribute) 13 defines collection of entities that have same attribute Describes an entity class All entity instances of a given entity class have the same attributes, but vary in the values Entity type in a database is defined by it s name and attribute. Entity instance is a single occurrence of an entity type.
14 ERD (Entity) Weak entity and strong entity strong entity Regular entity types that have key value is called strong entities 2. weak entity Entity type that doesn t have a key attribute on it s own
15 ERD (Entity) 2.Weak entity 15 Entity belonging to weak entity type is identified by being related to specific entities from another entity type in combination with one of their attribute value The relationship that connects owner entity type to weak entity is called Identifying relationship. The weak entities are also called as child entity type or subordinate entity type can sometimes be represented as complex attributes (composite and multivalued attributes)
16 ERD (Entity) 2.Weak entity 16 Weak entity type normally has partial key(descriminator) o Partial key are set of attributes that can uniquely identify weak entities that are related to some owner entity o Partial key attribute is denoted with underlined or dotted line Weak entities have always a total participating constraint because they cannot be identified without an owner entity, But converse is not true Example : Driver license entity can t exist without person entity though it has it s own key (license number) => There is total participation but not weak entity
17 ERD (Entity) 2.Weak entity 17 شماره وابسته شماره دانشجويي شماره دانشجو وابستگان کمک هزينه دانشجو
18 ERD (Entity) Attribute 18 Attributes are the properties that describe the entities Attribute names are enclosed by ovals and connected to their entities by single line Set of attribute values of a given attribute is the value set or domain
19 ERD (Entity) Attribute 19 SIMPLE ATTRIBUTE COMPOSITE ATTRIBUTE Cannot be split in to further attributes(indivisible) Also known as Atomic attribute Example: Ssn(Social Security Number) Can be divided in to smaller subparts which represent more basic attributes with independent meaning Even form hierarchy Value of the composite attribute is the composition of the constituent simple attributes Example: Address
20 ERD (Entity) Attribute 20 SINGLE VALUED ATTRIBUTE Attributes having single value for particular entity. Example : Age MULTI VALUED ATTRIBUTE Attribute having set of values Denoted by double circled oval Example: Phone-number, Collegedegree DERIVED ATTRIBUTE STORED ATTRIBUTE Attribute values are derived from another attribute. Denoted by dotted oval Example: Age Attributes from which the values of other attributes are derived Example: Bdate
21 ERD (Entity) Entity and Attribute 21 Identifier Identifies an entity instance The value of the identifier attribute is unique for each entity instance
22 ERD (Entity) Iidentifier attribute or key attribute 22 Key Superkey Candidate key Primary key Data item that allows us to uniquely identify individual occurrences or an entity type. Attribute or set of attributes that uniquely identify a tuple. Minimal super key with the property of irredusability and uniqueness An entity type may have one or more possible candidate keys, the one which is selected as primary key. Composite key candidate key that consisting of two or more attributes Foreign key An attribute or set of attribute that matches the candidate key or other or same relation
23 ERD (Entity) key attributes 23 An attribute, or a group of attributes, that assumes a unique value for each entity instance. It is sometimes called an identifier.
24 ERD (Entity) key attributes 24 Simple key attribute Composite key attribute
25 ERD (Entity) Example 25
26 ERD (Entity) Example 26 Composite-hierarchy Primary-key Multi valued derived stored
27 ERD (Entity) Other Attribute Types 27 Composite attribute An attribute that can be further divided into more attributes o Example: Name, Address, etc Multi-Value Attribute An attribute that allow multiple values o Example: skills, phone numbers, etc Derived attribute Attributes that can be calculated (derived) from other attributes o Example: age, total, interest, due date, etc. *Unlike the relational model, these attribute are allowed in conceptual models
28 ERD (Entity) Complex attribute 28 Composite and multi valued attribute can also be nested arbitrarily to form complex key
29 ERD (Entity) Complex and composite attribute 29 Composite attributes are useful to model situations in which user refers to the composite attribute as a unit but other times refer specifically to it s components. If the composite attribute is to be referenced only as a whole then there is no need to represent it in to component attributes. Example: if there is no need to refer to the individual components of an address ( ZIP, code, street etc) then the whole address can be designated as a simple attribute.
30 ERD (Entity) Criteria for selecting identifiers 30 Choose identifier that will not change in value over the life of each instance of the entity type Choose identifier that is guaranteed to have valid values and will not be null (or unknown). If composite, make sure all parts will have valid values Avoid the use of intelligent identifiers whose structure indicates classifications, locations or people that might change. e.g. the first two digits of an identifier may indicate a warehouse location, but such codes are often changed as conditions change, which renders them invalid. * Some entities have more than one candidate identifier
31 ERD ii.relationship 31 When attribute of an entity refers to another entity type there exists relationship Describes how many entity instance can be in the relationship The relationship is often denoted by diamond symbol and are usually verbs. Example: Relationship WORKS-FOR between EMPLOYEE and DEPARTMENT associates each employee with the department for he works.
32 ERD (Relationship) Relationship features Cardinality: Entity instance s participation count 2. Degree of relationship: How many entities are involved in a relationship? 3. Participation constraint: participate of an entity in relationship
33 ERD (Relationship features ) 1.Cardinality 33 Describes how many entity instance can be in the relationship A. Maximum cardinality (type of relationship) Describes the maximum number of entity instances that participate in a relationship 1.A.1 : One-to-one 1.A.2 : One-to-many 1.A.3 : Many-to-many B. Minimum cardinality Describes the minimum number of entity instances that must participate in a relationship
34 ERD (Relationship features.cardinality : Maximum cardinality ) 1.A.1 : One-to-One (1:1) 34 A single entity instance in one entity class is related to a single entity instance in another entity class ERD Notation (Crow s foot) Governor Governs / Has State *A governor governs (only) one state; a state has (only) one governor
35 ERD (Relationship features.cardinality : Maximum cardinality ) 1.A.2 : One-to-Many (1:N) 35 A single entity instance in one entity class (parent) is related to multiple entity instances in another entity class (child) ERD Notation (Crow s foot) books Publish / Published by Publishers *A book is published by (only) one publisher; a publisher can publish many (multiple) books
36 ERD (Relationship features.cardinality : Maximum cardinality ) 1.A.3 : Many-to-Many (N:N) 36 Each entity instance in one entity class is related to multiple entity instances in another entity class; and vice versa. ERD Notation (Crow s foot) books Write / Written by Authors * A book can be written by many (multiple) authors; an author can write many (multiple) books
37 ERD (Relationship features.cardinality : Maximum cardinality ) Example of Cardinality 37 One to one 1 1 one to many N 1 Many to many M N
38 ERD (Relationship features.cardinality : Minimum cardinality) 1.B : Minimum cardinality 38 Minimum cardinality describes the minimum number of instances that must participate in a relationship for any one instance Minimums are generally stated as either zero or one: 0 (optional): participation in the relationship by the entity is optional. 1 (mandatory): participation in the relationship by the entity is mandatory.
39 ERD (Relationship features.cardinality : Minimum cardinality) 1.B : Minimum cardinality 39 ERD Notation (Crow s foot) One to many maximum cardinality: a programmer can have many certificates; a certificate is issued to only one programmer. Write / Certificates 0 1 Written by Programmers A certificate is optional in the relationship (optional for a programmer) ; or a programmer may not have any certificates. A programmer instance is required in the relationship (a programmer is mandatory for a certificate); or a certificate has to be issued to someone.
40 ERD Relationship Modeling Considerations 40 I. Multiple relationships II. Transitive relationship III. Attributes of relationships IV. Promoting relationship to entity
41 ERD (Relationship Modeling Considerations ) I. Multiple relationships 41 Multiple relationships can exists between entities, as long as they are independent or different Supervise Faculty Teach Student Advise
42 ERD (Relationship Modeling Considerations ) II. Transitive relationship 42 Entities can be related indirectly by two relationship. A relationship is redundant if it can be completely represented by alternate transitive relationships Is this relationship redundant? Can Department and Student be related indirectly through these two relationships?
43 ERD (Relationship Modeling Considerations) III. Attributes of relationships 43 A relationship can have attributes Employee_ID Employee_Name Date_Completed Course_ID Course_Title EMPLOYEE Completes COURSE
44 ERD (Relationship Modeling Considerations) III. Attributes of relationships 44
45 ERD (Relationship Modeling Considerations) III. Attributes of relationships (part 1) 45 Attributes of 1:1 or 1:N relationship can be migrated to one of the participating entity types. Example : Start-date attributes of MANAGES can be attribute of either DEPARTMENT or EMPLOYEE though conceptually it belongs to manages each EMPLOYEE MANAGES is a 1:1 relationship every DEPARTMENT /EMPLOYEE entity participate in atmost one relationship instance value of the Start-date can be determined separately either by participating DEPARTMENT entity or participating EMPLOYEE entity
46 ERD (Relationship Modeling Considerations) III. Attributes of relationships (part 2) 46 For 1:N relationship a relationship attribute can be migrated only to entity type on N- side of relationship Example : Start-date attribute here can added only to employee
47 ERD (Relationship Modeling Considerations) III. Attributes of relationships (part 3) 47 For M:N relationship types some attribute are determined by the combination of the participating entities, not by a single enitity. Such attribute must be specified as the relationship attributes Example : No.of hours an employee works on is department is determent is determined by the EMPLOYEE-PROJECT combination.
48 ERD (Relationship Modeling Considerations) IV. relationship to entity 48 Relationships can be modeled as entities, particularly when they have attributes Notice the change of cardinality notations (direction)
49 ERD (Relationship features ) 2. Degree Of relationship 49 Describes the number of entities involved in a relationship 2.1 Unary (one entity type involved in a relationship / the same entity participates more than once in different roles ) most common 2.2 Binary (two entity types involved in a relationship ) 2.3 Ternary (three entity types involved in a relationship ) 2.4 N ary (more than 3 entity types involved in a relationship )
50 ERD (Relationship features. Degree Of relationship) 2.1 : Unary relationship 50 only 1 entity required in this relationship Custome r 0 0 Refer / Referred Example o A customer can refer multiple other customers, and it s optional for them to refer other customers (he/she does not have to refer anyone). o A customer can be referred by only one other customer, and his/her referee is optional (he/she does not have to be referred by anyone).
51 ERD (Relationship features. Degree Of relationship ) 2.1 : Example of Unary relationship 51
52 ERD (Relationship features. Degree Of relationship ) 2.2 : Example of Binary relationship 52
53 ERD (Relationship features. Degree Of relationship) 2.3 : Ternary (three entities) 53 3 entities are required in this relationship Technician Project 1 1 Example o A technician uses a notebook in a project o Notebook and project as a combination always stay together Usernotebook 1 Notebook o Any of these 3 entities has to participate the relationship
54 ERD (Relationship features. Degree Of relationship) 2.4 : N ary (four entities) 54 More than 3 entities are required in this relationship (four entities) Physician Example Patient operates Nurses o A physician operates on a patient, with certain nurses and supplies participating in this operation at the same time Supplies
55 ERD (Relationship features) 3. Participation constraint 55 Specifies if existence of an entity depends on it being related to another entity via relationship Specifies minimum number of relationship instances each entity can participate in This is called minimum cardinality constraint Participation constraint: Total (double line in diagram) Partial (existence dependencies / single line in diagram )
56 ERD (Relationship features) 3. Example of Participation constraint 56 if company policy says that every employee must work for the department then participation of employee in work-for is total. Every entity in total set of employee must be related to a department via WORKS-FOR * The participation of A is total (mandatory) if every entity of A must participate in at least one relationship in R. Otherwise, the participation of A is partial (optional).
57 ERD (Relationship features) 3. Example of Participation constraint 57
58 ERD (Relationship features. Participation constraint ) Alternative notations 58 associating pair of integer (min,max) with each participation of entity type in a relationship type (structural constraints) 0<=min<=max and max>=1 Min>0 == total participation Min=0 == partial participation
59 ERD Crow s foot Notation Summary 59
60 ERD Refining ER Diagrams (part 1) 60 Concept may be first modeled as an attribute and then refined in to a relationship because it is determined that an attribute is reference to another attribute A pair of such attribute that are inverses of one another are refined to as binary relationship
61 ERD Refining ER Diagrams (part 2) 61 An attribute that exists in several entity types may be elevated or promoted to an independent entity
62 ERD Refining ER Diagrams (part 3.1) 62 Choosing between binary and ternary relationship : including the ternary relationship plus one or more of the binary relationship if they represent different meaning and all are needed by the application ( i ) ( ii )
63 ERD Refining ER Diagrams (part 3.2) 63 Choosing between binary and ternary relationship : ternary relationship supply can be represented as the weak entity type with three identifying relationship ( ii ) ( iii )
64 ERD Refining ER Diagrams (part 4) 64 Dealing with ternary relationship : replacing the ternary relations hip with an entity type and a set of binary relationships
65 ERD Refining ER Diagrams (part 5) 65 redundant relationship : Entities can be related indirectly by two relationships * A relationship is redundant if it can be completely represented by alternate transitive relationships
66 ERD Refining ER Diagrams (part 6.1) 66 Confirming optionality and cardinality of relationship : using an entity set diagram" to show entity examples graphically 1.Use the diagram to show all possible relationship scenarios. 2.Go back to the requirements specification and check to see if they are allowed. 3.If not, then put a cross through the forbidden relationships This allows you to show the cardinality and optionality of the relationship
67 ERD Refining ER Diagrams (part 6.2) 67 Confirming optionality and cardinality of relationship
68 ERD Refining ER Diagrams (part 7) 68 Dividing the relationship parameters : To check we have the correct parameters (sometimes also known as the degree) of a relationship, ask two questions: 1. One course is studied by how many students? Answer = `zero or more => the degree at the `student' end The answer `zero or more' needs to be split into two parts. The `more' part means that the cardinality is `many'. The `zero' part means that the relationship is `optional'. If the answer was `one or more', then the relationship would be `mandatory'.
69 ERD CONSTRUCTING AN ER MODEL 69 1) Identify entities 2) Remove duplicate entities 3) List the attributes of each entity 4) Mark the primary keys 5) Define the relationships 6) Describe the cardinality and optionality of the relationships 7) Remove redundant relationships
Entity Relationship Diagram (ERD): Basics
Entity Relationship Diagram (ERD): Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 Overview: 3 Level Database Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship
More informationDatabase Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams
Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The
More informationChapter 4. In this chapter, you will learn:
Chapter Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The main characteristics of entity
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ 1 In this chapter, you will learn:
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling 4.1 The Entity Relationship Model (ERM) ER model forms the basis of an ER diagram ERD
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ http://www.comp.nus.edu.sg/~lingt
More informationRelational Model (cont d) & Entity Relational Model. Lecture 2
Relational Model (cont d) & Entity Relational Model Lecture 2 Relational Database Operators Relational algebra Defines theoretical way of manipulating table contents using relational operators: SELECT
More informationChapter # 4 Entity Relationship (ER) Modeling
Chapter # 4 Entity Relationship (ER) Modeling Entity Relationship (ER) Modeling ER model forms the basis of an ER diagram ERD represents conceptual database as viewed by end user ERDs depict database s
More informationEntity Relationship Modelling
Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes, and relationships in a system The degree of
More informationConceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling
COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design
More informationUsing High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys
Chapter 7: Data Modeling Using the Entity- Relationship (ER) Model Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys
More informationIS 263 Database Concepts
IS 263 Database Concepts Lecture 1: Database Design Instructor: Henry Kalisti 1 Department of Computer Science and Engineering The Entity-Relationship Model? 2 Introduction to Data Modeling Semantic data
More informationData Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell
Data Analysis 1 Chapter 2.1 V3.1 Copyright @ Napier University Dr Gordon Russell Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is
More informationObjectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute
Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual
More informationLECTURE 3: ENTITY-RELATIONSHIP MODELING
LECTURE 3: ENTITY-RELATIONSHIP MODELING Ref. Chapter11 + Appendix F from Database Systems: A Practical Approach to Design, Implementation and Management. Thomas Connolly, Carolyn Begg. 1 IS220 : D a t
More informationDatabase Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams
Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The
More informationNon-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52
Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.
More informationCOSC 304 Introduction to Database Systems. Entity-Relationship Modeling
COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design
More informationChapter 2 Conceptual Modeling. Objectives
Chapter 2 Conceptual Modeling Basic Entity Relationship Diagrams 1 Objectives Definition of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes
More informationMore on the Chen Notation
More on the Chen Notation Reference: http://www.vertabelo.com/blog/technical-articles/chen-erd-notation Peter Chen, who developed entity-relationship modeling and published his work in 1976, was one of
More informationRepresent entities and relations with diagrams
LEARNING OBJECTIVES Define data modeling terms Describe E-R Model Identify entities and relations Represent entities and relations with diagrams WHAT IS DATA MODELING? A data model is a collection of concepts
More informationChapter 4 Entity Relationship Modeling In this chapter, you will learn:
Chapter Entity Relationship Modeling In this chapter, you will learn: What a conceptual model is and what its purpose is The difference between internal and external models How internal and external models
More informationThe Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs
The Entity-Relationship Model Conceptual Data Modeling The Entity-Relationship model The E-R model is a detailed, logical representation of the data for an organisation or business area It should be understandable
More informationChapter 2 ENTITY RELATIONSHIP MODEL
INTRODUCTION Chapter 2 ENTITY RELATIONSHIP MODEL Data model is used to describe data, data relationship and constraints on data. A number of different data models have proposed. They can broadly be classified
More informationOverview of Database Design Process Example Database Application (COMPANY) ER Model Concepts
Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship
More informationDatabase Systems ER Model. A.R. Hurson 323 CS Building
ER Model A.R. Hurson 323 CS Building Database Design Data model is a group of concepts that helps to specify the structure of a database and a set of associated operations allowing data retrieval and data
More informationcourse 3 Levels of Database Design CSCI 403 Database Management Mines Courses ERD Attributes Entities title 9/26/2018
3 Levels of Database Design CSCI 403 Database Management 13 Database Modeling with Entity-Relationship Diagrams Conceptual (this lecture) Understand data entities & relationships between them Communication
More informationDATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT
DATABASE SYSTEMS DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT Chapter 5 Entity Relationship (ER) Modelling 1 Coronel & Crockett 978184480731) In this chapter, you will
More informationTHE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)
THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E) 2 CHAPTER 7 OUTLINE Using High-Level, Conceptual Data Models for Database Design Entity-Relationship (ER) model Popular high-level conceptual
More informationDatabase Management Systems LECTURE NOTES 2
Database Management Systems LECTURE NOTES 2 Relation: A table; Tuple: A row in a table; Attribute: A column in a table Degree: number of attributes; Cardinality: number of tuples Entity and Entity Sets:
More information1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems
CS 440: Database Management Systems Chapter 7 Outline Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Relationship
More informationChapter 3 Database Modeling and Design II. Database Modeling
Chapter 3 Database Modeling and Design II. Database Modeling Dr. Eng. Shady Aly 1 Data modeling تمثيل مجرد A data model is abstract representation of the data on which the IS application is to be based
More informationThe Entity Relationship Model
The Entity Relationship Model CPS352: Database Systems Simon Miner Gordon College Last Revised: 2/4/15 Agenda Check-in Introduction to Course Database Environment (db2) SQL Group Exercises The Entity Relationship
More informationFull file at
Modern Database Management, 10e (Hoffer/Ramesh/Topi) Chapter 2 Modeling Data in the Organization 1) Data modeling may be the most important part of the systems development process because: A) data characteristics
More informationLecture3: Data Modeling Using the Entity-Relationship Model.
College of Computer and Information Sciences - Information Systems Dept. Lecture3: Data Modeling Using the Entity-Relationship Model. Ref. Chapter12 Prepared by L. Nouf Almujally & Aisha AlArfaj Rev. by
More informationDATA MODELING USING THE ENTITY-RELATIONSHIP MODEL. 1 Powered by POeT Solvers Limited
DATA MODELING USING THE ENTITY-RELATIONSHIP MODEL 1 www.pmtutor.org Powered by POeT Solvers Limited 2 www.pmtutor.org Powered by POeT Solvers Limited Entity-Relationship (ER) Model The ER model is a high-level
More informationEssentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization
Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization 1) The logical representation of an organization's data is called a(n): A) database model. B) entity-relationship
More informationDatabase Management System 6 ER Modeling...
Database Management System 6 School of Computer Engineering, KIIT University 6.1 A key allows us to identify a set of attributes that suffice to distinguish entities from each other A key is a property
More information0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart
More informationData Modeling Using the Entity-Relationship Model
3 Data Modeling Using the Entity-Relationship Model Conceptual modeling is a very important phase in designing a successful database application. Generally, the term database application refers to a particular
More informationDatabase Management System 5 ER Modeling
ER ing Database Management System 5 ER ing School of Computer Engineering, KIIT University 5.1 ER ing The initial phase of database design is to characterize fully the data needs of the prospective database
More informationRelated download: Instructor Manual for Modern Database Management 12th Edition by Hoffer Venkataraman Topi (Case studies included)
Modern Database Management Test Bank, 12e (Hoffer) Completed download: https://testbankarea.com/download/modern-database-management-12thedition-test-bank-hoffer-venkataraman-topi/ Related download: Instructor
More informationData Modeling Using the Entity- Relationship Model Design & Analysis of Database Systems
Data Modeling Using the Entity- Relationship Model 406.426 Design & Analysis of Database Systems Jonghun Park jonghun@snu.ac.kr Dept. of Industrial Engineering Seoul National University outline overview
More informationCS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam
CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?
More informationChapter Outline. Note 1. Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts
Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship
More informationMIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung
MIS2502: Data Analytics Relational Data Modeling - 1 JaeHwuen Jung jaejung@temple.edu http://community.mis.temple.edu/jaejung Where we are Now we re here Data entry Transactional Database Data extraction
More informationData Modeling Using the Entity-Relationship (ER) Model
CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-1 Chapter Outline Overview of Database Design Process Example Database Application
More informationDatabase Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015
Lecture 5 Database Systems Instructor: M.Imran Khalil Imrankhalil3@gmail.com Resource:Imrankhalil3.wordpress.com University of Sargodha Canal Campus Lahore Overview - important points Some introductory
More informationCS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010
CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring
More informationData Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.
Data Modeling with the Entity Relationship Model CS157A Chris Pollett Sept. 7, 2005. Outline Conceptual Data Models and Database Design An Example Application Entity Types, Sets, Attributes and Keys Relationship
More informationER to Relational Mapping
ER to Relational Mapping 1 / 19 ER to Relational Mapping Step 1: Strong Entities Step 2: Weak Entities Step 3: Binary 1:1 Relationships Step 4: Binary 1:N Relationships Step 5: Binary M:N Relationships
More informationFull file at Chapter 2: Foundation Concepts
Chapter 2: Foundation Concepts TRUE/FALSE 1. The input source for the conceptual modeling phase is the business rules culled out from the requirements specification supplied by the user community. T PTS:
More information4. Entity Relationship Model
4. Entity Relationship Model a) ER-Model: Used to construct conceptual data model, representing the structure and constraints of a database, which is not dependent on a software (like DBMS) or any data
More informationConceptual Design. The Entity-Relationship (ER) Model
Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Database Design Overview Conceptual design The Entity-Relationship
More informationChapter 2: Entity-Relationship Model. Entity Sets. Entity Sets customer and loan. Attributes. Relationship Sets. A database can be modeled as:
Chapter 2: Entity-Relationship Model Entity Sets Entity Sets Relationship Sets Design Issues Mapping Constraints Keys E-R Diagram Extended E-R Features Design of an E-R Database Schema Reduction of an
More informationIntro to DB CHAPTER 6
Intro to DB CHAPTER 6 DATABASE DESIGN &THEER E-R MODEL Chapter 6. Entity Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity Sets Extended E-R Features Design of
More informationER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the
ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of data within databases or information systems.
More informationElements of the E-R Model
Chapter 3: The Entity Relationship Model Agenda Basic Concepts of the E-R model (Entities, Attributes, Relationships) Basic Notations of the E-R model ER Model 1 Elements of the E-R Model E-R model was
More informationDavid M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship Model Chapter Objectives To understand the two-phase
More informationConceptual Database Design (ER modeling) Chapter Three
Conceptual Database Design (ER modeling) Chapter Three 1 Agenda (Chapter Three) Overview-database design Conceptual Design (E-R Modeling) Structural Constraints EER- Generalization and Specialization Reducing
More informationConceptual Data Modeling
Conceptual Data odeling A data model is a way to describe the structure of the data. In models that are implemented it includes a set of operations that manipulate the data. A Data odel is a combination
More informationData about data is database Select correct option: True False Partially True None of the Above
Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another
More informationMIS Database Systems Entity-Relationship Model.
MIS 335 - Database Systems Entity-Relationship Model http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database Design Main concepts in the ER model? ER Diagrams Database Design
More informationObjectives Definition iti of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes Distinguis
Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Objectives
More informationConceptual Data Models for Database Design
Conceptual Data Models for Database Design Entity Relationship (ER) Model The most popular high-level conceptual data model is the ER model. It is frequently used for the conceptual design of database
More informationConceptual Data Modeling Using E-R Models. PM Jat
Conceptual Data Modeling Using E-R Models PM Jat pm_jat@daiict.ac.in Data Model Data modeling is the most important task in database development completeness correctness performance of database depends
More informationEntity-Relationship Model
Entity-Relationship Model Data Models High-level or conceptual data models provide concepts that are close to the way many users perceive data, whereas low-level or physical data models provide concepts
More informationEntity Relationship Diagram (ERD) Dr. Moustafa Elazhary
Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary Data Modeling Data modeling is a very vital as it is like creating a blueprint to build a house before the actual building takes place. It is built
More informationConceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014
Conceptual Data Modeling and the Entity- Relationship Model Department of Computer Science Northern Illinois University September 2014 Data Models A means of describing the structure of the data A set
More informationCOMP Instructor: Dimitris Papadias WWW page:
COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management
More informationCopyright 2016 Ramez Elmasr and Shamkant B. Navathei
CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Slide 1-2 Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes
More informationUnit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd.
Unit 2 - Data Modeling Pratian Technologies (India) Pvt. Ltd. Topics Information Engineering Approaches to IS Developments SDLC Prototyping ER Modeling Why Data Modeling? Definition Information Engineering
More informationAgenda: Understanding Relationship Types Degree and Cardinality with Examples
Data Processing AAOC C311 I Semester 2012 2013 CLASS 4 Agenda: Understanding Relationship Types Degree and Cardinality with Examples Prentice Hall, 2002 1 More on Relationships (A set of meaningful associations
More informationThe DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.
Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting
More informationChapter 2: Entity-Relationship Model
Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R
More informationInformation Technology Audit & Cyber Security
Information Technology Audit & Cyber Security Structured Data Requirements Systems & Infrastructure Lifecycle Management with E-R LEARNING OBJECTIVES Explain the role of conceptual data modeling in the
More informationHigh Level Database Models
ICS 321 Fall 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 9/21/2011 Lipyeow Lim -- University of Hawaii at Manoa 1 Database
More informationTranslation of ER-diagram into Relational Schema. Dr. Sunnie S. Chung CIS430/530
Translation of ER-diagram into Relational Schema Dr. Sunnie S. Chung CIS430/530 Learning Objectives Define each of the following database terms Relation Primary key Foreign key Referential integrity Field
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationA database can be modeled as: + a collection of entities, + a set of relationships among entities.
The Relational Model Lecture 2 The Entity-Relationship Model and its Translation to the Relational Model Entity-Relationship (ER) Model + Entity Sets + Relationship Sets + Database Design Issues + Mapping
More informationEntity-Relationship Model. From Chapter 5, Kroenke book
Entity-Relationship Model From Chapter 5, Kroenke book Database Design Process Requirements analysis Conceptual design data model Logical design Schema refinement: Normalization Physical tuning Problem:
More informationOverview of Database Design Process. Data Modeling Using the Entity- Relationship (ER) Model. Two main activities:
1 / 14 Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship Types
More informationDefinition. 02. Data Modeling. Example ABC Company Database. Data Modeling Importance
0. Data Modeling Definition Data Model = a collection of concepts that can be used to describe the structure of a database Structure = data types, relationships, constraints that should hold for that data
More informationUnderstanding Entity Relationship Diagrams. Dr. Chawalit Jeenanunta
Understanding Entity Relationship Diagrams Dr. Chawalit Jeenanunta Objective Business rule representation Diagram rules Alternative notations Dr. Chawalit Jeenanunta DBMS: Slide 2 Business Rules Enforce
More informationCSIT5300: Advanced Database Systems
CSIT5300: Advanced Database Systems L01: Entity Relationship (ER) Model Dr. Kenneth LEUNG Department of Computer Science and Engineering The Hong Kong University of Science and Technology Hong Kong SAR,
More information1. Considering functional dependency, one in which removal from some attributes must affect dependency is called
Q.1 Short Questions Marks 1. Considering functional dependency, one in which removal from some attributes must affect dependency is called 01 A. full functional dependency B. partial dependency C. prime
More informationEntity Relationship Data Model. Slides by: Shree Jaswal
Entity Relationship Data Model Slides by: Shree Jaswal Topics: Conceptual Modeling of a database, The Entity-Relationship (ER) Model, Entity Types, Entity Sets, Attributes, and Keys, Relationship Types,
More informationData Modeling During System Analysis. Logical Data Model Stages. What is Conceptual Database Design? Gathering Information for Conceptual
Data Modeling Entity Relationship Diagram Lecture 16 CSC(291) [Software Engineering 1] Instructor: Saif-ur-Rehman Khan COMSATS Institute of Information Technology, Islamabad Data Modeling During System
More informationEntity Attribute STUDENT TABLE tuples single domain
Objectives Computer Science 202 Database Systems: Relational Database Model To learn the basic relational database components and concepts. To become familiar with the relational table's components and
More information2. DatabaseDesign. Master I Software Engineering. Dr. Imed Bouchrika Dept of Mathematics & Computer Science University of Souk-Ahras
2. DatabaseDesign Master I Software Engineering Dr. Imed Bouchrika Dept of Mathematics & Computer Science University of Souk-Ahras imed@imed.ws Imed Bouchrika. Advanced Databases, Uni of Souk-Ahras 2013-2014
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationMIS2502: Data Analytics Relational Data Modeling. Jing Gong
MIS2502: Data Analytics Relational Data Modeling Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Where we are Now we re here Data entry Transactional Database Data extraction Analytical
More informationCSE 880:Database Systems. ER Model and Relation Schemas
CSE 880:Database Systems ER Model and Relation Schemas 1 Major Steps for Database Design and Implementation 1. Requirements Collection and Analysis: Produces database requirements such as types of data,
More informationER Model. Objectives (2/2) Electricite Du Laos (EDL) Dr. Kanda Runapongsa Saikaew, Computer Engineering, KKU 1
ER Model Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept of Computer Engineering Khon Kaen University Objectives (1/2) Relational Data Model Terminology of relational data model How
More informationRelational Database Systems Part 01. Karine Reis Ferreira
Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents
More informationAdvance Database Management System
Advance Database Management System Conceptual Design Lecture- A simplified database design process Database Requirements UoD Requirements Collection and Analysis Functional Requirements A simplified database
More informationThe entity is an object of interest to the end user. entity correspond to the table not to a row- in the relational environment.
THE ENTITY RELATIONSHIP MODEL(ERM)ENTITIES The entity is an object of interest to the end user. entity correspond to the table not to a row- in the relational environment. ATTRIBUTES Attributes are characteristics
More informationSystem Analysis & design
Assiut University Faculty of Computers and Information System Analysis & design Year 2 Academic Year 2014/ 2015 Term (2) Copyright 2014 Dr. Hossam Ragab 6 data model describes the data that flow through
More information