Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Minimum Cardinality, Effects - Database Management - Lecture Slides, Slides of Introduction to Database Management Systems

Minimum Cardinality, Notations, Roles in Relationships, Dependencies, Enhancements in E R Data Model, Subtypes, Different proposals are the main points of this lecture.

Typology: Slides

2011/2012

Uploaded on 11/03/2012

dharmaraaj
dharmaraaj 🇮🇳

4.4

(64)

153 documents

1 / 19

Toggle sidebar

Related documents


Partial preview of the text

Download Minimum Cardinality, Effects - Database Management - Lecture Slides and more Slides Introduction to Database Management Systems in PDF only on Docsity!

Database

Management

System

Lecture - 10

Minimum Cardinality

Determines whether the link is compulsory or optional

Important, since it effects the implementation

Cardinality Example

STD HOBBY

STD BOOK

STD COURSE

EMP PROJ

Other Notations

STD BOOK STD^ HOBBY

PROJ EMP

Other Notations

STD 1 M BOOK STD M^1 HOBBY PROJ M M EMP

Other Notations

STD 1 BOOK PROJ EMP

DEPT 1 1 CHAIR

Roles in Relationships

Determine the role ETs play in a relationship

Most of the time is clear from the context, like in STD and COURSE relationship

Roles in Relationships

Two situation when they should be expressed explicitly A one to one relationship Two ETs having more than one relationship

Roles Examples

STD ENROLS^ ENROLMENT ENROLLEDBY COURSE

FACUL- TY HEAD

HEADS HEADED BY

Roles Examples

STD^ FACULTY

STD_TEACH

STD_SUP

Dependencies

A type of constraint

Existence dependency

Identifier dependency

Referential Dependency

Existence Dependency

BOOK BOOK COPY

bkId

bkTitle

bkId

CopyId

Enhancements in E-R Data Model

EE-R Data Model

Different proposals Most common feature is representation of supertypes and subtypes A popular feature of Object Oriented paradigm

Super/Subtypes

Also called generalization/ specialization

Supertype is called a General Entity type whereas subtypes are the specializations

Super/Subtypes

PERSON

STD FAC

ST

ST1 ST2 ST

General Entity Types

Specialized Entity Types Docsity.com

Super/Subtypes

EMP

SALARIED HOURLY

Grade

AnalSal

NoOfHrs

HourlyRate

Super/Subtypes

PERSON

STD FAC

StId

CGPA

Qual

ClsName Grade

Name

Id Address

Database

Management

System

Lecture - 10