Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 5

ENTITY-RELATIONSHIP

MODEL
BY-
SAURABH KUMAR SHARMA
IMB2018002
GOKUL KRISHNAN B.
IMB2018012
E- R DATA MODELING

An entity is an object that exists and is distinguishable from other objects.


 Example: specific person, company, event, plant

Entities have attributes


 Example: people have names and addresses

An entity set is a set of entities of the same type that share the same properties.
 Example: set of all persons, companies, trees, holidays
ATTRIBUTES

 An entity is represented by a set of attributes, that is descriptive properties


possessed by all members of an entity set.
Example: instructor = (ID, name, street, city, salary )
course= (course_id, title, credits)
 Domain – the set of permitted values for each attribute
 Attribute types:
a. Simple and composite attributes.
b. Single-valued and multivalued attributes
DATE
SCORE

GAME
P.NAME
P.ID ID
Host Guest CAPTAIN

P.ID TEAMS PLAYER INJURY RECORDS

BELONGS TO

TEAM POSITION RELEASE


CITY DESCRIPTION CLAUSE DESCRIPTION
GOALS
COACH SCORED

FOOTBALL TEAM
ATTRIBUTES PRESENT

 KEY ATTRIBUTES
A. P. NAME  DERIVED ATTIBUTE

B. JERSEY NUMBER A. COACH

C. LICENSE NO. B. INJURY DESCRIPTION

D. INJURY ID C. TEAM

Derived attributes are attributes whose value can be calculated from related
attribute values.
KEY ATTRIBUTE is an attribute that has unique value of each entity is known as
key attribute.

You might also like