Understanding Entity Types, Instances, and Attributes in ER Database Management, Slides of Introduction to Database Management Systems

An in-depth exploration of entity-relationship (e-r) data model, a semantic data model used for graphical representation of conceptual database designs. It covers the major components of e-r model, including entities, attributes, and relationships. The document also explains the concept of entity types, their distinction, and the difference between entity types and external entities. Furthermore, it discusses entity instances and sets, weak and strong entity types, and naming entity types. The document concludes with an explanation of attributes, their domains, and types.

Typology: Slides

2011/2012

Uploaded on 11/03/2012

dharmaraaj
dharmaraaj 🇮🇳

4.4

(68)

145 documents

1 / 21

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Database
Management
System
Lecture - 7
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download Understanding Entity Types, Instances, and Attributes in ER Database Management and more Slides Introduction to Database Management Systems in PDF only on Docsity!

Database

Management

System

Lecture - 7

Entity-Relationship

Data Model

Major Components

Entities

Attributes

Relationships

Entity

Term used to mean three different meanings  Entity type  Entity instance  Entity set

Entity Type

Distinguishable from other entity types on the basis of properties

Identified through abstraction process

Different from External EntityDocsity.com

Entity Instance & Set

A particular object belonging to a particular entity type

Entity Type: Employee

Entity Instance: M. Sharif

Entity Set: All employees

Weak Entity Types

An entity type whose instances cannot exist without being linked with instances of some other entity type, i.e., they cannot exist independently

Strong Entity Type

A strong/regular entity type is the one whose instances can exist independently, i.e., without being linked to other instances

Strong ETs have their own identity

Symbols

Regular Entity Type

Weak Entity Type

NAME

NAME

EMPPLOYEE (^) DEPENDENTS

BOOK (^) BOOKCOPY

Attribute

An attribute of an entity type is a defining property or quality of the instances of that entity type. Entity instances of same entity type have the same attributes. (e.g. Student Identification, Student Name) Docsity.com

Types of Attributes

Single vs composite

Single valued vs multi-valued

Stored vs derived

Symbols for Attributes

Each represented as an oval, linked with an ET symbol

Example

EMPLOYEE

Experience empId (^) empName

dateHired emp_Qual street houseNo

address

Thanks