1 The Entity-Relationship Model Chapter 2. 2 Exercise  What can you say about policy of the bank from the ER diagram?  What can you say about the policy.

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

ER Model For a college DB
ER Modeling Case Studies
Database Design DB Chapter 5 J.G. Zheng June 29th 2005.
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)
ER Modeling Case Studies
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Entity-Relationship Model Chapter 2.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Entity-Relationship Model Chapter 2.
Entity-Relationship Models
The Entity-Relationship (ER) Model
Bank On It Personal Finance Unit. Why Learn About Banking?
E/R Exercises – Part I April 16, 2017.
Entity - Relationship Modelling Exercises by Artem Chebotko
Bank On It.
Design Principles: Faithfulness
CMSC424, Spring 2005 CMSC424: Database Design Instructor: Amol Deshpande
1 The Entity-Relationship Model Chapter 2. 2 Overview of Database Design  Conceptual design: (ER Model is used at this stage.) –What are the entities.
Conceptual Models Agenda - Steps in the design of a DB - Need for conceptual models - The Entity-Relationship Model (ER-Model)
The Entity-Relationship Data Model
Information Resources Management January 30, 2001.
1 The Entity-Relationship Model Chapter 2. 2 Database Design Process  Requirement collection and analysis  DB requirements and functional requirements.
Things are bad. Children no longer obey their parents and everyone is writing a book. -- Marcus Tillius Cicero.
ER Modeling Case Studies
1 The Entity-Relationship Model Chapter 2. 2 Overview of Database Design  Conceptual design : (ER Model is used at this stage.)  What are the entities.
Acc 409 Database Concepts.
Instructor :Huda Al-Omair
CS411 Database Systems Kazuhiro Minami 02: The Entity-Relationship Model.
CAS CS 460/660 Entity/Relationship Model
Introduction to Database Systems
Entity-Relationship Model Ch. 3
Christoph F. Eick: Designing E/R Diagrams 1 The Entity-Relationship Model Chapter 3+4.
Dr. Ahmad R. Hadaegh A.R. Hadaegh California State University San Marcos (CSUSM) Page 1 Entity Relational Diagram (ERD) Modeling This particular lecture.
Lecture 7 of Advanced Databases
Entity – Relationship Model (E-R Model)
The Hong Kong University of Science and Technology COMP3311 Spring 2013 Tutorial 1 ER Diagrams.
LECTURE 1: Entity Relationship MODEL. Think before doing it! Like most of the software projects, you need to think before you do something. Before developing.
 Entity-relationship models (ERM) Entity-relationship models (ERM)  Simple E-R Diagram Simple E-R Diagram  Weak Entity Weak Entity  Strong Entity.
Normalization Exercise. First Normal Form Second Normal Form.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
COMP231 Tutorial 1 ER Model and ER to Relational Schema.
CIS 321—IS Analysis & Design Chapter 5: Modeling System Requirements—Events and Things.
Copyright Kathy S. Schwaig, MBA 8473 Kathy S. Schwaig Information Technology.
ER & Relational: Digging Deeper R &G - Chapters 2 & 3.
Introduction to Database Systems
LECTURE 1: Entity Relationship MODEL. Think before doing it! Like most of the software projects, you need to think before you do something. Before developing.
BIS 360 – Lecture Six (Part 1) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
CS422 Principles of Database Systems Entity-Relationship Model Chengyu Sun California State University, Los Angeles.
Entity Relationship Diagram ERD. Background Peter Chen developed ERDs in Charles Bachman and James Martin have added some slight refinements to.
Extra ER. Q1: Draw an ER diagram A construction company wishes to establish a database system to record information about employees. The employee data.
Database Management Systems 1 Raghu Ramakrishnan The Relational Model Chapter 3 Instructor: Xin Zhang.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
Information System & Database Design
The Entity-Relationship Model
ER Diagram Practical Example
Database EER.
ER Modeling Case Studies
The Entity-Relationship Model
Practice of ER modeling
Practice of ER modeling
ERD (Entity Relationship Diagrams)
Example A university registrar’s office maintains data about the following entities: (a) courses, including number, title, credits, syllabus, and prerequisites;
CS4222 Principles of Database System
The Entity-Relationship Model
ER Modeling Case Studies
ER Modeling Case Studies
The Entity-Relationship Model
The Entity-Relationship Model
Presentation transcript:

1 The Entity-Relationship Model Chapter 2

2 Exercise  What can you say about policy of the bank from the ER diagram?  What can you say about the policy of the company? balance acct# Account CustAcct name Customer ssn addr deptid budget Dept Manages name Employees ssn lot

3 Exercise  What can you say about policy of the bank from the ER diagram? 1)No joint account; a customer can have multiple accounts 2)Unique SSN for Customer and acct# for Account 3)Can a customer exist in the DB without having an account? 4)Can an account exist without a customer? balance acct# Account CustAcct name Customer ssn addr

4 Exercise  What can you say about the policy of the company? 1)Each dept must have a single manager 2)A manager can manage multiple depts 3)Unique SSN for Customer and deptid for Dept 4)Can a dept exist in the DB without having a manager? deptid budget Dept Manages name Employees ssn lot

5 Design Exercise  Design a DB using ER, and sketch the resulting diagram. State any important assumptions you made in reaching the design. Show explicitly whether relationships are 1-1, 1-M, or N-M.  UVA registrar’s office: It maintains data about each class, including the instructor, students, enrollment, time and place of the class meetings. For each student-class pair, a grade is recorded.  Hospital: It maintains all patients visited, including age and address. It also keeps track of the information about billing, visits, data, reason for visit, and treatment.