ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes.

Slides:



Advertisements
Similar presentations
Entity Relationship Diagrams
Advertisements

ENTITY RELATIONSHIP MODELLING
Systems Development Life Cycle
Data Modeling using the Entity-Relationship (ER) Model
Entity-Relationship Modelling Introduced by Chen in 1976 The ER Model is used to construct the conceptual data model – independent of DBMS Most widely.
Information Resources Management January 30, 2001.
1 Data Modelling Which data to include in the database.
Entity/Relationship Modelling
Data Modeling 1 Yong Choi School of Business CSUB.
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 1.
1 Web-Enabled Decision Support Systems Entity-Relationship Modeling Prof. Name Position (123) University Name.
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
ZEIT2301 – Database Design Entity-Relationship Diagrams
Data Modeling ERM ERD.
Business Process Modeling
CSE 441: Systems Analysis & Design
CHAPTER 2. FUNDAMENTAL OF ENTITY RELATIONSHIP (ER)
Practice of ER modeling
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Chapter 2: Modeling Data in the Organization
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
1 Relational Database Development Alison Taylder Consultant ITC-ILO, Turin 25 th November 2004.
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Data Modelling. ICT5 Introduction Historical development with most organisations Small-scale origins Individual computers bought for particular applications.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Entity-Relationship Modeling
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Data Modeling Using the Entity-Relationship (ER) Model.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Data modeling using the entity-relationship model Chapter 3 Objectives How entities, tuples, attributes and relationships among entities are represented.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Description and exemplification of entity-relationship modelling.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Entity/Relationship Modelling. Entity Relationship Modelling In This Lecture Entity/Relationship models Entities and Attributes Relationships Attributes.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
Entity relationship diagram Name: Quian Crosby Form:6AQ Subject: Information Technology Teacher: Ms. D. Anderson.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
DBMS ER model-2 Week 6-7.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
CSE 412/598 DATABASE MANAGEMENT COURSE NOTES 3. ENTITY-RELATIONSHIP CONCEPTUAL MODELING Department of Computer Science & Engineering Arizona State University.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Lecture 5 Entity Relationship Modeling
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
Entity Relationship Diagram ERD. Background Peter Chen developed ERDs in Charles Bachman and James Martin have added some slight refinements to.
 DEFINE THE ENTITY  IDENTIFY THE ENTITY TYPES AND SETS OF ENTITY  EXPLAIN THE ATTRIBUTE AND A VALUE SET  EXPLAIN E-R MODEL EXPLAIN THE FOLLOWING RELATIONSHIP.
Chapter Two Database Design (ER Model) Objectives: ER model Type of relationships Role in a relation Concept of Weak entities.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Entity Relationship Modeling
Entity-Relationship Model
Mr C Johnston ICT Teacher
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Fundamentals of Databases CSU 07203
MIS2502: Data Analytics Relational Data Modeling
Entity-Relationship Diagram (ERD)
Entity Relationship Model
Presentation transcript:

ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes how the data elements in the database are to be grouped. Three terms are used to describe the data requirements: Entity An entity is a thing of interest to an organisation about which data is to be held Attribute: An attribute is a property or characteristic of an entity Relationship: A relationship is a link or association between entities

ERD ( Person, place, object, event or concept about which data is to be maintained named property or characteristic of an entity Association between the instances of one or more entity types Represents a set or collection of objects in the real world that share the same properties EntityNameVerb Phrase AttributeName

ERD ( Entities Examples of entities: –Person: EMPLOYEE, STUDENT, PATIENT –Place: STORE, WAREHOUSE –Object: MACHINE, PRODUCT, CAR –Event: SALE,REGISTRATION, RENEWAL –Concept: ACCOUNT, COURSE Guidelines for naming and defining entity types: –An entity type name is a singular noun –An entity type should be descriptive and specific –An entity name should be concise –Event entity types should be named for the result of the event, not the activity or process of the event.

ERD ( Attributes Example of entity types and associated attributes: STUDENT: Student_ID, Student_Name, Home_Address, Phone_Number, Major Guidelines for naming attributes: –An attribute name is a noun. –An attribute name should be unique –To make an attribute name unique and clear, each attribute name should follow a standard format –Similar attributes of different entity types should use similar but distinguishing names.

ERD ( Relationships  Associations between instances of one or more entity types that is of interest  Given a name that describes its function. relationship name is an active or a passive verb.  Associations between instances of one or more entity types that is of interest  Given a name that describes its function. relationship name is an active or a passive verb. Author Book Relationship name: writes An author writes one or more books A book can be written by one or more authors.

ERD ( One-to-one Eg Products in a supermarket each have a unique barcode number. One-to-many Eg A video club member may hire out a number of videos. Many-to-many Teachers and pupils in a school. Each teacher teaches many pupils and each pupil has many teachers. Types of relationship

ERD ( Types of relationship One to One. 1. A department in school is led up by an individual person, and this person only leads one department. One to Many The head of department may be in charge of many staff, but these staff only have one head of department. Many to Many A teacher may order many books, but each book could be ordered by many teachers.

ERD ( Entity-relationship diagrams An entity-relationship diagram is a diagrammatic way of representing the relationships between the entities in a database. EmployeeCompany car drives (One-to-one) WardPatient holds (One-to-many) AlbumSingers features (Many-to-many)

ERD ( Data Requirements for a Hospital In-patient System A hospital is organised into a number of wards. Each ward has a ward number and a name recorded, along with a number of beds in that ward. Each ward is staffed by nurses. Nurses have their staff number and name recorded, and are assigned to a single ward. Each patient in the hospital has a patient identification number, and their name, address and date of birth are recorded. Each patient is under the care of a single consultant and is assigned to a single ward. Each consultant is responsible for a number of patients. Consultants have their staff number, name and specialism recorded.

ERD ( Entity Relationship Diagram Entity ( identifier ) Ward Ward Id Nurse Staff id Patient Patient id Consultant Staff id Ward Patient holds (One-to-many) Nurse Consultant Sees Staffed by

ERD ( Scenario Each semester, each student must be assigned an advisor who counsels students about degree requirements and helps the students register for classes. Each student must register for classes with the help of an advisor, but if the student ’ s assigned advisor is not available, the student may register with any advisor. We must keep track of students, the assigned advisor for each, and the name of the advisor with whom the student registerd for the current term.

ERD ( ERD For Scenario

ERD ( Scenario A course is always taught by some teacher. A teacher cannot exist without corresponding course. A course may be taught by at least one or more teachers. On the other hand, a teacher may teach at least one or more courses. Draw ERD diagram ???

ERD ( Scenario 2 Each department has a chairman while a chairman chairs only one department. The relationship between department and chairman will be what??