ER Diagram Practical Example

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

ER Modeling Case Studies
DFD, LDS, ELH Inter-Relationships
Convert ER to Relational Database Entity relation Entity relation Attributes attributes Attributes attributes Primary key primary key Primary key primary.
Temple University – CIS Dept. CIS616– Principles of Database Systems
ER Modeling Case Studies
DATAWAREHOUSE FOR BANKING by Amey Aras Deepesh Dhake Hatem Murad Nirav Hamlai.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Huiswerk Lees delen 3.2, 3.3 van hoofdstuk 3. opgaven voor hoofdstuk 2: modelleeropgave 5.
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.
Normalization Dr. Mario Guimaraes. Data Normalization Primarily a tool to validate and improve a logical design so that it satisfies certain constraints.
IELM 511: Information System design Introduction Part I. ISD for well structured data – relational and other DBMS Part II. ISD for systems with non-uniformly.
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
The (min,max) notation (1,1) (0,1) (1,N) (1,1). SUMMARY OF ER-DIAGRAM NOTATION FOR ER SCHEMAS Meaning ENTITY TYPE WEAK ENTITY TYPE RELATIONSHIP TYPE IDENTIFYING.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Reduction of an E-R Schema to Tables A database which conforms to an E-R diagram can be represented.
ER Modeling Case Studies
CONCEPTS OF E-R MODEL. CONTENTS Entity Attributes Data Value Entity Types Types of Entity Types Relationships Relationship Constraints.
FEN  Conceptual modelling: The Entity-Relation (ER) Model Conceptual models Entity – Relation (ER) models.
Principles of Database Systems With Internet and Java Applications Today’s Topic Chapter 2: Representing Information with Data Models The lecture notes.
Introduction to Database Systems
FEN Introduction to the database field:  Conceptual modelling: The Entity-Relation (ER) Model Seminar: Introduction to relational databases.
Chapter 3: Relational Model  Structure of Relational Databases  Normal forms (chap. 7)  Reduction of an E-R Schema to Relational (Sect. 2.9)  Relational.
CS370 Spring 2007 CS 370 Database Systems Lecture 4 Introduction to Database Design.
1 Session 2 Welcome: The seventh learning sequence “ Reduction of an EER schema to tables“ Recap : In the previous learning sequence, we discussed the.
Entity – Relationship Model (E-R Model)
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Continued)
 Entity-relationship models (ERM) Entity-relationship models (ERM)  Simple E-R Diagram Simple E-R Diagram  Weak Entity Weak Entity  Strong Entity.
