ER Modeling Case Studies

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

ER Model For a college DB
ER Modeling Case Studies
Entity Relationship Diagrams
Exercise 1 Consider the ER diagram below. Assume that an employee may work in up to two departments or may not be assigned to any department. Assume that.
Database Design The process of finding user requirement
Entity-Relationship Modeling (ER-M)
Developing ER-Diagram
ER Tutorial 1 Chapter 9 - Questions 1 and 2 V3.0
ER Modeling Case Studies
1 Assignment 4 Map entities with relationships to relational schemas. Use DBDL to describe the table schemas.
Six Blind Men and the Elephant. Basic ERD Symbology EntityRelationship AttributeMultivalued Attribute Associative Entity.
ENTITY RELATIONSHIP MODELLING
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Entity/Relationship Modelling
ER Modeling Case Studies
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,
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
Transforming ER & EER diagrams into Relations (Chapter 9)
ER Modeling Case Studies
1 Lecture 8 The Data Model. Database Design Process 1) i.d. users views and requirements 2) all requirements are mapped into relational model which is.
CSE 441: Systems Analysis & Design
Instructor :Huda Al-Omair
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
Entity Relationship Diagram (ERD) 22 February 2011.
Introduction to Database Systems
Entity-Relationship Model Ch. 3
Tutorial 3. This tutorial went through how to convert multiplicity numbering used in UML modelling to ERD, and vice versa. In the exam and assignments,
Project – Phase II Derive Database Schema from E-R Model DBDL.
Conceptual Database Design
Entity-Relationship Modeling
Entity – Relationship Model (E-R Model)
ER-tutorial Conceptual Design
3 & 4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Keys Consists of one or more attributes that determine other.
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Continued)
ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes.
E-R to Relational - Basic
Week 2 Lab2 ER Diagram Dina A. Said
Software School of Hunan University Database Systems Design Part III : Mapping ER Diagram to Relational Schema.
Database Design – Lecture 6 Moving to a Logical Model.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Introduction to Database Systems
Entity/Relationship Modelling. Entity Relationship Modelling In This Lecture Entity/Relationship models Entities and Attributes Relationships Attributes.
DBMS ER model-2 Week 6-7.
Introduction to Database Systems
Howard Paul. Sequential Access Index Files and Data File Random Access.
COMP 430 Intro. to Database Systems Entity-Relationship Diagram Basics Slides use ideas from Chris Ré.
April 20022CS3X1 Database Design Entity-relationship modelling John Wordsworth Department of Computer Science The University of Reading
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
1 Database Design Sections 6 & 7 First Normal Form (1NF), Second Normal Form (2NF), Unique Identifiers (UID), Third Normal Form (3NF), Arcs, Hierarchies.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
Entity/Relationship Modelling
Data Modeling Using the ERD
Let try to identify the conectivity of these entity relationship
Case Studies: Data Modeling
E-R Diagram (Cont.) Draw ER Diagram for the following scenario:
Entity-Relationship Model
Payroll Management System
ER Modeling Case Studies
Entity relationship diagrams
Database Modeling using Entity Relationship Model (E-R Model)
CS4222 Principles of Database System
ER Modeling Case Studies
ER Modeling Case Studies
Workshop Exercise (Week 6)
Entity Relation Model Tingting Zhang.
Database Management system
Database Management system
Workshop Exercise (Week 6)
Presentation transcript:

ER Modeling Case Studies

Hospital :ER Case Study A General Hospital consists of a number of specialized wards (such as Radiology, Oncology, etc) .Information about ward includes unique name, total numbers of current patients. Each ward hosts a number of patients, who were admitted by a consultant (doctors) employed by the Hospital. On admission, the date and time are kept. The personal details of every patient includes name, Medical Recode Number (MRN), set of phone and one address (city, street, code). A separate register is to be held to store the information of the tests undertaken. Each test has unique episode No. , category and the final result of test. Number of tests may be conducted for each patient. Doctors are specialists in a specific ward and may be leading consultants for a number of patients. Each patient is assigned to one leading consultant but may be examined by other doctors, if required.

Hospital :ER Case Study Draw an ER diagram to represent the data requirements as following: Identify the main entity types. Identify the main relationship types between the entity types. Identify attributes and associate them with entity or relationship types. Determine primary (or partial) key attributes for each entity type. Determine the multiplicity constraints for each relationship. Your EER diagram may or may not include features such as specialization / generalization, aggregation, and composition. State any assumptions necessary to support your design.

Hospital :ER Case Study Ward Name {PK} \Total_of_pat Doctor Doc_NO{PK} 1..1  Specializes in 0..* Consultant 0..* 0..* 0..* Examiner Date Time Admits 1..1 Leader  Exams 0..* 0..* Patient MRN{PK} Name Phone [1..*] Address Code Street City  consults 0..* Test Ep _NO{PK} Category Result 1..1 conducts  0..*

Department :ER Case Study Identify the entities and relationships for the following description and draw an ER diagram. Departments, identified by ID, operate a variety of printers, each located in a particular room in a particular building. Printers are supplied by a number of suppliers, identified by name, with each supplier charging a different price for a given printer, but also providing different delivery delays, measured in days. A given room can have any number of printers, including none.

Department :ER Case Study

Journal :ER Case Study Identify the entities and relationships for the following description and draw an ER diagram. Persons, described by their name, SSN, and address, subscribe to various journals. Each journal, identified by a title and an ISBN, has a set of numbered volumes and each of these has a set of numbered issues. Subscribers have an initial subscription date and a termination date for each journal to which they subscribe.

Journal :ER Case Study