Database Management System

Slides:



Advertisements
Similar presentations
n-ary Relations and Their Applications
Advertisements

System Analysis - Data Modeling
Modeling Data The Entity Relationship Model (ER) For Database Design.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Systems Analysis and Design in a Changing World, 6th Edition
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Chapter 3)
Database Design & ER Diagrams
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 Diagrams
Yong Choi School of Business CSUB
1 Data Modeling 2 Yong Choi School of Business CSUB.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
Chapter 5 Entity Relationship (ER) Modelling
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Relationship Degree Indicates number of entities or participants.
Database Design 3: Advanced Data Modeling Concepts CS 320.
Databases Illuminated Chapter 3 The Entity Relationship Model.
CMIS 450 Database Design Dr. Bijoy Bordoloi Entity Relationship (E-R) Modeling: Additional Notes.
Levels of Database Modeling High degree of abstraction Conceptual model User view 1 User view 2 Implementa- tion model Physical model Medium degree of.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Entity Relationship (E-R) Model
Entity/Relationship Modelling
Data Modeling Using the ERD
Business System Development
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Chapter # 3 Data Modeling Using the Entity-Relationship (ER) Model
ER model Ashima Wadhwa.
Entity-Relationship Model
TMC2034 Database Concept and Design
Entity Relationship (E-R) Modeling
Requirements Become the E-R Data Model
Entity Relationship (E-R) Modeling
Chapter -3- Data Modeling Using the Entity-Relationship Model
TYPES OF RELATIONSHIPS
Entity-Relationship Modelling
Entity-Relationship Modeling
بسم الله الرحمن الرحيم.
Entity-Relationship Model and Diagrams (continued)
The Entity-Relationship Model
Database Management System
الفصل الخامس قواعد البيانات Databases
Entity-Relation Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Entity – Relationship Model
Entity-Relationship Modelling
Data Modeling and the Entity-Relationship Model
Data Modeling for Database Design 2
Database Systems Instructor Name: Lecture-9.
Database Modeling using Entity Relationship Model (E-R Model)
Database Systems Instructor Name: Lecture-8.
Chapter 4 Entity Relationship (ER) Modeling
Chapter 7: Entity-Relationship Model
Entity-Relationship Diagram (ERD)
Database Management System
Database Management System
ER MODELING Instructor: SAMIA ARSHAD
Entity Relationship (ER) Modeling
Chapter # 4 Entity Relationship (ER) Modeling.
CS4222 Principles of Database System
Data Modeling and the Entity-Relationship Model
Relationships—Topics
Presentation transcript:

Database Management System Lecture - 9

Relationships

Relationships Relationships are the connections and interactions between the entities instances, e.g., Program and Student ETs are linked How to identify relationships

Naming Relationships Up to you If there is no proper name of the association in the system then participants’ names of abbreviations are used

Naming STUDENT and CLASS have ENROLL relationship However, it can also be named as STD_CLS

Symbol for Relationships DEPT EMP BOOK STD

Relationships Relationship type can be identified like an entity type A relationship type is an abstraction of a relationship

Relationships Entities involved in a relationship are called its participants Types of the relationships can be established on the basis of participant ETs

Relationships Types A Binary relationship is the one that links two entity types e.g. STUDENT-CLASS

Binary Relationship Example STD COURSE BOOK EMP PROJ

Binary Relationships May also have instances, that can be formally described in an ordered pair form {(S1001, OS), (S1020, DS), (S1002, DS), (S1058, NW)}

Attributes of the Rships The key The relationships can have their descriptive attributes Where to place

Attributes of Rships STD COURSE GRADE

Ternary Relationships One that involves three entity types STUDENT-CLASS-FACULTY

Ternary Relationship Examples

STD COURSE FACULTY PROJ EMP SKILL

Ternary Relationships Instances in ordered triples Example {(S1013, MCS4, Adnan), (S1023, MCS3, Fasih)}

Unary Relationship An ET linked with itself, also called recursive relationship Example Roommate, where STUDENT is linked with STUDENT

Unary Relationship Examples STD ROOMMATE EMP CHAIR-PERSON SPOUSE

Cardinality of Rships Number of instances of one entity type that can possibly be related to instances of other entity type

Types of Cardinalities One to one One to many Many to one Many to many

Types of Cardinalities DEPT Chair Person One to one EMP DEPT One to many/ many to one PROJ EMP Many to many

Database Management System Lecture - 9