1 Translating ER Schema to Relational Model Instructor: Mohamed Eltabakh
ICOM 5016 – Introduction to Database Systems Lecture 9 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
E-R to Relational - Basic
Weak Entity Sets A weak entity is an entity that cannot exist in a database unless another type of entity also exists in that database. Weak entity meets.
Data Modelling Using Entity-Relationship (ER) Model
Relational Algebra Sample Questions.
Conceptual Modelling The Entity-Relationship (ER) Model The ER diagram Data Modelling.
CS3431: C-Term Translating ER Schema to Relational Model Instructor: Mohamed Eltabakh
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
Entity-Relationship Data Model
Chapter 2: Entity-Relationship Model
Translating ER Schema to Relational Model
Entity-Relationship Model
The Entity-Relationship Model
Entity-Relationship Modelling
ER model Ashima Wadhwa.
Entity-Relationship Model
Entity Relationship Model
COP5725 Database Management ER DIAGRAM AND RELATIONAL DATA MODEL
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
E-R Diagram (Cont.) Draw ER Diagram for the following scenario:
Entity-Relationship Model
Chapter 2: Entity-Relationship Model
Chapter -3- Data Modeling Using the Entity-Relationship Model
Payroll Management System
ER Modeling Case Studies
بسم الله الرحمن الرحيم.
Mapping ER Diagrams to Tables
Order Database – ER Diagram
Question 01 A company database needs to store information about employees (identified by NIC, with salary and phone as attributes), departments (identified.
Entity-Relationship Model
Session 2 Welcome: The seventh learning sequence
Functional Dependencies
Database Modeling using Entity Relationship Model (E-R Model)
Relational Algebra Sample Questions.
Conceptual Data Modeling Using Entities & Relationships
ER Modeling Case Studies
ER Modeling Case Studies
Chapter Entity-Relationship Modeling & Enhanced Entity- Relationship Modeling.
Entity Relation Model Tingting Zhang.
Entity Relationship Model
Chapter 2: Entity-Relationship Model
Entity-Relationship Data Model
Presentation transcript:

ER Diagram Practical Example Instructor: Naveedullah Safi

Entity Weak Entity Attribute Instructor: Naveedullah Safi

Key Attribute Composite Attribute Instructor: Naveedullah Safi

Multi valued Attribute Derived Attribute Multi valued Attribute Instructor: Naveedullah Safi

Entity Table: Employee Instructor: Naveedullah Safi

Table: Employee Attributes Employee number Name Instructor: Naveedullah Safi

Table: Employee Key Attribute Employee number Name Birth Date Age Salary Key Attribute Instructor: Naveedullah Safi

Table: Employee Composite Attribute Employee number Name Address Age Salary Composite Attribute Instructor: Naveedullah Safi

Table: Employee Multi Valued Attribute Employee number Name Address Age Salary Multi Valued Attribute Instructor: Naveedullah Safi

Table: Employee Single Valued Attribute Employee number Name Address Age Salary Single Valued Attribute Instructor: Naveedullah Safi

Table: Employee Null Valued Attribute Employee number Name Address Fax No / Tele. No Salary Null Valued Attribute Instructor: Naveedullah Safi

Table: Employee Derived Attribute Employee number Name Birth Date Age Salary Derived Attribute Instructor: Naveedullah Safi

Table: Employee Stored Attribute Employee number Name Birth Date Age Salary Stored Attribute Instructor: Naveedullah Safi

Employee Entity Instructor: Naveedullah Safi

Employee Attributes Name Emp_no Salary Age Birth Date Instructor: Naveedullah Safi

Employee Key Attribute Name Emp_no Salary Birth Date Instructor: Naveedullah Safi

Employee Key Attribute Name Emp_no Salary Birth Date Instructor: Naveedullah Safi

Employee Multi valued Attribute Name Emp_no Salary Name Instructor: Naveedullah Safi

Employee Multi valued Attribute Name Emp_no Salary Name Instructor: Naveedullah Safi

Employee Address Composite Attribute Instructor: Naveedullah Safi

Composite Attribute Employee Name Street Address Area City Instructor: Naveedullah Safi

Employee Derived Attributes Name Emp_no Salary Age Birth Date Instructor: Naveedullah Safi

Employee Derived Attributes Name Emp_no Salary Age Birth Date Instructor: Naveedullah Safi Attributes

Relationship Works Link Instructor: Naveedullah Safi

1 to 1 Relationship 1 1 Manager Department Mno Name Mno Dname Works 1 1 Department Birth Date Salary 1 to 1 Relationship Instructor: Naveedullah Safi

Many to 1 Relationship M 1 Employee Department Empno Name Empno Dname Works M 1 Department Birth Date Salary Instructor: Naveedullah Safi Many to 1 Relationship

Many to Many Relationship Empno Name PId Ptype Project Employee Works M N Start date End date Salary Instructor: Naveedullah Safi Many to Many Relationship

ER Diagram Of Banking System Bno Addr ER Diagram Of Banking System Bank branch Branc hes M Bank 1 Nam e 1 1 Code Addr Accts Loans M Loan Type Balanc e M Amount Loan no Acct no Acc Loan Account Type

Continue… n n M M Loan Account Customer A_c L_c Name SSn Addres Phone

Instructor: Naveedullah Safi

Instructor: Naveedullah Safi

Thank You… Instructor: Naveedullah Safi